Why Xiaomi is kicking out of apps and how to fix it: the full guide

Do you actively use a Xiaomi smartphone, but it constantly throws out of apps at random moments? MIUI โ€” From budget Redmi to flagship Xiaomi 13/14. Applications can close immediately after launch, after a few seconds, or when switching between tasks. In some cases, even a notification appears "Application stopped" for no apparent reason.

The reasons for this behavior range from aggressive memory optimization in firmware to software conflicts or hardware constraints. In this article, we will discuss all possible scenarios and solutions, including hidden settings. MIUI, You'll learn how to diagnose a problem, what system parameters affect the stability of applications, and what to do if standard methods don't work. 4/6 GB RAM, where the problem manifests itself most often.

1.Why Xiaomi shuts down apps spontaneously: the main reasons

Before you start fixing, it is important to understand what exactly provokes the closure of applications. MIUI This is why several mechanisms are responsible for:

  • ๐Ÿ”„ Memory optimization: The system forcibly closes the background processes to free up RAM. Especially relevant for devices with 4 GB RAM below.
  • ๐Ÿ› ๏ธ Firmware errors: Bugs in specific versions MIUI (for example, MIUI 14.0.5 for Redmi Note 11 had mass complaints about departures).
  • ๐Ÿ“ฑ Application Conflict: Some programs (especially those with Accessibility rights) may interfere with others.
  • ๐Ÿ”‹ Overheating or battery discharge: At temperatures above 45ยฐC or charge below 5%, the system begins to urgently close tasks.
  • ๐Ÿšซ Limitations MIUI: Built-in features like Battery and Performance or Privacy Protection block application activity.

Interesting fact: on devices with Qualcomm Snapdragon processors (for example, Xiaomi 12 Pro), the problem is less common than on MediaTek Helio (for example, Redmi). 10C). This is due to different approaches to memory management in chipsets.

โš ๏ธ Note: If departures occur only in one application (for example, in Telegram or Google Maps), the problem is more in the application itself than in the system.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 10/11/12
Xiaomi 11/12/13/14
POCO F3/F4/F5
Redmi 9/10/10A
Another model

2.Memory optimization: how to disable aggressive application closure

MIUI It's known for its hard-core RAM optimization, which often leads to spontaneous closure of applications, especially on devices with 4GB of RAM and below:

2.1. setting "Memory Extension" (Memory Extension)

In the new versions MIUI (starting MIUI 13) there is a memory extension feature that uses part of the internal storage as virtual RAM. However, it may conflict with background processes:

  1. Go to Settings โ†’ About the phone โ†’ Memory.
  2. Click on Memory Extension (or Memory Extension)
  3. Select Standard instead of Recommended or Extended.
  4. Reset the device.

If this option is not available, then your model does not support it (relevant for devices with 3 GB of RAM and old firmware).

Disable automatic memory cleaning

Hidden function MIUI Allows you to disable forced cleaning of RAM:

Settings โ†’ Special features โ†’ System Acceleration โ†’ Memory Cleanup โ†’ Disable

If this is not the case, use an alternative method:

  • ๐Ÿ“ฑ Install Activity Launcher from Google Play.
  • ๐Ÿ” Find it at com.miui.securitycenter โ†’ MemoryCleanerActivity.
  • โš™๏ธ Turn off the autoclean option.

โ˜‘๏ธ Memory optimization check

Done: 0 / 4

Manual control of background processes

For experienced users: you can manually increase the limit of background processes through ADB (debugging USB):

adb shell settings put global settings_enable_monitor_phy_memory 1


adb shell settings put global bg_process_limit 20

These commands increase the number of permitted background processes to 20 (default 8-12). Careful: over-magnification can lead to lags!

โš ๏ธ Attention: On devices with MIUI Global, some settings may be blocked, and in this case, the transition to MIUI EU Xiaomi.eu (but it requires unlocking the bootloader).

3. Battery and performance settings: hidden limitations

MIUI It's actively using the power-saving constraints that often cause apps to crash, and those settings are hidden deep in the menu, and they're not always obvious.

Disconnection of the โ€œAdaptive batteryโ€

The Adaptive Battery function analyzes the use of applications and limits their activity.

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery Settings
  2. Select the Adaptive Battery and turn it off.
  3. Do the same for optimizing the battery.

