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.
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:
- Open Settings โ Applications
- Tap on Application Management
- Select the app you want (such as Chrome or WhatsApp)
- Click Warehouse โ Clear the cache
For mass cleaning:
- In the same menu, App Management tap on the icon โ๏ธ (setting)
- Select Cache Cleanup
- Tick the required applications or click Select all
- Confirm the cleanup.
โ๏ธ Preparation for cache cleanup
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).
- Open the Security app (Icon with shield)
- Go to the Optimization tab
- Slip on Deep Cleanup (could be called Garbage Cleanup)
- Wait for the analysis (it will take 1-3 minutes)
- 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):
- Turn off the phone.
- Press the Power button + Volume up for 10 seconds
- In the Recovery menu, select the language (English/whale)
- Go to Wipe & Reset โ Wipe Cache
- Confirm the action and wait for the completion
- 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?
โ ๏ธ 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:
- Connect your phone to your PC and allow debugging
- Open the command line (Windows) or the terminal (Linux/macOS)
- Enter the command to check the connection: Adb devices Must appear serial number of your device
- To clear the cache of all applications: adb shell pm trim-caches 1000000000 (number - cache limit in bytes, here is 1 GB)
- To clear the cache of a particular application (e.g. Facebook): adb shell pm clear com.facebook.katana
Useful teams for analysis:
| Team team. | Description | Example of inference |
|---|---|---|
| adb shell df -h | Shows the occupied space on all sections | /data: 5.2G used, 10G avail |
| adb shell du -sh /data/data/* | Cache size of all applications | 1.1G /data/data/com.android.chrome |
| adb shell pm list packages -f | List of all installed packages | package:/data/app/com.whatsapp-1 |
| adb shell dumpsys meminfo | Information on memory use | MemTotal: 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:
- Open Settings โ Battery and Performance
- Select Memory Cleanup
- Activate the Auto Cleanup switch
- 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:
- 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
- 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)
- 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)
- 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.