You run your favorite app on a Xiaomi smartphone, but it suddenly shuts down after a few seconds, or does the game crash on the boot screen and the messenger stop responding when it sends a message? MIUI โ From budget Redmi to flagship Xiaomi 13, 80% of the time the reasons are not in the โcurve handsโ of the user, but in the features of system optimization or software conflicts.
In this article, we will discuss 10 of the most common reasons why applications on Xiaomi turn off without warning, from a banal lack of RAM to hidden firmware errors. You will receive not only diagnostic methods, but also step-by-step instructions with illustrations (for key steps), checklists and compatibility tables. MIUI 14 and newer, where background process control algorithms have become more aggressive.
We warn you right away: if your application only crashes on a specific account (for example, in games with a link to Google Play Games), the problem may lie in the server part - only a call in support of the developer will help.
1: Aggressive Optimization of MIUI: Why the System Kills Applications
The main "chip" of firmware MIUI โ It's hard to control background processes. By default, it kills applications that are not:
- ๐ Consume more than 5% of battery power in the background (threshold can be changed).
- โณ Not used by the user for more than 12 hours (Setting up Auto Clean in Battery section).
- ๐ Have a high cleaning priority (e.g. social media or instant messengers in "saving modeยป).
On models Xiaomi/Redmi/Poco s 4 GB of RAM and less, this feature is particularly active. For example, users of Redmi Note 10 Often faced with the fact that Telegram or WhatsApp close when switching to another application โ even if the settings are disabled optimization.
4 GB of RAM or less|6 GB of RAM|8 GB and more|I don't know.-->
How to check that the problem is optimization:
- Open Settings โ Applications โ Application Management.
- Select the โflyingโ app and slip the Battery.
- See the status in the section Management of background processes - if there is Limited, the system nails it.
Open the application settings โ Battery|Select โNo restrictionsยป|Insert โSuppression of the vehicleยป|Add to โSecure Applicationsยป-->
It's important. MIUI 13+ There's a hidden function called Deep Optimization that ignores manual settings:
Settings โ About phone โ MIUI version (stamp 5 times to unlock)
Settings โ Additional โ Special features โ Deep optimization (off)Lack of RAM: how to check and free RAM
If your Xiaomi has less than 6GB of RAM installed, the system has to tightly control memory.
- ๐ฎ A heavy game is launched (e.g. Genshin Impact or a heavy game). PUBG Mobile), which takes up to 3 GB of RAM.
- ๐ธ Camera's on in mode. 4K@60fps (consume 1.5 GB).
- ๐ 10 open simultaneously+ tab in Chrome or Mi Browser.
You can check the current memory status through Settings. โ The phone. โ Status of the system โ Memory: If it's less than 500MB free, it will force applications to close.
| Xiaomi model | Minimum RAM for stable operation | Recommended Free Memory Reserve |
|---|---|---|
| Redmi 9/9A/9C (3/4 GB) | 1.5 GB | 800MB |
| Redmi Note 10/11 (4/6 GB) | 2GB | 1GB |
| Xiaomi 12/13 (8/12 GB) | 3GB | 1.5 GB |
| Poco F4/F5 (6/8 GB) | 2.5 GB | 1.2 GB |
How to release RAM without restarting:
- Close all applications through Recent Tasks (swipe up with a delay).
- Open Security. โ Optimization โ Cleaning up memory.
- Turn off window animation in Settings โ Additionally. โ Special opportunities โ Remove animations (saves up to 200 MB).
๐ก
If a game or application requires a lot of memory, close all background processes through Settings before starting. โ Annexes โ Select the application โ Forced to stop.
3. Container conflicts MIUI: bugs of themes and widgets
One of Xiaomi's unique features is its custom themes support through the Mi Theme Store, but many themes (especially from third-party developers) contain code errors that lead to app dyeing.
- ๐จ Apps fly out when changing wallpaper or applying a new theme.
- ๐ฑ The system restarts when you try to open Settings โ Screen.
- ๐ Widgets on the home screen appear as empty rectangles.
The problem most often occurs on devices with MIUI 12.5โ14, Where is the new Mi Theme Engine? 2.0. For example, the theme โDark Mode Proโ from the developer @miui_themes Known for the bug with the departure of Google Play Store.
How to diagnose:
- Switch to a standard theme (Settings) โ Topics โ Standard).
- Check if the app is crashing now. If it's not, it's a problem.
- Remove the latest installed theme through the Mi Theme Store โ My subjects.
List of problematic topics MIUI (2023โ2026)
If the problem is in the widget:
โ ๏ธ Warning! Third-party widgets (such as weather or cryptocurrency) may contain malicious code that not only causes crashes, but also steals data. Install widgets only from the official Mi Store or Google Play with a rating of 4.5+.
4. App cache and data errors: when cleaning helps
Cache and temporary application files become contaminated over time, leading to crashes, such as:
- ๐ Facebook or Instagram crashes when scrolling the tape (damaged cache of media files).
- ๐ต Spotify or Yandex Music closes when playing tracks (audio cache error).
- ๐บ๏ธ Google Maps or 2GIS is damaged when building a route (Cache of maps is damaged).
Xiaomi has two critical folders that are often a source of problems:
- /data/data//cache โ cache.
- /data/data//files โ User data (for example, account settings).
How to properly clean the cache:
- Go to Settings โ Applications โ Application Management.
- Select a problem app and tap the Warehouse.
- Click Clear Cache (do not delete data unless you want to lose settings!).
- Reboot the phone.
๐ก
If cleaning the cache didnโt help, try to delete the application data (Clear all data), but note: this will reset all settings and you will log out of the account.
For advanced users: If the application after cleaning the cache still crashes, check the integrity of its folder through ADB:
adb shell ls -la /data/data/com.example.app
adb shell rm -rf /data/data/com.example.app/cache/*Replace com.example.app with a real application package (you can find out through the App Inspector in Google Play).
5. Conflicts with Google Services and MIUI
Xiaomi often has conflicts between Google services and built-in features MIUI. For example:
- ๐ Google Play Services are automatically updated, but the new version is incompatible with the current firmware.
- ๐ฑ Applications using Google Mobile Services (GMS), They fly out because of restrictions. MIUI background.
- ๐ Google Play Protect blocks some Chinese apps (e.g. Mi Video or Mi Browser).
A typical scenario: after updating Google Play Store stop working banking applications (SberBank Online, Tinkoff) or games with Google Play Games. MIUI Modifies some system libraries, resulting in incompatibility.
How to check for conflict:
- Open the Settings. โ Annexes โ Application management โ Google Play Services.
- Check the version in the Application Information section.
- Compare it to the latest stable version on the APKMirror website.
| MIUI version | Maximum Compatible Version GMS | Recommended action |
|---|---|---|
| MIUI 12.5 | 22.30.14 | Roll back through ADB |
| MIUI 13 | 22.48.14 | Update to 23.10.16 |
| MIUI 14 | 23.30.13 | Install beta version |
Decisions:
- ๐ Reverse Google Play Services to Compatible Version via Adb Install --downgrade.
- ๐ ๏ธ Turn on the debugging. USB and execute the command: adb shell pm grant com.google.android.gms android.permission.REQUEST_INSTALL_PACKAGES
- ๐ Turn off Google Play Protect in Play Store settings (Play Protect section).
6.Firmware problems: bugs MIUI and how to get around
Even the official firmware MIUI Sometimes they contain critical bugs that cause applications to crash:
- ๐ V MIUI 14.0.4 for Redmi Note 12 was a bug with the camera crash when shooting in the film HDR.
- ๐ V MIUI 13.0.8 for Xiaomi 11T Apps are painted when using Bluetooth headphones.
- ๐ก V MIUI 12.5.7 for Poco X3 Google Chrome shuts down when switching to mobile data.
How to know if the firmware is to blame:
- Check out the MIUI version in Settings โ About Phone โ MIUI version.
- Find your model on the Xiaomi forum EU or 4PDA โ There are usually lists of known bugs.
- If the bug is confirmed, check if the update is released (manually via Settings). โ Updating the system).
What to do if the bug is not fixed:
- ๐ Reverse to the previous version MIUI via Fastboot (instruction below).
- ๐ ๏ธ Install custom firmware (e.g. Xiaomi.eu or Pixel Experience).
- ๐ง Use Magisk to install a bug fixer (e.g., bug fixer, "MIUI Bug Fix for Bluetooth problems).
Instructions for rolling back firmware through Fastboot
For models with MIUI 14+: If apps crash after the update, try resetting app-only settings (without data loss):
Settings โ Additional โ Resetting settings โ Resetting application settings โ7. Viruses and Malware: Hidden Threats
Malware applications can not only steal data, but also cause crashes of system processes.
- ๐ฆ Trojan Android.Triada Modifies System Libraries, Which Leads to Banking Applications.
- ๐ต๏ธโโ๏ธ Cerberus Spyware Conflicts with Google Play Services, Causing Their Emergency Cancel.
- ๐ฃ Fake โoptimizersโ (e.g., โClean Master Proโ) kill background processes, including the right ones.
Signs of infection:
- Apps fly out even after resetting settings.
- B Settings โ The battery is not known to occur (e.g. com.android.system.xxx).
- The phone warms and discharges faster than usual.
How to check and delete:
- Install Malwarebytes or Dr.Web Light and scan the system.
- Check the list of installed applications in Settings โ Apps โ Remove suspicious ones (especially with Administrator rights).
- Open the Settings. โ Special facilities โ Device administrators and disable unknown services.
โ ๏ธ Attention! If you find malware with Administrator rights and you can't remove it, don't try to reset the settings through recovery. Some viruses (e.g. xHelper) recover from reset, and only a full Fastboot flashing will help.
8 Hardware problems: when the "iron" is to blame
If all the software methods have been tried, but the applications keep crashing, the problem could be in the hardware.
- ๐ Worn-out battery (capacity) < 70%) leads to sudden voltage drawdowns, which is why the processor does not have time to process tasks.
- ๐ฅ Overheating of the chipset (especially on Snapdragon) 7xx/8xx) causes trottling and forced closure of applications.
- ๐พ Damaged flash memory (bad blocks) leads to errors in reading application data.
How to diagnose:
- Check the battery status: use the AccuBattery app or enter the code ##4636## โ Battery information. If the wear level > 30% battery needs to be replaced.
- Check the temperature: set it. CPU Monitor and run the problem app if the chipset temperature is above 70.ยฐC, we need a heat paste replacement.
- Check Memory: Perform the Test through MemTest86 (requires an unlocked loader).
| Symptoms. | Probable cause | Decision |
|---|---|---|
| Apps fly out when charging | Faulty power controller | Replacement of charging board |
| Crashing when using the camera | Camera plume damaged. | Replacement of the plume |
| Departures when connecting to Wi-Fi | Faulty Wi-Fi module | Seeding or replacement of the module |
What to do:
- ๐ง If the battery is a problem, replace it (cost for Redmi) ~1500โ2500 โฝ, Xiaomi 13 ~3500โ4500 โฝ).
- ๐ง If the phone overheats, clean the dust (at the service center) or replace the heat paste.
- ๐พ If memory is to blame, back up and reflash your phone (may need a memory chip replacement).
๐ก
If apps only crash when charging is connected, the problem is almost always the power controller. Don't ignore this - a faulty controller can cause the battery to catch fire!