How to Get Out of Main Menu on Xiaomi Redmi 8: 5 Ways to Work

Main Menu (or Engineer Mode) on Xiaomi Redmi 8 is a powerful tool for diagnosing and fine-tuning the smartphone, but it is not uncommon for users to get into it by accident. USSD-The main problem is that unlike standard menus, leaving Main Menu is not always intuitive, and some items can cause a reset or even lock the bootloader if you click them randomly.

In this article, we’ll look at all the proven ways to exit the engineering menu on Redmi 8, from simple (using hardware buttons) to radical (forced reboot), focusing on methods that don’t lead to data loss, and warning you about the risks associated with changing the parameters in Main Menu. If your smartphone is getting stuck on a screen labeled Qualcomm HS-USB Diagnostics or similar, here you will find a solution.

What is Main Menu on Xiaomi Redmi 8 and why is it difficult to leave it?

The Main Menu (also known as Engineer Mode or Service Mode) is a hidden MIUI firmware section designed to test hardware components: communication module, display, battery, etc. It is available on all Xiaomi smartphones, including Redmi 8 (codenamed olive), but is not intended for ordinary users.

  • πŸ“± Through USSD-codes (e.g. #4636## or #3644633##).
  • πŸ”§ When connecting to a PC in Fastboot mode or EDL.
  • ⚑ After a firmware failure through the Mi Flash Tool.
  • πŸ”„ Accidentally pressing a button combination during booting (e.g., Volume)+ + Nutrition).

The difficulty of the exit is due to the fact that Main Menu does not have a standard MIUI interface. There is no back or home button, and some items (for example, Reboot or Factory Reset) can reset. Moreover, depending on the firmware version, the menu can look different: on older builds of MIUI 11 it is a text list, on new builds (MIUI 12+) it is a graphical interface with icons.

⚠️ Note: Change settings in Network Settings, Hardware Testing, or RF Calibration can cause network loss, processor overheating, or even lockdown IMEI. Do not press anything other than navigation buttons!

Method 1: Standard output through hardware buttons

The safest method is to use physical buttons on your smartphone, which works 80 percent of the time if the menu is not hanging.

  1. Hold the Power button for 10-15 seconds until the screen goes out.
  2. After vibration, release the button - the smartphone will restart in normal mode.

If this method does not work, try the combination:

  • πŸ”„ Loudness up + Power (hold 10 seconds).
  • πŸ”„ Loudness down + Power (hold until rebooted).

Redmi 8 with MIUI 12.5 and later can work double tap on Power (as in locking the screen). If the menu does not respond, move to the next method.

Make sure your smartphone is at least 30% charged | Turn off the USB cable (if connected) | Remember the current menu item (in case of a crash) | Don't press Factory Reset or Format Data

-->

