How to remove application protection on Xiaomi: all ways of 2026

Application protection in the firmware MIUI is one of the most controversial features among Xiaomi users. On the one hand, it blocks the background activity of programs, saving battery power and traffic, on the other hand, it often interferes with the work of messengers, banking applications and even system utilities. If you are faced with the fact that notifications come with a delay, applications spontaneously close or do not start at all, the problem is likely to lie in this feature.

In this article, we will discuss all the current ways to disable application protection on Xiaomi, Redmi, POCO and Black Shark smartphones, from standard MIUI settings to hidden commands via ADB. Also explain the risks of a complete disabling of protection and how to minimize negative consequences. The instructions are tested on the latest firmware versions (including HyperOS) and are suitable for most models released after 2019.

What is Application Protection in MIUI and Why Disable It

Application Protection (or Battery Optimization in global versions) is a part of MIUI's energy-saving system that limits the background activity of programs. It operates in three modes by default:

  • ๐Ÿ”‹ No restrictions โ€“ the application can work in the background without restrictions (uses more battery).
  • โšก Optimized โ€“ Background activity is limited, but notifications come (standard mode for most applications).
  • ๐Ÿšซ Blocked โ€“ the application can not work in the background, notifications do not come, autorun is disabled.

The problem is that MIUI often automatically puts applications into Locked mode, especially after updates or device reboots.

  • ๐Ÿ’ฌ Messengers (Telegram, WhatsApp, Viber โ€“ notifications come with a delay).
  • ๐Ÿฆ Banking applications (SberBank, Tinkoff โ€“ no push notifications about payments come).
  • ๐ŸŽต Music services (Spotify, Yandex Music โ€“ tracks stop when the screen is blocked).
  • ๐Ÿ“Š Fitness trackers (Google Fit, Mi Fitness) โ€“ data is not synchronized).

Disabling protection allows applications to return to full operation, but has the opposite side: battery consumption increases (10-30% depending on the number of active programs) and increases the load on the processor. On weak devices (for example, Redmi 9A or POCO M3) this can lead to slowdowns.

๐Ÿ“Š What Is Your Problem With App Protection?
Notifications are coming with a delay
Applications are closed spontaneously
background tasks (music, tracking) do not work
Another problem.

Method 1: Disable protection through standard MIUI settings

The easiest and safest method is to use built-in firmware tools, which is suitable for most users and does not require super-user rights or a PC connection.

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

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want (such as Telegram).
  3. Tap on the item Protection of the application (or Battery saver in global versions).
  4. Select the No Limits mode.
  5. Go back and turn on the switches: ๐Ÿ”„ Auto-start (allows start-up when the device is turned on). ๐Ÿ“ฑ Secondary launch (allows you to work in the background after closing).

For convenience, you can use a batch disconnect:

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery Management.
  2. Select Apps (or App Battery Saver)
  3. Check the necessary programs and click Without restrictions.

Step-by-step:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Turn off application-specific optimization (replace com.example.app with its batch name, for example, org.telegram.messenger): adb shell dumpsys deviceidle whitelist +com.example.app
  5. To completely disable battery optimization for all applications, do: adb shell settings put global hidden_api_policy 1 adb shell dumpsys deviceidle force-idle

After completing the commands, restart your smartphone. The changes will persist even after the MIUI updates.

How to find out the package name of the application?
Install the App Inspector app on your smartphone (available on Google Play). Open it, find the app you want in the list, and copy the Package Name field value (e.g., com.whatsapp for WhatsApp).

โš ๏ธ Attention: Teams hidden_api_policy If the device starts to brake or overheat after application, perform a reset command: adb shell settings put global settings hidden_api_policy 0

Method 3: Disable MIUI Optimized (for power users)

MIUI Optimized is a deep integration of energy-saving algorithms into firmware, which allows maximum application freedom, but can lead to a deterioration in autonomy by 20-40% and unstable operation of some system services.

