How to Reset the Engineering Menu on Xiaomi: A Complete Guide with Proven Ways

Xiaomi’s Engineering Menu is a hidden settings section that allows power users to test hardware components, calibrate sensors, and modify system parameters that are not available in the standard interface. However, after experimenting with this menu, many people are faced with the need to reset it, from randomly changed parameters to complete failure of the device. Unlike a conventional reset to factory settings, returning the engineering menu to its original state requires specific actions β€” and these are the ones we will discuss in detail in this article.

It’s important to understand that the engineering menu (or Engineer Mode) is not universal for all Xiaomi devices, and its structure and options depend on the smartphone model, the firmware version MIUI and even regional software. For example, on the Redmi Note 10 Pro, the menu may include tabs for testing LCD, Touch Panel, and Sensors, while on POCO F5 the RF Test section will be added to test the 5G module. We will look at reset methods relevant to most MIUI 12–14 and HyperOS devices, including methods through USSD, ADB- commands, and hidden settings.

Before you start resetting, make sure the problem is really related to the engineering menu.

  • πŸ“± Sensor malfunction (false touches, jumping cursor)
  • πŸ”Š Distorted sound or no audio after speaker tests
  • πŸ“Ά Network problems (constant reconnection to 4G/5G)
  • πŸ”‹ Fast battery discharge due to background activity of test processes

What is Xiaomi’s Engineering Menu and Why You Should Reset It

The Engineering Menu is a diagnostic tool built into the firmware of Xiaomi devices at the Android kernel level.

  • πŸ”§ Testing of hardware components (camera, microphone, accelerometer)
  • πŸ“‘ Communication settings (LTE, Wi-Fi, Bluetooth)
  • πŸ”‹ Calibration of battery and charge sensors
  • πŸ–₯️ Processor performance and memory checks

However, careless changes to this menu can lead to irreversible damage to the system if we are talking about modifying the parameters of NV-RAM (energy-independent memory with the settings of the communication module). For example, changing the values in the RF Test β†’ Band Selection section can completely disable support for certain 4G frequencies, which will require flashing the device.

Resetting the engineering menu is necessary in the following cases:

  • πŸ”„ After unsuccessful experiments with settings (for example, a change in Touch Sensitivity caused the screen to fail)
  • πŸ› οΈ To eliminate artifacts after display testing (LCD Test)
  • πŸ“΅ If the device stopped catching the network after modifying the Network Lock settings
  • πŸ”’ When preparing a smartphone for sale (to hide traces of diagnosis)

⚠️ Warning: Some of the engineering menu options (e.g., Fast Dormancy in the communication settings) may be blocked by the operator, and resetting them without the consent of the provider will result in loss of access to the mobile network.

Method 1: Reset via USSD code (the fastest method)

The easiest way to bring the engineering menu back to factory settings is to use service codes, a method that works on most Xiaomi, Redmi and POCO devices running MIUI or HyperOS, but can be blocked on some models for the Chinese market.

Instructions:

  1. Open the Phone app.
  2. Enter the code ##36446337## (or alternative #4636## for older versions of MIUI).
  3. Wait for the engineering menu to open.
  4. Go to Factory Reset or Restore Defaults (the name may be different).
  5. Confirm the reset by pressing OK or Reset.

If the code doesn’t work, try alternatives:

  • πŸ“ž ##4636## β€” Universal code for testing (may not contain reset options)
  • πŸ“ž ##6484## β€” for testing MTK- processors (on Redmi 9A, POCO C31
  • πŸ“ž ##64663## β€” Modem Settings Reset (Qualcomm devices only)

Check the device model (some codes only work on MTK or Qualcomm)

Battery charge of at least 30%

Disable VPN (can block service commands)

Save important data (reset does not affect user files, but it is better to be safe)

-->

If a Connection problem or invalid MMI code appears after entering the code, it means that:

  • 🚫 The code is locked by the operator (relevant for devices purchased from the provider)
  • πŸ”„ The device runs on custom firmware (e.g. LineageOS)
  • πŸ“± The smartphone model does not support this method (rarely, but found on Xiaomi 13 Ultra and later)

Method 2: Reset through the engineering menu settings

