How to completely disable the developer mode on Xiaomi: 4 working methods

Developer Mode on Xiaomi smartphones is a powerful tool for power users, but often turns on accidentally or remains active after you set up the device. If you notice a new section for developers in the Settings menu, and USB debugging notifications are annoying, it's time to deactivate it. Unlike other manufacturers, MIUI doesn't always allow you to turn off this mode in the standard way, so we'll go through all the working methods in detail.

It’s important to understand that simply hiding a menu item doesn’t equal shutting down completely. Some features (such as USB debugging or OEM unlocking) can remain active, creating security risks. This article highlights current ways for MIUI 12/13/14, including workarounds for stubborn devices.

Why is the developer mode not disabled in the standard way?

On most Xiaomi smartphones (including Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13), the developer mode is activated after a 7x tap on the build number in Settings β†’ About the phone. Back-off should happen the same way - but often does not.

  • πŸ”„ Cash system: MIUI Maintains the developer flag state in cache, even after tap reset.
  • πŸ› οΈ Rooting: On devices with an unlocked bootloader or Magisk, the mode can be blocked.
  • πŸ“± Version. MIUI: In Android-based firmware 12/13 The logic of the shutdown has changed (see table below).
  • πŸ”’ Security Policy: On some models (e.g. Xiaomi) 13T) The mode is tied to the Mi Account.

If you do not have a 7x tap on the build number, the Developer section doesn't disappear, don't panic. It's not a failure, it's a feature. MIUI. Below we will look at alternative methods, including resetting settings and ADB-team.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note, K-series)
POCO (F, X, M-series)
Mi (flagship series)
Black Shark
Other

Method 1: Standard Switch Off Through Settings (Works 60% of the time)

So, to start with, the simplest way that works on clean devices without root or modifications, is to:

  1. Open Settings β†’ The phone.
  2. Find the line MIUI version (or build number on Android 12+).
  3. Stick on it 7 times in a row (you should be notified "You are no longer a developer").

If the Developer section has disappeared from the menu, congratulations! Otherwise, move on to the next method.

Disable debugging over USB in the developer settings

Make sure your phone is over 30% charged.

Close all background applications (especially) ADB-tool)

Backup important data (in case of reset)

-->

⚠️ Note: On some models (POCO F4 GT, Redmi K50) If you turn off the developer mode, you may lose access to unlock the bootloader. If you plan to flash custom software in the future, don't deactivate it.

Method 2: Resetting settings (without data loss)

If the standard method didn’t work, try resetting only the system settings without affecting user data.This method removes all changes to MIUI, including activation of the developer mode.

Instructions:

  1. Go to Settings β†’ Memory β†’ Backup and Reset.
  2. Select Resetting (not β€œReset to factory!”).
  3. Check only System Settings (remove the marks from "Applications" and "Mediafiles").
  4. Confirm the action and wait for the reboot.

After the reboot, check the Settings menu - the Developer section should disappear. If not, go to the method with ADB.

πŸ’‘

Before resetting, turn off sync with Mi Account in Settings β†’ Accounts to avoid conflicts when re-entering.

Xiaomi modelMIUI versionDoes the standard shutdown work?Is ADB required?
Redmi Note 10/1112.5–13.0Yes (80% of cases)No.
POCO X3 Pro12.0–12.5No (reset required)Sometimes.
Mi 11 Ultra13.0+Yes (after update)No.
Black Shark 513.0 (castom)No.Yes.

Method 3: Disconnect via ADB (for power users)

If previous methods didn’t work, you’ll need to use Android Debug Bridge (ADB), a method that is guaranteed to work, but requires a PC connection.

What you need:

  • πŸ–₯️ Computer with installed ADB Tools.
  • πŸ“± Included debugging by USB (temporary activation of the developer mode).
  • πŸ”Œ Cable USB (preferably original).

Step-by-step:

  1. Connect the phone to the PC and allow debugging (a request will appear on the smartphone screen).
  2. Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection: adb devices must appear serial number of the device.
  4. Execute the developer mode disable command: adb shell settings put global development_settings_enabled 0
  5. Reboot your phone: adb reboot

Once you reboot, the Developer section will disappear. If the team doesn't work, try the alternative:

adb shell am broadcast -a com.android.settings.ACTION_HIDE_DEVELOPMENT_SETTINGS
What if the ADB can’t see the device?
1. Install Xiaomi drivers from the official website (section "Drivers"). 2. Check if the mode "File Transfer" is enabled" (MTP) 3. Try another one. USB-cable (cheap cables often don't support data transfer). 4 Restart your PC and phone, then reconnect.

⚠️ Attention: On some firmware (MIUI 14 for Xiaomi 13 after ADB-commands may require manual cache reset via Recovery. To do this, hold the Power when you reboot. + Volume Up, select Wipe Cache and confirm.

Method 4: Complete reset to factory settings (extreme case)

If none of these methods work, the last option is hard reset, which will remove all data from the device, so only use it as a last resort.

How to reset:

  1. Create a backup through Settings β†’ Memory β†’ Backup or Mi Cloud.
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. Select "Erase All Data" (factory reset).
  4. Enter your password (if required) and confirm.

After the reset, the phone will restart in a β€œclean” state, and the developer mode will be disabled. On models with a locked bootloader (for example, the Redmi Note 12 for the European market), after the reset, you may need to re-assign to your Mi Account.

πŸ’‘

Before you completely reset, make sure you remember the data from your Mi Account – it will be impossible to unlock your phone after the reset without them!

Frequent Mistakes and How to Avoid Them

When you turn off the developer mode, users often face typical problems, and here are the most common ways to solve them:

  • πŸ”™ "Developer mode appears again after reboot" β†’ That means there are still active flags in the system. ADB dump.
  • πŸ”Œ "ADB can't see the device" β†’ Check drivers, cable and connection mode (should be) MTP or PTP).
  • πŸ”’ "After resetting, an old password is required" β†’ Nana MIUI 13+ It's a security feature. Use backup. PIN Restoring access through your Mi Account.
  • βš™οΈ "I can't find the assembly number" β†’ On the new versions MIUI The path has changed: Settings β†’ The phone. β†’ Version. MIUI β†’ Information on POs.

If you encounter another error, check its code in ADB Logcat (adb logcat | grep -i error) and look for a solution on the XDA Developers or 4PDA forums.

Can I turn off the developer mode without a computer?
Yes, 60 percent of the time, the standard method (Taps 7 by build number) or system resetting helps. ADB is only required for stubborn cases where MIUI ignores standard commands.
Why did the developer mode disappear after the developer mode was turned off, but USB debugging remained active?
It's a famous bug. MIUI 12–14. Debugging by USB To turn it off completely, run the command: adb shell settings put global. adb_wifi_enabled 0 Then restart the device.
Will a factory reset remove files from the memory card?
No, the reset only affects the phone's internal memory. SD-The map will remain intact, but we still recommend backing up the map.
Can I turn off the developer mode on Xiaomi with custom firmware (for example, Pixel Experience)?> Yes, but the process depends on the firmware. On most custom OSes (for example, LineageOS or ArrowOS), just execute the command: adb shell settings put global. development_settings_enabled 0 If this doesn’t work, check the settings in the firmware menu – some builds have a separate switch for the developer mode.
Why is my POCO F5 not in the settings for β€œAssembly Number”?
Some POCO models have changed the path. Try: Settings β†’ Phone β†’ Software β†’ MIUI version (stamp here). Or Settings β†’ Additional β†’ Kernel version (for Android 13 firmware). If nothing works, use ADB.