Instructions:

  1. Install a file manager with access to root folders (for example, Solid Explorer or FX File Explorer) on your smartphone.
  2. Cross the path: /system/etc/security/cacerts/ Find the file. miui_optimized.der (or miui_optimized.pem newer).
  3. Rename the file to miui_optimized.der.bak (Add the.bak extension).
  4. Reset the device.

Alternative method through ADB:

adb shell su -c "mount -o rw,remount /system"


adb shell su -c "mv /system/etc/security/cacerts/miui_optimized.der /system/etc/security/cacerts/miui_optimized.der.bak"

After disabling MIUI Optimized:

  • โœ… Apps will stop closing in the background.
  • โœ… Notifications will be sent instantly.
  • โŒ Increased battery consumption (especially against the background).
  • โŒ Lags can occur when multitasking.

๐Ÿ’ก

Before disabling MIUI Optimized, check to see if the antivirus (such as Avast or Kaspersky) blocks the background activity of applications, and sometimes the problem lies in it, not in the firmware.

Table: Comparison of methods of disabling protection

MethodDifficultyPC requiredRoot is required.EfficiencyRisks.
Standard settingsโญโŒ No.โŒ No.Average (reset after updates)Minimum
ADB-teamโญโญโญโœ… Yes.โŒ No.High (stable result)Medium (possible lags)
Disconnect MIUI Optimizedโญโญโญโญโœ… Yes.โœ… Partially.MaximumHigh (overheating, rapid discharge)
Use of Magisk modulesโญโญโญโญโญโœ… Yes.โœ… Yes.Maximum (flexible configuration)High (risk "brick")

What to do if nothing helps: alternative solutions

If none of these methods worked, the problem could be deeper, such as firmware conflict, cache errors, or hardware constraints.

  • ๐Ÿ”„ Cleaning the system cache: Go to Settings โ†’ Memory. โ†’ Clean. Select Deep Clean and confirm the action. Reset the device.

Resetting application settings:

Settings โ†’ Applications โ†’ Application Management โ†’ โ‹ฎ (menu) โ†’ Reset application settings

Attention:

Installation of custom firmware:

AOSP-based firmware (such as LineageOS or Pixel Experience) lacks aggressive MIUI optimization, with the downside being the loss of features like IR Blaster or Game Turbo.

Use of Magisk modules:

Modules like Disable MIUI Battery Optimization or Universal GMS Doze allow you to flexibly adjust background activity. Root is required.

If the problem is only seen in one application (such as VK or AliExpress), check:

  • ๐Ÿ”— Updates to Google Play or App Gallery.
  • ๐Ÿ“‹ Permissions to Settings โ†’ Annexes โ†’ [Name of the annex] โ†’ Permissions (must be included Notifications, Auto Start, Background Work).
  • ๐Ÿšซ Availability in the blacklist of traffic savings (Settings) โ†’ SIM-maps and mobile networks โ†’ Saving traffic).

๐Ÿ’ก

Before installing custom firmware or obtaining root rights, back up your data via Mi Cloud or TWRP. On some models (for example, Xiaomi 12T), unlocking the bootloader resets all data!

Risks of disabling application protection and how to minimize them

A complete shutdown of MIUIโ€™s energy-saving functions can lead to the following problems:

  • ๐Ÿ”‹ Increased battery consumption: 15-40% depending on the number of active applications, especially on devices with a small battery capacity (Redmi Note 10, POCO X3 NFC).
  • ๐Ÿ”ฅ Overheating: Constant background activity loads the processor, which can cause trottling (decreased performance) or even emergency shutdown.
  • ๐Ÿข Slowing down: on devices with 4-6 GB of RAM (for example, Redmi 9) simultaneous operation 10+ applications in the background will lead to lags.
  • ๐Ÿ›ก๏ธ Security vulnerability: Some malware uses background activity to collect data.