Main Menu 3.0 is a powerful tool for diagnosing and fine-tuning hardware, but even an experienced user can accidentally get into it, most often when service codes are entered unsuccessfully (for example, ##4636##), using unofficial firmware or after an incorrect update through the Mi Flash Tool. The main problem is the lack of an obvious exit button: the menu interface is designed for engineers, not for the average owner of Redmi, POCO or Mi.
In this article, weβll look at all the working ways to exit Main Menu 3.0, from the simple (reboot) to the complex (manual file editing via ADB). Weβll focus on situations where a smartphone hangs on a logo screen after trying to exit, and explain why standard methods like holding the power button may not work. If youβre afraid of losing data, thereβs a section at the end of the article about backing up right from the engineering menu.
What is Main Menu 3.0 and why you canβt just go back
Main Menu 3.0 is Qualcommβs service software integrated into Xiaomiβs Snapdragon chipset-based firmware (the 4xx/6xx/7xx/8xx series) that is designed to test the deviceβs modules: cameras, sensors, modems, and even a battery. Unlike the MIUI user interface, there are no conventional controls, only test lists and numerical parameters.
The main reason why you can not get out in the standard way:
- π No event handler: The menu ignores back button clicks (both physical and touch) as it runs at a low OS level.
- π οΈ Lockdown UI: certain tests, for example, RF Test Mode - Completely captures screen control.
- π΅ Disconnected Android services: in engineering mode suspended system processes responsible for navigation.
Fun fact: Mediatek chipset devices like the Redmi Note 12 4G use an Engineer Mode, but the way out is simpler, and Snapdragon models have to use workarounds.
β οΈ Note: If you are in Main Menu 3.0 after entering the code ##36446337# (accelometer test), do not try to change the settings in the Sensor Calibration section - this can lead to incorrect operation of the gyroscope in games.
Method 1: Software reboot (works 70% of the time)
The safest method is forced reboot without data loss, suitable for most Xiaomi models from 2019-2026 (including the Redmi Note 13 Pro+, POCO F5, Mi 11 Ultra).
Instructions:
- Hold the power button for 10-15 seconds (on some models β up to 20 seconds).
- If the screen is gone, but the smartphone does not reboot β wait 30 seconds and repeat the hold.
- When the MI logo appears, release the button. The system should boot as normal.
If the reboot didnβt help, try the combination:
Power button + Volume up (hold 10 seconds)Try another button combination (power + volume down)
Connect the charger and reboot the charger
Wait for the battery to run out (if time permits)
Use a USB cable to force shutdown (see Method 3)
-->
On devices with MIUI 14+, a notification may appear after a forced reboot, "System recovered after failure." That's fine -- just press OK.
Method 2: Exit via hidden button (Main Menu 3.0 only)
Main Menu 3.0 (found at Xiaomi 2020-2023) has a hidden exit feature, but itβs hidden behind an unobvious sequence of actions.
Step-by-step:
- In the main menu, find the Back item (usually at the bottom of the screen). If it is not available, move to step 3.
- Press Back, then quickly press Menu (if any) and hold the Home button (or home gesture) for 3 seconds.
- If you don't have Back, press and hold the screen area on the top right (where the time is usually displayed) for 5 seconds.
- In the window that appears, select Exit to Android or Reboot System.
Some firmware (e.g. EU ROM) display icons instead of text:
- π β return to the previous menu;
- π β Android;
- π β restart.
β οΈ Note: On devices with an unlocked bootloader after leaving Main Menu, you may need to re-authorize in Mi Account due to the activation of anti-Rollback protection.
Redmi (Note/Prime series)
POCO (F/X/M)
Mi (11/12/13 series)
Black Shark
Another brand
-->
Method 3: Forced USB Disconnection (for power users)
If the smartphone does not respond to buttons, but is defined by the computer as a Qualcomm HS-USB QDLoader 9008 device, you can try a hardware reset via a PC connection.This method requires Qualcomm drivers installed and QPST or Mi Flash Tool programs.
What you need:
- π₯οΈ Windows computer 10/11;
- π The original cable. USB (preferably from a set);
- π₯ Qualcomm drivers (you can download it) XDA Developers);
- π οΈ Mi Flash Tool (official version of your model).
Instructions:
- Connect your smartphone to your PC off (hold power + volume down 10 seconds for a complete shutdown).
- Press the volume button up and, without letting it go, connect the cable. USB. The device must be defined as QHUSB_BULK.
- Open the Mi Flash Tool, select Clean All mode, and run the stock firmware for your model (download it from en.miui.com).
- After successful firmware, the smartphone will restart in normal mode.
| Xiaomi model | Supported chipset | Main Menu version | Does Method 3 Work? |
|---|---|---|---|
| Redmi Note 10 Pro | Snapdragon 732G | 3.0.5 | Yes. |
| POCO F3 | Snapdragon 870 | 3.0.7 | Yes (Mi Account authorization required) |
| Mi 11 Lite | Snapdragon 732G/780G | 3.0.4 | Yes. |
| Redmi 9A | Mediatek Helio G25 | Engineer Mode 2.1 | No (another type of menu) |
| Black Shark 5 | Snapdragon 870 | 3.0.8 | Yes (with unlocked bootloader) |
If after firmware, the smartphone loads into Fastboot Mode, follow the command:
fastboot rebootπ‘
Before you use the Mi Flash Tool, disable the antivirus, which can block Qualcomm drivers, which will lead to an error Sahara Communication Failed.
Method 4: Manual file editing via ADB (for advanced)
If you have debugging enabled USB (USB Debugging, you can try to log out of Main Menu by deleting temporary menu files via ADB. This method is suitable for users who have previously configured ADB on the Xiaomi.
Conditions required:
- π§ Included debugging by USB developer-setting;
- π₯οΈ Established ADB Tools on PC;
- π Working cable USB (preferably with data transmission support).
Commands to execute (enter in turn in the command line):
adb devices
adb shell
su
rm -rf /data/local/tmp/qualcomm_menu*
rebootIf you enter su with a Permission denied error, you don't have root permissions on your device. In this case, try an alternative method:
adb shell am force-stop com.qualcomm.qti.engineermode
adb shell input keyevent 3After completing the commands, the smartphone should restart as normal. If this does not happen, check if ADB is blocked in the security settings (Settings β Additional β Privacy β Special permissions).
What if the ADB canβt see the device?
What to do if no one has helped: extreme measures
If all of these methods fail, radical solutions remain:
- Hard Reset - deletes all data, but returns performance, performed via Recovery Mode (power + volume up).
- EDL firmware requires special hardware (e.g. Deep Flash Cable) and Qualcomm Firehose knowledge.
- Contact the service center β if the device is warranty, do not try to repair it yourself.
Warning: on devices with MIUI 13+, you may need to enter a password from your previous Mi Account (Factory Reset Protection) after a hard reset. If you don't remember the password, it can take up to 72 hours to restore access.
| Method | Loss of data | Difficulty | Implementation time |
|---|---|---|---|
| Reboot with a button | No. | Low. | 1-2 minutes |
| Hidden Exit button | No. | Medium | 3-5 minutes |
| ADB-team | No. | Tall. | 10-15 minutes |
| Firmware through Mi Flash | Yes (without backup) | Very high. | 30-60 minutes |
| Hard Reset | Yes. | Low. | 5-10 minutes |
π‘
If the smartphone after leaving Main Menu 3.0 began to warm up or discharge quickly β reset the network settings (Settings) β SIM-maps and mobile networks β Reset network settings. This will eliminate possible conflicts of modem profiles.
How to Avoid Main Menu 3.0 in the Future
To avoid accidentally activating the engineering menu, follow these rules:
- π± Do not enter unfamiliar service codes (e.g. ##7780## or ##36446337##) unless you are sure of their purpose.
- π Do not update your firmware through unofficial sources (especially Custom). ROM non-compatibility-check).
- π‘οΈ Set a password for Developer Settings (Settings) β System system β Additionally. β For developers β Settings password).
- π¦ Before experimenting with firmware, back up through Mi PC suite TWRP.
If you often have to work with an engineering menu (for example, for testing equipment), use safe alternatives:
- MTK Engineering Mode (for Mediatek) β output is done by the back button.
- The βDevice Info HWβ app shows technical data without the risk of blocking.
- ADB-commands β allow you to receive diagnostic information without logging into the menu.
For example, to check the battery status, instead of Main Menu, you can use the command:
adb shell dumpsys battery