Your Xiaomi is slowing down, quickly discharged or emitting βNot enough memoryβ errors? 90% of the time is due to accumulated system debris: temporary application files, remnants of deleted programs, browser cache and duplicate photos. Even new models on MIUI 14/15 are not immune to this problem unless you clean it regularly.
Unlike factory resets, which erase all data, proper garbage cleanup allows the phone to return to βinitial speedβ without losing personal files. This article features unique techniques for Xiaomi that you wonβt find in standard instructions, including working with hidden /.thumbnails and /MIUI/backup folders, and optimizing autoboot via adb.
We will discuss both manual (for power users) and automatic methods using built-in MIUI tools and third-party utilities, with a special focus on low-memory models (Redmi 9A, Poco C31), where every megabyte counts.
1. Built-in cleaning MIUI: What is missing and what is missing
Starting with the standard tool, Cleanup in MIUI settings, it's available on all Xiaomi smartphones starting with MIUI 8, but its capabilities are often underrated. To open the menu, go to:
Settings β Applications β CleaningHere, the system automatically analyzes:
- ποΈ Application cache β temporary files that take up to 3-5 GB on an actively used phone.
- π Unnecessary APK β Remains from installed (and remote) applications.
- π Log files are system errors logs that are rarely needed by the user.
- π· Miniatures β folder /.thumbnails with reduced copies of images (can weigh up to 1 GB!).
However, the built-in MIUI cleaning does not remove:
- π± Duplicate photos (especially relevant for Google Photos and Xiaomi Gallery).
- π Remains of updates - folder /cache/ota firmware.
- π€ System backups in /MIUI/backup, which are created when the settings are reset.
β οΈ Note: Do not manually delete folders /system or /vendor β This will lead to the collapse of the system and require a flashing through the Fastboot.
2. Manual cleaning: hidden folders and secure files for removal
Deep cleaning requires a file manager with access to root folders (such as Mi File Explorer or Solid Explorer). Enable the display of hidden files in the manager settings and go to the root directory (/).
Here is a list of folders and files that can be deleted without risk to the system:
| Folder/file | Size (example) | What it keeps. | Can I remove it? |
|---|---|---|---|
| /.thumbnails | 500MB - 1.5GB | Image and video miniatures | Yeah, totally. |
| /MIUI/backup | 100MB - 1GB | Backup copies of settings | Yeah, unless you're planning a pullback. |
| /cache/ota | 1-3 GB | MIUI Update Files | Yeah, after the firmware was installed. |
| /Android/data/*/cache | 1-5 GB | Cash app. | Yes, but some apps will take longer to load. |
| /DCIM/.thumbnails | 200-800MB | Miniatures from the Gallery | Yes, it's safe. |
For removal:
- Open the file manager and enable Root mode (if you have superuser rights).
- Go to the desired folder and highlight all files (long press β βSelect allβ).
- Click "Delete" and confirm the action.
β οΈ Attention: Do not delete folders /Android/obb β It stores game data (such as Genshin Impact or Call of Duty Mobile) and deleting it will require re-downloading several gigabytes.
Make a backup copy of important data|Check the vacant space (should be available) β₯10%)|Turn off autosynchronization Google Photos|Close all applications-->
3.Cleaning the cache of applications: what can be erased without consequences
App cache is a temporary file that speeds up programs but eventually becomes the main source of garbage, for example, Facebook can accumulate up to 500 MB of cache, and TikTok can accumulate up to 1 GB.
Method 1: Through the MIUI settings
Go to:
Settings β Applications β Application Management β [Select App] β Storage β Clear CacheFor mass cleaning:
Settings β Applications β Cleaning β Cache of applications β CleanMethod 2: ADB (for experienced users)
If you need to clear the cache of all applications at once, connect the phone to the PC and execute the command:
adb shell pm clear --user 0 com.android.vending
adb shell pm clear --user 0 com.facebook.katana
adb shell pm clear --user 0 com.whatsappReplace the package names (com.android.vending is Google Play) with the ones you want. The complete list of packages installed can be obtained by the command:
adb shell pm list packagesAfter clearing the cache, some apps will load longer on the first run, but this is temporary. Do not clear the application data (Clear Data button) - this will lead to deletion of accounts and settings!
π‘
If after cleaning the Google Play cache, the Store stopped updating the apps, restart the phone and check the Internet connection. β SIM-maps and mobile networks β Resetting network settings
4. Removal of duplicate photos and unnecessary media files
One of the biggest memory eaters on Xiaomi is duplicate photos, which are created by:
- πΈ Automatic backup in Google Photos and Mi Cloud.
- π Synchronization with messengers (WhatsApp, Telegram).
- π± Screenshots that are saved in /Pictures/Screenshots.
To find duplicates, use:
- π Built-in Gallery MIUI: open the album β Β«MoreΒ» β Β«Search for duplicatesΒ».
- π€ Duplicate applications: Files by Google, Duplicate Files Fixer.
- π» PC programs: CCleaner, AntiDupl (if thousands of photos are taken).
Pay special attention to the folders:
/DCIM/Camera
/DCIM/Screenshots
/Pictures/Telegram
/DownloadThey often accumulate unnecessary files, for example, Telegram stores all media in /Pictures/Telegram by default, even if you did not download them explicitly.
How to disable auto-save media in Telegram?
5.Optimizing autoboot: why the phone brakes even after cleaning
Even after removing the garbage, Xiaomi can run slowly due to autoloadable apps.Many programs (especially Chinese ones) are added to the autoload without your knowledge and consume resources in the background.
To turn off autoboot:
- Go to Settings β Applications β Application Management.
- Select an app (such as Mi Video or Mi Browser).
- Press Auto Start and turn off the slider.
For mass shutdown, use ADB:
adb shell cmd appops set com.miui.browser RUN_ANY_IN_BACKGROUND deny
adb shell cmd appops set com.xiaomi.midrop RUN_ANY_IN_BACKGROUND denyA list of βgluttonousβ MIUI system applications that can be safely disabled:
| Annex | Package | What's he doing? |
|---|---|---|
| Mi Browser | com.android.browser | Standard browser (can be replaced with Chrome) |
| Mi Video | com.miui.videoplayer | Video player (alternative - VLC) |
| Mi Music | com.miui.player | Music player |
| Cleaner | com.miui.cleanmaster | Cleaning (can be replaced by CCleaner) |
β οΈ Note: Do not disable system processes with the names com.android or com.qualcomm β this will lead to unstable operation of the phone or complete inoperability of modules (camera, network).
π‘
Turning off autoboot for 5-10 unnecessary applications can increase battery life by 15-20% by reducing background activity.
6.Reset the partition cache (Wipe Cache Partition): when and how to use
If your phone is slowing down, overheating, or is making update errors, the Wipe Cache Partition will help, not a factory reset, your data (photos, contacts, messages) will remain intact but will be deleted:
- ποΈ Temporary system files.
- π Remains of failed updates.
- π± Kernel cache and dalvik cache (important for performance).
Instructions for Xiaomi:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset β Wipe Cache (use volume buttons for navigation, power button for confirmation).
- Confirm the action and wait until the completion (1-2 minutes).
- Choose Reboot. β Reboot to System.
Once rebooted, the phone will run faster and have 500MB-1GB more free space, a method that is especially useful before upgrading MIUI if it is βhangingβ during the installation phase.
What to do if the phone does not turn on after Wipe Cache?
7 Cleanup Automation: The Best Apps for Xiaomi
If you don't want to manually clean your garbage, use specialized utilities. 10 Apps and selected top-3 Xiaomi:
| Annex | Pluses | Cons | Reference |
|---|---|---|---|
| Files by Google | Free, finds duplicates, clears the cache | Does not remove MIUI system debris | Google Play |
| SD Maid | Deep cleaning, working with root folders | Paid version for full functionality | Google Play |
| CCleaner | Convenient interface, optimization of autoloading | Advertising in the free version | Google Play |
For maximum effect:
- Install SD Maid and give it Root rights (if the phone is rooted).
- Run the scan in the CorpseFinder section, and it will find the remnants of the remote applications.
- Use AppControl in SD Maid to disable autoloading of unnecessary services.
If the phone is not rooted, Files by Google is the best choice: it is free and requires no special rights.