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

MIUI optimization is a built-in mechanism that should extend battery life and speed up the system by limiting background processes. But in practice, many Xiaomi Redmi users face the opposite effect: apps suddenly close, notifications come with a delay, and games and messengers slow down, especially on the budget models of the Redmi Note or POCO series, where aggressive optimization literally โ€œstranglesโ€ multitasking.

In this article, weโ€™ll look at how to disable MIUI optimization on any Xiaomi Redmi smartphone, from the old MIUI 12 models to the new ones with HyperOS. Youโ€™ll learn not only the standard ways through settings, but also the hidden tricks of using ADB, and what you risk by completely deactivating system restrictions. Importantly, some methods require unlocking the bootloader or root rights โ€” weโ€™ll explain in detail when this is necessary and when you can do without radical measures.

Why MIUI Optimization is Interfering with Smartphone Performance

On paper, the MIUI battery optimization feature looks useful: it closes down unnecessary processes, reduces energy consumption and prevents overheating. But in fact, Xiaomi algorithms often mistook active applications for "background garbage."

  • ๐Ÿ“ฑ Messengers (Telegram, WhatsApp) stop syncing messages in real time.
  • ๐ŸŽฎ Games (Genshin Impact, PUBG Mobile) depart in 5-10 minutes in the background.
  • ๐Ÿ”” Notification from VK, Instagram or banking apps are delayed by 1-2 hours.
  • ๐Ÿ”„ Background music (Spotify, YouTube Music) is interrupted when the screen is locked.

To make matters worse, MIUI prevents users from flexibly adjusting optimization rules, and even if you manually add an application to the No Limits list, the system may ignore it in a few days, especially on MIUI 13/14 firmware and new HyperOS devices, where the algorithms have become even more aggressive.

๐Ÿ“Š What is the problem with optimization? MIUI You've come across?
Apps close in the background
Notifications are coming with a delay
Games are slowing down
The battery goes down fast.
No problem.

Another nuance: optimization works differently on models with different processors, such as the Redmi Note 10 Pro (Snapdragon 732G), the background restrictions are less stringent than the Redmi 9A (Helio G25), where the system saves resources on literally everything, due to the fact that Xiaomi adapts the algorithms to the hardware capabilities of each device.

Method 1: Disable optimization through MIUI settings (without root)

The safest and easiest method is to use the built-in MIUI tools, which are suitable for most users and do not require technical skills, but keep in mind that you can not completely turn off optimization in this way, you can only reduce its impact on individual applications.

The following instructions are used for MIUI 12-14 and HyperOS:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select an app that slows down or closes down (like Telegram).
  3. Tapping on Battery Limits (or Energy Consumption in newer versions)
  4. Choose the option without restrictions.
  5. Go back and open AutoRun โ€“ turn on the permission.
  6. In the Additional (or Permissions) section, activate the Block in the background option.

Is the battery restriction for the application disabled?|Auto-start is on|Is the blockage activated in the background?|Reboot your smartphone after the changes-->

This method works for most applications, but has limitations:

  • โš ๏ธ Some system processes (e.g., com.miui.securitycenter) will still be optimized.
  • โš ๏ธ After updating MIUI settings may reset.
  • โš ๏ธ On HyperOS devices, the path to settings may differ (see table below).
Firmware versionThe Way to Constraint SettingsFeatures
MIUI 12/13Settings โ†’ Applications โ†’ Application Management โ†’ [Application] โ†’ Battery LimitationsThe โ€œBlocking in the backgroundโ€ option may not be available.
MIUI 14Settings โ†’ Applications โ†’ Permissions โ†’ AutorunYou need to separately configure autostart and background activity
HyperOSSettings โ†’ Applications โ†’ Energy consumption โ†’ [Appendix]The interface is simplified, some options are hidden

๐Ÿ’ก

