You accidentally found yourself in the hidden Main Menu engineering menu on a Xiaomi smartphone or TV β and now you canβt go back to the normal interface? This situation is familiar to many users who mistakenly pressed the button combination or chose an incomprehensible item in the settings. The main thing is not to panic: exit from Main Menu is possible without losing data if you act correctly.
In this article, we will discuss all the working ways to exit the engineering menu for different Xiaomi devices (including Redmi, POCO, Mi TV), explain why this menu appears and how to avoid its accidental opening in the future, and warn about the risks of missteps in Main Menu, which can lead to locking the device or resetting to factory settings.
What is Main Menu on Xiaomi and why is it necessary?
Main Menu (or Engineer Mode) is a hidden service menu designed for engineers and repair professionals.
- π§ Test hardware components (screen, speakers, cameras, sensors)
- π‘ Set up network parameters (4G/5G, Wi-Fi, Bluetooth)
- π Calibrate sensors (accelerometer, gyroscope, compass)
- π± View hidden information about firmware and iron
On Xiaomi smartphones, you can access this menu using the combination ##4636## (for testing) or ##36446337## (for the MIUI engineering menu). On Mi TVs, you can click buttons on the remote multiple times. There is nothing for the average user to do here: changing the parameters without knowledge can disrupt the device.
β οΈ Note: In some versions MIUI exiting Main Menu via the standard Back or Home buttons is locked, this is done specifically to prevent accidental changes in settings.
Method 1: Standard exit via the Back button (for smartphones)
On most Xiaomi smartphones (for example, Redmi Note 12, POCO X5, Mi 11) exit from the engineering menu is as follows:
- Press the physical or touch button Back (β) with one brief tap.
- If the menu is not closed, click the Home button (circle or swipe up).
- When blocking buttons, try swiping from the bottom edge of the screen up (guest navigation).
If the buttons donβt respond, you are in deep engineering mode (e.g., in the hardware testing menu), in which case only rebooting (see Method 3) will help.
Try swiping up from the bottom edge of the screen
Press and hold the power button for 10 seconds
Connect the charger (sometimes unlocks the interface)
Try another way to get off the menu-->
Method 2: Exit via button combination (for Mi TVs)
On Xiaomi Mi TVs (models 4A, 4S, 5X, etc.), the exit from Main Menu is different.
| Model TV | Combination for exit | Note |
|---|---|---|
| Mi TV 4A/4S | Menu β Back up. β Back up. β Exit | Press consistently, without delay |
| Mi TV 5X/Pro | Home 3 seconds β Menu β Turn off | Hold home until the remote vibrates. |
| Mi TV Stick | Back (5 times) β Home | It only works on firmware 2023+ |
If the combinations donβt work, the menu is locked at the firmware level, in which case only a forced reboot will help (see next section).
Smartphone (Redmi/POCO/Mi)
Television (Mi TV)
Fitness bracelet (Mi Band)
Router (Mi Router)
Other-->
Method 3: Forced reset (universal method)
If the standard methods donβt work, itβs a hard reboot, which works for all Xiaomi devices, but has a nuance: some models may need to enter a password after a reboot (if itβs installed).
For smartphones:
- Press the Power button for 10-15 seconds until the screen goes out.
- Wait 30 seconds, then turn on the device with the Power button.
For TVs:
- Turn off the power outlet for 1 minute.
- Press and hold the power button on the TV body for 10 seconds.
- Connect the power back - the TV will turn on normally.
β οΈ Attention: On Mi TVs TV firmware MIUI TV 3.0+ If the remote stops working, reset the Reset button on the back (clamp for 15 seconds) after a hard reboot).
What to do if you need a password after rebooting?
Method 4: Exit through ADB (for advanced users)
If you're an ADB (Android Debug Bridge) user, you can exit Main Menu via a command, which is a good way to use USB-enabled smartphones.
Instructions:
- Connect your phone to your PC through USB-cable.
- Open the command line (cmd) and enter:
adb shell am start -n com.android.settings/.SettingsThis command will force you to open the standard Android settings, which will allow you to exit the engineering menu. If the command does not work, try:
adb shell input keyevent KEYCODE_HOMEThis simulates the pressing of the Home button at the software level.
π‘
Before using ADB, make sure that the phone is debugging over USB (Settings β About Phone β MIUI Version (7 times) β Additional β For developers β USB debugging).
Method 5: Recovery Mode Reset (extreme case)
If none of these methods work, you'll have to reset through Recovery mode, which will delete all the data on your device, so only use it as a last resort.
Instructions for smartphones:
- Turn off the device (clip Power + Volume up for 10 seconds).
- Press Power + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe Data β Wipe All Data.
- Confirm the reset and wait for the reset.
For Mi TVs:
- Turn off the power outlet.
- Press the power button on the TV case and connect the power back.
- Hold the button for 15 seconds until the reset menu appears.
- Select Wipe Data using the Loudness and OK buttons.
β οΈ Note: On some Mi models TV (Like Mi. TV 4S 55) Recovery resets may result in loss of app licenses (Netflix, Disney)+). After resetting, they will have to be reconfigured.
How to Avoid Accidental Login to Main Menu in the Future
To avoid being on the engineering menu, follow these tips:
- π± On smartphones, do not enter random combinations in the dialer (for example, ##).
- πΊ On the Mi remotes TV Don't press Menu in a row + Back up. + Up/down is a popular combination for logging into the service menu.
- π§ If you need to test your device, use the official Mi Service Center app (available in Settings). β My device. β Diagnostics).
- πΆ If the phone is used by a child, turn on child mode (Settings) β Special opportunities β Childhood regime).
You can also turn off access to the engineering menu via ADB:
adb shell pm disable-user --user 0 com.android.engineermodeThis command will block Main Menu from launching until the next reboot.
π‘
The most reliable way to avoid problems is not to press unknown combinations of buttons and not to change the parameters in the engineering menu without understanding their purpose.