Method 2: Reboot via battery (if buttons don't work)

If the smartphone doesn't respond to the buttons and the Main Menu screen is frozen, try a software reset via battery extraction. On the Redmi 8, the battery is not removable, but you can simulate turning it off:

  1. Keep Volume Up + Power for 20-30 seconds (even if the screen is unresponsive).
  2. If the Mi logo appears, release the buttons - the smartphone will restart.
  3. If there is no reaction, plug the charger in and repeat step 1.

This method works because prolonged button retention forcibly breaks the power circuit of the Qualcomm Snapdragon 439 processor, simulating battery extraction.The risk of data loss is minimal, but if the smartphone was in the process of writing to memory (for example, when testing a flash drive), file system errors are possible.

⚠️ Warning: Do not use this method more often 2-3 times in a row. MIUI This can lead to activation of anti-theft mode (requires the entry of the Mi Account password after rebooting).

Method 3: Exit through USSD-commands (for test menu)

If you are in Main Menu through USSD-code (e.g. #4636##) can be used to try to get the same way, and this method only works for test menus (e.g. Testing or Service Mode), but not for Fastboot or Fastboot. EDL.

Instructions:

  1. Enter the code ##4636## or ##000000 (depending on the firmware version) on the menu keyboard.
  2. If you have a request to exit, confirm the action (usually by the Back or Exit button).
  3. If the code didn’t work, try ##0## (display test) – this can reset the current mode.
USSD-codeAction.Works for MIUI.
##4636##Test menu11–14
##3644633##Engineering Menu (Qualcomm)10–12.5
##000000Exit from service mode12+
##0##Display test (reset menu)All versions.

If USSD-codes don’t help, so you’re in hardware mode (like Fastboot or Fastboot). EDL), and other methods will be required.

Power button|USSD-code|Rebooting through the battery|Through PC (Fastboot)|I don't know what that is.-->

Method 4: Forced exit via Fastboot (for power users)

If previous methods have failed and the smartphone is loaded into Fastboot Mode (a black screen with a rabbit labeled FASTBOOT), you will need a PC connection, which is suitable for Redmi 8 with an unlocked bootloader or if you have access to the Mi Unlock Tool.

Step-by-step:

  1. Download and install Mi Flash Tool or ADB/Fastboot Tools.
  2. Connect your smartphone to your PC via USB (use the original cable!).
  3. Open the command line (Win + R β†’ enter cmd) and execute the command: fastboot reboot
  4. If your smartphone doesn’t respond, try fastboot.

If the bootloader is locked, you will need to unlock it through Mi Account (it will take up to 72 hours).

fastboot oem edl

But this will put the device in EDL mode, from which exit is possible only through firmware!

⚠️ Note: Fastboot oem unlock or fastboot flash commands can erase all data on your device.

What if the Fastboot doesn’t recognize the device?
Make sure that Qualcomm drivers are installed HS-USB QDLoader 9008 (download XDA Developers. Try another one. USB-port (preferably) USB 2.0 Turn off the antivirus, it can block. ADB-If the smartphone is defined as QHUSB_BULK, So he's on the move. EDL, You will need to use the Mi Flash Tool to get out.

Method 5: Extreme measure - reset to factory settings

If none of the methods worked, and the smartphone is stuck in Main Menu with a No Command or System Destroyed error, there are only hard resets. On Redmi 8, there are two ways to do this:

Method A: Through Recovery Mode

  1. Turn off your smartphone (hold Power + Volume up 15 seconds).
  2. Press Volume Up + Power until the Mi logo appears.
  3. Select a language, then go to Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the reboot.

Method B: Through Fastboot (if Recovery is not available)

fastboot erase userdata


fastboot erase cache




fastboot reboot

After the reset, all data will be deleted, including photos, contacts and applications. If you had a link to Mi Account, after the reboot, you will need to enter your username and password.

πŸ’‘

Before resetting, try connecting your smartphone to your PC in MTP mode (if it is detected) and copy important files from internal memory. To do this, in Main Menu, find USB Settings and select File Transfer.

Frequent Mistakes and How to Avoid Them

Many users make things worse by trying to click on Main Menu at random, and here are the most common errors and their consequences:

  • 🚫 Factory Reset: Leads to a complete reset even if you haven't confirmed the action.On some firmware, the reset occurs without warning!
  • 🚫 Change in parameters RF Band: May disrupt the operation of modules 4G, Wi-Fi or Bluetooth, fixed only by firmware.
  • 🚫 Choice Reboot to EDL: Transfers the smartphone to emergency firmware mode, from which exit is possible only through a PC.
  • 🚫 Battery Test Disconnection: On Redmi 8, this can result in battery calibration loss (charge display will be incorrect).

If you accidentally change your settings, don't panic. Most settings in Main Menu are reset after you reboot. Except for the partitions associated with IMEI, Baseband or Secure Boot.

πŸ’‘

Never confirm actions in Main Menu unless you know what they are, and even seemingly harmless items (such as Auto Test) can trigger a diagnostic cycle that locks the device for 10-15 minutes.

FAQ: Answers to Frequent Questions

My Redmi 8 is stuck in Main Menu after the firmware.
If the smartphone got stuck after upgrading via Mi Flash Tool or TWRP, there is likely a system partition writing error. Try: Keep Power + Volume up 20 seconds for a forced reboot. If it doesn't work, swipe the smartphone again in EDL mode (an authorized Mi Account is required). If the firmware has been interrupted, the bootloader may have been damaged. In this case, only the service center will help.
After leaving Main Menu, the sound/network/Wi-Fi is lost.
This means that the parameters of the communication module or audio have been changed in the engineering menu: πŸ”Š Missing Sound: Go to Settings β†’ Sound and reset to factory. If it doesn't work, swipe the vendor section separately. πŸ“Ά No network: Enter in the dial ##4636##, select Phone Information and click Select Network. IMEI Reset, restore it through MTK Engineering Mode (Redmi 8 with Snapdragon chipset required) QCN-file).
Can I log out of Main Menu without losing data?
Yes, in most cases.Steams without data loss: Forced button reboot (Powering) + Loudness). USSD-If you have a PC connection and a fastboot reboot command (if the bootloader is not locked), the risk of data loss arises only when you select Factory Reset in the menu, interrupt the memory test process, Firmware through the EDL backup.
How to avoid getting into Main Menu in the future?
Not to accidentally activate the engineering menu: πŸ“΅ Don't bring in strangers. USSD-codes (especially with symbols *#). πŸ”§ Do not press button combinations when booting (e.g. Volume)+ + Food is only retained for resetting). πŸ–₯️ When you are running through Fastboot, use only official tools (Mi Flash Tool). πŸ”’ Set a password for Developer Settings (in Settings) β†’ Additionally. β†’ For developers).