How to open Main Menu on Xiaomi devices: all the ways for smartphones and TVs

The hidden Main Menu (or Service Menu) engineering menu on Xiaomi devices is a powerful tool for diagnosing, testing hardware components, and fine-tuning the system, available on MIUI smartphones, Mi TVs, Mi Box consoles, and even some of the ecosystem’s smart devices, but the manufacturer doesn’t advertise how to open it, leaving it to service centers and power users.

In this article, you will find current methods of logging into Main Menu for different types of Xiaomi devices, including button combinations, ADB commands and hidden gestures. We will also explain which settings can be changed through this menu, and which actions can lead to loss of warranty or failure of the device – for example, incorrect screen calibration or factory reset via the engineering menu.

Important: The instructions in this article are relevant for MIUI 14/15 firmware (2023–2026) and Android TV 11/12. If your device runs on an older version of the software, some methods may not work – check the section with alternative methods.

What is Main Menu on Xiaomi and why is it necessary?

>Main Menu (or Engineer Mode) is a hidden settings section that provides access to the:

  • πŸ”§ Testing of hardware components: checking the operation of the display, speakers, microphone, sensors (gyroscope, accelerometer, proximity sensor).
  • πŸ“‘ Network settings: manually changing Wi-Fi, Bluetooth, mobile signal settings (e.g., forced selection of a standard) 4G/5G).
  • πŸ”„ Calibration: adjusting the color of the screen, touchpad sensitivity, white balance on TVs.
  • πŸ“± Service functions: resetting of use counters, verification IMEI, Battery test (for smartphones).

On the Mi TV and Redmi Smart TV, you can use Main Menu to:

  • πŸ–₯️ Change the factory color temperature presets (for example, switch between the two) 6500K and 9300K).
  • πŸ”Š Adjust volume at the firmware level (bypassing the limitations of Android) TV).
  • πŸ“Ά Manually adjust parameters HDMI-CEC Compatibility with other devices.

⚠️ Note: Changing certain parameters in Main Menu may cause the device to work in an unstable way, such as incorrect settings. AGC (automatic adjustment gain on the TV can spoil the picture forever, and reset NV-data on the smartphone – to loss IMEI.

πŸ“Š What kind of Xiaomi device are you using?
Smartphone (MIUI)
Television (Mi TV/Redmi TV)
The console (Mi Box/TV Stick)
Smart watch/bracelet
Other

How to open Main Menu on Xiaomi smartphones (MIUI)

On Xiaomi, Redmi and POCO smartphones, there are several ways to get into the engineering menu, and the choice of method depends on the version of MIUI and the device model.

Method 1: Using USSD code (for most models)

The easiest way is to enter the service code in the Phone application:

  1. Open the standard phone application.
  2. Go to the keyboard tab.
  3. Enter the code: ##4636## (for the general test menu) or ##3644633## (for the extended engineering menu).
  4. Click the call button – the menu will open with tabs Phone Information, Battery Use, etc.

πŸ”Ή Note: On some models (e.g. Xiaomi 13 Pro or POCO F5) 4636## may not work, in which case try alternative combinations from the table below.

Method 2: Through settings (for MIUI 12 and later)

If USSD-The codes don't work, try this method:

  1. Go to Settings. β†’ The phone.
  2. Click 5-7 times in a row on the MIUI version until the notification β€œYou are a developer!” appears.
  3. Return to the main settings menu and open Additional settings β†’ For developers.
  4. Activate the OEM Unlock and USB Debugging switch.
  5. Connect your phone to your PC and use the ADB command: adb shell am start -n com.android.settings/.DevelopmentSettings This will open a hidden developer menu where some Main Menu features are available.

Install Xiaomi drivers on PC| Enable debugging over USB in settings | Download ADB platform from Google| Connect phone with original cable-->

Method 3: Through the "EngineerMode" app (for older models)

On devices with MIUI 10–11 (for example, Redmi Note 7 or Mi 9) you can install the official application from Xiaomi:

  1. Download. APK-EngineerMode file from a trusted source (e.g., APKMirror).
  2. Install the application by allowing installation from unknown sources.
  3. Start EngineerMode – it will give you access to hardware component tests.

⚠️ Note: Applications from third-party developers (e.g, MTK Engineering Mode) may contain malicious code. Use only official code. APK from Xiaomi or verified sources.

Xiaomi modelWorking USSD-codeAlternative method
Xiaomi 12/13/14##4636##ADB-EngineerMode command or application
Redmi Note 10/11/12##3644633##Through the developer settings
POCO F3/F4/F5#4636## or #2664###EngineerMode + ADB appendix
Mi 11 Ultra#4636## (Restricted access)Requires unlocking of the loader

How to open Main Menu on Xiaomi TVs (Mi TV, Redmi TV)

On Xiaomi TVs, the engineering menu is logged in via a combination of buttons on the remote or a physical control panel, depending on the model and year of release.

Method 1: Button combination on the remote (for the Mi TV 4/5 series)

Follow the following steps:

  1. Turn on the TV and wait for the main screen to load.
  2. Press the remote sequentially: Menu β†’ Up β†’ Up β†’ Down β†’ Down β†’ Down β†’ Left β†’ Left β†’ Right β†’ Right (similar to Konami Code console code).
  3. After the correct input, the Factory Menu menu will open with tabs Picture, Sound, Network, etc.

πŸ”Ή Note: On Redmi Smart TVs TV X (2022–2023) This combination may not work – use an alternative method with the following: ADB.

Method 2: A Universal Method (ADB)

If the button combination does not work, connect to the TV via ADB:

  1. Activate Debugging by USB in the settings of the TV: Settings β†’ Device β†’ About Device β†’ Press 7 times on β€œAssembly Number”.
  2. Connect the TV to your PC via USB (OTG port) or via Wi-Fi ADB.
  3. Follow the command: adb shell am start -n com.android.tv.settings/.development.DevelopmentSettings
  4. In the menu, select Factory Menu.
What to do if ADB is not connected?
If the TV is not installed through ADB, check: 1. Is debugging on-line USB customized. 2. Whether the original cable is used (not all) USB-cables support data transmission). 3. Drivers installed ADB PC (download them from Google’s website). 4. Try to connect via Wi-Fi: enter in the adb connect terminal [IP-TV address]:5555 (know IP can be in the network settings).

