Developer mode on Xiaomi Redmi 9 is a powerful tool for fine-tuning the system, but not all users need it all the time. After activation through 7 clicks on the build number, this section remains in the settings menu, taking up space and potentially creating risks of accidental change of critical parameters. Especially relevant problem for those who bought used device with already enabled options for developers or experimented with settings. MIUI independently.
In this article, we will examine not only the standard method of deactivation by resetting the number of clicks, but also alternative methods β from resetting settings to manually editing configuration files (for advanced users), special attention will be paid to the hidden nuances of MIUI 12/13/14, where the logic of disabling may differ from the standard Android procedure.
Why the Developer Mode May Not Be Shut Down in the Standard Way
On the Redmi 9 (M2003J15SC/M2003J15SS), the developer mode often sticks to the menu even after the tap counter is reset, and the reasons are rooted in the features of the MIUI shell:
- π System cache: After update MIUI Old settings can be saved in cache, restoring the developer mode.
- π± Firmware from third-party developers: Custom ROM (Xiaomi.eu or PixelExperience can ignore standard shutdown triggers.
- π§ Manual editing build.prop: If previously changed settings through adb or root, the system may βthinkβ that the mode is activated at the kernel level.
- π Automatic Enablement: Some applications (such as Tasker or Shizuku) can re-activate the mode when you start.
Before you start taking drastic measures (like factory resets), check if your case is due to one of these reasons, for example, if you recently installed Magisk or modified APKs, the likelihood of sticking to the mode increases significantly.
Method 1: Standard shutdown through resetting the press counter
This is a basic method that works 70% of the time on MIUI stock firmware.
- Open the Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row (you should be notified βYou are already a developer!β).
- Return to the main settings menu β the Developer section should disappear.
If the section is left behind, the system has "remembered" your status, in which case only one of the alternative methods described below will help.
Close all applications that use ADB|Turn it off. USB-debugging|Check the version. MIUI (relevant to 12.5+)|Make a backup copy of important data-->
Method 2: Reset settings (without data loss)
If the standard method doesn't work, the next step is a partial reset. On Redmi 9, it's like this:
- Go to Settings β Memory β Reset settings.
- Select Reset Network Settings, Apps, and Passwords (not to be confused with Full Reset!).
- Confirm the action. After the reboot, check for the Developer section.
This method removes:
- πΆ Wi-Fi and mobile network settings
- π Account passwords (except for Mi Account)
- βοΈ User-generated application settings
- π± Data about connected devices (Bluetooth, NFC)
β οΈ Note: If you use Xiaomi Cloud for sync, some services may need to be re-authorized after reset (e.g. Mi Fit or Mi Home).
Method 3: Complete reset to factory settings (radical method)
This is an extreme measure to resort to if previous methods have not worked. On Redmi 9, a complete reset is done in two ways:
| Method | Advantages | Deficiencies | Implementation time |
|---|---|---|---|
| Through settings | Simplicity, does not require additional tools | It may not work if the system is damaged. | 5-10 minutes |
| Through Recovery. | It works even when MIUI fails. | Requires a reset to Recovery Mode | 10-15 minutes |
| Through Fastboot. | Maximum βpurityβ of discharge | Need a PC and USB cable, the risk of blocking the bootloader | 15-20 minutes |
For reset via Recovery:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- In the recovery menu, select Wipe Data β Wipe All Data (manage by volume buttons, confirmation by power button).
- After reset, select Reboot.
β οΈ Note: On some Xiaomi.eu firmware, a reset via recovery may result in partition loss /data. Before the procedure, make sure you have a backup copy. TWRP Or OrangeFox.
What if the developer mode reappears after the reset?
Method 4: Manual editing settings.db (for advanced)
This method requires root rights or access through ADB. It's suitable if you're confident in your actions and ready for potential risks. The idea is to manually change the value of the parameter responsible for the status of the developer.
Instructions:
- Connect Redmi 9 to your PC and activate it USB-debugging.
- Open the command line and type in: adb shell su sqlite3 /data/data/com.android.providers.settings/databases/settings.db update global set value=0 where name='development_settings_enabled'; update global set value=0 where name='adb_enabled';.exit
- Reset the device.
If you donβt have root, you can try an alternative way through ADB without superuser rights:
adb shell settings put global development_settings_enabled 0
adb shell settings put global adb_enabled 0β οΈ Note: Incorrect editing of settings.db can cause system settings to fail. Before changing, make a backup of the file with the command: adb pull /data/data/com.android.providers.settings/databases/settings.db
- Go to Settings β Applications β Application Management.
- Find the Settings app (cog icon).
- Select Warehouse. β Clear the cache.
-->
Method 5: Firmware rollback (if the mode appeared after the update)
Sometimes the developer mode sticks after updating MIUI via OTA. This is due to bugs in the firmware versions 12.5.4.0-12.5.7.0 for Redmi 9.
For this:
- Download the archive with the desired version of MIUI from the official Xiaomi website (choose Stable for your model).
- Rename the file to update.zip and place it in the phoneβs root directory.
- Go to Settings β About the phone β System update.
- Click on the three dots in the upper right corner and select Select the firmware file.
- Please specify the path to update.zip and confirm the installation.
After the rollback, check for the Developer section.If it's gone but you want to return to a new version of MIUI, upgrade via OTA in small steps (e.g., first 12.5.3.0, then 12.5.5.0) to avoid a repeat bug.
π‘
Running back firmware is the only reliable way to remove the βstuckβ developer mode, if it appeared after the MIUI update via OTA.
Frequent mistakes and their solutions
Even with the instructions, Redmi 9 users are faced with typical problems.
| Mistake. | Reason. | Decision |
|---|---|---|
| Developer mode disappeared, but after the reboot appeared again | Automatic activation via ADB or third-party applications | Check the list of installed programs for Tasker, Shizuku or ADB AppControl |
| Recovery Resets E:unknown command error | Recovery section damaged or unofficial TWRP installed | Fastboot Fastboot Recovery Team Fastboot Flash Recovery recovery.img |
| After editing settings.db, settings are reset | Lack of permissions or file blocked by SELinux | Run setenforce 0 before editing (requires root) |
| There is no item on the menu About the phone version MIUI | Custom firmware is installed (for example, LineageOS) | Look for the Build Number in the About Device section. |
If your problem doesnβt make it to this list, check the error log through ADB Logcat. To do this, connect your phone to your PC and type in:
adb logcat | find "developer"