OnePlus, Oppo and Realme Secret Codes: Complete Hardware Test Guide 2026
Share
OnePlus, Oppo and Realme share the same software base (ColorOS, OxygenOS and realme UI). This means their diagnostic codes are often identical. However, there is a fundamental difference compared to vintage phones: these manufacturers actively block codes with software updates. A code that worked on ColorOS 11 might not work on ColorOS 13 or 14.
In this guide you will find all the codes that still work, alternatives to test hardware, and an honest explanation of what to expect.
1. Universal Codes (Work on all devices)
These codes are standard GSM and work on the vast majority of Android devices, regardless of brand.
| Code | Function | Safety |
|---|---|---|
*#06# |
Shows the IMEI | ✅ Safe |
*#07# |
SAR and regulatory information | ✅ Safe |
*#21# |
Check call forwarding status | ✅ Safe |
##002# |
Cancel all call forwarding | ✅ Safe |
2. Engineer Menu and Hardware Tests (ColorOS / OxygenOS / realme UI)
These codes open the factory test menu. They are the same for OnePlus, Oppo and Realme because they share the same software base.
| Code | Function | Compatibility |
|---|---|---|
*#899# |
Full Engineer Menu (display, audio, sensors, battery tests) | Oppo, OnePlus, Realme |
*#808# |
Manual test of individual components (screen, sensors, camera) | Oppo |
*#1234# |
Software version and baseband | Oppo, OnePlus, Realme |
*#6776# |
Complete software information | Oppo, OnePlus, Realme |
*#888# |
PCB hardware version | Oppo |
*#802# |
GPS test | Oppo, OnePlus, Realme |
*#803# |
WiFi signal display | Oppo, OnePlus, Realme |
⚠️ WARNING: Starting from ColorOS 13, Oppo began blocking these codes. If *#899# doesn't work on your device, it means the manufacturer has disabled it. There is no way to reactivate it.
3. Battery Test
The engineer menu *#899# often includes a dedicated battery section. On some models, however, the most reliable way to check battery health is through System Settings:
- Go to Settings > Battery.
- Look for "Battery health" or "Battery status".
- Here you will see remaining capacity and, on some models, the number of charge cycles.
4. Reset Codes (Use with Caution)
| Code | Function | Risk |
|---|---|---|
*#877# |
Factory Reset (requires screen lock password) | 🔴 Erases all data |
5. Hardware Test without Codes
If the codes don't work, you can still test your device's hardware via Developer Options:
- Go to Settings > About phone.
- Tap 7 times on "Build number" to enable Developer Options.
- Go back to System > Developer Options.
- Look for entries like "Hardware test", "Diagnostics" or "Show CPU usage".