If the USSD- codes don’t work, you can try resetting directly from the engineering menu itself, which is suitable for devices where the menu is opened through a button combination or a special application.

Steps for discharge:

  1. Open the engineering menu in one way: Using code ##4636## β†’ Go to Testing Through the CIT application (included in the standard MIUI set) Through ADB (the adb shell am start -n com.android.settings/.DevelopmentSettings command)

Restore Defaults

Factory Reset

Clear Settings

General

System

Mi

Reboot your smartphone.

On devices with a MediaTek processor (e.g., Redmi Note 11, POCO M4 Pro), the path may look like this:

Engineer Mode β†’ MTK Settings β†’ Connectivity β†’ Band Mode β†’ Restore Default

For Qualcomm devices (e.g. Xiaomi 12 Pro, Black Shark 5) look for:

Engineer Mode β†’ Qualcomm Settings β†’ Network β†’ Reset to Default
What to do if there is no button "Restore Defaults"?
On some firmware, the reset option is hidden. In this case: 1. Try a long click on the free space in the menu (the context menu may appear). 2. Go to About and press 5-7 times on Version - sometimes this will unlock hidden functions. 3. Use ADB for forced reset (the method is described below).

⚠️ Warning: On HyperOS devices (e.g. Xiaomi 14, Redmi K70), the engineering menu can be integrated into standard settings. Look for it along the way: Settings β†’ About Phone β†’ All Specifications β†’ Core and Hardware β†’ Engineer Mode.

Method 3: Reset via ADB (for power users)

If standard methods don’t work, you can use Android Debug Bridge (ADB), which requires connecting your smartphone to your computer and enabling debugging mode, but allows you to reset the engineering menu even on locked devices.

Step-by-step:

  1. Install ADB and drivers for Xiaomi on your PC (you can download from the official Android Studio website).
  2. On your smartphone, turn on: Settings β†’ About Phone β†’ MIUI Version (click 7 times to activate Developer Mode) Settings β†’ Additional β†’ For Developers β†’ Debugging by USB
adb devices

(Your device should be displayed)

adb shell am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://36446337

or to reset the modem settings:

adb shell su -c 'setprop persist.radio.multisim.config dsds'
adb reboot

If the team doesn’t work, try alternatives:

  • πŸ”§ For resetting NV-RAM (MediaTek only!): adb shell su -c 'dd if=/dev/zero of=/dev/block/mmcblk0p20' Dangerous! Misuse will result in loss of IMEI.
  • πŸ“‘ For network reset: adb shell settings put global preferred_network_mode1 9 (value 9 corresponds to automatic network selection)

πŸ’‘

Before using ADB, back up your data via MIUI Backup or TWRP. Commands to work with NV-RAM can cause you to lose your IMEI, making the device unsuitable for calls.

Method 4: Reset via Recovery Mode (if the device does not boot)

If the device stops loading after the changes in the engineering menu (hangs on the MI logo or goes to the bootloop), you can try resetting the settings through Recovery Mode, which does not guarantee the restoration of the engineering menu, but will return the device to a working state.

Instructions:

  1. Turn off your smartphone (press the Power + Volume Up for 10 seconds).
  2. Press Power + Volume Up before the Mi Recovery logo appears.
  3. Choose a language (usually English or Chinese).
  4. Go to Wipe & Reset β†’ Wipe All Data (complete reset).
  5. Confirm the action and wait for the completion.
  6. Choose Reboot. β†’ Reboot to System.

If standard Recovery doesn’t help, try:

  • πŸ”§ Install TWRP and run Format Data (deletes all data, including internal memory!).
  • πŸ“₯ Swipe your device through Fastboot with the official firmware (instructions on Xiaomi’s website).

⚠️ Warning: On devices with a locked bootloader (Xiaomi 13T, Redmi Note 12 Pro+), firmware via Fastboot will require unlocking Bootloader, which will reset all data and link the device to the Mi Account for 72 hours.

