How to get out of the Xiaomi engineering menu: 5 proven ways

Xiaomiโ€™s engineering menu is a powerful tool for diagnosing and fine-tuning a smartphone, but users often face a problem: how to safely exit it if the device starts to work unstable or the menu opens accidentally. Unlike standard settings, the engineering menu (#4636## or ##36446337##) does not always have an obvious back button, and improper actions can lead to system failures or even a device โ€œbrickโ€.

In this article, we will discuss all the current ways to exit the engineering menu for Xiaomi, Redmi and POCO smartphones on MIUI 12-14 and HyperOS firmware, including forced modes and emergency situations. Particular attention will be paid to models with Qualcomm Snapdragon and Mediatek, since they have different algorithms for the engineering menu, and you will learn what to do if the smartphone freezes in test mode after changing the parameters is the only case when standard methods may not work.

What is Xiaomiโ€™s Engineering Menu and Why Itโ€™s Hard to Close It

Engineering menu (Engineer Mode) is a hidden service section designed to test hardware components: screen, camera, sensors, communication module, etc. It is available on all Xiaomi devices through special devices. USSD-codes or button combinations, but unlike the recovery menu (Fastboot or Recovery), the engineering menu runs on top of the operating system.

The main problem is that:

  • ๐Ÿ”ง Many menu items do not have feedback โ€“ after changing the settings, the screen may go out or freeze.
  • ๐Ÿ“ฑ On some firmware (MIUI 12 and below) the Back button is not working properly due to shell errors.
  • โš ๏ธ Changing critical parameters (e.g., Band Selection for modem) can result in network loss or reboot cycle.

Itโ€™s important to understand that the engineering menu is not the same as the Fastboot or EDL Mode, and if youโ€™re logged in with ##4636##, itโ€™s software-based, and if the menu opens after a hardware reset (like the Volume Up + Power clip), itโ€™s a recovery mode, and the instructions in this article donโ€™t apply to it.

๐Ÿ“Š Have you ever accidentally opened an engineering menu on Xiaomi?
Yes, through USSD-code
Yeah, through a button combination.
No, never.
I don't know what that is.

Method 1: Standard exit via the "Back" button

The easiest method is to use a hardware or software return button, which works 80% of the time if the menu is open through the back door. USSD-code and no critical parameters have been changed.

Instructions:

  1. Press the physical Back button (if you have one on your model, such as the Redmi Note 8 Pro).
  2. If there is no button, swipe from right to left on the bottom of the screen (the gesture "Back" in MIUI).
  3. Some firmware (HyperOS) may require a double press on the Home button.

If the screen is not responding:

  • ๐Ÿ”„ Try restarting your smartphone with a long power button hold (10-15 seconds).
  • ๐Ÿ“ด On models with Mediatek (for example, Redmi) 9A) Sometimes the combination of Volume Down helps. + Power for Forced Reboot.

โš ๏ธ Note: If the screen flashes after clicking "Back" or if the message "Testing mode active" appears, the display settings have been changed).

โ˜‘๏ธ Check before leaving the engineering menu

Done: 0 / 4

Method 2: Exit through USSD (for MIUI firmware 13 and below)

On the old versions. MIUI (Up to the 13th inclusive, the engineering menu can be closed by entering the reverse USSD-This method works if the menu was opened through the:

  • ๐Ÿ“ž ##4636## (general information and statistics)
  • ๐Ÿ“ก ##36446337# (Equipment Test)
  • ๐Ÿ”‹ ##4634## (battery test)

To get out:

  1. Open the Phone app.
  2. Enter the code ##4636## (no stars) and press the call.
  3. If the menu is not closed, try #36446337##.

This method does not work on MIUI 14 and HyperOS, so use Method 1 or 3 instead.

USSD-codeAppointmentDoes the reverse code work?
##4636##Phone and battery informationYes (on MIUI <13)
##36446337##Equipment test (sensors, screen)Partially.
##4634##Battery and charging testYes.
##225##Calendar and eventsNo.

Method 3: Forced reboot (for suspended devices)

If the smartphone doesnโ€™t respond to taps or the screen shows artifacts after testing the engineering menu, youโ€™ll need a hard reboot, a method thatโ€™s universal for all Xiaomi models, but has nuances depending on the processor.

Model instructions:

  • ๐Ÿ“ฑ Qualcomm Snapdragon (Xiaomi 12T, POCO F4): Hold Volume Down + Power on 10-15 A few seconds before the logo appears. MI.
  • ๐Ÿ“ฑ Mediatek Helio/Dimensity (Redmi Note 11, POCO M4 Pro: Squeeze Volume Up + Power on 20 seconds (may be required until later) 30 seconds).
  • ๐Ÿ“ฑ Old models (Redmi) 4X, Mi A1): Remove the battery (if removable), then insert back and turn it on.

โš ๏ธ Note: On HyperOS devices, a hard reboot may result in the engineering menu being reopened after activation. In this case, use Method 5 (Reset via Safe Mode).

If the smartphone does not turn on after the restart or shows a โ€œNo Commandโ€ error, then the critical parameters of the bootloader have been changed, in this case, you will need firmware through Fastboot (see the section โ€œWhat to do if the smartphone does not turn onโ€).

๐Ÿ’ก

If the mobile network is missing after the reboot, check the settings. APN In Settings โ†’ SIM-maps and mobile networks โ†’ Access points (APN). Often the engineering menu drops them to the factory.

Method 4: Exit through Safe Mode (if the menu opens automatically)

If the engineering menu appears every time you turn on your smartphone, it means that the test mode has been activated (for example, through the Factory Mode settings), in which case logging into Safe Mode - a mode without third-party apps and settings - will help.