Then check if the applications have stopped closing in the background.

Resetting battery settings

If the previous method didnโ€™t help, try resetting your power settings:

โ†’ Battery and performance โ†’ More (โ‹ฎ) โ†’ Reset battery settings

This will bring all the restrictions back to factory values. Attention: once reset, you have to reconfigure the application exceptions.

3.3. setting "Privacy protection"

V MIUI 14 Privacy Protection feature appears that can block application activity:

  • ๐Ÿ”’ Go to Settings. โ†’ Confidentiality โ†’ Special access.
  • ๐Ÿ“ต Check the Background Limitation section and remove problematic apps from there.
  • ๐Ÿ”„ In AutoRun section, allow autorunning for the desired programs.
What to do if there is no "Special Access" item?
Some firmware uses this section called "Application Permissions" or "Advanced." If it's not, try searching through the search bar in the settings for "background."

Verification of โ€œProductivity modeโ€

V MIUI There is a hidden performance mode that can be enabled through ADB:

adb shell settings put global force_high_performance 1

This will disable all back-end activity restrictions, but it will increase battery consumption.

adb shell settings put global force_high_performance 0

๐Ÿ’ก

If you don't know me, ADB, use the app MIUI Hidden Settings from Google Play โ€“ it allows you to include hidden options without commands.

4. Application conflicts: how to find and resolve

Sometimes crashes are caused by conflicts between installed programs, especially for applications with accessibility rights or Device Admin (device administrator).

Checking applications with special rights

Some programs (such as Clean Master, DU Battery Saver, antiviruses, can interfere with other applications:

  1. Go to Settings โ†’ Special features โ†’ Installed services.
  2. Disable all suspicious applications (especially SEOs and antiviruses).
  3. Restart your phone and check if there is a problem.

4.2. Search for viruses and malware

Malware can cause the system to malfunction.

  • ๐Ÿ›ก๏ธ Use the built-in Security Scan (Settings) โ†’ Security โ†’ Scan).
  • ๐Ÿ” Install Malwarebytes or Dr.Web Light for deep check.
  • ๐Ÿ“ฆ Check the list of installed applications for suspicious (Settings) โ†’ Annexes โ†’ Application management).

Conflicts with MIUI-optimizers

Xiaomi preinstalles several system optimizers that may conflict with custom apps:

AnnexProblem.Decision
Security (Security)Blocks background activityDisable Battery Optimization in the Application Settings
Cleaner (Cleaning)Closes processes during cleaningDisable Auto Cleaning or Remove
Mi Video (Video)Conflicts with media playersLimit rights in Settings โ†’ Annexes
Game TurboLimits non-gaming applicationsDisable in Settings โ†’ Special. opportunities

If the problem has disappeared after disabling one of these applications, consider removing it (root rights or system programs will be required). ADB).

5. Hardware causes: overheating, battery, memory

If the software methods didn't work, the problem could be the hardware, and it's often the fault of:

  • ๐Ÿ”ฅ Overheating of the processor (especially on MediaTek Helio).
  • ๐Ÿ”‹ Battery wear (if capacity is below 70%).
  • ๐Ÿ’พ Faulty memory (damaged sectors of the drive).
  • ๐Ÿ”Œ Weak power supply (unoriginal charger).

Diagnosis of overheating

Install the app AIDA64 or CPU Monitor and check:

  • ๐ŸŒก๏ธ Processor temperature (norm: up to 40-45)ยฐC in plain, up to 60-70ยฐC under load).
  • โšก The load on CPU (If 80-100% for no apparent reason, a software failure is possible).

If the temperature is above 70ยฐC, try it:

  • Take off the case.
  • Clear the charger connector from dust.
  • Use a cooling stand (for games).

Checking the status of the battery

A worn-out battery can cause unstable power to the processor, leading to outages.

  1. Install AccuBattery and see Battery Health.
  2. If the capacity is below 70%, consider replacing the battery.
  3. Check if the battery is swelling (close pressure on the screen carefully - if there is a deflection, this is a dangerous sign).

โš ๏ธ Warning: If the phone turns off at 20 to 30 percent charge or doesn't hold a charge, the battery is the problem.

