Xiaomiโs hidden service menu is a powerful tool for diagnosing, testing hardware components and accessing advanced settings that the manufacturer hides from ordinary users. It is available on all devices of the brand, from budget Redmi to flagship Xiaomi 14, as well as on Mi TVs and Pad tablets. However, careless actions in the engineering menu can lead to malfunctions of the gadget or even its โbrickingโ.
In this article, you will learn how to securely log into the service menu on different Xiaomi devices, what features are available there, and how to use them correctly. We will analyze the official methods (through codes and button combinations) and alternative methods for advanced users. Special attention will be paid to unique codes for testing the display, battery and module. NFC, which are not dokumented in official instructions.
What is Xiaomi Service Menu and Why You Need It
Service (or engineering) menu is a built-in system utility that allows you to:
- ๐ Test hardware components: screen, speakers, microphone, cameras, sensors (gyroscope, accelerometer, compass).
- ๐ View detailed information about the device: firmware version, IMEI, serial number, battery data (real capacity, number of charging cycles).
- โ๏ธ Adjust hidden parameters: adjusting sensor sensitivity, calibrating the battery, changing regional settings.
- ๐ ๏ธ Perform malfunction diagnostics: check the integrity of the plumes, screen illumination test, analysis of the communication antennas.
For example, if your Redmi Note 12 starts to run out quickly, you can check the real capacity of the battery through the service menu and compare it to the passport, or if some pixels on the screen stop working after the fall, the display test will show whether it is a hardware problem or a software failure.
โ ๏ธ Note: Changes in parameters in sections RF A test or a hardware test can cause network loss or sensors to malfunction. Don't save changes unless you're sure of the consequences!
Official ways to enter the service menu
The manufacturer has provided several standard methods of accessing the engineering menu that work on most Xiaomi devices without the need for root rights.
1. Through USSD codes
The easiest way is to type in special combinations in the Phone app, which are universal for most models, but some may not work on new devices with MIUI 14+:
- ๐ฑ Main service menu: ##4636## (displays battery information, usage statistics, network tests).
- ๐ Battery test: ##6484## (shows real capacity, temperature, voltage).
- ๐ก Network information: ##4636## โ "Telephone informationโ (data on SIM-map, signal, roaming).
- ๐ต Sound test: ##0673## or ##0289## (speaker and microphone check).
On some models (such as the POCO F5 or Xiaomi 13T), these codes can be blocked.
2. Through a button combination
If USSD-The codes don't work, try a physical combination:
- Turn off the device.
- Press Volume Up + Power for 10-15 seconds until the Mi logo appears.
- Release the buttons โ the Fastboot or Recovery menu should open.
- Select Connect with MIAssistant (if any) or go to Advanced โ Service Menu.
โ ๏ธ Note: On devices with a blocked bootloader, this method may not work. Also, do not confuse the service menu with Fastboot mode - in the latter, changing the settings without knowing the adb commands is dangerous!
Hidden codes for specific Xiaomi models
Some devices have unique access codes that are not dokumented in the public domain, and here is a table with proven combinations for popular models:
| Model of the device | Code. | Appointment |
|---|---|---|
| Redmi Note 10/11/12 | ##36446337## | Camera and sensor test (gyroscope, accelerometer, magnetometer) |
| POCO X3/X4/X5 | ##2664## | Test display (colors, touchscreen, backlight) |
| Xiaomi 12/13/14 | ##64663## | Verification of the NFC module and wireless charging |
| Mi TV 4/5 | Settings โ Device โ Service menu (code: 1234) | Diagnostics of panel, sound, ports HDMI |
| Black Shark 4/5 | #4636### โ โEquipment testingโ | Checking shoulder button triggers and cooler |
If your model is not in the table, try the universal codes from the previous section. On new devices (such as Xiaomi 14 Ultra), some combinations may be blocked due to the MIUI security policy.
๐ก
If the code doesnโt work, try typing it in a third-party dialer instead of a standard Phone app (like Google Playโs True Phone Dialer).
What can be set up in the service menu (step-by-step instructions)
After a successful entry, you will see several tabs or items, and consider the most useful ones with the example of a Xiaomi smartphone:
1. Testing of equipment (Hardware Test)
Here you can check:
- ๐ฑ Display: test for broken pixels, color gradients, touchscreen sensitivity.
- ๐ Sound: playback of test tunes through speakers and 3.5mm connector (if available).
- ๐ท Cameras: check of the main, front and additional modules (wide-angle, telephoto).
- ๐ Battery: real capacity, voltage, temperature, number of charging cycles.
To run the test, select the component you want and follow the instructions on the screen, for example, when you check the sensor, you will be asked to swipe across the display for calibration.
2. Device Information (Device Information)
This section shows:
- ๐ Full specification of the device (model, processor, RAM, ROM).
- ๐ก Network data (IMEI, MAC-address Wi-Fi/Bluetooth, information SIM-map).
- ๐ System Logs (Last Errors, Failures, Reboots).
This data is useful if you contact the service center or want to sell the device - so the buyer will be able to verify the originality of the components.
Charge the device to at least 50%|Make a backup copy of the data|Record the initial settings (brightness, sound)|Do not interrupt the testing process-->
3. Network Settings (Network Settings)
This section may include:
- ๐ถ Manually select the network standard (2G/3G/4G/5G).
- ๐ Reset the settings APN (It is useful if the mobile Internet is not working).
- ๐ก View the signal level in dBm (useful for diagnosing communication problems).
โ ๏ธ Warning: Changing the settings in the Band Selection section can cause network loss! Don't save settings if you don't know what you're doing.
How to exit the service menu without consequences
If you've just looked at the information or run the tests, just click the Back or Home button, but if you've made changes to your settings, follow these rules:
- Before exiting, check if tests remain active (e.g. continuous sound playback or screen blinking).
- If you have changed network or hardware settings, restart the device.
- If after the release there were failures (for example, the camera or speaker does not work), reset to factory settings through Settings โ About phone โ Reset settings.
On some devices (such as Mi TVs), the service menu closes automatically after 30 seconds of inactivity, and on smartphones, it can remain open until manually closed.
What to do if the device is stuck in the service menu?
Advanced Features: Engineering Menu via ADB
For advanced users who want to access additional features, there is a method through ADB (Android Debug Bridge) that requires connecting the device to a computer and enabling USB Debugging.
Here's the step-by-step instruction:
- Install ADB and Fastboot Tools on PC.
- Enable USB debugging in the developer settings (Settings โ About Phone โ MIUI version โ tap 7 times, then go back to Additional โ For Developers).
- Connect the device to your PC and type in the command line: adb shell am start -n com.android.settings/.DevelopmentSettings
- To access the full engineering menu, use: adb shell am start -n com.android.settings/.TestingSettings
You can unlock additional options through ADB, such as:
- ๐ง Battery calibration: resetting charge statistics to eliminate incorrect percentage display.
- ๐ก Frequency unlocking 5G: if the operator supports them, but the device does not see them.
- ๐ฎ Sensor delay setting: reducing lag in games.
โ ๏ธ Attention: Teams ADB If you use it incorrectly, you can lose your warranty or your device will fail. For example, the fastboot oem unlock command unlocks the bootloader, but erases all the data!
๐ก
Use ADB only if you understand the implications. For most tasks, standard USSD codes or diagnostic menus will suffice.
Frequent Mistakes and How to Avoid Them
When working with the service menu, users often face the following problems:
| Mistake. | Reason. | Decision |
|---|---|---|
| USSD codes are not working | Manufacturer has blocked access to new firmware | Use ADB or a combination of buttons |
| After the display test, artifacts remained | The test was not completed correctly. | Reset the device |
| No sound after speaker test | Testing mode hasn't turned off. | Log in the menu again and select Exit Test |
| The device does not turn on after changes | Critical error in equipment settings | Log in to Fastboot and perform reset |
If you are not sure about your actions, it is better to contact the Xiaomi service center. Some changes (for example, in the settings of the radio module) can lead to the loss of IMEI or network lock.