How to completely reset the developer settings on Xiaomi: 5 safe ways

Developer mode on Xiaomi, Redmi and POCO smartphones is a powerful tool for fine-tuning the system, but sometimes activating it leads to unexpected problems. Users face slowdowns, application errors or even blocking some functions after experimenting with these parameters. A developer reset may be required in several cases: after unsuccessful manipulation of system parameters, before selling the device or to fix software failures.

Unlike standard factory resets, which affect all data on the device, deactivating developer mode allows you to return only system parameters to the original state, saving personal files, applications and settings. However, this process has nuances depending on the version of MIUI and smartphone model. In this article, we will discuss all the current methods, from manual disabling to full reset via ADB, and explain what the consequences can have each method.

Why you may need to reset the developer settings

Developer mode allows you to access hidden Android features that are normally blocked.

  • πŸ”§ Debugging by USB β€” necessary for the operation of ADB, It can become a vulnerability to malware.
  • ⚑ Speeding up animation – changing the animation scale (Window animation scale, Transition animation scale) often leads to visual bugs.
  • πŸ“‘ Fictitious Locations – Activation of this parameter can disrupt geolocation services.
  • πŸ”„ Background processes – limiting the number of background apps sometimes breaks notifications.
  • πŸ› οΈ Unstable experimental functions, such as Force GPU rendering or disable HW overlays.

Even experienced users are not immune to errors, such as activating Don’t keep activities can cause applications to close immediately after they are folded, and turning on Force 4x MSAA can cause overheating and accelerated battery drain. If the device starts to work unstable after a change in the developer’s settings, resetting these parameters is the first step to solving the problem.

⚠️ Note: Some developer parameters (e.g, OEM Unlocking) can remain active even after reset if enabled via fastboot.

Method 1: Manually disabling the developer mode

The easiest way is to manually deactivate the developer mode, which is fine if you remember the device password and have access to the settings. Here's a step-by-step guide:

  1. Open the settings on your Xiaomi.
  2. Go to About Phone (or About Device on some models).
  3. Find the MIUI version and tap it 7 times in a row – this will open access to the developer mode (if it is not already activated).
  4. Return to the main Settings menu and select Additional β†’ For Developers.
  5. At the top of the screen, move the developer mode slider to the off position.
  6. Confirm the action if the system requests a password or PIN-code.

Once disabled, all changes made in this section will be reset to default values, but this method does not work if:

  • πŸ”’ The device is locked with a pattern lock or password that you have forgotten.
  • πŸ“± Developer settings are hidden due to system failure.
  • πŸ”§ Certain parameters (e.g, USB debugging) remain active even after the mode is turned off.

Is the developer mode disabled in the settings?

Are important data (photos, contacts) stored?

Battery charge at least 30%?

Do you know the password on the device?

-->

If manually shutting down didn’t help or access to settings is blocked, proceed to the next method.

Method 2: Reset via Recovery Mode

The Recovery Mode allows you to reset the developer’s settings without completely cleaning the device, a method that is suitable for Xiaomi, Redmi and POCO based on MIUI 12/13/14. Importantly, this method will not delete personal data, but return the system parameters to factory ones.

Instructions:

  1. Turn off your smartphone.
  2. Press the Power + Volume buttons up at the same time and hold them for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English or Chinese).
  4. Go to Wipe & Reset β†’ Wipe All Data (on some models, the item may be called Reset settings).
  5. Confirm the action by selecting Confirm.
  6. After the process is complete, click Reboot β†’ Reboot to System.
Xiaomi modelThe way to RecoveryNotes
Redmi Note 10/11, POCO X3/X4Food + Volume upSome firmware requires you to first select Connect with MIAssistant.
Xiaomi 12/13, Mi 11Food + Volume upMenu in Chinese - look for the characters "" (data cleanup).
POCO F3/F4Food + Volume upYou may need to connect to a PC to unlock.
Redmi 9/9AFood + Volume upOn older versions of MIUI, the reset can take up to 10 minutes.

⚠️ Note: On some devices with MIUI 14 and later, Wipe All Data can reset all data, not just settings. Before using this method, back up through Settings. β†’ System system β†’ Backup.

πŸ“Š Which Resetting Method Do You Prefer?
Manual shutdown
Through Recovery Mode
With ADB
Reset to factory settings

Method 3: Using ADB to reset settings

If manual methods don't work, you can use Android Debug Bridge (ADB), a computer debugging tool that requires pre-setting, but allows you to reset the developer's settings point by point without losing data.

Preparation:

  1. Download and install Platform Tools (includes ADB and fastboot).
  2. Turn on USB debugging in the developer settings (if the mode is not already disabled).
  3. Connect your smartphone to your PC through USB-cable (preferably original).

Resetting instructions:

adb shell settings delete global development_settings_enabled


adb shell settings delete global stay_on_while_plugged_in




adb shell settings delete global adb_wifi_enabled




adb shell pm clear com.android.development

These teams:

  • πŸ”„ Turn off the developer mode (development_settings_enabled).
  • πŸ”Œ Resetting debugging settings by USB and wifi.
  • 🧹 Clear the cache of the com.android.development application, responsible for the developer’s parameters.