If the application is closed after the changes, try clearing its cache in Settings โ†’ Apps โ†’ [Application] โ†’ Storage โ†’ Clear the cache.

Method 2: Using ADB to Deeply Disable Optimization

If manual settings don't work, you can use ADB (Android Debug Bridge) commands, which disables system-level optimization but requires connecting your smartphone to your computer, and it works even on a locked bootloader (without root).

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Xiaomi and ADB-tools drivers.
  • ๐Ÿ“ฑ Included debugging by USB (Settings โ†’ The phone. โ†’ Version. MIUI (tap 7 times) โ†’ Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ USB-TypeC Cable (preferably original).

Step-by-step:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (cmd) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices must appear serial number of your Redmi.
  4. Execute the command to disable battery optimization: adb shell dumpsys deviceidle force-idle
  5. Then type: adb shell settings put global hidden_api_policy 1 It unlocks the hidden. API, which MIUI optimize.
  6. Reboot your smartphone: adb reboot

Important: After the reboot, the optimization will be turned off globally, but this can lead to an increase in battery consumption by 10-15%.

adb shell dumpsys deviceidle unforce
What if the ADB canโ€™t see the device?
If the adb device command doesnโ€™t show your Redmi, try: 1. Install Xiaomi drivers manually through Windows Device Manager. 2. Switch USB Connection Mode to File Transfer (MTP). 3. Use another cable or USB port. 4. Disable antivirus (it can block ADB).

Method 3: Disconnection through the engineering menu (hidden method)

MIUI has a hidden engineering menu where you can turn off some system optimizations, a method less well known but works on most Redmi devices (except the newest ones on HyperOS), plus you don't need root or ADB.

How to open the engineering menu:

  1. Open the Phone app.
  2. Enter the code ##4636##
  3. Select the Battery Information item.
  4. Slip on three dots in the upper right corner and select Advanced Settings (if you have an option).
  5. Find the MIUI Optimization option and turn it off.

Some firmware may have different paths, such as MIUI 13 for Redmi Note 11.

  1. Enter the code ##284##.
  2. Go to Test Mode โ†’ Battery.
  3. Disable MIUI Optimization and Background Process Limit.

โš ๏ธ Attention: changes in the engineering menu can lead to unstable operation of the system. If after switching off the optimization, the smartphone begins to overheat or discharge quickly, return the settings to place.

๐Ÿ’ก

The engineering menu is a powerful tool, but it's dangerous. Don't change the parameters that you don't know what they're supposed to do.

Method 4: Installation of a custom core or firmware (for advanced)

If you're willing to take drastic measures, you can completely remove MIUI optimization by installing a custom kernel (like FrancoKernel) or alternative firmware (LineageOS, Pixel Experience), which gives you maximum freedom, but requires:

  • ๐Ÿ”“ Unlocked bootloader (bootloader).
  • ๐Ÿ› ๏ธ Established TWRP ornamental.
  • ๐Ÿ“ฅ Compatible firmware for your Redmi model.

The advantages of this approach:

  • โœ… Completely disabling all restrictions MIUI.
  • โœ… Ability to fine-tune the kernel (e.g., change the scheduler) CPU).
  • โœ… Updates directly from the community (without waiting for official patches from Xiaomi).

