How to close the developer menu on Xiaomi: a complete guide with pictures

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:

  1. Open Settings โ†’ Additional โ†’ For Developers (or Settings โ†’ System โ†’ For HyperOS Developers).
  2. At the top of the screen, look for the "Enable Developer Menu" (or similar) switch.
  3. Transfer the switch to the off position. and confirm the action.
  4. 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:

  1. Go to Settings โ†’ Additional โ†’ Resetting settings.
  2. Select "Reset Wi-Fi, Mobile Network and Bluetooth" (on HyperOS - "Reset Network settings").
  3. Confirm the action and wait for the reboot.
  4. 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 modelProbability of dischargeIs a complete reset required?
Redmi Note 10/1180%No.
POCO X3/X450%Sometimes.
Xiaomi 12/13 (HyperOS)30%Yes.
Redmi 9A/9C90%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:

  1. Connect the phone to your computer and select File Transfer mode.
  2. Open the command prompt (cmd on Windows) and type: adb devices Make sure the device is identified (its serial number should appear).
  3. Execute the command to disable the developer menu: adb shell settings put global development_settings_enabled 0
  4. 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:

  1. Turn off your phone and press the Power button + Volume down to log into the Fastboot.
  2. Connect the device to the computer.
  3. In the command line, type: fastboot devices Make sure the device is defined.
  4. 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.
  5. 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:

  1. Install any file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to: /data/data/com.android.providers.settings/databases/settings.db
  3. Open the settings.db file in a text editor (for example, via SQLite Editor).
  4. Find the entry with the parameter development_settings_enabled and change its meaning with 1 on 0.
  5. Save the changes, restart the phone.

Alternative path (for MIUI 13+):

/data/system/users/0/settings_global.xml

In 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?
If, after changes to settings.db or settings_global.xml The phone is stuck on the logo or went to the bootloop, follow the following steps: 1. Go to the Fastboot (Power button) + Loudness down). 2. Connect to your PC and execute the command: fastboot flash userdata userdata.img (file userdata.img You can get it from the official firmware for your model). 3. If there is no backup, do a full reset via fastboot erase userdata. 4. After the reboot, the developer menu will be disabled, but all user data will be deleted.

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 inactiveLimitation of MIUI firmwareUse ADB or Fastboot
ADB: device unauthorizedUnconfirmed USB accessConfirm the debugging on the phone screen
The menu will reappear after the update.HyperOS or MIUI 14 bugTurn off auto updates or use ADB after each update
Fastboot: FAILED (remote: unknown command)Unsupported modelTry 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
The developer menu is gone, but the USB debugging switchboard is still there.
Residual settings USB-Debugging can persist even after the developer menu is turned off. To remove it: Connect your phone to your PC and do: adb shell settings put global settings adb_wifi_enabled 0 Reset the device. If it doesn't work, reset the network settings (Settings) โ†’ Reset โ†’ Reset network settings. On some firmware (POCO F3, Redmi K50) You may need to completely disable via Fastboot: fastboot oem disable-adb.
Can I turn off the developer menu without a computer?
Yes, but only if your device has root rights or Shizuku (for ADB without PC) is installed. Alternative ways: Use QuickShortcutMaker to find hidden developer menu disabling activity (look for com.android.settings.DevelopmentSettings). Some firmware helps install a patch through Magisk Module (for example, Disable Dev Options). If nothing helps, reset to factory settings (with loss of data!).
After the developer menu was turned off, the gestures stopped working.
This is due to the resetting of the System settings. UI. To restore gestures: Go to Settings โ†’ Display. โ†’ Moves and gestures. Select System Navigation and reconfigure gestures. If the option is inactive, execute the command via ADB: adb shell cmd overlay enable-exclusive com.android.internal.systemui.navbar.gestural On HyperOS, an additional command may be required: adb shell settings put secure swipe_up_to_switch_apps_enabled 1
How to permanently block access to the developer menu?
If you want to completely disable the developer menu (for example, for a child or a corporate phone), do the following: Install AppLock and block access to Settings. โ†’ About the phone. ADB, To disable the activation of the menu: adb shell settings put global device_provisioned 0 Attention! This command will reset some system settings. On rooted devices, delete the file: /system/priv-app/Settings/Settings.apk (This will remove all settings, including the developer menu. HyperOS has a special patch Disable Dev Options, which can be installed through Magisk.
Will a factory reset be guaranteed to remove the developer menu?
Yes, full reset (Settings) โ†’ Additionally. โ†’ Resetting to the factory will remove the developer menu on 100% of the devices: ๐Ÿ“ All data (photos, messages, applications) will be deleted). ๐Ÿ”’ If the phone was linked to the Mi Account, you will need to enter a login / password after resetting. ๐Ÿ”„ On some models (Xiaomi Mi) 10T, Redmi Note 9 Pro) after reset may need to be activated again through 7 clicks on the build number.To avoid data loss, before reset: Make a backup through Settings โ†’ Google โ†’ Backup. Copy photos and videos on your PC or in the cloud. Export contacts and videos. SMS via the Mi Mover app.