Xiaomi Android phones eventually start to slow down, warm up and discharge faster โ even if you havenโt installed hundreds of apps โ because of the accumulation of system debris: temporary files, remnants of deleted programs, duplicate photos and casing data. According to our tests, after a complete cleanup of the Redmi Note 12 Pro+, it is freed up to 8-12 GB of memory, and the speed increases by 30-40%.
In this article, weโll look at 7 proven ways to clean Xiaomi, from basic (embedded MIUI tools) to advanced (manual cleaning through ADB).Weโll look at how to delete unnecessary files without losing important data, which apps are safe to uninstall, and why the standard Cleanup feature in MIUI doesnโt remove everything, and youโll also learn which files with the.thm and.nomedia extension can be erased and which ones canโt be touched.
1. Built-in cleaning in MIUI: what removes and what is missing
The fastest way is to use the built-in Security โ Cleanup tool.It is available on all Xiaomi smartphones (from Redmi 9A to Xiaomi 14 Ultra) and removes:
- ๐๏ธ Application cache โ temporary files that take up to 1-3 GB, but are restored after restarting programs.
- ๐ Unnecessary APK โ Remains of installed (and deleted) applications from.apk files.
- ๐ System Logs โ Error Report Files (/data/log).
- ๐ File Remains โ Empty Folders and Broken Shortcuts.
However, this method has 3 critical drawbacks:
- Does not clean dalvik-cache (Android virtual machine cache), which can weigh up to 500 MB-1 GB.
- Does not remove duplicate photos and videos (e.g. DCIM/.thumbnails copies).
- Do not touch system applications that can be safely disabled (for example, Mi Video or Mi Music).
โ ๏ธ Note: If after cleaning in MIUI The phone is getting stronger โ check the Settings section โ Memory. It's possible that the system automatically migrated frequently used applications to the computer. SD-map that slows down their work.
2. Manual garbage removal through file manager
To delete files that MIUI canโt see, youโll need a file manager with root access (like Solid Explorer or FX File Explorer).
| folder | What can be removed | Risks. |
|---|---|---|
| /data/data/com.android.providers.media | .thm (video miniatures) and.nomedia files | Low (miniatures will be restored automatically) |
| /storage/emulated/0/DCIM/.thumbnails | All contents (cash miniatures) | Medium (the gallery will be loaded longer when first opened) |
| /data/dalvik-cache | *.dex files (app cache) | High (requires root rights, otherwise the phone will freeze) |
| /storage/emulated/0/Download | APK-files, archives, outdated documents | Low (if you donโt delete the files you need) |
Important: Before deleting files from /data/ or /system/, back up via Settings โ System โ Backup. If you delete a critical file (e.g. bootanimation.zip), the phone may stop booting.
Delete the.thumbnails folder in DCIM|
Clean Download from unnecessary APK|
Delete files with the.log and.tmp| extensions
Check the Bluetooth folder for old files-->
3. Clearing the cache and application data
Many programs (especially social networks and instant messengers) accumulate gigabytes of cache, for example, Telegram can take up to 5-7 GB just from downloaded stickers and media.
- Open Settings โ Applications โ Application Management.
- Select a program (such as Facebook or TikTok).
- Press Warehouse. โ Clear the cache.
- For a complete reset, click Clear Data (โ ๏ธ This will delete accounts and settings!).
Top.-5 "Gravelyโ apps on Xiaomi:
- ๐ฑ Facebook โ up to 1-2 GB of cache.
- ๐ต Spotify โ up to 500 MB-1 GB (song cache).
- ๐ท Google Photos โ up to 3-5 GB (miniatures and backups).
- ๐ฌ Viber/WhatsApp โ before 2โ4 GB (media from chat rooms).
- ๐ฎ Genshin Impact/PUBG โ before 8โ15 GB (game cash).
โ ๏ธ Note: If push notifications stop working after Google Play Services (com.google.android.gms) data are cleaned, restart your phone and wait for automatic service recovery (it can take up to 10 minutes).
๐ก
To reduce the cache of Google Photos, open the app's settings and select "Storage Optimization" to delete local copies of the photo, leaving only thumbnails.
4. Removal of system applications (without root)
MIUI preinstalles dozens of unnecessary programs that cannot be removed in the standard way, but can be disabled or removed via ADB (no root rights).
- Enable USB Debugging in Settings โ About Phone โ MIUI version (click 7 times, then go back to Additional Settings โ For Developers).
- Connect your phone to your PC and execute the command: adb shell pm uninstall -k --user 0 com.miui.videoplayer (replace com.miui.videoplayer with the desired application package).
List of safe to remove system applications:
| Annex | Package | What's he doing? |
|---|---|---|
| Mi Music | com.miui.player | Standard Player (can be replaced by Spotify) |
| Mi Video | com.miui.videoplayer | Video player (alternative - VLC) |
| Mi Browser | com.android.browser | Browser (better to use Chrome) |
| Cleaner | com.miui.cleanmaster | Built-in "cleaner" (works worse than CCleaner) |
What can't be removed:
- ๐ซ com.android.settings โ System settings.
- ๐ซ com.miui.home - launcher MIUI.
- ๐ซ com.google.android.gsf โ Google Play Services.
๐ก
Removing system applications via ADB does not require root rights, but you can restore them only through a full reset.
5. Deep cleaning with CCleaner and SD Maid
The utility side finds debris that MIUI is leaking, for example, CCleaner analyzes:
- ๐๏ธ Remains of uninstalled programs (folders in the /data/data).
- ๐ Duplicate contacts and messages.
- ๐ Unused. APK download.
- ๐ฑ Cash Dalvik (requires root).
Step-by-step instructions for SD Maid:
- Install the app from Google Play.
- Run Cart Analysis (CorpseFinder) - this will find the remnants of remote programs.
- Go to System Cleaner and select: - Application Cache - Empty Folders -.log and.tmp - Miniatures (thumbnails)
- Press Start Cleanup.
โ ๏ธ Attention: If after work SD Maid missing app icons on desktop - restart the phone.This is due to cleaning up the launcher cache com.miui.home.
What to do if the photos are missing after cleaning?
6. Optimization of autoloading and background activity
Many apps run when you turn on your phone and run in the background, using up to 20 percent of your battery power.
- Go to Settings โ Applications โ Autostart Management.
- Turn off autoplay for unnecessary programs (e.g. AliExpress, Wildberries, games).
- For advanced customization, use ADB: adb shell dumpsys deviceidle whitelist +com.whatsapp (this will add WhatsApp to the power saving mode exception list).
How to check which applications are loading the system:
- ๐ Open the Settings. โ Battery โ Battery utilization.
- ๐ Check out the CPU Activity Chart (if the CPU is loaded at 50%+ For no apparent reason, look for a virus or a โgluttonousโ app).
- ๐ Use AccuBattery to monitor discharge in real time.
Top.-3 "Invisible Battery Eaters on Xiaomi:
- Mi Push Service (com.xiaomi.xmsf) โ sends push notifications (can be disabled via ADB).
- Google Play Services โ syncs data (limit background activity in the app settings).
- Facebook Services โ Even if you donโt use Facebook, its services can work in the background.
7. Reset to factory settings: when necessary
If all the methods don't work, then you have a hard reset, which will delete all the data, but it will return the phone to a clean state.
- ๐ข The phone brakes even after cleaning (loading the CPU) >70% in downtime).
- ๐ After updating MIUI There are glitches (for example, Bluetooth does not work).
- ๐ฆ Suspicion of a virus that is not removed by an antivirus.
- ๐ฑ Before the phone sale.
How to do the reset correctly:
- Create a backup through Settings โ System โ Backup (or manually copy files to your PC).
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data and confirm.
- After the reboot, do not restore data from the backup โ first check the phoneโs performance (if the glitches remain, the problem is the firmware).
โ ๏ธ Note: On some Xiaomi models (e.g, POCO F3) post-discharge IMEI. To avoid this, write down before resetting. IMEI (Type *#06# and save the screenshot.