Cons:

  • โŒ Loss of warranty (if the bootloader is unlocked).
  • โŒ Risk of "bricking" the device in case of error.
  • โŒ Certain functions MIUI (The Game Turbo may not work.

If you do, follow the instructions for your model on the XDA Developers or 4PDA forums. For example, the Redmi Note 10 Pro features Pixel Experience, which offers pure Android without MIUI optimizations.

Method 5: Automation with Tasker or MacroDroid

For those who donโ€™t want to dig into the settings manually, thereโ€™s a solution using automating apps like Tasker or MacroDroid that lets you create rules that will automatically disable optimization for your chosen apps.

Example of settings in MacroDroid:

  1. Install MacroDroid from Google Play.
  2. Create a new macro command with a trigger When you launch an application (select the one you want, for example, WhatsApp).
  3. Add the action Execute the ADB command with the following text: dumpsys deviceidle whitelist +com.whatsapp
  4. Save the macro and activate it.

This method allows you to manage optimization flexibly without manual intervention, for example, you can adjust the rules so that:

  • ๐ŸŽต Musical Apps (Spotify, VK Music) not closed in the background.
  • ๐ŸŽฎ Games (Genshin Impact, Call of Duty Mobile) get the maximum resources.
  • ๐Ÿ“ง Mail and messengers check new messages every 5 minutes.

โš ๏ธ Attention: Private use of teams ADB It can lead to conflicts with system processes through automation.

What happens if you completely disable MIUI optimization?

Turning off optimization completely gives you freedom, but it also has a downside.

PlusesCons
โœ… Apps don't close in the backgroundโŒ Increased battery consumption by 15โ€“30%
โœ… Notifications come in instantlyโŒ Possible overheating with prolonged load
โœ… Quick switching between tasksโŒ Slowing down the system when opening 10+ applications
โœ… Stable operation of games and streaming servicesโŒ Accelerated battery wear (with frequent overheating)

Our recommendations:

  • ๐Ÿ”‹ If the battery is critical to you (for example, you are often on the road), turn off optimization selectively only for the most important applications.
  • ๐Ÿ”ฅ On the flagship models (Redmi) K60, POCO F5) The effects are less noticeable thanks to a powerful processor and improved cooling.
  • ๐Ÿ“‰ On budget smartphones (Redmi) 10A, Redmi 9C) A complete optimisation disabling can make the device virtually unusable.

If after switching off the optimization, the smartphone began to warm up strongly or discharge quickly, try:

  • ๐Ÿ”„ Recover some of the limitations for non-critical applications.
  • โš™๏ธ Install a battery monitoring app (e.g. AccuBattery) and monitor problem processes.
  • โ„๏ธ Use the power saving mode manually when necessary.

FAQ: Frequent questions about MIUI optimization

โ“ Why After Updating MIUI Optimization is back on?
Xiaomi resets some settings when major updates (e.g., from MIUI 13 to MIUI 14) to avoid this, after the update: Check battery settings for critical applications. Repeat ADB commands if you've used them before. Install MacroDroid to automatically restore the rules.
โ“ Can you turn off optimization without a computer?
Yes, but with limitations. ADB Or root you can: Manually setup through Settings โ†’ Applications (mode 1) using an engineering menu (mode 3) with applications like Greenify (but they also have limitations on how to use the app. MIUI). It will still be necessary to completely disconnect ADB root.
โ“ Is it harmful to the smartphone to constantly disable optimization?
Short-term, no, but the long-term effects depend on the model: On smartphones with a battery of 5000 mAh + (Redmi Note 12 Pro+), the impact is minimal; on devices with a weak processor (Redmi 9A), lags and overheating are possible; on all smartphones, battery wear will accelerate (10-20% faster in 1-2 years); We recommend turning off optimization selectively and monitor temperature through AIDA64.
โ“ Does this work on HyperOS?
HyperOS (new firmware from Xiaomi) uses the same optimization mechanisms, but with a changed interface. Methods 1, 2 and 5 work unchanged. Method 3 (engineering menu) may require another code: ##6484## Method 4 (custom firmware) is not officially supported yet, as HyperOS is just beginning to roll out.
โ“ How to return optimization, if the smartphone began to slow down?
To restore standard settings: For manual settings: return to Settings โ†’ Battery Limitation Applications. For ADB: follow the command: adb shell dumpsys deviceidle unforce For engineering menu: re-enable MIUI Optimization. For custom firmware: return to the official MIUI via the Mi Flash Tool. If problems persist, reset to factory settings (Settings โ†’ Additional โ†’ Restore and Reset).