How to completely disable the developer mode on Xiaomi Redmi 9: 3 proven ways

Why the developer mode can interfere with the smartphone

Developer mode on Xiaomi Redmi 9 is a hidden feature designed to test and debug applications. It gives access to advanced system settings that are not normally available. However, many users activate it accidentally (for example, trying to speed up the interface animation or enable debugging over USB), and then face unexpected problems.

In addition, some MIUI functions (e.g., automatic memory optimization) are turned off, which can cause a smartphone to run in an unstable way, such as spontaneous reboots, errors in applications, or even accelerated battery drain. If you notice that the phone is performing worse after activating this mode, it should be deactivated.

In this article, we will discuss three official ways to disable (including resetting settings and using the ADB), And we also explain why sometimes the mode doesn't disappear from the menu even after it's deactivated. MIUI 12–14.

πŸ“Š You accidentally turned on the developer mode?
Yeah, when you set up. USB-debugging
Yeah, trying to speed up the phone.
No, I've been consciously.
I don't remember how it happened.

Method 1: Disconnecting through the basic MIUI settings

The easiest method is to deactivate the developer mode in the settings menu, which works if you haven’t made critical changes to system settings (for example, you haven’t blocked permissions for MIUI applications).

Instructions:

  • πŸ“± Open the Settings app on your Redmi 9.
  • πŸ” Scroll down and select About Phone (or About Device in New Versions) MIUI).
  • πŸ”„ Tap 7-10 times on the item Version MIUI, until the notification β€œYou are a developer!” appears (this is to unlock the menu, even if the mode is already active).
  • πŸ”™ Go back to the main Settings menu and find a new section. β†’ For developers (or Advanced settings) β†’ Developer mode).
  • πŸ”˜ At the top of the screen, translate the developer mode slider to the off position..
  • πŸ”„ Reboot your phone to make the changes take effect.

If you leave the Developer section on the menu after that, don't panic. It's normal MIUI behavior, because the partition will disappear only after you completely reset or update your firmware, but any changes made to that mode will be reset.

Remember the current settings USB-Debugging (if used)|Check if the option "Do not turn off the screen" is enabled"|Disable all active debugging sessions (e.g., in Android Studio)|Make a backup copy of important data

-->

Method 2: Reset all settings to factory

If the developer mode does not turn off via the menu (for example, due to a failure in MIUI or blocking system permissions), a soft reset will help. This method does not delete user data (photos, applications), but returns all system parameters to the state out of the box.

Important: Before resetting, disable your Mi Account if it is tied to your phone, otherwise, after the reboot, the device may require you to enter a password from your Xiaomi account.

Step-by-step:

  • βš™οΈ Go to Settings. β†’ The phone. β†’ Resetting settings.
  • πŸ”„ Select Resetting (not to be confused with Resetting to Factory, which deletes all data!).
  • πŸ” Enter a pattern lock or PIN-code, if requested.
  • βœ… Confirm the action by clicking Reset Settings.
  • πŸ”„ After the reboot, check the Settings menu – the Developer section should disappear.
What if the developer mode is still active after resetting?
If the Developer For section is left after reset, it means that the activation flag is saved in the system, in which case only a full reset to the factory (with deletion of data) or updating the firmware through Fastboot will help.

⚠️ Note: If you used the developer mode to unlock the bootloader (OEM Unlock, resetting settings may result in the device being locked.Before the procedure, make sure the bootloader is locked back (in the Developer Menu). β†’ Unlocking OEM).

Method 3: Disconnect via ADB (for power users)

If standard methods don’t work, you can turn off developer mode using Android Debug Bridge (ADB), which requires a computer and basic command line knowledge, but is guaranteed to drop all developer flags.

What you need:

  • πŸ’» Computer with installed drivers Xiaomi Redmi 9 and package ADB Tools.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ” Included debugging by USB (If it's been disabled, this method won't work).