How to log in to Safe Mode:

  1. Turn off your smartphone.
  2. Press the Power button before the MI logo appears.
  3. Once the logo appears, release Power and immediately press Volume Down.
  4. Hold Volume Down until the "Safe mode" appears in the lower left corner.

In Safe Mode mode:

  • ๐Ÿ”ง Go to Settings. โ†’ Annexes โ†’ Application management.
  • ๐Ÿ” Find the EngineerMode app or MTK Engineer Mode and clean up the data.
  • ๐Ÿ”„ Reboot your smartphone in normal mode.

If the engineering menu continues to open after that, the system flags have been changed, in which case only resetting through Recovery will help (see the next section).

What to do if Safe Mode is not enabled?
If the smartphone is not included in Safe Mode, this can mean damage to the /system partition. In this case: 1. Connect the device to the PC. 2. Launch the Mi Flash Tool and run the clean firmware for your model. 3. Select the option "Clean All" (full reset). Note: this will delete all data from internal memory!

Method 5: Recovery Reset (extreme case)

If none of the previous methods worked and the smartphone is fixated on the engineering menu or does not turn on normally, you will need to reset via Recovery Mode.This method deletes all data, so use it only as a last resort.

Step-by-step:

  1. Turn off your smartphone (remove the battery if necessary).
  2. Hold the combination: ๐Ÿ“ฑ For most models: Volume Up + Power. ๐Ÿ“ฑ For POCO X3/Redmi K40: Volume Down + Power.
  3. After the MI logo appears, release the buttons - you will be taken to Recovery.
  4. Choose a language (if available: ๐Ÿ”ง Wipe Data โ†’ Wipe All Data (complete reset). ๐Ÿ”„ Reboot โ†’ Reboot to System.

If you need a password and you donโ€™t remember it:

  • ๐Ÿ”‘ On models with Qualcomm, you can reset your password via Fastboot command: fastboot erase userdata fastboot erase frp
  • ๐Ÿ”‘ Mediatek will need it. SP Flash Tool and firmware with DA-file.

โš ๏ธ Note: On HyperOS devices, Recovery resets can block the bootloader if the option was previously activated OEM Unlock. In this case, after the reset, you will need to unlock through the Mi Unlock Tool.

๐Ÿ’ก

Recovery is the last chance to bring the smartphone back to life without firmware, but after it will require reconfiguration of the device, including the binding of the Mi Account (if activated).

What to do if the smartphone does not turn on after the engineering menu

If the smartphone does not respond to buttons or shows "No Command" after manipulation in the engineering menu, it means that critical parts of the system have been damaged, in which case only firmware via Fastboot or EDL will help.

Algorithm of action:

  1. Install it on a PC: ๐Ÿ–ฅ๏ธ Mi Flash Tool (for Xiaomi). ๐Ÿ–ฅ๏ธ Qualcomm drivers HS-USB QDLoader 9008 (for the EDL). ๐Ÿ–ฅ๏ธ Firmware for your model (for example, fastboot rum for Redmi Note 10 Pro).
  2. Put your smartphone in Fastboot mode: (a) Press Volume Down + Power b) Connect to PC in
  3. If the device is not identified in Fastboot, transfer it to EDL: ๐Ÿ”Œ For Qualcomm: short test points on the board (disassembly required). ๐Ÿ”Œ For Mediatek: Use the Volume Up button combination + Volume Down + USB.

Mi Flash Tool

"Clean All"

If you are not sure about your actions, you should contact the service center. Wrong firmware can permanently disable the device (for example, due to the wrong version of anti-rollback on Qualcomm).

FAQ: Frequent questions about exiting Xiaomi's engineering menu

Can I exit the engineering menu without rebooting?
Yes, on most models, just press the "back" button or enter the reverse. USSD-code (e.g. ##4636##) However, if the menu is opened through a hardware combination (e.g., Volume Up) + Power when turned on, then without a reboot can not do.
Why did the mobile network disappear after leaving the engineering menu?
Most likely, the modem settings (for example, Band Selection or Network Mode) were changed in the menu. โ†’ SIM-Maps and mobile networks. Select Network Type (recommended) 4G/3G/2G (Auto) Update the settings APN (If this doesn't work, reset the network settings to Settings. โ†’ System system โ†’ Resetting settings โ†’ Resetting network settings.
How to turn off the automatic opening of the engineering menu when turned on?
This is due to Factory Mode activation. To disable: Log in Safe Mode (see Method 4). Delete or clear the EngineerMode app data. If that doesn't work, swipe your smartphone through Fastboot with the "Clean All" option. On some models (Redmi 9C, POCO M3), resetting via Recovery without deleting data (Wipe Cache) helps.
Can I return the changes made to the engineering menu?
It depends on which parameters have been changed: ๐Ÿ”ง Screen/sensor settings: reset after rebooting. ๐Ÿ“ก Modem settings: manual reset is required in Settings โ†’ Mobile network. ๐Ÿ”‹ Battery settings: Restore after calibration (discharge your smartphone to 0% and charge to 100% without interruptions). ๐Ÿšจ System flags (e.g. ro.debuggable): require firmware. If you don't remember what you changed, reset via Safe Mode or Recovery.
Is it safe to use the engineering menu on Xiaomi?
Yes, unless you change the critical parameters, the risks are when you do: ๐Ÿ”ด Changes to the modem settings (Band Selection, Network Lock). ๐Ÿ”ด Incorporation of debugging options (ADB Debugging in the Engineering Menu). ๐Ÿ”ด For normal diagnostics (screen, speaker, camera) the menu is safe, but if you're not sure what you're doing, you'd better use standard tests in Settings. โ†’ The phone. โ†’ All specifications โ†’ Equipment test.