How to disable the blocking of applications on Xiaomi: all ways of 2026

Xiaomi’s MIUI-based smartphones actively block the background of apps to save battery power and data. But often this β€œcare” turns into a headache: notifications don’t come, messengers don’t update, and games suddenly close, which MIUI developers call β€œoptimization” and users call arbitrary locking.

In this article, we will discuss all the current ways to disable restrictions for individual applications or completely. 12/13, POCO F5/X5, Xiaomi 13/14 and other models with MIUI 12–14 (Important: some settings are hidden, you need to activate them through the Internet ##4636##* ore-menu.

We warn you right away: after disabling the locks, battery consumption can increase by 10-25% (depending on the number of applications unlocked), but you will get stable operation of messengers, trackers and other background services.

1. Standard method: autostart and background settings

The easiest method is to use the built-in MIUI options, which is suitable for 90% of users and does not require super-user rights (root).

  • πŸ“± Open the Settings. β†’ Annexes β†’ Application management
  • πŸ” Find the right app (such as Telegram or WhatsApp) and tap it.
  • πŸ”„ Turn on switches: Autostart (allows you to start when you turn on your phone) Background activity (allows you to work in the background) Show notifications (if they are blocked)
  • πŸ“Ά For instant messengers, additionally activate Without data restrictions (in the section "Mobile traffic")

These settings are reset after the MIUI update – check them every 1-2 months. If the Background activity option is missing, then the application is already in the system whitelist.

Auto-start on.|Background activity permitted|Notifications are not blocked|No restrictions on mobile data-->

⚠️ Note: On some firmware (for example, MIUI 14 China) Background activity hidden. To see it, first allow AutoRun, then restart your phone.

2. Secret menu: MIUI engineering settings

If standard methods don't work, try the engineering menu, which gives you access to hidden battery optimization options.

  1. Open the Phone app and type the combination: ##4636## Some models (POCO F4, Redmi K50) may require a code: ##284###
  2. Select Battery Information (Battery Information)
  3. Slip on the three dots in the top right corner and select Battery Settings.
  4. Find the Application Optimization section and disable it for the right programs

This menu also includes:

  • πŸ”‹ See the actual wear of the battery (Battery Health indicator)
  • πŸ“Š See the statistics of battery consumption by application (more detailed than in standard settings)
  • ⚑ Turn on/off Adaptive Charging (if it interferes with)
What to do if the engineering menu does not open?
Some of the Chinese (especially Chinese) have access to ##4636## Alternative methods are blocked: 1. Install Activity Launcher from Google Play and search through it com.android.settings/.TestingSettings 2. Use it. ADB-Command: Adb shell am start -n com.android.settings/.TestingSettings 3. Some models (Black Shark) have codes ##6484## or ##64663##

3. ADB-Teams: Complete optimisation disabling

For advanced users, there is a way to completely disable MIUI optimization via Android Debug Bridge (ADB).

  • βœ… Allows background work for all applications
  • βœ… Disables the forced closure of processes
  • ⚠️ Increases battery consumption by 15-30%
  • ⚠️ It can cause overheating during heavy use.

Instructions for Windows/macOS/Linux:

  1. Download ADB Tools and unpack it into a folder
  2. Turn on USB debugging in the developer settings (Settings β†’ About Phone β†’ MIUI version – tap 7 times)
  3. Connect your phone to your PC and type in the command line: Adb devices (your device should appear)
  4. Execute the command to disable optimization: adb shell dumpsys deviceidle disable
  5. For individual applications, use: adb shell dumpsys battery unplug &&adb shell am force-stop com.miui.powerkeeper

After performing these commands, restart the phone. The effect is saved until the next reset or MIUI update.

Yeah, I do a lot.|I tried once, but it didn't work out.|No, I'm afraid to break something.|What is it? ADB?-->

4. Optimizer applications: third-party solutions

If you don't want to go through the settings, you can use specialized tools that automate the unlocking process and offer additional features.

AnnexFunctionsNeed root?Reference
MIUI OptimizerDisables background restrictions, speeds up animation, cleans cache❌ No.Google Play
AutoStart ManagerManages auto-run, shows hidden system processes❌ No.Google Play
GreenifyHybernation of unnecessary applications (works in the opposite direction – defrosting the necessary ones)βœ… Yes (for full functionality)Google Play
Battery GuruMonitoring of consumption, management of optimization by application❌ No.Google Play

The advantage of these applications is the visual interface and the ability to roll back changes. For example, in MIUI Optimizer you can create a profile with settings for games, instant messengers and work applications separately.

⚠️ Note: Apps like Greenify with root rights may conflict with MIUI Optimization (built-in optimization service) If the phone starts to brake after installation, turn off MIUI Optimization in the Developer Settings.

5. Editing system files (for advanced)

This method requires super-user rights (root) and is only suitable for power users, and allows you to permanently disable optimization by editing system configuration files.

What needs to be done:

  1. Get root rights (for example, through Magisk)
  2. Install a file manager with /system access (e.g. Root Explorer)
  3. Go to /system/etc/security/cipher/ and find the config.xml file.
  4. Find a line: <bool name="miui_optimization" value="true" /> and replace true with false
  5. Save the file, set rights to 644 and restart the phone

An alternative way is to disable optimization services via Magisk:

  • Download Disable MIUI Optimization for Magisk
  • Install it through the module manager
  • Reset the device

πŸ’‘

Before editing system files, backup your phone with TWRP or OrangeFox Recovery to help you recover your phone if something goes wrong.

6. Features for different Xiaomi models

Some Xiaomi models have unique nuances in lock management.

Model/SeriesFeatures of blockingDecision
POCO F3/F4/F5Aggressive closing games after 5-10 minutes in the backgroundTurn off Game Turbo β†’ Battery Saver
Redmi Note 11/12Block notifications from Viber and SkypeAdd to Security β†’ Notifications β†’ Priority
Xiaomi 13/14 ProBackground Limitation for Google Services (Geolocation Issues)Allow unlimited access to data in settings SIM-map
Black Shark 5/6Blocking background processes during gamesShut down Shark Space β†’ Battery Optimization

On Chinese firmware (China ROM), some settings may be called differently. For example, instead of Auto Run it will (control autorun). Use a translator or be guided by icons.

7 What to do if nothing helps?

If you have tried all the methods, but the applications are blocked anyway, check:

  • πŸ”‹ Power Saving Mode: Turn it off in Settings β†’ Battery β†’ Battery mode. Even Balanced mode can block background processes.
  • πŸ›‘οΈ Antivirus MIUI: In safety β†’ Scanning add the app to exceptions.
  • πŸ“Ά Operator restrictions: Some mobile operators (such as MTS or Beeline) block background traffic. APN.
  • πŸ”„ Update MIUI: In newer versions of firmware, lock bugs are often fixed. Check the updates in Settings β†’ The phone. β†’ Updating the system.

If the problem persists, try resetting (but backup first!).

  1. Go to Settings β†’ About the phone β†’ Reset settings
  2. Select Reset All Settings (does not delete files, only settings)
  3. After the reboot, set up autostart and background work again

πŸ’‘

On Chinese firmware (China ROM), resetting can return the language pack to Chinese. To avoid this, install a lot of the language pack via MIUI bootloader before resetting.

FAQ: Frequent questions about locks on Xiaomi

Why does Xiaomi block apps even with optimisation turned off?
MIUI has several layers of locks: System layer – controlled through battery settings; Security layer – MIUI antivirus can block suspicious processes; Operator layer – mobile networks sometimes restrict background traffic; To ensure that all restrictions are removed, you need to disable optimization at all levels (see methods above).
How do I check if MIUI is blocking my app?
There are two ways: through Settings β†’ Battery β†’ Battery Use – if the application consumes 0% per day, it is blocked. Through ADB: adb shell dumpsys battery unplug adb shell am force-stop com.miui.powerkeeper Then check the logcat.
Can I turn off the lock without root?
Yes, in 90% of cases, superuser rights are not required. ADB-commands (mode 3) Install MIUI Optimizer (method 4) Root will only be required to edit system files (method 5) or if you want to completely remove the optimization service.
After the optimization was turned off, the phone ran out quickly. What do you do?
This is normal β€” background processes now consume more power. To balance: Limit background work only for critical applications (messengers, trackers). Use Greenify to hibernate unnecessary applications. Turn on the Adaptive Battery in the developer settings (it is softer than standard optimization). Reduce Background processes in the developer settings to 2-3. If the discharge is too fast (more than 10% per hour), check the applications for viruses - some cryptocurrency miners disguise themselves as system processes.
Will WhatsApp/Telegram work without background activity?
Technically yes, but with reservations: WhatsApp will only receive messages when the app is open (notifications will come with a delay). Telegram may not sync chats in the background, but notifications will come via Google Cloud Messaging (GCM). Voice calls in both messengers will not work without a background. For stable operation of messengers, be sure to allow: Autorun Background activity Show notifications Unlimited access to mobile data