Cleaning up the app cache on Xiaomi: a complete guide for Android 12-14

Xiaomi smartphones (including the Redmi, POCO and Mi series) start to slow down over time due to the crowded cache of applications. This problem is especially relevant for devices with 32-64 GB of memory, where every megabyte counts. Cache is temporary files that create programs for fast work, but when they accumulate, they take up gigabytes of space and slow down the system.

In this article, you will find 5 proven ways to clean up cache on Xiaomi with the shell MIUI 12-14 (including global and Chinese versions). We will analyze both standard methods through settings and hidden features for power users. And also explain why cleaning the cache through Files only removes part of the garbage and how to clean the system cache without root rights.

Why Xiaomi Cache Fills Quickly

The main reason is aggressive MIUI optimization, which actively caches data even for background applications to speed up their launch, for example, YouTube can take up to 500 MB of cache per month of active use, and TikTok can take up to 1 GB.

Other factors:

  • ๐Ÿ“ฑ Many social networks: Instagram, Facebook, VK store cached images and videos
  • ๐ŸŽฎ Games: Genshin Impact or PUBG Mobile creates cache to 2-3 GB
  • ๐Ÿ”„ Auto-update apps on Google Play leaves old versions APK
  • ๐Ÿ“ System processes: com.miui.system and android.process.media accumulate up to 1 GB of garbage

Interesting fact: on Xiaomi with MIUI 14, Google Play Services can take up to 1.5 GB of cache, a record among Android smartphones, and the standard cleaning through settings only removes 30-40% of these files.

๐Ÿ“Š How often do you clear your Xiaomi cache?
Once a week.
Once a month
Only when the phone is slowing down.
Never cleaned.

Method 1: Standard cleaning through MIUI settings

The safest method that is suitable for all Xiaomi models (from Redmi Note 8 to Xiaomi 14 Ultra) is the instruction for MIUI 12-14:

  1. Open Settings โ†’ Applications
  2. Tap on Application Management
  3. Select the app you want (such as Chrome or WhatsApp)
  4. Click Warehouse โ†’ Clear the cache

For mass cleaning:

  1. In the same menu, App Management tap on the icon โš™๏ธ (setting)
  2. Select Cache Cleanup
  3. Tick the required applications or click Select all
  4. Confirm the cleanup.

โ˜‘๏ธ Preparation for cache cleanup

Done: 0 / 4

Method Limitation: Standard cleaning does not affect the system cache (/cache and /data/dalvik-cache), pre-existing 500 MB: To remove it, you need the rights of a superuser or ADB-team.

Method 2: Deep Cleaning through "Safety"

MIUI has a hidden deep-cleaning tool that removes up to 70% of unnecessary files (including residual data after uninstalling applications).

  1. Open the Security app (Icon with shield)
  2. Go to the Optimization tab
  3. Slip on Deep Cleanup (could be called Garbage Cleanup)
  4. Wait for the analysis (it will take 1-3 minutes)
  5. Click Clean and confirm the action.

This method removes:

  • ๐Ÿ—‘๏ธ Residual files of remote applications
  • ๐Ÿ“ Temporary file systems processes
  • ๐Ÿ” Google Play Services Cash and MIUI System
  • ๐Ÿ“ฑ Error logs and memory dumps

๐Ÿ’ก

After deep cleaning, restart the phone โ€“ this will help the system reassemble the cache of critical processes without unnecessary debris.

Important: Do not use the Acceleration feature in the same menu โ€“ it forcibly closes the background processes, which can disrupt the notifications in Telegram or WhatsApp.

Method 3: Clearing the cache via Recovery Mode (without data loss)

If the phone is slowing down a lot and standard methods don't work, you can clear the cache through recovery mode, which doesn't delete user data, but resets the system cache.

Instructions for all Xiaomi models (including Redmi K50, POCO F5, Xiaomi 13T):

  1. Turn off the phone.
  2. Press the Power button + Volume up for 10 seconds
  3. In the Recovery menu, select the language (English/whale)
  4. Go to Wipe & Reset โ†’ Wipe Cache
  5. Confirm the action and wait for the completion
  6. Select Reboot โ†’ Reboot to System

Advantages of the method:

  • โšก Remove 100% of the system cache (including Dalvik-cache)
  • ๐Ÿ› ๏ธ Corrects errors such as "The application has stopped"
  • ๐Ÿ“ฑ It works even if the phone is not loading normally.
What happens if you choose Wipe Data instead of Wipe Cache?
This option will perform a full factory reset! All data (photos, contacts, messages) will be deleted. Use only if you are ready to lose information or before selling your phone.

โš ๏ธ Note: Some models (Redmi Note 11 and later) may have a fingerprint missing after cleaning the cache through Recovery. โ†’ Passwords and security.

Method 4: ADB-Teams for experienced users

For those who are ready to work with Android Debug Bridge, there are commands for spot cache cleaning, which allows you to remove the cache of specific applications or system processes without a graphical interface.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux/macOS
  • ๐Ÿ“‹ Established ADB-driver
  • ๐Ÿ”Œ USB-cable (preferably original)
  • ๐Ÿ“ฑ Included debugging by USB phone-on

Step-by-step:

  1. Connect your phone to your PC and allow debugging
  2. Open the command line (Windows) or the terminal (Linux/macOS)
  3. Enter the command to check the connection: Adb devices Must appear serial number of your device
  4. To clear the cache of all applications: adb shell pm trim-caches 1000000000 (number - cache limit in bytes, here is 1 GB)
  5. To clear the cache of a particular application (e.g. Facebook): adb shell pm clear com.facebook.katana