Memory testing

Damaged sectors of internal memory can cause applications to crash.

  1. Make a backup copy of the data.
  2. Install. SD Maid or Files by Google and run Storage Check.
  3. If errors are found, reset to factory settings (see next section).

๐Ÿ’ก

If the phone falls into a bootloop or crashes are accompanied by artifacts on the screen, it is a sign of hardware damage.

Extreme measures: resetting and flashing

If none of the previous methods worked, radical solutions remain:

  • ๐Ÿ”„ Reset to factory settings (deletes all data!).
  • ๐Ÿ“ฅ Fastboot Flashing (requires PC).
  • ๐Ÿ”“ Unlocking the loader + squashing (for experienced people).

Reset to factory settings

This will delete all data, but often solves software problems:

  1. Make a backup (Settings โ†’ About Phone โ†’ Backup).
  2. Go to Settings โ†’ About the phone โ†’ Reset settings.
  3. Choose to erase all data and confirm.

After reset, don't restore your data from the backup immediately -- first check if the problem has been resolved. Sometimes, the cause of the crashes is corrupted files in the backup.

6.2 Flashing through Fastboot

If the reset did not help, try to reflash the phone with the official firmware:

  1. Download the Mi Flash Tool and firmware for your model from the Xiaomi website.
  2. Transfer the phone to Fastboot mode (clip Power + Volume down).
  3. Connect to your PC and follow the instructions of the Mi Flash Tool.

This method will return the phone to a โ€œcleanโ€ state, but requires an unlocked bootloader (on new models, this takes up to 720 hours of waiting!).

Installation of custom firmware (for advanced)

If you are a firmware expert, you can try Xiaomi.eu or LineageOS:

  • โœ… Pros: No aggressive optimization MIUI, more customization.
  • โŒ Cons: loss of warranty, possible bugs.

Instructions for installation, look for in the forums 4PDA XDA-Developers for your model.

7 Prevention: How to prevent departures in the future

To prevent the problem from returning, follow these recommendations:

  • ๐Ÿ“ฑ Do not install optimizers and โ€œcleanersโ€ โ€“ they often conflict with the MIUI.
  • ๐Ÿ”„ Regularly update the firmware (but not through the OTA, A. Using Mi Flash if you have a problem).
  • ๐Ÿ“ด Donโ€™t use โ€œsaving modesโ€ all the time โ€“ they limit background activity.
  • ๐Ÿ”‹ Change the battery every 2-3 years โ€“ a worn-out battery causes unstable operation.
  • ๐Ÿ› ๏ธ Check your temperature periodically (especially during summer or games).

If you play frequently or use resource-intensive apps (like Genshin Impact or AutoCAD), consider buying a phone with 8.+ GB RAM - on such devices, the problem is less common.

๐Ÿ’ก

For models POCO F3/F4 redmi K40/K50 There are special firmware with disabled optimization MIUI. Look for them in thematic forums.

FAQ: Frequent questions about the departures of applications on Xiaomi

โ“ Why Xiaomi Closes Apps When Screen Locks?
This is a battery optimization mechanism. Turn it off for a specific application in Settings. โ†’ Battery โ†’ Selection of applications (set "No restrictionsยป).
โ“ How to know which application is causing conflict?
Use Safe Mode: Press the Power button โ†’ Safe Mode. Check if the problem is recurring (only system applications are running in this mode); if there are no departures, it is one of the apps you installed that is to blame.
โ“ Why After Updating MIUI applications started flying out?
Some updates contain bugs. Solutions: Reverse to the previous version via the Mi Flash Tool. Clear the cache in Settings โ†’ Warehouse โ†’ Wait for the next patch (usually bugs are fixed within 1-2 weeks).
โ“ Can you turn off optimization? MIUI rootless?
Yes, in part: Through ADB (The commands are above. MIUI Hidden Settings, moving to MIUI EU (It's less aggressive. Complete shutdown requires root or custom firmware.
โ“ What to do if nothing helps?
If you tried everything, but the problem remained: Contact Xiaomi Service Center (maybe the motherboard malfunctioned). Try another launcher (like Nova Launcher โ€” sometimes helps). Install Google Pixel Experience (Android-based custom firmware without optimizations). MIUI).