background

Xiaomi Secret & Security Codes: List of Hidden Hardware, Network and Reset Codes

Check out the list of every working Xiaomi secret code for the CIT engineering menu, sensor tests, device info, network and reset option

Arjun Sha profile pictureby Arjun Sha
Link Copied
copy link iconcopy link icon
illustration showing the Xiaomi company text with secret codes demonstration

Image Credit: Beebom Gadgets

Summary

  • Xiaomi secret codes are basically dialler shortcuts that let you access hardware tests, device info and network toggles on Xiaomi phones.
  • The most important code is *#*#6484#*#* – which opens the full CIT hardware test menu for display, touch, sensors, speakers, and microphone.
  • Many codes have been patched on newer HyperOS versions so they might not work on recent Xiaomi, Redmi and POCO phones.

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.

screenshot of xiaomi engineering mode also called cit mode
screenshot of xiaomi engineering mode also called cit mode

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 CodeWhat 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

screenshot from xiaomi phone showing how to test hardware components using secret codes
screenshot from xiaomi phone showing how to test hardware components using secret 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 CodeWhat It DoesDescription
*#*#6484#*#* CIT hardware test menuOpens 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 testThis 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 testIt 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 testCover 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 testPlays 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 testA more advanced audio diagnostic that loops audio through the mic and speaker simultaneously.
*#*#232331#*#* Bluetooth testVerifies that the Bluetooth chip is working and can discover nearby devices.
*#*#1575#*#*GPS testOpens a GPS diagnostic tool with satellite lock info.
*#*#6485#*#*Battery health and calibrationIt 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 testTests the vibration motor and the backlight LEDs together.
*#*#2663#*#* Touchscreen versionShows the firmware version of your touchscreen controller chip.
*#*#3264#*#*RAM versionShows the RAM version via software.

Xiaomi Hidden Device Info Codes

screenshot from xiaomi phone showing device information via secret codes
screenshot from xiaomi phone showing device information via secret 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 CodeWhat It DoesDescription
*#06#IMEI and serial numberShows 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 valueShows 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 informationShows model number, hardware version, software version, MEID and baseband version on one screen.
*#*#1234#*#*Firmware build versionShows the firmware build version in detail.
*#*#426#*#*FCM diagnosticsOpens 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 CodeWhat It DoesDescription
*#*#4636#*#*Phone info and radio infoIt 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 toggleAfter running it, the "Use VoLTE" option appears in SIM settings and you can enable VoLTE manually.
*#*#86943#*#*VoWiFi check toggleIt lets you manually toggle Voice over Wi-Fi (VoWiFi).
*#*#726633#*#*5G SA standalone toggleIt 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 CodeWhat It DoesDescription
*#*#7780#*#* Factory resetOn older MIUI, this code wipes installed apps, app data, accounts, Wi-Fi passwords and settings while keeping your personal files intact.
*2767*3855# Full formatIt'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.

  1. Open the Phone app on your Xiaomi phone and type the exact code, including every asterisk and hash symbol.
  2. No need to press the call button for codes to work. Just entering the last character should trigger the code.
  3. Once you do that, the hidden menu on your Xiaomi phone will open up.
screenshot from a xiaomi phone showing how to enter secret code to open cit menu
screenshot from a xiaomi phone showing how to enter secret code to open cit menu

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.

Arjun Sha profile picture

Senior Guides Writer

Arjun has been covering Windows, AI, chipsets, and online privacy at Beebom for six years. He simplifies complex technological concepts for a wider audience and tries to solve everyday computing problems. While he's not writing, you will find him on Twitter following the latest developments in AI.

Recommended For You

Popular Mobile List