MIUI optimization is an integrated feature in Xiaomi smartphones that should improve performance and save battery power. However, in practice, many users face the opposite effect: apps spontaneously close, notifications disappear, and background processes are blocked without warning, especially on models with 4/64 GB of memory, where aggressive optimization leads to constant reboots of active applications.
In this article, we will discuss all available methods of disabling optimization. MIUI โ From standard settings to hidden developer settings, you'll learn how to keep multitasking without losing performance, what constraints the system imposes, and what to do if settings are reset after an update. ADB-We'll start with the simplest solutions that don't require technical skills.
Why MIUI Optimization is Interfering with Smartphone Performance
MIUI algorithms were originally designed for weak, low-RAM devices (such as the Redmi 4A or Redmi Note 5) that force background processes to close, limit data synchronization, and block application auto-start. In todayโs 8+GB RAM smartphones, this aggressive optimization often harms user experience:
- ๐ฑ Applications are unloaded from memory after 5-10 minutes of inactivity (even messengers like Telegram or WhatsApp).
- ๐ Notifications are delayed or not coming at all (especially in Viber, Skype).
- ๐ Background tasks (such as uploading files to uTorrent or syncing Google Photos) are interrupted.
- ๐ฎ Games and heavy apps (Genshin Impact, Lightroom) are slowed down due to constant reboot in memory.
The manufacturer claims that this is necessary to save battery, but in practice the difference in autonomy is only 3-7%, while the inconvenience is mass. Moreover, after the updates to MIUI 12/13/14 optimization became even more aggressive, and standard settings (Settings โ Applications โ AutoRun permissions) ceased to work for many applications.
Method 1: Disable optimization through MIUI settings (without root)
The easiest method is to use the built-in system tools. It is suitable for most models (Redmi Note 10/11/12, POCO X3/X4/X5, Xiaomi 12/13/14) and does not require additional programs.
Step 1: Disabling Auto-clean Memory
- Go to Settings โ About Phone and tap the MIUI version 7 times to activate the developer mode.
- Return to the main settings menu and open Additional โ for developers.
- Find the option to Do not save active applications and disable it.
- In the same menu, deactivate Background Process Limitation (set the Standard Limit value).
Step 2: Set up autostart and background activity
- ๐ง Open the Settings. โ Annexes โ Application management.
- ๐ Select the desired application (for example, Telegram) โ Auto-start โ turn on.
- ๐ In the same menu, activate Background Activity and Show Notifications.
- ๐ซ For critical applications (messaging, banking) disable Battery Optimization in their settings.
Disable "Do not save active applications" | Set "Standard Limit" processes |Enable autorun for key applications |Disable battery optimization for instant messengers |Reboot phone for application changes-->
Method limitations: These settings do not cancel deep MIUI optimization completely.The system will still close applications if the free memory becomes less than 300-500 MB.
Method 2: Use of the ADB-commands for deep optimisation disabling
If standard settings donโt work, you can use ADB (Android Debug Bridge), which doesnโt require root rights, but requires connecting your smartphone to your computer. It works on all versions of MIUI (including MIUI 14 on Android 13/14).
Preparation:
- Download Googleโs Platform Tools and unpack the archive.
- Enable USB Debugging in Settings โ For Developers.
- Connect the phone to the PC and confirm the debugging permission.
Commands to disable optimization:
adb shell settings put global hidden_api_policy 1
adb shell settings put global hidden_api_policy_pre_p_apps 1
adb shell settings put global hidden_api_policy_p_apps 1
adb shell am broadcast -a android.intent.action.BOOT_COMPLETEDThese commands unlock the hidden APIs that MIUI uses to force applications to close.
- ๐ฒ Applications will be stored longer in memory.
- ๐ Notifications will be received without delay.
- โก Background tasks (such as downloading files) will not be interrupted.
Importantly, after the MIUI update, these settings will reset. They will have to be reused.
๐ก
If ADB-The first time the commands didn't work, try restarting the phone and re-entering them. โ For developers included the option to Allow debugging by USB (safe-haven).
Method 3: Change settings through the parameter editor (for advanced)
For users willing to take more drastic measures, there is a method of editing system parameters through the Activity Launcher or ADB application. This allows you to disable kernel-level optimization, but requires caution.
Instructions:
- Install Activity Launcher from Google Play.
- Open the app and find Settings (com.android.settings).
- In the list of activities, select.Settings$DevelopmentSettingsActivity.
- Scroll down and find hidden options: Force allow apps on external โ turn on. Disable HW overlays โ turn on (improves performance in games). Background process limit โ set No limit.
These options remove MIUI's limitations on background processes and graphics loads, but beware: some options can increase battery consumption by 10 to 15 percent.
What if Activity Launcher doesnโt show hidden settings?
Method 4: Using Magisk and Disable MIUI Optimization
For users with an unlocked bootloader and Magisk installed, there is a radical solution - the Disable MIUI Optimization module. It completely disables all background restrictions, but requires root access.
How to determine:
- Install Magisk (see instructions for your model on XDA Developers).
- Download the Disable MIUI Optimization module (.zip file).
- In Magisk, go to Modules โ Install from storage and select the downloaded file.
- Reboot the phone.
The installation process shall include:
- Unlock the bootloader through the Mi Unlock Tool.
- Installation of custom recavery (TWRP or OrangeFox).
- The firmware of the selected OS and Gapps (if you need Google services).
โ ๏ธ Warning: Wrong firmware can turn your phone into a brick:
- Backup your phone via TWRP or Mi Cloud.
- Check firmware compatibility with your model (e.g. Redmi Note 11 Pro)+ 5G โ Redmi Note 11 Pro 5G).
- Charge your phone at least 60%.
Frequent problems and their solutions
Even after optimizing is disabled, users are faced with nuances, and here are the most common situations and ways to fix them:
1.Settings reset after MIUI update
Solution: Use ADB-commands or Tasker to automatically apply settings after rebooting:
am broadcast -a android.intent.action.BOOT_COMPLETED
settings put global hidden_api_policy 12. apps are still closed (for example, YouTube Music or Google Maps)
Solution: Further disable battery optimization for these applications manually:
- Go to Settings โ Applications โ Application Management.
- Select the problem application โ Battery โ No restrictions.
3. Increased battery consumption
Solution: Install Greenify (with Xposed or Magisk) to selectively hibernate unnecessary applications, saving charge without affecting critical processes.
๐ก
Disabling MIUI optimization is always a trade-off between performance and autonomy, and the best option is to disable optimization only for key applications (messengers, navigators), leaving it for the background.