XGSM Iași — Service & Piese GSM

Dial codes

Test codes and diagnostics for Huawei, Honor, Motorola, Pixel, OnePlus, Oppo and Realme

Samsung's *#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.
Needs care15 minHuaweiMotorolaGoogle PixelOnePlusOppoChecked: November 17, 2026

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.

The official tool and the test code, by brand
BrandOfficial toolThe code
HuaweiMy HUAWEI → Support → Smart Diagnosis*#2846# (MMI test mode)
HonorMy HONOR → Services → Device Detection— (none documented)
MotorolaDevice Help → Device diagnosis → Hardware test— (none documented)
Google PixelPixel Repair Diagnostics*#*#7287#*#*
Oppo, realme, OnePlusPhone Manager → Diagnostics*#899# (Engineer Mode)

Note

Factory test menus are almost always in English, whatever language the phone uses — they're built for the production line and the service bench. The official apps such as My HUAWEI or Device Help are translated.

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).

  1. 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.

    My HUAWEI — Support
    Smart Diagnosis
    Online help
    Service centers
    Step 1
    Smart Diagnosis
    A full check-up or a single-function test
    Camera
    Microphone
    Touch screen
    Speaker
    Battery
    Step 2
    Smart 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

  2. 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.

  3. 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.

  1. 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#.

  2. 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?

The fix is the same menu: go back in with *#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.

Danger· ProjectMenu has an entry that wipes the phone

The menu opened by the code above is the factory project menu (ProjectMenu): besides information, it holds Restore factory, which erases all data without asking for confirmation. If you land in it, only read Veneer Information → Other Info for the serial number and leave.

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.

Test results
DisplayPASS
Touch screenPASS
SpeakerFAIL
Main micPASS
Proximity sensorPASS
ChargingSkipped

Phone screen: Test results: Display — PASS; Touch screen — PASS; Speaker — FAIL; Main mic — PASS; Proximity sensor — PASS; Charging — Skipped

A FAIL row points at the suspect part. Run the check once more before concluding.
The checkIt looks good whenIf it fails twice
Display / colourseach colour fills the screen evenlydead pixels or blotches → the screen
Touch screenthe drawn lines appear everywheredead zones → the touch layer of the screen
Speaker / Receiverthe test sound plays clearlysilence or crackle → the speaker
Microphoneit plays your recorded voice back clearlynothing on playback → the microphone
Sensorsthe values move as you tilt or cover the phonefrozen values → the sensor
Cameraa clean preview, no errorsblack screen or an error → the camera
Chargingwith the cable connected, it sees the chargeit 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

Run the full check before a repair too: the written results help at the service bench, and after the repair they show you whether the new part actually passes its test.

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

The same menu you're opening is the first thing a technician runs before taking a phone apart — come to the shop with your results already noted and the diagnosis is faster.

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:

CategoryWhy 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» entryOne tap on the wrong entry wipes the phone or overwrites the firmware
«Calibration» entries in engineering menusThey rewrite the factory values of sensors and fingerprint — good parts start throwing errors
Modem and network menusThey 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?

Leave with Back or Home without touching anything inside. If you already tapped something and the phone acts strangely, write down exactly what you touched — that helps the repair a lot. And for a reset done properly, the way is resetting from Settings, with its own warnings.

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.

Tip· Buying a used phone?

Run the full check face to face with the seller — in a few minutes you see the state of the screen, the cameras and the microphone. The rest of the checks are in the used-phone buying guide.

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?
Because it's Samsung's code. Every brand has its own test tool: on Huawei it's Smart Diagnosis in My HUAWEI, on Motorola it's Device Help, on Pixel it's the code *#*#7287#*#*, and on Oppo, realme and OnePlus it's *#899# or Diagnostics in Phone Manager.
Can I break something by entering the test menu?
The tests themselves are safe — they only check components. The dangerous parts are the neighbouring entries in factory menus: «Calibration» entries rewrite sensor values, and «Restore factory» wipes the phone without asking. Only run the tests and leave the rest alone.
Why is the test menu in English when my phone isn't?
Factory menus — MMI on Huawei, Engineer Mode on Oppo and realme — are built for the production line and the service bench, so they're not translated. The results are still easy to read: PASS means the part is healthy, FAIL means it's suspect.
Is there a test code for Honor phones?
Honor documents no test code on newer models. The official route is Device Detection or Smart Detection inside the My HONOR app, available from Magic UI 4.0 up, and it covers roughly the same components.
Does *#899# work on OnePlus?
On recent OnePlus phones, yes — the newer OxygenOS shares the ColorOS base with Oppo and realme, so it opens the same Engineer Mode. On older OxygenOS the test menu opened with *#808#, a code that is disabled on recent versions.
A test came back FAIL — how bad is it?
First, run it once more to rule out a botched run. If it fails the same way again, the component is most likely faulty and settings won't fix it — check the guide for that symptom or ask for a diagnosis at a repair shop.

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

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.