Your Xiaomi constantly issues notifications about memory shortages, apps are slowed down, and the camera refuses to save photos? The problem is familiar to most smartphone owners of this brand โ especially if you use budget models with 32-64 GB of internal memory. But even flagships with 256 GB over time get clogged with unnecessary files, cache and duplicates.
In this article, weโll break down 7 proven ways to clean up memory on Xiaomi, including hidden MIUI features that arenโt obvious to the average user. Each method is accompanied by step-by-step screenshots and video instructions (links to official and user guides).
We will focus on the hidden cache of system applications (for example, Mi Video or Gallery), which takes up to 500 MB, but does not appear in the standard file manager, and we will also uncover the myths about โmagic cleanup programsโ and show how to use the system. ADB-teams help remove unnecessary pre-installed applications (bloatware) without root rights.
1. Standard cleaning through MIUI: why it doesn't work
The first thing that comes to mind is to go to Settings โ About Phone โ Memory โ Cleanup. But this method only removes the surface debris: temporary browser files, image thumbnails and cache of some applications. In practice, it releases no more than 300-800 MB, and often even less.
The problem is that MIUI hides from the user:
- ๐๏ธ System cache of applications (such as Mi Video or Music) that accumulates over the years and can weigh up to 1-2 GB.
- ๐ Duplicate media files created automatically when editing photos/video in Gallery.
- ๐ค Update files that remain after new versions are installed MIUI (folder Downloaded_rom).
- ๐ฑ Logs and dumps of system errors (folder) /sdcard/MIUI/debug_log).
To see the actual state of memory, use a side-by-side file manager (such as Files by Google or Solid Explorer) that will show hidden folders and files that MIUI deliberately hides.
โ ๏ธ Note: Do not manually delete folders MIUI, Android DCIM/.thumbnails โ This can cause the camera and gallery to malfunction. Use specialized methods to clean them (see section below). 3).
2. Delete the application cache: hidden folders and ADB-trick-trick
The app cache is the main memory eater, and even after the standard cleaning, MIUI still has:
- ๐ฌ Cash Mi Video (up to) 1 GB - stored in /sdcard/Android/data/com.miui.video.
- ๐ท Mini versions of photos (Gallery) - folder DCIM/.thumbnails (can weigh up 500 MB).
To remove them without root rights, follow the following steps:
- Select an app (such as Mi Video) โ Storage โ Clear the cache.
adb shell pm clear com.miui.video
adb shell pm clear com.miui.galleryThese commands will completely reset the application settings, but will free up to 1-1.5 GB.
โ๏ธ Clearing the cache through ADB
โ ๏ธ Warning: After cleaning the cache of Mi Video or Gallery, the first launches of the applications will be slower - this is normal.
3. Removing duplicate photos and videos: MIUI tools and third-party applications
Xiaomi automatically creates duplicate media files when:
- ๐ธ Photo editing in Gallery (the original is saved) + modified).
- ๐ฅ Video recordings in mode HDR Night Mode (intermediate files are generated).
- ๐ Sync with Mi Cloud (sometimes temporary copies are created).
To find and remove duplicates:
- Use the built-in Gallery โ Albums โ Duplicates (available in MIUI 12+).
- For a deep scan, install Files by Google:
- ๐ Open the app. โ Cleanup โ Duplicate files.
- ๐๏ธ Select unnecessary copies and click Delete.
This method usually frees up between 500MB and 3GB, depending on the cameraโs usage activity.
| Method of searching for duplicates | Average amount of freed memory | Time to scan. | Is ruth required? |
|---|---|---|---|
| Built-in Gallery (MIUI) | 300-800 MB | 1-2 minutes | No. |
| Files by Google | 1-3 GB | 3-5 minutes | No. |
| SD Maid (from the root) | 2โ5 GB | 5-10 minutes | Yes. |
๐ก
Before removing duplicates, back up important photos in Google Photos or on a PC. Sometimes algorithms mistakenly identify unique photos as duplicates (for example, a photo with a similar composition).
4. Clean Update Files and System Logs
MIUI saves firmware files and system logs even after a successful update, which can take up to 4-5 GB:
- ๐ฆ folder Downloaded_rom โ Here are stored the downloaded firmware (weight of one โ 1.5โ2.5 GB).
- ๐ folder /sdcard/MIUI/debug_log โ error logs (up to) 500 MB).
- ๐ folder /cache โ Temporary update files (available only through TWRP or ADB).
How to clean:
- Connect your phone to your PC and use a conductor Windows/macOS, manually remove the contents of folders Downloaded_rom and debug_log.
- To clean /cache, run the command via ADB:
adb shell su -c "rm -rf /cache/*"After removing files from the Downloaded_rom You will have to download the firmware again the next update - but this will free up the 3 GB right away.
What happens if you delete the system folder?
5. Removal of pre-installed applications (bloatware) without root rights
Xiaomi installs dozens of unnecessary apps that cannot be removed by standard means, including:
- ๐ฎ Mi Game Center, Mi Pay, Mi Credit (for the Indian market).
- ๐บ Mi Video, Mi Music (if you don't use them).
- ๐ฐ Mi Browser, Mi Community, GetApps.
To remove them without root rights, use ADB:
- Connect your phone to your PC and enable USB Debugging (Settings โ About Phone โ MIUI Version โ 7 times press to activate Developer Mode).
- Enter the command to remove the unnecessary application (example for Mi Video):
adb shell pm uninstall --user 0 com.miui.videoThe complete list of removal packages:
| Annex | Packet name | Place vacated |
|---|---|---|
| Mi Video | com.miui.video | 200-400 MB |
| Mi Music | com.miui.player | 150-300 MB |
| Mi Browser | com.android.browser | 100-200 MB |
| GetApps | com.xiaomi.mipicks | 80-150 MB |
โ ๏ธ Note: Do not delete system applications like com.miui.home or com.android.settings, which will cause system failure.
6. Transfer of applications to SD-Map: Why it doesnโt always work
Many users are trying to solve the problem of memory shortage, transferring applications to the Internet. SD-But in the MIUI limitations:
- ๐ซ Only a portion of apps support portability (usually games and some instant messengers).
- ๐ข Annexes to SD They are slower, especially if the class card is UHS-I lower).
- โ ๏ธ When you remove the map, the applications stop working.
How to move (if supported):
- Open Settings โ Applications โ Application Management.
- Select the application โ Warehouse โ Change. โ SD-map.
Alternative: Use it SD-The card is an internal memory (formatted as Adoptable Storage:
- ๐ Encrypt the card (will not be read on other devices).
- ๐ Reduces its lifespan due to frequent overwriting.
๐ก
Transfer of applications to SD-For long-term effects, it is better to clear the cache and remove unnecessary applications (see sections 2 and 5).
7. Factory reset: when justified
If all the previous methods didn't work, you'll have to have a hard reset, which will delete all the data, but it will put the phone back in its "clean" state, when it makes sense:
- ๐ ๏ธ The phone is slowing down even after cleaning.
- ๐ Free memory is less than 1 GB and is not freed by other means.
- ๐ You plan to sell or transfer your phone.
How to reset:
- Create a backup (Settings โ System and Device โ Backup).
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data and confirm.
After discharge:
- ๐ฑ The phone will be like new, with MIUI "box".
- ๐ Free up to 10-15 GB (depending on the model).
- โ ๏ธ You will have to re-configure accounts and install applications.
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 8 Pro) may lose the partition for the reset. SD-To avoid this, remove the card before resetting.