How to disable MIUI optimization on Xiaomi Redmi 9T: 5 proven ways

Optimizing MIUI in Xiaomi smartphones is a two-way sword, extending battery life and supposedly improving performance through aggressive background management, and causing app freezes, no notifications, and sudden reboots, and Redmi 9T owners are particularly likely to face these problems because of the specifics of the firmware for budget devices with a Snapdragon 662 processor.

In this article, we will discuss all possible methods of disabling optimization. MIUI β€” From standard settings to hidden commands through ADB You'll learn how to completely deactivate background optimization without root rights, what risks it poses to the battery, and how to reset it if something goes wrong. MIUI 12/13/14 Android-based 10/11/12.

Why MIUI Optimization is Interfering with Redmi 9T

The MIUI optimization system works on a process killer principle: it forcibly closes background tasks, restricts application access to the CPU/GPU, and blocks auto-run. On paper, this saves charge, but in practice leads to:

  • πŸ“± Disappearing notifications (especially in messengers such as Telegram or WhatsApp).
  • πŸ”„ Reboots when you start heavy games (Genshin Impact, Call of Duty Mobile).
  • ⚑ Laham interface after prolonged use (effect of "reflection" MIUI).
  • 🚫 Block background sync (e.g. Google Photos stops loading media).

On the Redmi 9T, the problem is exacerbated by 4GB of RAM and weak optimization of the Snapdragon 662 under MIUI. The system mistakenly perceives normal application operation as "overload" and begins aggressively "cleaning" them. For example, YouTube Music can stop playing after 5 minutes in the background, although the battery is 100% charged.

πŸ“Š What problems are there due to optimization? MIUI You've come across?
Notifications are missing
Lags and friezes
Self-involved reboots
Fast battery discharge
Other

Method 1: Disabling optimization through standard settings

The safest method is to use the built-in MIUI tools. It does not require developer rights or PC connectivity, but is limited (does not disable deep kernel optimization).

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select a problem app (such as Telegram).
  3. Put it on the battery. β†’ Optimizing the battery.
  4. Choose Unlimited (or Unoptimized in older versions of MIUI).
  5. Go back and turn on AutoRun and Background Activity.

For mass blackout:

  1. Go to Settings β†’ Battery and Performance β†’ Battery Optimization.
  2. Click on the three dots in the upper right corner β†’ Show all applications.
  3. Select Everything in the filter and tap Not Optimize for everyone.

β˜‘οΈ Preparing for optimisation shutdown

Done: 0 / 4

⚠️ After turning off optimization for 20+ Redmi applications 9T It can start to discharge 15-25% faster, and we recommend turning off optimization only for mission-critical programs (messengers, navigators, music players).

Method 2: ADB commands for deep optimisation disabling

If standard settings don’t work, use ADB (Android Debug Bridge), which disables system restrictions that are not available through the GUI.

Before we start:

  • πŸ–₯️ Install Platform Tools on PC.
  • πŸ”Œ Turn on Debugging. USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times tap the version β†’ Return to the Additional Settings β†’ For developers).
  • πŸ”’ Allow debugging for your PC on the first connection.

Open the command line (cmd) in the folder with the platform-tools and enter alternately:

adb shell


su -c "cmd appops set com.miui.powerkeeper RUN_ANY_IN_BACKGROUND allow"




su -c "cmd device_idle disable"




su -c "settings put global hidden_api_policy 1"

To disable optimization for a particular application (e.g. Telegram):

adb shell dumpsys deviceidle whitelist +org.telegram.messenger
adb shell pm grant com.miui.powerkeeper android.permission.WRITE_SECURE_SETTINGS

This will temporarily give the Battery and Performance app extended rights.-->

ADB Team TeamThe effectRisks.
device_idle disableTurns off Doze (deep sleep) modeIncreased battery consumption by 30-40%
hidden_api_policy 1Unlocks Hidden APIsMay disrupt the system services
dumpsys deviceidle whitelistAdding the app to the whitelistThe app will work in the background always

⚠️ Attention: Teams device_idle disable hidden_api_policy They reset after they reboot. To make the changes permanent, you need to create a script in the computer. /data/adb/service.d/ (root).

Method 3: Edit the build.prop file (for advanced)

The build.prop file contains Android system properties, including optimization options, and editing it allows you to globally disable MIUI restrictions, but requires caution.

Steps:

  1. Get root access (for example, through Magisk).
  2. Use a root-enabled file manager (such as Root Explorer).
  3. Open the file /system/build.prop and add at the end:
Disabling MIUI optimization


