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.
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:
- Go to Settings โ About the phone โ Memory.
- Click on Memory Extension (or Memory Extension)
- Select Standard instead of Recommended or Extended.
- 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 โ DisableIf 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
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 20These 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.
- Go to Settings โ Battery and Performance โ Battery Settings
- Select the Adaptive Battery and turn it off.
- 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 settingsThis 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?
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 1This 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:
- Go to Settings โ Special features โ Installed services.
- Disable all suspicious applications (especially SEOs and antiviruses).
- 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:
| Annex | Problem. | Decision |
|---|---|---|
| Security (Security) | Blocks background activity | Disable Battery Optimization in the Application Settings |
| Cleaner (Cleaning) | Closes processes during cleaning | Disable Auto Cleaning or Remove |
| Mi Video (Video) | Conflicts with media players | Limit rights in Settings โ Annexes |
| Game Turbo | Limits non-gaming applications | Disable 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.
- Install AccuBattery and see Battery Health.
- If the capacity is below 70%, consider replacing the battery.
- 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.
- Make a backup copy of the data.
- Install. SD Maid or Files by Google and run Storage Check.
- 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:
- Make a backup (Settings โ About Phone โ Backup).
- Go to Settings โ About the phone โ Reset settings.
- 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:
- Download the Mi Flash Tool and firmware for your model from the Xiaomi website.
- Transfer the phone to Fastboot mode (clip Power + Volume down).
- 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.