Have you turned on a Xiaomi smartphone, and instead of the usual desktop, the mysterious Main Menu with incomprehensible items flaunts on the screen? Or does this menu pop up by itself during games, watching videos, or even blocking access to the phone? Don't panic - in 90% of cases the problem is solved in 5 minutes. But first you need to understand what this menu is and why it appeared.
In fact, Main Menu can be a number of different interfaces, from MIUI's regular engineering menu to malware masquerading as system settings. In this article, we'll look at all the possible causes, from randomly pressing a secret key combination to viruses and hardware failures, and give clear instructions on how to get the phone back to normal without having to reset.
What is Main Menu on Xiaomi โ and where does it come from?
The term Main Menu in the context of Xiaomi smartphones can mean three completely different things:
- ๐ง The MIUI Engineering Menu is a hidden section for testing hardware components (display, camera, sensors) usually called by code ##4636## or a combination of buttons.
- ๐ ๏ธ Service menu for repairs โ appears when certain buttons are pressed when turned on (e.g. Volume++ Power) and is used in service centers.
- โ ๏ธ Malware is a virus or ad module that mimics a system menu to access settings or display ads.
The most innocuous option is to call the engineering menu at random, for example, if you put your phone in your pocket with the buttons pinched, or if a child presses the key combination, then the Main Menu will disappear after you reboot or press the back button, but if the menu appears on its own, locks the screen or requires you to enter a password, this is cause for concern.
Another important point: on the new Xiaomi 12/13/14 series and Redmi Note 11/12, the engineering menu may look different โ instead of the inscription โMain Menuโ, you will see EngineerMode or CIT (Factory Test).
Reason โ1: Accidental button pressing (and how to avoid it)
The most common reason is the unintentional call of the service menu via a keyboard combination, and Xiaomi smartphones have several โsecretโ combinations that activate hidden functions:
| Button combination | What's going on? | How to get out |
|---|---|---|
| Loudness+ + Food (hold 10 seconds) | Fastboot Mode (black screen with rabbit) | Select Reboot with the volume button |
| Loudness + Nutrition (hold 5 seconds) | Recovery Mode (Recovery Menu) | Select Reboot to System |
| Loudness+ + Loudnessโ + Nutrition | Activation of Safe Mode (Safe Mode) | Reboot the phone |
| Code ##4636### in the dialer | Opening Testing Menu (test menu) | Press the back button. |
If you see Main Menu after you manipulate the buttons, just press the back button or reboot the phone with a long press on Power, but what if the menu appears on its own?
โ ๏ธ Warning: If the phone starts to brake or warm up after leaving the service menu, check if the hardware component background tests have started. Go to Settings โ Applications โ Executables and force the process to stop com.android.cts.ctsshim (if any).
Make sure the phone is not in your pocket/bag with the keys pinched |
Try pressing the "Back" or "Home" button |
Reboot the phone with a long press on Power (10-15 seconds)|
Check if Safe Mode is activated (the inscription at the bottom of the screen)-->
Reason โ2: Viruses and Advertising Software Masquerading as Main Menu
If Main Menu appears without you, locks the screen, or requires payment to unlock, there is a 99% chance that it is malware.
- ๐ฑ The menu pops up when the screen is unlocked or when the calls are made.
- ๐ The menu has links to unknown sites or offers to download apps.
- ๐ฐ Payment data is required to be entered to โunblockโ.
- ๐ Unknown applications (e.g. System UI Tuner, Device Test) appeared in the settings.
Most often, viruses penetrate through:
- ๐ Embedded in SMS/ messengers (โYour account is blocked, download the updateโ).
- ๐ฎ Pirate games or hacked apps (especially from sites like APKPure or BlackMod)
- ๐ Connect to public Wi-Fi without VPN (Attackers are swapping download pages).
How to remove the virus:
- Go to Settings โ Applications โ Application Management.
- Sort the list by installation date โ look for suspicious apps (like those with the names com.android.engineertest or MainMenuService).
- Click "Delete" and confirm the uninstallation.
- If deletion is blocked, start the phone in Safe Mode (hold Power โ โReboot Safe Modeโ).
โ ๏ธ Warning: Some viruses masquerade as system processes (e.g., Android System WebView). Before deleting, check the name on Google - real system applications cannot be removed!
๐ก
If the virus has blocked access to settings, try installing Malwarebytes or Dr.Web Light antivirus via guest mode (swipe down on user notification โ โGuestโ).
Reason โ3: Firmware failures or conflicts after the update
Sometimes Main Menu appears after a MIUI update or a failed firmware.
- ๐ Version conflict (for example, you put custom recovery and then upgraded your phone regularly).
- ๐๏ธ Damage to system files (often with interrupted updates).
- ๐ง Incorrect developer settings (enabled debugging by USB or unlocking OEM).
How to check:
- Go to Settings โ About Phone โ MIUI version and look at the current firmware.
- If the version is marked as "Unstable" (e.g. MIUI 14.0.23.5.8.DEV) it is a beta firmware that may contain bugs.
- Check the error logs: go to Settings โ Memory โ Internal Memory โ Logs and look for files with the.log extension for todayโs date.
Decisions:
- ๐ Reverse to stable firmware via Fastboot (instruction below).
- ๐งน Reset the settings (but do backup first!)
- ๐ ๏ธ Fly the phone through the Mi Flash Tool (if you have experience).
How to get back to a stable MIUI?
Reason โ4: Hardware problems (buttons, plume, battery)
If Main Menu appears when you press the case, vibrate or connect the charger, the problem may be in the hardware:
- ๐ The bloated battery presses the buttons or the display plume.
- ๐ Oxidized contact volume/power buttons.
- ๐ฑ Damaged plume (e.g. after falling).
- ๐ง Moisture is brought under the buttons (even if the phone is not sinking).
How to diagnose:
- Light a flashlight on the buttons - if they are drowned or staggering, the problem is the mechanics.
- Try to move the case around the buttons carefully, and if you click on a certain place, it's a 100% hardware fault.
- Connect your phone to your PC and check logs through adb logcat (look for errors like KeyEvent{action=1, keyCode=24} - this is the Volume+ button code).
Decisions:
- ๐ง Cleaning buttons with alcohol (if they stick).
- ๐ Replace the battery (if it is swelling).
- ๐ฑ Repair of a plume in a service center (not recommended on your own!)
โ ๏ธ Warning: If the phone doesn't turn on after Main Menu appears, don't try to disassemble it yourself -- 80 percent of the time, it damages the display plume.
How to remove Main Menu from Xiaomi screen forever?
Depending on the reason, the ways you delete the menu will be different.
Try to exit via the "Back" or "Home" button |
Reboot the phone (hold power 10-15 seconds) |
Check your phone for viruses through Safe Mode|
Remove the MIUI update (if the menu appears after the update) |
Reset the settings to factory (last option)-->
If the menu is due to a virus:
- Remove suspicious apps (see Viruses section).
- Do a full check through Malwarebytes or Kaspersky Mobile.
- If the virus is not removed, reset your phone to factory settings (Settings โ About Phone โ Reset settings).
If the menu appears due to a firmware failure:
- Reverse to the stable version of MIUI via Fastboot.
- Turn off automatic update (Settings โ About Phone โ System Update โ โ๏ธ โ Auto Update).
- If the phone is warranty โ contact the service center Xiaomi.
If the menu appears due to a hardware malfunction:
- Check the buttons for sticking (wiggle them with your finger).
- If the phone fell - bring to the service for the diagnosis of the plume.
- If the battery is swollen, replace it immediately (this is dangerous!).
๐ก
If Main Menu appears after each reboot, it's 100% a sign of either a virus or a broken firmware, in which case resetting or flashing is mandatory!
Frequent questions about Main Menu on Xiaomi
โ Can I accidentally delete system files through Main Menu?
โ Why does Main Menu only appear in games?
โ How do you distinguish a real engineering menu from a virus?
โ After resetting, Main Menu still appears. What do you do?
โ Can I turn off Main Menu through the buttons?
If none of the tips helped, describe your situation in the comments: phone model, when the menu appeared and what exactly it contains.