Xiaomi phones running MIUI and HyperOS come with a diagnostic tool hidden behind a dialer code, but many users don't know about it. There are many such secret codes on Xiaomi phones that service technicians use to test hardware, check IMEI numbers and override network restrictions. If you are troubleshooting your Xiaomi phone's display or just want to check sensors, this list of Xiaomi secret and security codes is all you need.
Xiaomi's Engineering Mode Explained
The most useful menu hidden on Xiaomi phones is the CIT menu, which is a Control and Identification Toolbox. It's a built-in Android app that Xiaomi technicians use at the factory to verify every hardware component, and the same app is available on your phone right now.

CIT runs at the system level and disables background processes while it tests components, which makes its results more reliable than any third-party diagnostic app. You can run an Automatic Test that checks display, touch panel, sensors, speakers, microphones, vibrator, fingerprint sensor, cameras, etc. You can also pick Single Item Test to check a single component.
You can enter #*#6484#*#* in the Phone app on Xiaomi phones to open the Engineering mode. And if your phone comes with a MediaTek chipset, you can run the *#*#3646633#*#* code.
Top Xiaomi Secret Codes List
Every code below works on the stock Phone app on Xiaomi phones. If you are using Google Phone or any third-party dialler, switch back to the stock Phone app; otherwise, the codes will not work.
| Xiaomi Secret Code | What It Does |
|---|---|
| *#*#6484#*#* | Opens the full CIT hardware test menu |
| *#06# | Displays IMEI and serial number |
| *#07# | Shows the SAR (radiation exposure) value |
| *#*#4636#*#* | Opens the phone info / radio info menu |
| *#*#0#*#* | LCD display test |
| *#*#2664#*#* | Touchscreen test |
| *#*#0588#*#* | Proximity sensor test |
| *#*#289#*#* | Speaker and microphone test |
| *#*#6485#*#* | Battery health and calibration |
| *#*#0000#*#* | Full device information |
| *#*#86583#*#* | Enables the VoLTE carrier check override |
| *#*#86943#*#* | Enables the VoWiFi carrier check override |
| *#*#726633#*#* | Enables the 5G SA (standalone) option |
| *#*#7780#*#* | Factory reset on older MIUI (largely deprecated) |
| *2767*3855# | Full format (legacy code) |
Xiaomi Hardware Test Codes

These hardware test codes let you check every component on your Xiaomi phone, including display, touch, sensors, speakers, mic, battery, etc. Now, let's go through them.
| Xiaomi Secret Hardware Code | What It Does | Description |
|---|---|---|
| *#*#6484#*#* | CIT hardware test menu | Opens the full CIT menu with automatic test, single item test and test report. If you are buying a second-hand Xiaomi phone, run the automatic test before paying for the device. It catches the vast majority of common hardware faults within minutes. |
| *#*#0#*#* | LCD display test | This code cycles through solid red, green, blue, black and white screens so you can spot dead pixels, white spot and backlighting issues. Tap on the screen to change the colour. |
| *#*#2664#*#* | Touchscreen test | It draws a grid with your finger. Any area that does not register your touch is a dead zone. This test is great for diagnosing ghost-touch and touchscreen issues. |
| *#*#0588#*#* | Proximity sensor test | Cover the sensor with your finger and the result should change from 1 to 0 (or Far to Near). If it does not, that is the reason why your screen stays on during calls. |
| *#*#289#*#* | Speaker and microphone test | Plays a test tone through the earpiece and loudspeaker, then records and plays back from each mic. It's a useful test when calls sound distorted. |
| *#*#0283#*#* | Audio loopback test | A more advanced audio diagnostic that loops audio through the mic and speaker simultaneously. |
| *#*#232331#*#* | Bluetooth test | Verifies that the Bluetooth chip is working and can discover nearby devices. |
| *#*#1575#*#* | GPS test | Opens a GPS diagnostic tool with satellite lock info. |
| *#*#6485#*#* | Battery health and calibration | It shows current charge level, voltage, charging cycles, temperature and overall health. If this code does not work, our guide on how to check battery health on Android covers a few app-based options. |
| *#*#0842#*#* | Vibration and backlight test | Tests the vibration motor and the backlight LEDs together. |
| *#*#2663#*#* | Touchscreen version | Shows the firmware version of your touchscreen controller chip. |
| *#*#3264#*#* | RAM version | Shows the RAM version via software. |
Xiaomi Hidden Device Info Codes