Method 3: Through physical buttons (for older models)

On the Mi TV 3 or Mi TV 4A (2017-2019), you can use the buttons on the back panel:

  1. Turn off the TV with the power button.
  2. Press the Menu button on the body and, holding it, press the Power button.
  3. Hold both buttons for 10-15 seconds until the Service Mode menu appears.

⚠️ Attention: On Android TVs TV 12 (e.g. Xiaomi) TV Q2 2023) Physical buttons can be disabled to enter the engineering menu. ADB.

πŸ’‘

If the TV starts to glitches after you log in to Main Menu (e.g., the sound is gone or the colors are distorted), reset to factory settings via Settings β†’ System β†’ Data Reset. This will return all parameters to their original state.

What to Set Up in Main Menu on Xiaomi

The options for the engineering menu depend on the type of device, and below are the key features for smartphones and TVs.

For smartphones (MIUI)

  • πŸ“Ά Network: Forced selection of communication standard (2G/3G/4G/5G). Manual setting APN Signal strength test (dBm) and verification IMEI.
  • πŸ”‹ Battery: Checking the actual battery capacity (in mAh). Resetting usage statistics. Calibration of the charge sensor.
  • 🎨 Screen: Test for broken pixels. Color profile setting (sRGB, DCIP3). Adjustment of touchscreen sensitivity.

For TVs (Mi TV, Redmi TV)

  • πŸ–₯️ Image: Manual setting of Gamma, Contrast, Brightness at firmware level. Color temperature selection (6500K, 7500K, 9300K). White Balance Calibration (White Balance).
  • πŸ”Š Sound: Volume control over channels (L/R Balance. Set up the equalizer at the hardware level. Turn off the volume limiter (EU Volume Limit).
  • πŸ“‘ Network: Forced selection of the Wi-Fi standard (802.11ac/ax). Connection speed test (Mbps) setup HDMI-CEC Compatibility with other devices.

πŸ”Ή Example: If you are on a Xiaomi TV TV Q1E Color is too cold, and Main Menu can manually set the color temperature. 6500K factory-based 9300K. It will make the picture more natural.

πŸ’‘

Changes to Main Menu on Xiaomi TVs are immediate and do not require a reboot, but some settings (such as screen calibration) may reset after a firmware update.

Dangerous settings: what not to change in Main Menu

Some of the options on the engineering menu can permanently disable the device or take away warranties, and here is a list of the riskiest actions:

Setting upEffects of consequencesCan we fix it?
Resetting NV-data (on smartphones)Loss of IMEI, lack of networkOnly through the service center.
Change of change MAC-address Wi-Fi/BluetoothProblems with network connectivityReset to factory settings
Calibration TP (Touch Panel) without equipmentA broken touchscreenReflashing is required
Thermal Throttling's DisconnectionOverheating and switching off of the deviceRecovery via Fastboot
Changing EDID on TVLack of HDMI signalReset via service menu

⚠️ Note: On Xiaomi TVs, it is especially dangerous to change the settings in the Panel Settings section. Incorrect Gamma or Backlight values can lead to physical damage to the matrix that is not covered by the warranty.

If you accidentally change a critical parameter, try:

  1. Perform reset to factory settings through Settings β†’ System β†’ Data reset.
  2. Fastboot (for smartphones) or USB Burning Tool (for TVs).
  3. Contact the Xiaomi service center with an indication of the problem (do not mention the self-sign-in to Main Menu).

Alternative ways to access hidden settings

If standard methods don’t work, try these options:

For smartphones:

  • πŸ”§ Annex MTK Engineering Mode – works on devices with MediaTek processors (e.g. Redmi) 9A, POCO M3). Download it from Google Play.
  • πŸ“± Fastboot mode: Turn off the phone. Press the power button. + Volume down. From the Fastboot menu, select Engineer Mode (if available).

Castomic Recovery (TWRP)

For TVs:

  • πŸ“Ί Annex TV Engineer Menu – works on Android TV And it gives you access to basic tests. Install it with Send Files to TV or ADB.
  • πŸ–₯️ Web interface: Connect your TV and PC to the same network. Type the address in your browser. http://[IP-televisor]:7681. Log in (logins/passwords by default: admin/admin or xiaomi/1234).
  • πŸ”Œ Xiaomi service remote – some models (for example, Mi) TV 5 Pro) support Main Menu login via a special remote that can be ordered from service centers.