Dial codes
Test codes and diagnostics for Huawei, Honor, Motorola, Pixel, OnePlus, Oppo and Realme
*#0*# does nothing on other brands — every maker ships its own test tool. On Huawei, Motorola, Pixel and the ColorOS family (OnePlus, Oppo, realme) the safe route is the official diagnostics app already on the phone; where a documented test code exists, you'll find it below.Short version
- Huawei: My HUAWEI → Support → Smart Diagnosis; the
*#2846#code opens the MMI hardware test. - Honor: My HONOR → Services → Device Detection — no documented test code.
- Motorola: Device Help → Hardware test — there is no public test code;
*#06#gives you the IMEI. - Pixel:
*#*#7287#*#*opens Pixel Repair Diagnostics — needs internet and runs in English only. - OnePlus, Oppo, realme:
*#899#opens Engineer Mode; the safer route is Phone Manager → Diagnostics.
Why *#0*# does nothing here
Test codes belong to the maker, not to Android: *#0*# is Samsung's menu, *#*#6484#*#* is Xiaomi's, and on the phones in this guide they open nothing. Instead, almost every brand hides an official diagnostics app inside the phone — always the first option, because it checks the same parts without the risks of factory menus. A code, where a documented one exists, is plan B.
| Brand | Official tool | The code |
|---|---|---|
| Huawei | My HUAWEI → Support → Smart Diagnosis | *#2846# (MMI test mode) |
| Honor | My HONOR → Services → Device Detection | — (none documented) |
| Motorola | Device Help → Device diagnosis → Hardware test | — (none documented) |
| Google Pixel | Pixel Repair Diagnostics | *#*#7287#*#* |
| Oppo, realme, OnePlus | Phone Manager → Diagnostics | *#899# (Engineer Mode) |
Note
Step by step, by phone brand
On Huawei the official check is called Smart Diagnosis and lives in the preinstalled My HUAWEI app: it runs a full check-up or single-function tests and tells you at the end what threw an exception. On Honor the same thing sits in the My HONOR app under Device Detection (on some versions Smart Detection).
Open My HUAWEI → Support → Smart Diagnosis
In the app, tap the Support tab and then Smart Diagnosis. Choose a full check-up or a single function — camera, microphone, screen, battery.
Smart DiagnosisOnline helpService centersStep 1A full check-up or a single-function testCameraMicrophoneTouch screenSpeakerBatteryStep 2Smart Diagnosis › Camera Menu path, screen by screen: 1. My HUAWEI — Support: Smart Diagnosis ←; Online help; Service centers. 2. Smart Diagnosis: Camera ←; Microphone; Touch screen; Speaker; Battery
Follow the on-screen instructions
Each test asks you for a gesture: touch the screen, listen for a sound or cover the proximity sensor. At the end, the functions showing an exception detected are the ones suspected of a hardware fault.
On Honor: My HONOR → Services → Device Detection
Open My HONOR, go to the Services tab and tap Device Detection, then Start Detection. The tests run in sequence and you can skip the ones you don't need; the feature exists from Magic UI 4.0 up.
The second way in is the *#2846# code in the Phone app: it opens MMI mode, the factory hardware test documented by Huawei. The screen runs a sequence of checks — display, touch, speaker, microphone — and shows the results as it goes.
Type *#2846# in Phone
MMI mode starts on its own after the last
#. While you're in it, the status bar, the control centre and the notification centre are switched off — that's normal, it's built so the test can't be interrupted.Phone keypad. Dial the code *#2846#.
Leave through the stop-test button
Finish the sequence or tap the stop-test control in the top-left corner and confirm the exit. Don't force-restart the phone in the middle of MMI mode: Huawei warns that the control centre and notifications can stay blocked.
Warning· Force-restarted inside MMI and notifications won't pull down?
*#2846# and leave through the same stop button — the top bar returns to normal.*#2846#MMI mode: the factory hardware test (screen, touch, speaker, microphone)
Works on: Huawei — documented on recent versionsHides the status bar while active; leave through the stop-test button.*#06#The phone's IMEI and serial number (SN)
Works on: All phones()()2846579()()Typed into the Calculator app, in landscape, on a Wi-Fi-only tablet: Veneer Information → Other Info → shows the SN
Works on: Huawei tablets without a SIMThe same menu holds a «Restore factory» entry that erases everything — only read the information, touch nothing else.| Code | What it does | Works on | Actions |
|---|---|---|---|
*#2846# | MMI mode: the factory hardware test (screen, touch, speaker, microphone)Hides the status bar while active; leave through the stop-test button. | Huawei — documented on recent versions | |
*#06# | The phone's IMEI and serial number (SN) | All phones | |
()()2846579()() | Typed into the Calculator app, in landscape, on a Wi-Fi-only tablet: Veneer Information → Other Info → shows the SNThe same menu holds a «Restore factory» entry that erases everything — only read the information, touch nothing else. | Huawei tablets without a SIM |
Danger· ProjectMenu has an entry that wipes the phone
Motorola has no famous test code — the officially supported route is the Device Help app, preinstalled on Moto phones. It runs hardware tests on components, one by one or all together, and it's the same tool Motorola support points you to when they ask you to check a part.
Open Device Help in the app drawer
The app ships with the phone. On some models it's called Device Care.
Tap Troubleshooting or Device diagnosis
The name differs by model and version — it's the same troubleshooting section.
Pick Hardware test, then Full Test or a component
Full Test runs everything in sequence; otherwise pick the suspect part — Wi-Fi, Bluetooth, microphone and the rest — and follow the on-screen instructions.
Device diagnosisor Troubleshooting on other modelsMoto CareContact UsStep 1Full TestBluetoothWi-FiMicrophoneStep 2Device diagnosis › Full Test Menu path, screen by screen: 1. Device Help: Device diagnosis — or Troubleshooting on other models ←; Moto Care; Contact Us. 2. Hardware test: Full Test ←; Bluetooth; Wi-Fi; Microphone
The one code you'll actually use is *#06# for the IMEI — you need it for warranty, at the repair shop or at the police if the phone is stolen.
Phone keypad. Dial the code *#06#. After dialling you see: IMEI. IMEI 1: 35 1234 56 789012 3. IMEI 2: 35 1234 56 789012 4
A code for an internal test menu called CQAtest circulates online; Motorola doesn't document it for owners and on many models it opens nothing. Device Help stays the option you can safely use.
Warning· Black screen with Chinese writing after switching on?
*#06#The phone's IMEI (one for each SIM card)
Works on: All phones| Code | What it does | Works on | Actions |
|---|---|---|---|
*#06# | The phone's IMEI (one for each SIM card) | All phones |
Pixels carry an official tool made for checking the phone before and after a repair: Pixel Repair Diagnostics. You open it with a code in the Phone app, and it needs an internet connection to start.
Connect the phone to the internet
Wi-Fi or mobile data — the tool asks for a connection before it starts.
Type *#*#7287#*#* in the Phone app
After the last
#the Pixel Diagnostics screen appears; tap Confirm to continue.Phone keypad. Dial the code *#*#7287#*#*.
Choose Full Diagnose or a test group
Full Diagnose with Start Test runs all ~30 checks in sequence; otherwise pick a group — Visual, Sensor, Connectivity, Camera, Audio, Screen — and follow the prompts.
Full DiagnoseVisualSensorConnectivityCameraAudioScreenStep 1Physical damageDisplay defectsBackglass defectsCamera defectsStep 2Full Diagnose › Physical damage Menu path, screen by screen: 1. Pixel Diagnostics: Full Diagnose ←; Visual; Sensor; Connectivity; Camera; Audio; Screen. 2. Visual: Physical damage ←; Display defects; Backglass defects; Camera defects
Note
*#*#7287#*#*Pixel Repair Diagnostics: ~30 grouped tests with results at the end
Works on: Google PixelNeeds an internet connection and runs in English only; availability differs by country.*#*#4636#*#*Android's information menu: phone, signal, network
Works on: Pixel and many other Android phonesRead, don't change the network settings — we cover it in the dedicated guide.*#06#The phone's IMEI
Works on: All phones| Code | What it does | Works on | Actions |
|---|---|---|---|
*#*#7287#*#* | Pixel Repair Diagnostics: ~30 grouped tests with results at the endNeeds an internet connection and runs in English only; availability differs by country. | Google Pixel | |
*#*#4636#*#* | Android's information menu: phone, signal, networkRead, don't change the network settings — we cover it in the dedicated guide. | Pixel and many other Android phones | |
*#06# | The phone's IMEI | All phones |
The *#*#4636#*#* menu shows your real signal strength and the network type — handy when you suspect the antenna. Read it, but don't change the network type inside; the details are in the *#*#4636#*#* menu guide.
OnePlus, Oppo and realme share the same ColorOS base — and the same factory test menu: Engineer Mode (on some screens it shows as AfterSale). You open it with *#899#. For owners, Oppo and realme also have the safer route: Diagnostics inside the Phone Manager app.
Type *#899# in the phone's own Phone app
Use the dialer the phone shipped with — from another calling app the code may not start. After the last
#the AfterSale / Engineer Mode page appears.Phone keypad. Dial the code *#899#.
Go into Manual Test → Device Debugging
From here you start the per-component tests: proximity sensor, light sensor, accelerometer, gyroscope and the rest — each shows PASS at the end if the part is healthy. Automatic Test runs everything in sequence.
Automatic TestManual TestSoftware versionGPSIMEI infoAfter Sale Device CalibrationPhone screen: AfterSale: Automatic Test; Manual Test ←; Software version; GPS; IMEI info; After Sale Device Calibration
Warning· In Engineer Mode you test, you don't calibrate
The safer route, with no factory menus: open Phone Manager and look for Diagnostics → Run diagnostics — on realme it sits under Tools → Device & data security, on some versions in the app's ⋮ menu. It tests the screen, camera, speaker and microphone, sensors, connections and charging; the result shows what passed and what didn't.
Menu path, screen by screen: 1. Phone Manager: Device & Data security ←; Clean storage; Privacy permissions. 2. Diagnostics: Run diagnostics ←; Camera test; Sensor test; Battery & charging
On recent ColorOS versions many old codes have been disabled — if *#899# stays silent, use Phone Manager. On older OnePlus phones running OxygenOS, the same test menu opened with *#808#.
*#899#Engineer Mode / AfterSale: the factory hardware test menu
Works on: Oppo, realme, OnePlus — recent ColorOS and OxygenOS versionsOnly run the tests. «Calibration» entries rewrite the sensors' factory values.*#808#The per-component manual test list
Works on: OnePlus and Oppo, on older versionsDisabled on recent versions; the menu also holds an option that erases data — don't touch it.*#800#The feedback tool: collects logs for error reports
Works on: Oppo, realme, OnePlusIt sends the phone's logs — use it only if support asks you to.*#06#The phone's IMEI
Works on: All phones| Code | What it does | Works on | Actions |
|---|---|---|---|
*#899# | Engineer Mode / AfterSale: the factory hardware test menuOnly run the tests. «Calibration» entries rewrite the sensors' factory values. | Oppo, realme, OnePlus — recent ColorOS and OxygenOS versions | |
*#808# | The per-component manual test listDisabled on recent versions; the menu also holds an option that erases data — don't touch it. | OnePlus and Oppo, on older versions | |
*#800# | The feedback tool: collects logs for error reportsIt sends the phone's logs — use it only if support asks you to. | Oppo, realme, OnePlus | |
*#06# | The phone's IMEI | All phones |
How to read the results
The official apps speak plainly: each function comes back normal or with an exception (Huawei and Honor), or pass/fail (the rest). In factory menus you see PASS or FAIL in English next to each check. A FAIL isn't the final verdict — run the check once more, because a wet finger or a missed tap can fake the result.
Phone screen: Test results: Display — PASS; Touch screen — PASS; Speaker — FAIL; Main mic — PASS; Proximity sensor — PASS; Charging — Skipped
| The check | It looks good when | If it fails twice |
|---|---|---|
| Display / colours | each colour fills the screen evenly | dead pixels or blotches → the screen |
| Touch screen | the drawn lines appear everywhere | dead zones → the touch layer of the screen |
| Speaker / Receiver | the test sound plays clearly | silence or crackle → the speaker |
| Microphone | it plays your recorded voice back clearly | nothing on playback → the microphone |
| Sensors | the values move as you tilt or cover the phone | frozen values → the sensor |
| Camera | a clean preview, no errors | black screen or an error → the camera |
| Charging | with the cable connected, it sees the charge | it can't see charging → the port or the circuit |
For each symptom we have a detailed guide: the screen: dead pixels and dead zones, speaker, microphone and vibration, cameras and sensors, charging and battery health.
Tip
The code opens nothing?
Typed the code exactly and the phone stays silent? It's common and rarely your fault:
- A different calling app. Codes reach the system through the Phone app the phone shipped with; from a dialer you installed they may not start at all.
- The software version. On ColorOS 13 and newer many old codes are disabled; on other brands they're missing on certain models.
- Country or language. Pixel Diagnostics may refuse to start depending on the region — that's a Google limit.
- A missing sign. The stars and the hash signs matter; a space or a wrong digit turns the code into an ordinary number.
- A tablet with no SIM. Without a GSM modem there is no dial pad — on Huawei, Wi-Fi-only tablets use the Calculator app for the information menu.
The official apps need no code at all: My HUAWEI, My HONOR, Device Help and Phone Manager are always the route that works. On Honor there isn't even a documented test code — Device Detection is the only way and it's enough.
Note
Internet codes you shouldn't touch
"Secret code" lists mix harmless tests with factory commands that change the phone. As a rule: a code that opens an information screen or starts a check is fine; a code that rewrites a configuration is not for home use. The categories to avoid:
| Category | Why it's dangerous |
|---|---|
| Codes promising a "reset" or "format" | They erase everything the moment you finish typing — no warning and no way back |
| Project menus with a «Restore factory» or «Software upgrade» entry | One tap on the wrong entry wipes the phone or overwrites the firmware |
| «Calibration» entries in engineering menus | They rewrite the factory values of sensors and fingerprint — good parts start throwing errors |
| Modem and network menus | They change the network's service parameters — you can end up with no signal |
| Logging tools (log/dump) | They delete or change the logs a repair shop needs for diagnosis |
The same rule covers button combinations: on Motorola, Volume down + Power at start-up opens the MTK test mode — a factory screen in Chinese with no visible exit. If you land there by accident, hold Power for about 10 seconds and the phone restarts normally.
Danger· Opened an unknown menu by accident?
A test fails — what comes next
Run the check once more. Failing the same way twice means, almost certainly, a faulty part — not a setting you can fix on the phone. Dead pixels, dead touch zones or silence from a speaker don't get fixed in menus.
- Screen or touch → the screen test: dead pixels and dead zones
- Speaker, microphone or vibration → the speaker and microphone test
- Camera or sensors → the camera and sensor test
- Charging → the charging test: cable, port or battery
Tip· Buying a used phone?
If a test fails consistently, the part needs replacing. At the repair shop we run the same kind of diagnostics on the bench and tell you exactly what failed and what the repair involves; for an estimate you can first ask for a quote.
Frequently asked questions
Why does *#0*# do nothing on my phone?
Can I break something by entering the test menu?
Why is the test menu in English when my phone isn't?
Is there a test code for Honor phones?
Does *#899# work on OnePlus?
A test came back FAIL — how bad is it?
Does your phone look different, or is something missing here?
Menus and buttons differ from model to model and change with updates. If these steps do not match your phone or you cannot find what you need, tell us your model and what you see on the screen: we will answer you and update the guide.
Checked against
- Google — Repair your own Pixel device (Pixel Repair Diagnostics)
- Huawei — MMI mode entered with *#2846# (CN)
- Huawei — Check the SN of my HUAWEI phone/tablet
- Huawei România — Diagnostic inteligent
- Honor — Device Detection / Smart Detection in My HONOR
- Motorola — Device Help > Device diagnosis > Hardware test
- Motorola — MTK test mode (Chinese characters on the screen)
- OPPO — Detection guide for sensors (*#899#, Engineer Mode)
Related guides
Samsung test codes: *#0*# and the rest, explained
Samsung's hidden test menu: *#0*#, the safe information codes and the ones best left to a repair shop.
15 min · Needs care
The Xiaomi, Redmi and POCO test menu (CIT): how to open it and what to check
The hidden hardware test menu on Xiaomi, Redmi and POCO: the code, the Settings route and how to read the results.
15 min · Needs care
Android's hidden info menu *#*#4636#*#*: signal, network and forcing 4G or 5G
The *#*#4636#*#* code opens Android's testing menu: real signal numbers, network type and how to force 4G/5G — plus the risks.
10 min · Needs care
Screen test: dead pixels, burn-in and dead touch zones
Run the screen tester: full colours, a touch grid and multi-touch — for dead pixels, burn-in and dead touch zones.
10 min · Anyone can do it
Buying a used phone? The complete 15-minute check
Everything to check on a used phone in 15 minutes: locks, IMEI, body, hardware, battery and parts — before you pay.
15 min · Needs care
A test keeps failing?
Bring the phone in for a diagnosis — we'll tell you on the spot which part is at fault and what the repair involves.