Model of the deviceUSSD-codeReset on the menuADBRecovery ModeNotes
Xiaomi 13/13 Pro❌ (blocked)βœ…βœ…βœ…Requires unlocking Bootloader for ADB
Redmi Note 12 Pro+βœ… (##4636##)βœ…βœ…βœ…In HyperOS, the engineering menu is hidden in the settings
POCO F5βœ…βœ…βœ…βœ…USSD- codes only work on global firmware
Redmi 10C (MTK)βœ… (##36446337##)βœ…βŒ (limited)βœ…NV-RAM reset is only possible with the SP Flash Tool
Xiaomi Pad 6βŒβœ…βœ…βœ…On tablets, the engineering menu opens through CIT

Frequent Mistakes and How to Avoid Them

When working with the engineering menu, users often make mistakes that can lead to loss of functionality of the device, and let's consider the most common ones and how to prevent them.

Error 1: Change the NV-RAM settings without backup

Many guides advise modifying NV-RAM settings to improve communication or unlock frequencies.

  • πŸ“΅ Loss IMEI (the device will stop catching the network)
  • πŸ”‹ Fast battery discharge due to improper modem calibration
  • πŸ“‘ No support for VoLTE or 5G

Solution: Before any changes, backup NV-RAM via ADB:

adb shell su -c 'dd if=/dev/block/mmcblk0p20 of=/sdcard/nvram.bin'

Error 2: Screen calibration reset

In the Touch Panel Test section, you can accidentally recalibrate the sensor, which will lead to:

  • πŸ‘† Imaculate touches (presses are not recorded where you touch)
  • πŸ”„ Spontaneous Scrolling of the Screen
  • ❌ Total Inoperability of the Touch Screen

Solution: Recalibrate via the Touch Panel β†’ Calibration or reset the sensor settings via ADB:

adb shell settings delete system pointer_location

Error 3: Change the battery settings

In the Battery Information section, you'll find parameters like Battery Capacity or Charge Current, and modifications will lead to:

  • πŸ”‹ Incorrect display of charge level (e.g. 100% at real 60%)
  • πŸ”₯ Battery overheating
  • ⚑ Rapid wear of battery

Solution: Reset your battery settings via ADB:

adb shell dumpsys battery reset

Yes, for malfunction diagnosis.

Yes, to unlock hidden features

No, but I want to try.

No, I don't plan on.

-->

FAQ: Answers to Frequent Questions

Can I reset the engineering menu without losing data?
Yes, most methods (USSD-codes, reset in the menu itself, ADB-The commands do not affect user data. However, if the device does not boot and a reset via Recovery is required, all data will be deleted. We recommend you to create a backup copy beforehand through MIUI Backup or Google Drive.
Why did the sound disappear after the engineering menu was reset?
This can happen if the Audio Test or Speaker Calibration settings have been changed in the menu. To return the sound will help: Re-reset through the engineering menu (section Audio β†’ Restore Defaults); Clean the Media app cache (Settings β†’ Applications β†’ Application Management β†’ Media β†’ Clear cache); Fastboot (if the sound is gone after the Mixers change).
How to get an IMEI back after a failed NV-RAM reset?
If NV-RAM is lost after manipulation, IMEI can be recovered via ADB (if there is a backup nvram.bin): adb shell su -c 'dd if=/sdcard/nvram.bin of=/dev/block/mmcblk0p20' Through SN Write Tool (for MediaTek): Requires a box of UFi or CM2 and original IMEI from the box Contacting Xiaomi Service Center (if the device is warranty). ⚠️ Attention: Use of non-original IMEI is prohibited by law in many countries (including Russia) and may result in the device being blocked by the operator.
Does this work on Xiaomi with HyperOS?
Yes, but with reservations: πŸ“± On HyperOS, the engineering menu can be integrated into standard settings (Settings β†’ About Phone β†’ All Specifications β†’ Core and Hardware). πŸ”§ Some USSD-codes (##4636##) may not open a full menu but redirect to Testing with limited options. πŸ–₯️ For ADB- Commands, you may need to include additional permissions in the Developer For If your device is running HyperOS, check for the engineering menu in the standard settings first.
Can I reset the engineering menu on a locked device?
If the device is locked (forgot a pattern lock or password), you can only reset the engineering menu through: πŸ”§ Fastboot (firmware with deletion of all data). πŸ“± Recovery Mode (full reset via Wipe All Data). πŸ–₯️ EDL Mode (requires an authorized Mi Account and a special cable). USSD- Codes and ADB in this case will not help, as they require an unlocked screen.