Cache on Xiaomi smartphones are temporary files that are created by the system and applications to speed up work. Over time, they accumulate, taking up precious space in memory and slowing down the device. If your Redmi, POCO or Mi started to slow down, spontaneously reboot or give out errors "Lack of memory", it's time to clear the cache. But you need to do it correctly so that you do not delete important data.
In this article, weโll look at all the different methods you can use, from manually cleaning the cache of individual applications to resetting the system cache through Recovery Mode, and learn which files can be removed without risk and which ones shouldnโt be touched, even if they take up gigabytes. Weโll focus on the features of MIUI firmware โ why the standard tips for clean Android donโt always work here, and how to get around the limitations of the system.
What is Xiaomi Cache and Why Clean It
Cache is buffer data stored on a device to speed up re-access. Xiaomi has three types of cache:
- ๐ฑ App cache โ temporary files created by each application installed (e.g., YouTube video thumbnails or Google Maps cache).
- ๐ฅ๏ธ System cache is a file that MIUI generates itself to quickly load the interface, animations, and services.
- ๐ Dalvik-cache are optimized versions of apps created by the Android virtual machine (especially important after system updates).
Why should the cache be cleaned regularly?
- โก Speed up: Clogged cache slows the opening of apps and switching between them. For example, Facebook or Instagram can hang when scrolling through the feed due to a crowded cache of images.
- ๐ Memory Freeing: On some models (e.g. Redmi Note 8 Pro or POCO X3), cache can take up to 5โ8 GB, which is critical at 64 GB of internal memory.
- ๐ Error Fixing: A damaged cache often causes app crashes (e.g., Google Play Store crashes or the app stopped error).
โ ๏ธ Warning: Clearing the cache of apps (like WhatsApp or Viber) will cause media files (photos, videos) to be re-uploaded the next time you open it, which can increase traffic consumption!
How often do you clean the cache? For most users, it is enough to do this every 1-2 months, except for active gamers or those who often install / remove applications: in this case, the cleanup should be done weekly.
How to Clear the Cache of Individual Applications on Xiaomi
The safest way is to remove the cache for specific applications. This does not affect system files and does not require superuser rights (root). The instructions are relevant for all models on the MIUI 12/13/14, including Xiaomi 12T, Redmi Note 11 and POCO F4.
Steps for cleaning:
- Open Settings โ Applications โ Application Management.
- Select the app you want (such as Chrome or TikTok).
- Slip on Warehouse.
- Click Clear Cache (not to be confused with Clear Data โ this will delete all settings and accounts!).
For convenience, you can sort applications by cache size:
- In Application Management, click on three dots (โฎ) top-right.
- Select Sort. โ By size.
- At the top of the list will be the apps with the largest cache (most often Facebook, Google Play Services or MIUI Gallery).
Check the free space in memory (in Settings โ About phone โ Storage)
Close the background applications (swipe up in the recent menu)
Connect to Wi-Fi (if you plan to clear the messenger cache)
Backup important data (e.g. saved in games)
-->
Features of cleaning the cache on MIUI:
- ๐ In some firmware, the Clear Cache button may be hidden behind the Warehouse and Cache item.
- ๐ Xiaomi apps (such as Mi Video or Mi Music) often recover cache after a reboot - that's normal.
- ๐ซ Do not clear the cache of Google Play Services and Services Framework unnecessarily, as this may disrupt Google services.
Cleaning the system cache through Settings
MIUI has a built-in system debris cleaner tool that removes unnecessary files, including residual cache.This method is safer than manual cleaning through Recovery, but less effective for deep cleaning.
Instructions:
- Go to Settings โ About the phone โ Storage.
- Slip on Clear (or Free up space in new MIUI versions).
- Wait for the system analysis (it can take 1-2 minutes).
- Select categories to clean: ๐๏ธ App cache is temporary files of all programs. ๐ Download files are Download folder (to be cleaned completely!). ๐ต Music and video are media cache (for example, album covers).
Clear {X} MB
What removes this tool:
| Type of file | What's removed | Restored after rebooting |
|---|---|---|
| Cash app. | Temporary data (miniatures, logs, buffers) | Yeah, next time the app starts. |
| Residual files | Remote application folders (e.g. com.example.app) | No. |
| System logs | Error logs and reports (/data/log) | Yes, when new mistakes occur |
| APK-file | Installation Service Packs (/cache) | No, but they will re-boot the next update. |
โ ๏ธ Warning: In MIUI 14 on some models (e.g. Xiaomi 13 Pro), the Clean feature may be hidden. To return it, update the firmware or use an alternative method through Security โ Cleanup.
This method is suitable for regular cleaning, but will not help if:
- ๐ข The phone is slowing down even after cleaning.
- ๐ Applications are constantly crashing with the "App has stopped" error.
- ๐ฑ The device is not updated due to lack of space in /cache.
In such cases, a deep cleaning through Recovery will be required (more on this in the next section).
Deep Cache Cleanup through Recovery Mode
If standard methods don't work and the smartphone continues to work unstable, it's time to wipe cache partition, which is a system cache cleaner through recovery mode.
- ๐๏ธ Update Cache (/cache).
- ๐ง Dalvik-cache is an optimized file for the Android virtual machine.
- ๐ System Logs and Temporary Kernel Files.
On Xiaomi models with a Snapdragon processor (such as the POCO F3 or Xiaomi 11T Pro), cleaning the Dalvik-cache can take up to 10-15 minutes โ do not interrupt the process, even if the screen is โhangโ on the MIUI logo!
Step-by-step:
- Turn off the phone.
- Press the button combination to enter Recovery: For most models: Volume up + Power. For POCO M3 and Redmi 9: Volume up + Volume down + Power.
MI
Recovery
Use volume buttons for navigation and power button to select the item.
Wipe & Reset โ Wipe Cache
โ
Yes
Reboot โ Reboot to System
What to do if you recover in Chinese?
What NOT to do in Recovery:
- ๐ซ Select Wipe All Data (this is a full factory reset!)
- ๐ง Change the System or Vendor partition without knowing the consequences.
- โ ๏ธ Interrupt the cleaning process (may result in a device blinking).
โ ๏ธ Warning: On some models (e.g., Xiaomi Mi A3 with Android One), the Recovery menu may be different. If you don't see the Wipe Cache item, use an alternative method via fastboot (described below).
Once the system is restarted, it will collect a new cache, so the first 5-10 minutes of the phone can run slower than usual. That's okay!
Cleaning Dalvik-cache and ART-cache on Xiaomi
Dalvik-cache and ART-cache are optimized versions of apps created by the Android virtual machine.
- ๐ Firmware updates (especially from MIUI 12 to MIUI 13).
- ๐ฆ Install a large number of new applications.
- ๐ข Significant slowdown of the system.
These files are stored in the /data/dalvik-cache folder and usually take anywhere from 500MB to 2GB. You can only delete them via Recovery or ADB.
Method 1: TWRP Recovery (requires an unlocked bootloader):
- Install TWRP for your model (instructions are available on the XDA Developers forum).
- Go to TWRP (Loudness up + Nutrition) combination.
- Select Advanced โ Dalvik / ART Cache.
- Swipe for confirmation.
- Reboot.
Method 2: Through ADB (no root, but requires PC):
adb shell
su
rm -r /data/dalvik-cache/*
rm -r /data/app-lib/*
rebootWhat happens after cleaning:
- โณ The first download will take 2-3 minutes longer (the system will recollect the cache).
- ๐ฑ Applications may open more slowly the first time.
- ๐ Battery consumption may temporarily increase (due to re-optimization of applications).
๐ก
If after cleaning the Dalvik-cache, the phone is stuck on the MIUI logo for longer than 15 minutes, don't panic! turn it off with a long hold on the power button (20-30 seconds), then turn it back on. The system should boot.
Automatic cleaning of cache: settings and applications
Manual cache cleaning is effective, but it takes time, and fortunately, MIUI and third-party applications allow you to automate the process.
Built-in MIUI tools:
- Open Settings โ Battery and Performance โ Cleanup.
- Activate the Auto Cleanup option.
- Set up a schedule (e.g., clean up every day at 3:00).
The best third-party applications for automatic cleaning:
| Annex | Functions | Features on Xiaomi |
|---|---|---|
| SD Maid | Deep cache cleaning, search for junk files | Requires root for full MIUI functionality |
| CCleaner | Cache cleanup, autoboot management | Some models are blocked by MIUI Optimizer. |
| Files by Google | Removal of duplicates, cleaning of messenger cache | It works without root, but does not clean the system cache. |
| Xiaomi Cleaner | Optimized for MIUI, background cleaning | Built into firmware on new models (e.g. Xiaomi 13) |
What to look for when using third-party cleaners:
- ๐ก๏ธ Avoid applications that request Accessibility Service โ this is a security risk.
- ๐ Before cleaning, check which files will be deleted (some โoptimizersโ erase useful data).
- ๐ After automatic cleaning, restart the phone to help the system reassemble the cache correctly.
๐ก
On Xiaomi with MIUI Global firmware, automatic cleaners often conflict with the system process of com.miui.analytics. If after installing such an application, the phone starts to warm up, remove it and use the built-in tools.
Frequent Mistakes and How to Avoid Them
Clearing the cache seems like a simple procedure, but many users make mistakes that lead to even bigger problems.
- ๐๏ธ Cache clearing all applications in a row: This results in re-loading the data the next time you open, which consumes traffic and battery.
- ๐ง Delete the cache of system applications: Files like com.android.systemui or com.miui.home are responsible for the interface, and cleaning them can cause malfunctions MIUI.
- ๐ฑ Use "miracle apps" to clean up: Many Google Play "optimizers" not only fail to help, but also show false warnings about "critical bugs" to sell the premium version.
- ๐ Frequent cleaning of Dalvik-cache: These files are created to speed up work. Deleting them once a week will only slow down the system.
How to properly clean the cache:
- Start with problem apps (those that fly out or slow down).
- Use built-in MIUI tools instead of third-party cleaners.
- After deep cleaning (via Recovery), give the phone 10-15 minutes to reassemble the cache without running heavy applications.
- If after cleaning the problems remain, check the phone for viruses or consider resetting to factory settings.