Useful teams for analysis:

Team team.DescriptionExample of inference
adb shell df -hShows the occupied space on all sections/data: 5.2G used, 10G avail
adb shell du -sh /data/data/*Cache size of all applications1.1G /data/data/com.android.chrome
adb shell pm list packages -fList of all installed packagespackage:/data/app/com.whatsapp-1
adb shell dumpsys meminfoInformation on memory useMemTotal: 5824364 kB

โš ๏ธ Note: Adb shell pm clear not only clears the cache, but also resets the application settings (for example, WhatsApp will have to re-enter the phone number). -rf /cache/* where com.package.name is the name of the application package.

Method 5: Automatic cleaning with a scheduler

MIUI has a built-in cleaning scheduler that can run on a schedule, and this feature is available on all models starting with the Redmi Note 9 and Xiaomi Mi 10.

How to set up:

  1. Open Settings โ†’ Battery and Performance
  2. Select Memory Cleanup
  3. Activate the Auto Cleanup switch
  4. Set up a schedule: ๐Ÿ•’ Every day at 3:00 (recommended time) ๐Ÿ”„ Low battery charge (less than 15%) ๐Ÿ“ถ When connecting to Wi-Fi

Exceptions

Google Maps

Advantages of automatic cleaning:

  • ๐Ÿค– It does not require manual control.
  • ๐Ÿ“ˆ Maintains stable productivity
  • ๐Ÿ”‹ Saves battery power (less than 5% of background consumption)

Disadvantages:

  • โŒ Can clear the cache of YouTube Music or Spotify, which will cause the tracks to be reloaded
  • โŒ Does not delete the system cache (only user applications)

๐Ÿ’ก

Autocleaning is most effective for social networks and instant messengers, but it is better to turn off for navigation applications and streaming services.

What to do if the cache accumulates again quickly

If the cache is filled in 1-2 days after cleaning, the problem is deeper. Here are 4 main causes and solutions:

  1. Some programs (such as Facebook or AliExpress) constantly update the cache in the background: ๐Ÿ›‘ Limit background activity in Settings โ†’ Annexes โ†’ Permits โ†’ Auto-start ๐Ÿ”„ Turn off auto-update content in the app settings
  2. Mistakes in work MIUI On some firmware (MIUI 13.0.4-13.0.7) There's a bug with endless cache growth on com.miui.system: ๐Ÿ“ฑ Update your firmware to the latest stable version ๐Ÿ”ง Perform a reset of settings through Settings โ†’ The phone. โ†’ Resetting settings (without data loss)
  3. Viruses or malware Some Trojans masquerade as system processes and generate cache: ๐Ÿ›ก๏ธ Scan through Malwarebytes or Dr.Web ๐Ÿ” Check the list of applications for suspicious ones (e.g. com.system.cache.cleaner)
  4. Lack of RAM on phones with 3-4 GB of RAM (Redmi) 9A, POCO M3) Android is actively using cache as an "extension" of RAM: ๐Ÿ”„ Enable RAM Extension in Settings โ†’ Additionally. โ†’ Expanding memory (available on the MIUI 12.5+) ๐Ÿ—‘๏ธ Install lighter versions of apps (Facebook Lite, Messenger Lite)

If none of the methods worked, consider switching to custom firmware (like Pixel Experience or LineageOS). On Xiaomi with Snapdragon processors, this can be done without losing warranty through unlocking the bootloader.

FAQ: Frequent questions about cleaning up cache on Xiaomi

Can I clean the cache of all applications at the same time?
Yeah, in MIUI There is a mass cleaning function: Go to Settings โ†’ Annexes โ†’ Managing apps Tapnat by icon โš™๏ธ โ†’ Cache Cleanup Select All and Confirm Exception: System applications (e.g. com.android.phone) will not be cleared by this method.
Why do some applications run slower after cleaning the cache?
This is normal behavior. Cash speeds up the re-launch of applications, so after cleaning: ๐Ÿ“ฑ Applications will be loaded longer for the first time ๐Ÿ–ผ๏ธ Images on social networks will be reloaded ๐ŸŽฎ Games can "freeze" at the first level load 1-2 The speed of the day will return to normal.
How to clean up Google Play Services cache that takes up 1+GB?
Standard methods cannot completely clear the Google Play Services cache, but you can reduce its size: Open Settings โ†’ Apps โ†’ All apps Find Google Play Services and tap it Select Storage โ†’ Control Space โ†’ Clear all data Reboot phone Attention: this will reset your Google Account settings and may disrupt location services.
Should you use cache cleaning applications (CCleaner, Clean Master)?
No, they're ineffective and even harmful on Xiaomi: ๐Ÿšซ MIUI It already has built-in cleaning tools that work better. ๐Ÿ•ต๏ธ Cleaners often collect data about your programs. ๐Ÿ”‹ They consume an extra battery while working in the background ๐Ÿ› ๏ธ Can delete files (for example, offline maps in Google Maps) Exception: Files by Google is the official application from Google that safely analyzes garbage.
How to clear the cache on Xiaomi without access to settings (phone bugs)?
If the phone doesn't respond to touch or constantly reboots: Hard cache reset: Turn off the phone Pressure Power + Loudness up โ†’ Select Wipe Cache in Recovery Through PC: Connect your phone to your computer Use ADB-command: adb shell pm trim-caches 500000000 (clears cache up to 500 MB) via Safe Mode: Click Power โ†’ Hold it down. โ†’ Confirm the transition to Safe Mode In Safe Mode Clear the cache through the settings