Instructions:

  1. Connect Redmi 9 to your computer and allow debugging over USB (a request will appear on the phone screen).
  2. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell settings put global development_settings_enabled 0


adb shell settings put global adb_enabled 0

  1. Reboot your phone with the command:
adb reboot

Once you reboot, the Developer section should disappear. If not, follow the additional command:

adb shell pm clear com.android.settings

πŸ’‘

If ADB doesn’t recognize the device, try reinstalling Xiaomi drivers manually through Windows or using MiFlash for automatic installation.

Why can’t the developer’s mode be turned off?

Sometimes users are faced with a situation where the developer mode remains active despite all the manipulations, the reasons can be different:

Problem.Reason.Decision
The section for developers does not disappear after disconnectionMIUI saves the activation flag in system settingsPerform a complete reset or firmware update
USB debugging does not work after disabling the modeReset permits for ADBRe-enable mode and allow debugging
Phone asks for password from Mi Account after resetXiaomi account was tied to the deviceUntie the account before resetting or restore access
ADB does not see the deviceNo drivers or port locksReinstall drivers, use the original cable

A critical feature of Redmi 9 is that if you unlock the bootloader through the developer mode, re-locking it can cause all data to be reset, in which case you need to block the bootloader back through Fastboot before you turn off the developer mode.

⚠️ Attention: On some firmware MIUI (For example, global versions for Europe, the Developer section may reappear after the system update. To avoid this, disable developer mode before upgrading and reset the cache via Recovery.

What do you do if nothing helps?

If none of these methods work, radical measures remain:

  1. Update your firmware through Recovery. Download the latest version of MIUI for Redmi 9 from Xiaomi’s official website, move update.zip to the phone’s root directory, and update via Settings β†’ Software Update β†’ Select a firmware file.
  2. Fastboot flashing. This is an extreme method that requires an unlocked bootloader. Use MiFlash and the official firmware for your model. All data will be deleted!
  3. If the phone is warranty, it is better not to risk self-manipulation, and Xiaomi service center will be able to drop the flags of the developer without losing data.

πŸ’‘

Before radical actions (reset or flash), always back up your data through Mi Cloud or third-party applications like Titanium Backup (requires root).

How to avoid accidentally turning on a developer mode in the future

To avoid facing problems again, follow simple rules:

  • 🚫 Do not press the Version repeatedly. MIUI needlessly.
  • πŸ”’ If the developer mode is needed temporarily (for example, for debugging), disable it immediately after use.
  • πŸ“± Check the Settings menu regularly for unknown partitions.
  • πŸ”„ Before selling or transferring your phone to another person, make a complete reset.

It is also useful to disable the automatic appearance of the section For developers after the updates.

  1. Activate the developer mode (if it is turned off).
  2. Go to For Developers β†’ Configuration MIUI.
  3. Turn off the option to Show Developer Mode.

FAQ: Frequent questions about disabling developer mode

Can I turn off the developer mode without restarting the phone?
No, the changes only take effect when you reboot, and if you turn off the mode, but the section is still on the menu, that's OK, it disappears after the reboot or reset.
Why did some applications stop working after the developer mode was turned off?
You may have changed permissions for applications in the Developer Menu (e.g., you turned off background activity). Once the mode is deactivated, all permissions are reset to standard permissions. To return functionality, you will have to manually configure permissions again in Settings β†’ Applications.
Will the reset delete my photos and contacts?
No, a soft reset (described in Method 2) saves user data. However, a full factory reset will delete everything, including photos, messages and installed apps. Always back up before radical actions!
Can I turn off the developer mode via the engineering menu (#4636##)?
No, the Engineering Menu is not related to the developer mode, it is designed to diagnose the network and battery. To deactivate the developer mode, use only the methods described in this article.
Why does the developer mode turn on itself after the MIUI update?
This is a feature of some versions of MIUI: after major updates, the system can automatically activate the developer mode if it was turned on earlier. To avoid this, turn off the mode before updating and reset the cache through Recovery.