Why Xiaomi apps spontaneously close โ€“ a full analysis of the reasons and solutions

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:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the โ€œflyingโ€ app and slip the Battery.
  3. 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 modelMinimum RAM for stable operationRecommended Free Memory Reserve
Redmi 9/9A/9C (3/4 GB)1.5 GB800MB
Redmi Note 10/11 (4/6 GB)2GB1GB
Xiaomi 12/13 (8/12 GB)3GB1.5 GB
Poco F4/F5 (6/8 GB)2.5 GB1.2 GB

How to release RAM without restarting:

  1. Close all applications through Recent Tasks (swipe up with a delay).
  2. Open Security. โ†’ Optimization โ†’ Cleaning up memory.
  3. 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:

  1. Switch to a standard theme (Settings) โ†’ Topics โ†’ Standard).
  2. Check if the app is crashing now. If it's not, it's a problem.
  3. Remove the latest installed theme through the Mi Theme Store โ†’ My subjects.
List of problematic topics MIUI (2023โ€“2026)
Modified system font themes (e.g., "iOS 16 Font") often cause Chrome and YouTube to crash. Lottie-based animation themes can conflict with TikTok and Instagram (rendering error). Dark themes from uncertified developers sometimes block Google Services from running.

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:

  1. /data/data//cache โ€” cache.
  2. /data/data//files โ€” User data (for example, account settings).

How to properly clean the cache:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select a problem app and tap the Warehouse.
  3. Click Clear Cache (do not delete data unless you want to lose settings!).
  4. 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:

  1. Open the Settings. โ†’ Annexes โ†’ Application management โ†’ Google Play Services.
  2. Check the version in the Application Information section.
  3. Compare it to the latest stable version on the APKMirror website.
MIUI versionMaximum Compatible Version GMSRecommended action
MIUI 12.522.30.14Roll back through ADB
MIUI 1322.48.14Update to 23.10.16
MIUI 1423.30.13Install 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:

  1. Check out the MIUI version in Settings โ†’ About Phone โ†’ MIUI version.
  2. Find your model on the Xiaomi forum EU or 4PDA โ€” There are usually lists of known bugs.
  3. 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
1. Download the correct version MIUI From miuirom.xiaomi.com. 2. Unlock the bootloader via Mi Unlock Tool. 3. Connect the phone to your PC in Fastboot mode (press the Power). + Volโˆ’). 4. execute the command: fastboot flash all [file name].tgz โš ๏ธ All data will be deleted!

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:

  1. Install Malwarebytes or Dr.Web Light and scan the system.
  2. Check the list of installed applications in Settings โ†’ Apps โ€“ Remove suspicious ones (especially with Administrator rights).
  3. 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:

  1. 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.
  2. 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.
  3. Check Memory: Perform the Test through MemTest86 (requires an unlocked loader).
Symptoms.Probable causeDecision
Apps fly out when chargingFaulty power controllerReplacement of charging board
Crashing when using the cameraCamera plume damaged.Replacement of the plume
Departures when connecting to Wi-FiFaulty Wi-Fi moduleSeeding 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!

FAQ: Frequent questions about the departures of applications on Xiaomi

โ“ Why Xiaomi is crashing games, but the usual apps are working fine?
Games require more RAM and CPU resources. On 4GB of RAM devices (like Redmi 9), the system forcibly closes games to free up memory for system processes. Solutions: Close all background applications before starting the game. Turn off window animation in settings. Use the Game Turbo (built-in) MIUI play-play).
โ“ After updating MIUI Banking apps have stopped working?
This is a typical problem due to conflict. MIUI Google Play Services and Google Play Services. Try: Reverse Google Play Services to version 22.30.14 (for MIUI 12.5โ€“13). Enable Debugging on USB Adb shell settings put global settings hidden_api_policy 1 Install a banking application through APK from the official bank website (not from Google Play).
โ“ The app only goes out on mobile data, it works on Wi-Fi?
Probable reasons: Limiting background traffic in settings SIM-maps (Settings) โ†’ SIM-maps and mobile networks โ†’ Data restriction. Blocking IP operator (for example, MegaFon or Beeline can block traffic for some applications). APN (Access points. Try resetting the settings. APN: Settings โ†’ SIM-maps and mobile networks โ†’ Access points (APN) โ†’ Reset to factory
โ“ Can you turn off optimization? MIUI fully?
You canโ€™t completely disable optimization, but you can weaken its impact: Add the application to Secure Applications (Settings) โ†’ Battery โ†’ Secure applications. Disable Deep Optimization (see Section 1). Install Magisk and Disable module MIUI Optimization". โš ๏ธ After switching off the optimization, battery consumption will increase by 15-25%.
โ“ How to return application data after reset?
If you have cleared the application data (Clear all data), you can restore the settings: MIUI (Settings โ†’ Additionally. โ†’ Backup. Google Account (if the application supports synchronization); Titanium Backup (root rights required); if there is no backup, the data is lost irretrievably.