These Xiaomi secret codes show information about your device. You can find details like IMEI, model number, firmware version, baseband, hardware revision and so on.
| Xiaomi Hidden Device Info Code | What It Does | Description |
|---|---|---|
| *#06# | IMEI and serial number | Shows your IMEI on dual-SIM phones (IMEI 1 and IMEI 2) and the serial number. Always cross-check this against the IMEI on the box to verify authenticity. |
| *#07# | SAR value | Shows the Specific Absorption Rate (SAR) value. The safety limit in India is 1.6 W/kg on an average over 1 gram of tissue, the same standard as the US FCC. |
| *#*#0000#*#* | Full device information | Shows model number, hardware version, software version, MEID and baseband version on one screen. |
| *#*#1234#*#* | Firmware build version | Shows the firmware build version in detail. |
| *#*#426#*#* | FCM diagnostics | Opens the Firebase Cloud Messaging diagnostic page. FCM is what Android uses to deliver push notifications, so if your WhatsApp or Gmail alerts are delayed, this confirms whether FCM is the culprit. |
Xiaomi Secret Network Codes
This is where the Xiaomi codes get more useful because they let you override certain checks which are not available under Settings.
| Xiaomi Hidden Network Code | What It Does | Description |
|---|---|---|
| *#*#4636#*#* | Phone info and radio info | It opens the standard Android Testing menu with real-time signal strength, cell info and Wi-Fi info. You can also force the Preferred Network Type to LTE Only or NR Only (5G). That said, on newer versions, this code has been patched. |
| *#*#86583#*#* | VoLTE check toggle | After running it, the "Use VoLTE" option appears in SIM settings and you can enable VoLTE manually. |
| *#*#86943#*#* | VoWiFi check toggle | It lets you manually toggle Voice over Wi-Fi (VoWiFi). |
| *#*#726633#*#* | 5G SA standalone toggle | It shows the 5G Standalone option, and you can connect your phone to pure 5G instead of the non-standalone (NSA) mode. By the way, Airtel has only recently started rolling out 5G SA in India and 5G SA support is still patchy across operators. |
Note that these network codes might not work on every Xiaomi phone and are usually blocked at the firmware level. That said, you can try these codes on your phone and re-enable some key network toggles.
Xiaomi Secret Reset Codes
Xiaomi has deprecated reset codes with modern HyperOS releases. These codes wipe your device without any confirmation, and that's why they no longer work on newer Xiaomi phones.
| Xiaomi Secret Reset Code | What It Does | Description |
|---|---|---|
| *#*#7780#*#* | Factory reset | On older MIUI, this code wipes installed apps, app data, accounts, Wi-Fi passwords and settings while keeping your personal files intact. |
| *2767*3855# | Full format | It's an old Android wipe code that fully formats the device, but it no longer works. |
Keep in mind that these codes can't bypass Mi Account lock or FRP (Factory Reset Protection). After a factory reset, you will still need the previous Mi account and Google account credentials.
How to Use Xiaomi Secret Codes
Entering secret codes on a Xiaomi phone is pretty straightforward, and here are the steps to follow.
- Open the Phone app on your Xiaomi phone and type the exact code, including every asterisk and hash symbol.
- No need to press the call button for codes to work. Just entering the last character should trigger the code.
- Once you do that, the hidden menu on your Xiaomi phone will open up.

Hidden Menus on Xiaomi Phones
Beyond the secret codes, a few hidden menus on MIUI and HyperOS are worth knowing. Here are some of the popular ones.
- CIT Engineering Menu: As mentioned above, it's the most powerful hidden menu on any Xiaomi phone. Access via *#*#6484#*#* or you can manually open it via Settings > About phone > tap on Kernel version five times. It gives you Automatic Test, Single Item Test, Test Report, SW/HW version info and Device View.
- MTK Engineering Mode: *#*#3646633#*#* works on MediaTek-powered Xiaomi phones only. It has some advanced options, so tread with caution. Don't change values unless you are sure about it.
- Developer Options: It's not gated behind a code, but definitely worth knowing. Go to Settings > About phone > All specs and tap MIUI version (or HyperOS version) seven times. You can now open Developer Options to enable USB debugging, OEM unlocking and more.
- Radio Info Menu: *#*#4636#*#* opens an important menu for network troubleshooting. It shows real-time dBm signal strength (stronger than -85 dBm is good, -100 dBm or lower is poor). You can also check the cell tower ID and network type, and it lets you force the preferred network mode.
And that wraps up our explainer on Xiaomi secret codes. Of late, Xiaomi has been restricting access to these hidden codes with every MIUI and HyperOS update. So, not every code in this list will work on every device. If a code does nothing, try the CIT settings shortcut as a fallback. And if you are about to buy a used Redmi or POCO phone, run the CIT automatic test to check the reliability of all sensors.



