ro.miui.optimization_disabled=1




ro.miui.power_keeper=0




persist.sys.miui.optimization=0

Save the file, restart the device. To check, type in ADB:

adb shell getprop ro.miui.optimization_disabled

The answer has to come back: 1.

What if the phone doesn’t boot after editing build.prop?
If you miss the syntax or delete critical lines, the phone may freeze on the MIUI logo. In this case: 1. Load to Fastboot (press Power + Vol Down). 2. Sweat the original build.prop through the command: fastboot flash system.img 3. Or reset via Mi Flash Tool (loss of data!).

Method 4: Using Optimizer Applications (without root)

If you don't want to mess with ADB or build.prop, you can use third-party utilities, which automate the process of disabling optimization through the available APIs.

Top.-3 supplant 9T:

  • πŸ› οΈ MIUI Optimization Disabler (disables com.miui.powerkeeper system services).
  • ⚑ Battery Guru (manages background processes without root).
  • πŸ”§ Greenify (alternative optimization without aggressive process killing).

Example of MIUI Optimization Disabler:

  1. Download APK with XDA Developers.
  2. Launch the application and grant ADB permissions (instructions will appear).
  3. Press Disable MIUI Optimization and restart your phone.

πŸ’‘

Applications like Greenify don’t turn MIUI optimization off completely, but instead replace it with a smarter alternative, which is safer for the battery, but less effective for solving lag problems.

Method 5: Transition to custom firmware (radical solution)

If nothing helps, there is an extreme option - to flash Redmi 9T on custom firmware without MIUI.

  • πŸ“± LineageOS (Pure Android without Xiaomi Optimization).
  • πŸ”„ Pixel Experience (firmware with Google Pixel features).
  • ⚑ ArrowOS (optimized for weak devices).

Advantages:

  • βœ… No aggressive optimization MIUI.
  • βœ… Regular security updates.
  • βœ… Possibility of fine tuning of the core.

Disadvantages:

  • ❌ Loss of warranty (if the phone is under warranty).
  • ❌ Risk of "bricking" in case of firmware error.
  • ❌ Certain functions MIUI (The Game Turbo will not work.

Instructions for LineageOS firmware:

  1. Unlock the bootloader through the Mi Unlock Tool.
  2. Install TWRP Recovery for Redmi 9T (lime)
  3. Download LineageOS and GApps (like NikGapps).
  4. You can use TWRP (Wipe β†’ Install β†’ Reboot).

⚠️ Note: Custom firmware voids Xiaomi warranty. Before the procedure, check firmware compatibility with the lime model (not to be confused with Redmi 9 Power, which has a different code!).

How to Get MIUI Optimization Back

If you turn off the optimization, if the phone starts to run too fast, or if you have new lags, you can get it back.

  • πŸ”„ Through Settings: Return all applications to Optimize in Settings β†’ Battery.
  • πŸ–₯️ Through ADB: Follow the commands: adb shell su -c "cmd device_idle enable" adb shell su -c "settings put global hidden_api_policy 0"
  • πŸ“² Resetting settings: Settings β†’ Additionally. β†’ Resetting settings β†’ Reset the battery settings.

To return to the factory optimization settings:

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Select Reset all settings (without deleting data).
  3. After the reboot, MIUI will automatically restore the default parameters of the battery.

FAQ: Frequent questions about disabling MIUI optimization

❓ Can you turn off optimization without root rights?
Yes, through ADB or standard settings. However, some commands (e.g. build.prop editing) require root. Without root, you can only turn off optimization for individual applications, but not for the entire system.
❓ How much battery life will fall after optimisation is turned off?
Depends on the number of applications on the whitelist. 1–3 applications: +5–10% For the expense. 10+ applications: +20–30% With a full shutdown (device_idle disable: before 40% We recommend that you disable optimization only for critical programs.
❓ Will notifications in messengers work after optimizing is disabled?
Yes, but you need to do more: Enable AutoRun for the messenger. Add it to the Whitelist in the battery settings. Disable Adaptive battery in Settings β†’ Battery β†’ Battery settings.
❓ Can you turn off optimization for games only?
Yes, through Settings β†’ Special Permissions β†’ Game Turbo. Add the game to the list and turn off Battery Optimization for it. Also, MIUI 14 has the option Performance in the game settings - select High mode.
❓ Why After the Optimization Disconnection, the Phone Became More Laying?
Possible causes: Too many apps in the background (overloading 4GB of RAM). Conflict with Game Turbo or Security App. Wrongly edited build.prop. Solution: return battery settings to factory and turn off optimization gradually, testing stability.