Resetting Xiaomi’s engineering menu to factory settings: the full guide

Xiaomi’s engineering menu is a powerful tool for fine-tuning a smartphone, but sometimes its changes lead to unstable operation of the device. The logical question is: how to return everything to factory parameters without risking damage to the system? Resetting the engineering menu is different from a standard phone reset and requires caution – improper actions can block communication modules or disrupt the operation of sensors.

In this article, you will find proven reset methods for different versions of MIUI, including hidden commands and official tools, we will analyze when software reset is enough and when you need firmware, and also warn against the typical errors that turn a phone into a β€œbrick.”

If you've experimented with Band Selection, RF Test Mode, or changed your antenna settings, but now your phone is not catching the network well, this will help you get everything back to working order. The main rule is, don't try to reset the engineering menu through Hard Reset, it will delete user data, but it won't affect the system settings of the engineering mode.

Before you start, check:

  • πŸ”‹ Battery charge not lower than 50% – interruption of the process can lead to a failure of the loader.
  • πŸ“‘ Availability of backup copies of important data (contacts, SMS, file).
  • πŸ”§ Version MIUI In Settings β†’ About the phone - it depends on the choice of method.
πŸ“Š Have you ever used the engineering menu on Xiaomi?
Yes, to set up the network.
Yes, for sensor testing.
No, I'm afraid to break my phone.
I don't know what that is.

Why does Xiaomi’s engineering menu require a reset?

