Xiaomi's developer menu is a powerful tool for fine-tuning the system, but once activated, it can interfere with everyday use, constant notifications about the on mode, the risk of accidental changes in critical parameters, or simply the desire to return the standard interface - the reasons for turning it off are different. Unfortunately, simply clicking on "Switch off" in this menu does not always work: many MIUI firmwares do not have a button or are not active.
In this article, weโll look at all the working ways to turn off developer mode on Xiaomi, Redmi and POCO smartphones, from standard methods to hidden commands for stubborn devices. Instructions are relevant for MIUI 12/13/14 and HyperOS, including the latest updates from 2026. Importantly, some methods require ADB or Fastboot, but weโll explain each step in detail so that even a beginner can cope without the risk of bricking the phone.
Why is the developer menu not closed in the standard way?
On most Xiaomi smartphones, the developer menu is activated after 7 times pressing the build number in Settings โ About the phone. However, deactivation through the switch (if any) often does not work due to the features of the firmware:
- ๐ง MIUI Blocks the shutdown on some versions (especially the Redmi Note) 10/11 and POCO X3/X4)
- ๐ฑ Firmware from third-party developers (e.g. Pixel Experience or LineageOS) can ignore the command
- ๐ Resetting settings through Settings โ Additionally. โ Reset doesn't always remove the menu
- ๐ ๏ธ Rooted devices require additional manipulation of su rights
On HyperOS devices (such as Xiaomi 13/14 or Redmi K60), the developer menu can automatically turn on after a software update is a bug that is only fixed through ADB.
โ ๏ธ Note: If you have previously changed the settings in the developer menu (for example, enabled OEM unlocking or debugging by USB), They can be reset and some functions can be affected, such as shutting down. USB-Debugging interrupts connection to Mi Unlock Tool.
Method 1: Standard Switch Off Through Settings (Works on 60% of Devices)
This is the easiest method that works on most Xiaomi smartphones with official firmware. Check it first:
- Open Settings โ Additional โ For Developers (or Settings โ System โ For HyperOS Developers).
- At the top of the screen, look for the "Enable Developer Menu" (or similar) switch.
- Transfer the switch to the off position. and confirm the action.
- Restart your phone โ the menu should disappear from the settings.
If the tumbler is not present or is inactive (grey), move on to the following methods: on some models (Redmi). 9A, POCO M3) Instead of a toggle, there may be a "Disable" button in the menu of three dots (โฎ) top-right.
Check the version. MIUI/HyperOS in "Settings" โ The phone"
Make sure your phone is at least 30% charged.
Turn it off. USB-cables (if connected)
Backup important data (in case of failure)-->
Method 2: Reset settings (without data loss)
If the standard method didnโt work, try a partial reset that only removes system settings without affecting user files.This method is suitable for MIUI 12-14 and HyperOS:
- Go to Settings โ Additional โ Resetting settings.
- Select "Reset Wi-Fi, Mobile Network and Bluetooth" (on HyperOS - "Reset Network settings").
- Confirm the action and wait for the reboot.
- After turning on, check for the developer menu in the settings.
This method works because the developer menu is tied to system settings rather than user data, but some devices (Xiaomi Mi 11, Redmi K40) may need a complete reset (with loss of data) if a partial one does not help.
| Xiaomi model | Probability of discharge | Is a complete reset required? |
|---|---|---|
| Redmi Note 10/11 | 80% | No. |
| POCO X3/X4 | 50% | Sometimes. |
| Xiaomi 12/13 (HyperOS) | 30% | Yes. |
| Redmi 9A/9C | 90% | No. |
โ ๏ธ Note: On devices with a bootloader unlocked, resetting may result in re-blocking (if you previously used the Mi Unlock Tool.
Method 3: Disconnect via ADB (for power users)
If previous methods have failed, use Android Debug Bridge (ADB), a tool to control your device via a computer, which works on 100% of devices, but requires preparation:
You'll need:
- ๐ฅ๏ธ Computer with Windows, macOS or Linux
- ๐ USB-cable (preferably original)
- ๐ฅ Installed drivers ADB Fastboot (you can download from the official Android website)
- ๐ง Included Debugging by USB developer-menu
Step-by-step:
- Connect the phone to your computer and select File Transfer mode.
- Open the command prompt (cmd on Windows) and type: adb devices Make sure the device is identified (its serial number should appear).
- Execute the command to disable the developer menu: adb shell settings put global development_settings_enabled 0
- Reboot your phone with the command: adb reboot
Once you reboot, the developer menu will disappear. If the team doesn't work, try the alternative:
adb shell pm disable-user --user 0 com.android.development๐ก
If ADB doesnโt see the device, try reinstalling drivers via the Mi PC Suite or manually pointing the path to drivers in Device Manager (Other Devices section).
Method 4: Through Fastboot (if ADB doesn't work)
If ADB doesnโt detect the device or issues errors, you can use Fastboot mode, which is suitable for devices with an unlocked bootloader or if USB debugging is disabled.
Instructions:
- Turn off your phone and press the Power button + Volume down to log into the Fastboot.
- Connect the device to the computer.
- In the command line, type: fastboot devices Make sure the device is defined.
- Run the command to reset the developer menu settings: fastboot erase config Attention! This command will reset all user settings (Wi-Fi, brightness, sound, etc.) but will not affect the files.
- Reboot the phone: fastboot reboot
Some models (Xiaomi Mi A2/A3, POCO F1) may require a command to:
fastboot delete-logical-partition product_configโ ๏ธ Warning: Fastboot commands could lead to loss IMEI Or other problems if they're not done correctly. Don't use them unless you're sure about the device model. For example, on the Redmi Note 8 Pro with a Mediatek processor, the erase config command can erase critical partitions.
Through settings (tumbler)
Resetting settings
ADB-team
Fastboot
Never turned it off.-->
Method 5: Manual editing of the settings file (for advanced)
This method requires root rights and is only suitable for devices with an unlocked bootloader and installed Magisk or SuperSU. If you don't have a root, skip this section.
Instructions:
- Install any file manager with root support (such as Root Explorer or FX File Explorer).
- Go to: /data/data/com.android.providers.settings/databases/settings.db
- Open the settings.db file in a text editor (for example, via SQLite Editor).
- Find the entry with the parameter development_settings_enabled and change its meaning with 1 on 0.
- Save the changes, restart the phone.
Alternative path (for MIUI 13+):
/data/system/users/0/settings_global.xmlIn this file, find the line:
<setting id="development_settings_enabled" value="1" />and replace value="1" with value="0".
What if the phone doesnโt turn on after editing files?
Frequent Mistakes and How to Avoid Them
When you turn off the developer menu, users often face typical problems, and here are the most common ones and how to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Shutdown switchboard inactive | Limitation of MIUI firmware | Use ADB or Fastboot |
| ADB: device unauthorized | Unconfirmed USB access | Confirm the debugging on the phone screen |
| The menu will reappear after the update. | HyperOS or MIUI 14 bug | Turn off auto updates or use ADB after each update |
| Fastboot: FAILED (remote: unknown command) | Unsupported model | Try fastboot erase userdata (reset all settings) |
Another common problem is that the developer menu disappears, but it reappears over time.
- ๐ Automatic activation after update MIUI/HyperOS
- ๐ฑ Settings Provider (resetting)
- ๐ง Includings through third-party apps (such as Shizuku or Tasker)
adb shell dumpsys package | grep WRITE_SECURE_SETTINGS