Your Xiaomi has slowed down, discharged quickly or issued errors "Not enough memory"? The reason for 90% of cases is accumulated system debris: remnants of deleted applications, cache, temporary files and duplicates. Even new models like the Redmi Note 13 Pro+ or POCO F6 after 3-6 months of use begin to "suffocate" from digital junk.
In this article, weβll cover the practical cleaning techniques that work on all MIUI 12-14 devices (including Xiaomi 14 Ultra and the budget Redmi A2). Weβll look at both the standard system tools and hidden features that are not mentioned even in the official instructions. No βmagic programsβ are just proven ways that wonβt hurt the phone.
1. Built-in utility "Cleaning" - the first step
Starting with MIUI 10, Xiaomi's firmware has a regular garbage removal tool.It removes app cache, residues APK-But most users use it inefficiently.
How to properly start a deep cleaning:
- π± Open the Security app (shield icon)
- π§Ή Select the Cleanup section β Deep cleaning
- βοΈ Click on the three dots in the upper right corner and turn on Show details
- ποΈ Manually tick all categories: Application Cache, File Remains, Error Logs
And the important thing is, if you clean it up and it slows down, that's OK. 10-15 minute speed will return.
2. Manual cleaning of the app cache
The built-in utility doesnβt remove everything, for example, some system applications (com.miui.gallery, com.android.providers.media) can take up to 1-2 GB and not get automatically cleaned.
How to clean by hand:
- Go to Settings β Applications β Application Management
- Sort the list by size (click on three dots β Sort β By size)
- Open each application from the top-10 and press Clear cache
- For system applications (such as Gallery or Music) click Storage β Clear data only if you are ready to lose settings
What applications can be cleaned without risk?
The cache of the Google Play Services app (com.google.android.gms) can take up to 300-500MB, but cleaning it will lead to re-authorization across all Google services.
3. Removal of duplicates and unnecessary files
Photos, screenshots and downloads are often duplicated or unclaimed, and MIUI has a hidden feature to find such files:
Instructions:
- π Open the Files app (Folder icon)
- π Go to the Category tab β Duplicate
- ποΈ The system will automatically find duplicate files β select unnecessary and delete
- π₯ Check the download folder - outdated ones often accumulate here. APK documents
For advanced users: use them. ADB-Search for files older than 6 months:
adb shell find /sdcard/ -type f -mtime +180 -exec ls -lh {} \;π‘
Before mass deletion of photos, enable the display of hidden files in Settings β Additional β Show hidden files. Sometimes important data (such as backups) are stored in folders with a point at the beginning (.backup,.thumbnails).
4. Cleaning of system logs and dumps
Android constantly creates error logs (/data/anr/, /data/tombstones/) that can take up to 1 GB. In MIUI, they can not be deleted by standard means, but there is a workaround:
Method 1 (without root):
- π± Connect your phone to your PC and enable debugging. USB (Settings β The phone. β Version. MIUI β 7 times press β Additionally. β For developers)
- π₯οΈ On the computer, open the command line and enter:
adb shell pm trim-caches 1000G
adb shell rm -rf /data/anr/*
adb shell rm -rf /data/tombstones/*Method 2 (with root): Use Root Explorer or FX File Explorer to manually delete /data/log/ and /data/system/dropbox/ folders.
π‘
Deleting logs does not affect the operation of the phone, but can complicate the diagnosis of problems when contacting the service center.
5. Optimization of autoloading and background activity
Many applications (Facebook, AliExpress, games) are launched at the start of the system and run in the background, consuming memory.
Step-by-step:
- βοΈ Go to Settings. β Annexes β Application management
- π Select the application β Auto-start β Turn it off.
- π΅ For aggressive optimization: Battery β Optimizing the battery β Select All Apps and Disable Unnecessary Apps
For models with MIUI 14, a hidden setting is available:
##4636## β Battery use β Menu (three dots) β Background optimizationExceptions: Do not disable autoplay for Google Play Services, Mi Cloud and system processes (com.xiaomi.*) This can disrupt push notifications and syncs.
6. reset partition cache (without data loss)
If the phone is slowing down a lot but you donβt want to do a full reset, use partition cache clearing.This deletes temporary system files without deleting your data.
Instructions:
- Turn off the phone.
- Press the Power button + Volume up before the Mi logo appears
- In the Recovery menu, select Wipe cache partition (use volume buttons for navigation, power for selection).
- Confirm the action and restart the phone (Reboot system now)
This procedure is safe, but on some models (such as the POCO X5 Pro) it can reset your Wi-Fi network settings.
Backup of important files
Write down passwords from Wi-Fi
Charge your phone at least 50%
Make sure there are no important unsaved data on your phone-->
7. Advanced methods (for experienced users)
If the standard methods didnβt help, try these techniques:
| Method | The effect | Risks. | Root is required. |
|---|---|---|---|
| Deletion of /data/dalvik-cache | Acceleration of work after reboot | The first launch of applications will be slow. | No. |
| Cleaning fsck through ADB | Recovery of damaged memory sectors | It can cause data loss in case of errors. | No. |
| Disconnect Miui Analytics | Decreased background activity | Security updates will stop coming | Yes. |
| Replace Fstrim with a weekly one | Optimization of the work of flash memory | May reduce memory life with frequent operations | Yes. |
To execute commands through ADB, use:
adb shell su -c "team"β οΈ Attention: On models with UFS 3.1 (Xiaomi 13T, Redmi K60) Frequent fstrim operations can reduce memory life. Use no more than 1 time per month.