The engineering mode (#4636## or #36446337##) gives you access to low-level phone settings, from sensor calibration to RF module control, but incorrect changes to this menu can cause:

βœ… Network loss – if you have changed Band Mode settings or turned off antennas.

βœ… The wrong job GPS β€” post-editing AGPS or GNSS Test.

βœ… Camera failures – when changing the values of Camera Tuning or ISP Settings.

βœ… Overheating of the processor - if the clock frequency was overstated in CPU Stress Test.

Most often, users encounter a problem after trying to overclock the network or improve the reception of 4G/5G. For example, disabling unused bands (LTE Band) can lead to a complete loss of communication even if the network signal in the status bar is displayed, in such cases, resetting the engineering menu is the only way to return to work without flashing.

Note: some changes (like NV Items) persist even after resetting via Recovery, which means a full reset of the phone won't help - special commands or firmware via Fastboot will be required.

πŸ’‘

If after the changes in the engineering menu, the phone stopped seeing SIM-Map, try to manually select the operator in Settings β†’ SIM-maps and mobile networks β†’ Network selection. Sometimes it temporarily solves the problem until it's completely reset.

Method 1: Reset through engineering menu codes (for MIUI 12–14)

The fastest method is to use hidden commands that reset the engineering mode settings without deleting user data, a method that works on most Xiaomi, Redmi and POCO models with Qualcomm Snapdragon processors.

Instructions:

  1. Open the Phone app and type in: ##4636## or alternative code for new MIUI versions: ##36446337###
  2. In the menu that opens, select Engineer Mode (MTK) or Qualcomm Engineer (depending on the chipset).
  3. Go to Restore Defaults or Reset to Factory (the name may be different).
  4. Confirm the reset and restart the phone.

If these are not available, try an alternative route:

  1. From the engineering menu, select Network Setting β†’ Band Mode.
  2. Press Reset in the upper right corner (if the button is active).
  3. Go back to the main menu and find Hardware Testing β†’ Clear All Data.

β˜‘οΈ Preparation for resetting through the engineering menu

Done: 0 / 4

Important: Some firmware (e.g. MIUI Global Stable) may block the engineering menu codes, in which case use the ADB or Fastboot method described below.

Method 2: Reset via ADB (for power users)

If the engineering menu is unavailable or resetting through it does not help, use Android Debug Bridge (ADB).This method requires a computer and enabled debugging over USB, but is guaranteed to reset all changes in system partitions.

Step-by-step:

    ADB

    official website

    cmd

    ADB

    adb devices

    Make sure the device is identified.

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

    Then:

    adb shell settings put global engineering_mode_enabled 0
    adb reboot

    For devices on Mediatek, use an alternative command:

    adb shell "echo -n 'AT+EGMR=1,7,\"00000000\"' > /dev/pttycmd1"
    What if the ADB can’t see the device?
    1. Check the cable - use the original USB-Type C.2. Reinstall the drivers (try Universal ADB Driver).3. Enable Unauthorization debugging in the developer settings and reconnect the phone.4. Try another USB port (preferably USB 2.0).

    Critical information: On some models (e.g., Xiaomi 12 Pro with Snapdragon 8 Gen 1), ADB commands may require root rights to reset the engineering menu. If you haven't unlocked the bootloader, this method won't work - use Fastboot.

    Method 3: Complete Fastboot reset (guaranteed result)

    If previous methods didn't work, it's the Fastboot, which removes all the changes, including those made in the engineering menu, but requires an unlocked bootloader and official firmware.

    What you need:

    • πŸ–₯️ Computer with Mi Flash Tool and drivers installed Qualcomm/Mediatek.

    Instructions:

      Xiaomi modelProcessor typeRecommended discharge methodNotes
      Redmi Note 10 ProSnapdragon 732GEngineering Menu Codes or ADBFastboot is only required in critical crashes
      Xiaomi 11T ProSnapdragon 888ADB or FastbootThe engineering menu may be blocked.
      POCO X3 ProSnapdragon 860Engineering menu codesSupports reset via #36446337###
      Redmi 9AMediatek Helio G25ADB root rightsRequires unlocking of the loader

      ⚠️

      Note: Fastboot removes all data, including photos and apps, and if you don’t unlock the bootloader, this method will lock the device (requires official unlocking via Mi Account).

      Frequent Mistakes and How to Avoid Them

      Even experienced users make mistakes when resetting the engineering menu, and here are the most common problems and solutions:

      πŸ”΄ Error: "Command not allowed" in ADB

      • πŸ”Ή Make sure the debugging is done USB included and you have confirmed your PC permission.
      • πŸ”Ή Try a command with superuser rights: adb root then repeat reset.

      πŸ”΄ Phone doesn't leave Fastboot after firmware

      • πŸ”Ή Turn off the cable and hold the power for 20 seconds (forced reboot).
      • πŸ”Ή If it doesn’t work, repeat the firmware with Clean All and Lock mode.

      πŸ”΄ After the dump, he disappeared. IMEI

      • πŸ”Ή You'll need Mediatek. SP Flash Tool and backup NVRAM.

      πŸ”΄ The engineering menu does not open after resetting

        πŸ’‘

        If you have a problem with the network after resetting the engineering menu, check the physical integrity of the antenna. Often, the "network loss" is not due to software settings, but to damage to the plume or SIM card.

        How to check that the reset was successful?

        After you've done any of these methods, you need to make sure that the engineering menu settings are back to the factory settings.

        βœ… Network verification:

        • πŸ“Ά Go to Settings. β†’ SIM-maps and mobile networks.
        • πŸ”„ Turn on/off Data Transfer – if the network indicator appears quickly, the reset has been successful.
        • πŸ“‘ Run a speed test (for example, through Speedtest) – compare with previous indicators.

        βœ… Sensor checks:

        • 🧭 Open the Compass app or Google Maps β€” GPS Determine the location in 5-10 seconds.
        • πŸ”¦ Test the camera in different modes (night, portrait).
        • 🎧 Check the speaker and microphone through voice recording.

        βœ… Checking the engineering menu:

        • πŸ”§ Enter the code ##4636## and make sure that all settings are reset to default values (e.g. Preferred network type: LTE/WCDMA).
        • πŸ” In the Battery Information section, check that Health is displayed as Good.

        If at least one of the tests fails, repeat the reset or contact the service center. For example, if after all the manipulations the phone still does not catch the network, the problem may be in the damaged RF module (requires equipment diagnostics).

        Alternative methods: when nothing helps

        If standard methods fail, radical measures remain, and should only be used as a last resort, as they risk losing warranty or turning the phone into a brick.

        πŸ”¨ Method 1: Firmware through EDL Mode (emergency mode)

          πŸ”¨ Method 2: Recovery through Test Point

            πŸ”¨ Method 3: Contacting a service center

            • πŸ”Ή If you are not sure about your skills, it is better to entrust the recovery to professionals.
            • πŸ”Ή Xiaomi provides official support through service centers.
            • πŸ”Ή The cost of repairs in case of software failure usually does not exceed 1–2 thousand rubles (for 2026).

            ⚠️

            Note: Firmware via EDL or Test Point voids warranty and can cause permanent damage if done incorrectly, and these methods are recommended only for experienced users or professionals.

            What to do if your phone requires a Mi Account after a reset?
            This is activation of Mi Account Lock, anti-theft protection. To unlock: 1. Connect to Wi-Fi.2. Enter the Xiaomi account information that was linked to the phone.3. If you don't remember the password, restore it on the official website.4. In extreme cases, contact the support with proof of purchase.

            FAQ: Answers to Frequent Questions

            Can I reset the engineering menu without a computer?
            Yes, if you have MIUI version 12-14, try the code ##4636## or ##36446337###. On older versions (MIUI 11 and below), you may need ADB.
            Why did the mobile Internet disappear after the engineering menu was reset?
            The settings have probably been changed. APN. Go to Settings. β†’ SIM-maps and mobile networks β†’ Access points (APN) and restore your operator’s parameters (you can find them on the provider’s website).
            Will resetting the engineering menu remove photos and apps?
            Not if you're using an engineering menu or ADB code. But the firmware on Fastboot or EDL deletes all the data. Always back up!
            Can you roll back changes to the engineering menu selectively?
            Theoretically, yes, but in practice, it's hard. For example, if you only changed the LTE Band settings, you can manually return the original values (usually Auto or All Bands), but for most settings, it's easier to do a full reset.
            Does this work for POCO and Redmi?
            Yes, since POCO and Redmi use the same MIUI firmware as Xiaomi, except for Mediatek-based models (like Redmi 9A), where the SP Flash Tool may be required.