Once you have completed the commands, restart the device. If ADB issues a device unauthorized error, check that a window appears on the smartphone screen requesting trust in this computer (you need to confirm access).

πŸ’‘

If ADB doesn’t recognize the device, try reinstalling Mi USB Driver drivers or using a USB 2.0 port instead of USB 3.0 (blue ports often cause problems).

Method 4: Complete reset to factory settings

If previous methods have failed or the device is extremely unstable, it will be a hard reset that will delete all data, including apps, photos and accounts, so use it only as a last resort.

How to do this:

  1. Open Settings β†’ About the phone β†’ Reset settings.
  2. Select to erase all data (factory recovery).
  3. Enter the password from the Mi Account (if linked).
  4. Confirm the action and wait for the process to be completed (it will take 5-15 minutes).

Some models (such as Xiaomi 13 Pro or POCO F5) may require re-activation of the device via your Mi Account after reset.

⚠️ Note: On devices with a locked bootloader, a full reset may result in the activation of Anti-Rollback protection.This means that after the reset, you will not be able to install the old version. MIUI β€” The only one that was available at the time of the last update.

Method 5: Fastboot Reset (for power users)

This method is suitable for advanced users, as it requires command line work and can lead to loss of warranty if the device is warranty.

  • πŸ”§ Developer mode has blocked access to settings.
  • πŸ“± The device does not turn on or hangs on the Mi logo.
  • πŸ”„ You need to reset your settings without losing data (in some cases).

Instructions:

  1. Install the Mi Flash Tool and Fastboot drivers.
  2. Turn off your smartphone and put it into Fastboot mode, clamping Power + Volume down.
  3. Connect the device to your PC and open the command line in the folder with fastboot.
  4. Run the command to reset the developer settings: fastboot erase config
  5. Reboot the device: fastboot reboot

The fastboot erase config command deletes configuration files, including the developer's settings, but does not affect user data. However, on some devices this can lead to a reset of regional settings (for example, a return to Chinese firmware on global models).

What if the device does not turn on after fastboot?
If the smartphone does not respond after fastboot commands, try: 1. + Volume up for 20 to 30 seconds for forced reboot. 2. Connect to charge for 10 to 15 minutes - sometimes helps with a discharged battery. 3. Repeat the procedure with another version of the Mi Flash Tool (for example, use XiaoMiFlash 2023 instead of 2021). If nothing helps, you may need to re-flash through EDL-The mode (only for experienced users!).

Frequent Mistakes and How to Avoid Them

When you reset your developer settings, users often face typical problems, and here are the most common ones and how to solve them:

Mistake.Reason.Decision
ADB: device unauthorizedNot confirmed access to debugging on the smartphone.Connect the device, unlock the screen and confirm the PC trust request.
The developer mode is turned on itself after restartingThere are still active teams in build.prop.Adb shell settings delete global development_settings_enabled repeatedly.
Fastboot: FAILED (remote: unknown command)Unsupported team for this model.Use an alternative command: fastboot erase userdata (but it will delete all data!).
After the dump, the notices disappearedThe background process settings have been dropped.Manually configure permissions for applications in Settings β†’ Apps β†’ Permissions β†’ Autorun.

Another common problem is that Chinese is coming to the Recovery menu on global devices, and it's happening because of a regional setting failure.

adb shell setprop persist.sys.language en


adb shell setprop persist.sys.country US

FAQ: Answers to Frequent Questions

Can I reset the developer settings without losing data?
Yes, methods 1-3 (manual shutdown, Recovery Mode, ADB) do not delete personal files. Complete reset (method 4) and Fastboot (method 5) can lead to data loss if you do not make a backup.
Why does the developer mode turn on again after the reset?
This happens if the commands from build.prop or settings.db remain active. development_settings_enabled adb shell settings delete secure adb_enabled If the problem remains, it is possible that custom software (for example, LineageOS) is installed on the device, which forcibly includes the developer mode.
How to reset the developer settings if you forget the password from the device?
If the device is locked and the developer mode is enabled, try: Connect via ADB (if debugging has been activated previously) and execute adb shell rm /data/system/gesture.key (for the pattern lock). Use Fastboot for reset (method 5), but this will delete all data. Contact the Xiaomi service center with proof of purchase for unlocking.
Will a developer reset remove root rights?
No, resetting the developer settings does not remove root (like Magisk). To completely remove the root rights, you need to: Open Magisk Manager and select Uninstall β†’ Complete Uninstall. Or flash the original boot.img through Fastboot. After that, you are recommended to perform a full reset (mode 4) to remove traces of modifications.
Can you roll back changes to the developer settings selectively?
Yes, but only through ADB. For example, to return the standard animation speed, do: adb shell settings put global. window_animation_scale 1.0 adb shell settings put global transition_animation_scale 1.0 adb shell settings put global animator_duration_scale 1.0 For other parameters, you need to know their exact names in the Settings Provider database. | grep"animation"

πŸ’‘

If problems persist after resetting the developer settings, the cause may be incorrect firmware or application conflict, in which case it is recommended to update MIUI to the latest version through Settings β†’ System Update.