Developer mode on Xiaomi, Redmi and POCO smartphones is a powerful tool for power users, but often turns on accidentally when trying to speed up animations or activate hidden functions. Once activated, this mode leaves debugging settings in the system that can affect the security, performance and even operation of certain applications. For example, banking programs like Sberbank Online or Tinkoff often block access, detecting the enabled debugging over USB.
The problem is that simply returning the developer mode slider to the off position doesn’t always work: MIUI 14 and later, the system may continue to display a item in the settings menu, and some features (e.g, OEM-Unlocking) remain active. In this article, three official methods for completely disabling developer mode on Xiaomi, including resetting via ADB and hidden teams MIUI, which work even on blocked loaders.
Why the developer mode is not turned off in the standard way
On most Xiaomi smartphones, after activating the developer mode (through a 7-fold tap on the MIUI version) in the Settings menu → About Phone → A new section appears additionally. However, simply turning off the toggler often does not have an effect for three reasons:
- 🔄 Caching settings: MIUI Stores the state of the developer flags in a separate file /data/property/persist.sys.usb.config, which is not reset when the tumbler is turned off.
- 🛡️ Security Policy: Starting with Android 12, Google has tightened debugging requirements – some settings (like Stay Awaken) remain active until completely reset.
- 📱 Features MIUI: In the firmware MIUI 13+ The "Developer Mode" option may disappear from the menu, but actually remain on in the background.
Most often, users face the consequences of incomplete disconnection:
- 🚫 Banking applications give an error “Device is rooted” or “Debugging is detected».
- ⚠️ Warnings about uncertified devices appear on Google Play.
- 🔋 Increased battery consumption due to background activity of adb services.
⚠️ Note: If you have previously authorized OEM-Unlocking in the developer settings, it is impossible to disable it in the standard way - you will need to reset via Fastboot or Recovery. This is due to Xiaomi's security policy, which blocks changing this setting after the first activation.
Method 1: Standard shutdown via the settings menu
This method works on 70% of Xiaomi devices with MIUI 12-14, if the developer mode was recently turned on and critical features like unlocking the bootloader were not used.
- Open Settings → About Phone → MIUI version and make sure that the inscription “You became a developer!” is missing (if any, press 7 times again to reset the counter).
- Return to the main settings menu and go to Settings → Additional → For developers (on some models, the path may differ: Settings → System → Advanced settings → For developers).
- At the top of the screen, translate the developer mode slider to the off-site position.
- Confirm the action by clicking “Disable” in the dialog box.
After these steps have been taken:
- 🔍 The “Developers” item should disappear from the settings menu within 5-10 minutes (sometimes a reboot is required).
- 📵 Functions like Debugging by USB and Allow unlocking OEM will be deactivated.
Check if USB debugging is active in the “Developers” section
Make sure that the About Phone menu doesn’t say “You’re a developer!”
Restart the device and try again.
Try alternative methods (see below)
-->
If after these actions, the section “For developers” continues to appear, proceed to the next method.
Method 2: Reset developer settings via ADB (without data loss)
This is suitable for devices where the standard shutdown didn’t work, but you don’t want to do a full reset. It requires a computer with ADB drivers installed and USB debugging enabled (paradoxically, it needs to be activated temporarily so that it can be turned off completely).
Step-by-step:
- Download and install Google’s Platform Tools (or use the portable version of Minimal ADB and Fastboot).
- On your smartphone, enable USB debugging in the “Developers” menu and connect it to your PC via cable (select File Transfer mode).
- Open the command line (cmd) in the folder with adb and execute commands in turn: adb devices (should appear your device with the status of authorized) adb shell settings put global. development_settings_enabled 0 adb shell settings put global adb_enabled 0
- Reboot your smartphone with the command: adb reboot
After the reboot:
- 📱 The “Developers” item will disappear from the settings menu.
- 🔒 All debugging permissions will be reset (including: OEM-Unlocking if it has not been previously confirmed).
- ⚡ Performance will return to factory settings (reset background restrictions for applications).
adb shell pm clear com.android.settings
This will clear the settings cache, but will not delete user data.-->
⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO X3 Pro) after discharge through ADB You may have a device certification error in Google Play Protect. To fix it, go to Settings. → Google → Google Play Services → Settings → Certification of the device and click "Certify».
Method 3: Completely reset your settings (if nothing helps)
If the previous methods didn't work, the radical solution is to reset to factory settings, which is guaranteed to remove all traces of the developer mode, but also erased:
- 📸 Photos and videos (if not saved to the cloud).
- 📱 Installed applications and their data.
- 📋 Accounts (except the main Mi Account if it was linked).
How to perform the reset correctly:
- Back up important data via Settings → System → Backup or manually copy files to your PC.
- Go to Settings → About Phone → Resetting (or Settings → Additional → Reset and Reset).
- Select Reset All Settings (not to be confused with Network Settings Reset!).
- Confirm the action by entering PIN-code.
- Wait for the process to be completed (it will take 5-15 minutes).
After discharge:
- 🔧 Developer mode will be completely deactivated, including all hidden flags.
- 🔐 Unlocking OEM and USB-debugging will return to its original state.
- 📱 The device will be “certified” in the Google ecosystem.
| Method of disconnection | Difficulty | PC required | Data retained | Sheds. OEM-unlock |
|---|---|---|---|---|
| Standard shutdown | ⭐ | ❌ No. | ✅ Yes. | ❌ No. |
| Reset via ADB | ⭐⭐⭐ | ✅ Yes. | ✅ Yes. | ✅ Yes* |
| Complete resetting of settings | ⭐⭐ | ❌ No. | ❌ No. | ✅ Yes. |
* Note: Reset OEM-unlock ADB This is only possible if it has not been confirmed before (for example, when unlocking the bootloader). If the confirmation was, you will need a complete reset.
Standard shutdown via menu
Reset via ADB
Complete resetting of settings
Nothing helped.
-->
What to do if there are problems after the shutdown
Even after successfully disabling the developer mode, some users experience side effects. Consider typical situations and their solutions:
1.Banking apps still block access
If Sberbank Online, Tinkoff or VTB Online issue an error “The device is not secure”, follow:
- 🔄 Reboot your smartphone and check the certification status in Settings → Google → Google Play Services → Settings → Certification of the device.
- 🛡️ Install SafetyNet Fix (root rights required, but it bypasses checking without them on some devices).
- 📱 Check to see if Magisk or other system modifications are active (even if you didn’t install them, they may have been left behind after previous manipulations).
2.Google Play says "Device not certified"
This error occurs if you have previously changed ro.build.type or activated debugging to fix:
- Go to google.com/android/uncertified and register your Google account linked to the device.
- Clear your Google Play Services data through Settings → Applications → Application Management → Google Play Services → Storage → Clear Data.
- Reset the device.
3.The item "For developers" in the settings is still visible
If the partition does not disappear after all the manipulations, this may mean:
- 🔧 The device has custom firmware installed (e.g. xiaomi.eu or LineageOS), where the developer mode is always available.
- 📱 Firmware is damaged (will help flashing through Fastboot).
- 🛠️ Hidden mode of the engineering menu is activated (check code ##4636##).
How to check if the developer mode is turned off?
Xiaomi models where disabling developer mode works differently
On some Xiaomi devices, the shutdown process has features due to modified firmware or hardware limitations. Here is a list of models with nuances:
| Model | Feature | Decision |
|---|---|---|
| Xiaomi 12/12 Pro/12X | After disabling the developer mode, active debugging over Wi-Fi can remain. | Adb shell settings put global adb_wifi_enabled 0. |
| Redmi Note 10/11 Pro | The “Developers” item disappears only after the reboot. | Reboot the device manually. |
| POCO F3/F4 GT | Resetting via ADB does not work on some versions of MIUI. | Use a full reset. |
| Xiaomi Pad 5/6 | The developer mode is automatically turned on after connecting the keyboard. | Turn it off through Settings → Connected devices → Keyboard. |
On devices with MIUI for Russia (for example, Redmi 10C or POCO M4 Pro) may require an additional step – updating the firmware to the latest version, as in old builds there is a bug with caching of the developer settings.
How to prevent accidental activation of the developer mode in the future
To avoid re-activating the developer mode, follow these tips:
- 🔒 Turn off the engineering menu gestures (e.g., holding the volume buttons when booting) via QuickShortcutMaker (find the action com.android.settings.DevelopmentSettings and remove the shortcut).
- 📱 Do not hand over the phone to children or inexperienced users – random clicks on the Version MIUI They can activate the system again.
- 🛡️ Set a password for settings: go to Settings → System system → Additionally. → Protect settings and turn on PIN-code.
- 🔄 Check the status of debugging regularly through the command: adb shell dumpsys package | grep "DEBUG" (It should return to an empty result).
💡
If you use developer mode features frequently (e.g., for application testing), consider creating a separate user profile through Settings → System → Multiple users. This will isolate debugging settings from your main profile.