Cache on Xiaomi smartphones are temporary files that speed up applications but eventually turn into digital garbage. If your Redmi Note 12 or POCO X5 slows down, warms up for no reason or produces โNot enough memoryโ errors, the problem lies in the cache clogged. Automated cleaning through standard settings only removes some of the data, leaving system files and remnants of remote applications.
In this article, 5 proven ways to manually clean the cache on any Xiaomi smartphone, including hidden methods through Recovery and ADB. We will discuss how to clean the cache of individual applications, the system partition /cache, and what to do if after cleaning the phone began to work even worse. All instructions are relevant for MIUI 12/13/14 and adapted for the models of 2020-2026.
1.Why Xiaomi Cache Needs to Be Hand-cleaned
Unlike iPhones or smartphones on pure Android, Xiaomi devices aggressively cache data from behind the MIUI shell. Even after standard cleaning through Settings โ Memory remains:
- ๐ System cache (/cache and /data/dalvik-cache) โ takes 1โ3 GB, but not displayed in the storage menu.
- ๐๏ธ Residual files from remote applications (e.g., Google Play Services cache or Mi Video).
- ๐ Damaged data that causes errors such as โApp Stoppedโ or interface freezes.
- ๐ฑ Cash. MIUI-The ones that are added after each change.
According to XDA Developersโ tests, manually cleaning Xiaomiโs cache increases speed by 15 to 25 percent (depending on the model), but improperly cleaning it can cause network settings to reset or data to be lost in some applications (such as WhatsApp or banking services).
โ ๏ธ Note: If you use Xiaomi.eu or custom firmware, clearing the cache through Recovery can cause bootloop (logo looping). โ The phone. โ Version. MIUI.
2. Method 1: Clearing the cache of individual applications
The safest method is to delete the cache for specific programs, which does not affect system files and does not require superuser rights.
- ๐ฎ Games (Genshin Impact, PUBG Mobile), which after the updates take up to 5-10 GB.
- ๐ท Social networks (TikTok, Instagram), the cache of which can weigh up to 2-3 GB.
- ๐บ Streaming services (YouTube, Netflix) that save video fragments.
Step-by-step:
- Open Settings โ Applications โ Application Management.
- Slip on the three dots in the upper right corner and select Sort by size.
- Select an app (like Facebook) โ Storage โ Clear the cache.
- For complete cleaning, click Delete Data (โ ๏ธ This will reset the application settings!).
Backup important data (e.g. chats in Telegram)
Close the application in the multitasking menu
Check the space in the "Memory" section
Restart the phone after cleaning-->
If the Clear Cache button is inactive, the app uses secure storage (e.g., banking software), and only reinstallation will help.
3. Method 2: Cleaning the system cache through Recovery
This method removes temporary system files, including the MIUI update cache and firmware residues, and does not delete user data, but requires a reboot to restore mode.
Important: Newer models (Xiaomi 13, Redmi Note 12 Pro+) instead of the classic Recovery use Mi Recovery 5.0, where the option of cleaning the cache is hidden deeper.
Instructions for MIUI Recovery:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- Select the language (English/whale) from the menu.) โ Wipe & Reset.
- Tap Wipe Cache โ confirm the choice.
- After cleaning, select Reboot โ Reboot to System.
| Xiaomi model | Combination of buttons for Recovery | Features |
|---|---|---|
| Redmi Note 10/11/12, POCO X3/X4/X5 | Food + Volume up | On some firmware, you need to select Connect with MI Assistant first, then go back. |
| Xiaomi 12/13/14, Mix 4/Fold | Power + Volume up (hold 10+ seconds) | Mi Recovery 5.0 with touch control. |
| Redmi 9A/9C, POCO M3 | Food + Volume up + Volume down | Some versions of MIUI require a PC connection to unlock. |
โ ๏ธ Note: If after cleaning the cache through Recovery, the phone is stuck on boot (bootloop), try to repeat the procedure and additionally select Wipe Dalvik Cache. If this does not help - you need to flash it through Fastboot.
What happens if Recovery does not open?
Method 3: Using ADB for deep cleaning
For experienced users who want to delete the cache of all applications at once, including system ones, the ADB command is suitable. This method does not require root rights, but you need:
- ๐ฅ๏ธ A computer with installed Xiaomi drivers and ADB Tools.
- ๐ USB-cable (preferably original).
- ๐ฑ Included debugging by USB (Settings โ The phone. โ Version. MIUI โ 7 times to tap according to the version โ return to โ For developers โ Debugging by USB).
Cleanup commands:
adb shell pm list packages -f | grep cache | cut -d= -f1 | xargs -n1 adb shell pm clearThis command clears the cache of all user applications. To clean the system cache, use:
adb shell su -c 'rm -rf /data/dalvik-cache/*'
adb shell su -c 'rm -rf /cache/*'โ ๏ธ Warning: The second set of commands requires root rights. Without them, you will get permission denied error. On models with a locked bootloader (Xiaomi 13 Pro, Redmi) K60) root can only be obtained through unlocking and installing Magisk.
๐ก
If so, ADB-cleaning applications began to fly out, try resetting their settings through Settings โ Annexes โ [name] โ Reset preferences. It will return standard permissions without losing data.
5. Method 4: Cleaning the cache MIUI-themes and widgets
The MIUI shell actively caches interface elements: themes, icons, animations. Over time, this cache takes up to 500-800 MB and can cause lags when changing wallpaper or applying themes.
How to remove cache MIUI-then:
- Open the Topic app.
- Go to Profile โ Settings โ Clear the cache.
- To reset completely, delete /storage/emulated/0/MIUI/theme/.cache through any file manager (e.g. Mi File Explorer).
If the themes are not displayed correctly after cleaning, do:
adb shell pm clear com.android.themes๐ก
Cache cleaning doesnโt remove the wallpaper and styles you upload โ theyโre stored in /storage/emulated/0/MIUI/theme/.download.
6. Method 5: Automatic cleaning through hidden MIUI settings
Xiaomi hides advanced cleaning options in the Security menu, where you can configure automatic deletion of cache on a schedule or at a low memory level.
How to turn on:
- Open the Settings. โ Security.
- Choose Optimization. โ Cleanup.
- Slip the gear icon in the top corner.
- Activate options: ๐ Autocleaning when blocking the screen ๐ Clear cache if there is a lack of memory (threshold - 500 MB) ๐๏ธ Deep Cleanup (Deletes Residual Files)
In the same menu, you can manually run a deep cleaning, which removes:
- ๐ Cash of mini-programs (Mi Apps).
- ๐ Logs of system errors.
- ๐ Data analytics MIUI (If the statistics are turned off).
7.What to do if after cleaning the cache the phone began to work worse
In 10-15% of cases, users experience the opposite effect: after cleaning the cache, Xiaomi begins to slow down even more.
| Problem. | Reason. | Decision |
|---|---|---|
| Apps take a long time to load | Cash was part of optimization (e.g. in games) | Restart your phone and wait for the caching to happen again (1โ2 days) |
| Continuous resets | The kernel cache (dalvik-cache) is damaged | Clean through Recovery or reflash the phone |
| Widgets don't work. | Deleted application data com.miui.home | Reset Launcher Settings: Settings โ Applications โ Launcher โ Storage โ Clear Data |
| No Wi-Fi/mobile connection | Reset network settings after cleaning the TelephonyProvider cache | Go to Settings. โ SIM-maps and mobile networks โ Resetting network settings |
โ ๏ธ Note: If photos or files are missing after cleaning the cache, check the folder /storage/emulated/0/MIUI/Backup/AllBackup. Xiaomi sometimes automatically backs up before resetting, but doesnโt notify the user.