Even on Xiaomiโs new 128GB and 256GB smartphones, sooner or later, a โNot Enough Spaceโ notification appears, and itโs not always because of your photos or apps โ MIUI actively caches data, duplicates and accumulates garbage in the background. In this article, weโll look at all the possible cleanup methods, including hidden features that are not written about in standard instructions.
Xiaomi's peculiarity is the aggressive use of internal memory to speed up work. MIUI can borrow 20-30% More space than Android, because of preloaded data and optimizations. We tested the methods on Redmi Note models. 10 Xiaomi 13 Ultra is the results in the table below. Important: some actions require root rights or debugging. USB, But most of the ways work without them.
1. Deep cache cleaning: what to remove and what not to
Cache is the main memory eater on Xiaomi, but not all cache can be safely deleted, for example, cleaning the cache of Google Play Services will lead to the reloading of 500+ MB of data, and deleting the cache of the MIUI System can reset the theme settings.
- ๐ฑ Cache of user applications: Social networks (Telegram, VKontakte), instant messengers, games. 5-7 GB of garbage.
- ๐ต Media cache: Miniature photos / videos in the gallery, temporary files of music players (Mi Music, Spotify).
- ๐ Browser cache: Mi Browser and Chrome store copies of pages that can weigh up to 1GB.
- โ ๏ธ Exceptions: Donโt touch the cache of system applications like com.android.phone or com.miui.securitycenter โ this can disrupt your phone.
How to clean safely:
- Go to Settings โ Applications โ Application Management.
- Sort by size (click on the three dots in the upper right corner).
- Select the application โ Storage โ Clear the cache.
- For mass cleaning, use Settings โ Memory โ Cleanup (but this will only remove surface debris).
โ ๏ธ WARNING: Clearing WhatsApp cache will delete all media files from chats if they are not saved to the gallery. โ chat โ Backup.
2. Delete duplicates and โdeadโ files
MIUI It has an unpleasant feature: when moving files between folders or after system updates, duplicates with names like IMG_20230515_123456(1).jpg. In addition, after uninstallation of applications, their folders remain in the /Android/data/ and /Android/obb/.
How to find and delete:
- ๐ Use the built-in File Search in Explorer โ Search โ Xiaomi can search for repeated photos / videos by hash.
- ๐๏ธ To remove folders of the remaining applications, connect the phone to the PC and manually check: /storage/emulated/0/Android/data/ /storage/emulated/0/Android/obb/ Folders with names of remote applications (for example, com.tencent.mm for WeChat) can be safely deleted.
- ๐ Manually check the folder. DCIM/.thumbnails โ There are miniatures that can weigh up to 500 MB.
Use applications like Files by Google or SD Maid (requires root for deep cleaning) to automate, but beware: some SEOs delete useful files, such as offline map data in Google Maps.
๐ก
Before mass deleting duplicates, turn on the display of hidden files in the Explorer (Settings โ Show hidden files). Often the garbage is hidden in folders with a dot at the beginning of the name (for example,.cache).
3. Cleaning of system logs and dumps
Xiaomi actively logs the system, especially if you have USB debugging or MIUI beta enabled. These files can take up to 2-3 GB and are stored in hidden folders. They can be safely deleted, but you will need an ADB or a file manager with root permissions.
Cleaning methods:
| Method | The path to files | Scale of garbage | Need root? |
|---|---|---|---|
| Logs of the system | /data/log/ | 500 MB - 1.5 GB | Yes. |
| Dumps of error | /data/tombstones/ | 200-800 MB | Yes. |
| MIUI Logs | /data/miui/debug_log/ | 300MB - 1GB | Yes. |
| Cash updates. | /cache/ | 100-500 MB | No (via TWRP) |
For removal without root:
- Connect your phone to your PC and enable USB Debugging in Settings โ About Phone โ MIUI Version (click 7 times) โ Additional โ For Developers.
- Open the command line on your PC and type: adb shell su rm -rf /data/log/* rm -rf /data/tombstones/* rm -rf /data/miui/debug_log/*
โ ๏ธ Note: Delete files in /data/ If you don't root, you can crash the system if you go wrong. Use this method only if you're confident in your actions.
4. MIUI Storage Optimization: Hidden Functions
Xiaomi has built in MIUI some hidden cleaning tools that are not visible in the standard menu, such as Deep Cleaning, which removes not only cache, but also temporary files of system processes.
How to enable hidden options:
- ๐ง Enter the code in the dial box (as for a call): ##4636## Go to the Warehouse โ Clean up the data. This will remove debris that is not available through standard settings.
- ๐ B Settings โ Memory click on the use schedule โ In addition, you can see hidden files here (for example, data for the MIUI Optimization).
- ๐๏ธ The Guide. โ Categories โ System files (not available on all models) display files that are usually hidden.
On models with MIUI 14+, the Light Mode feature has appeared, which automatically clears the cache and limits the background processes. Activates in Settings โ Special Features โ Easy Mode. This can release up to 1-2 GB without manual actions.
Delete the cache of social networks and messengers |
Check /Android/data/ and /Android/obb/ for the remnants of remote applications |
Clear logs via ADB or root conductor |
Start a hidden cleanup code ##4636##|
Remove duplicate photos/video with built-in tool-->
5. Transfer of applications to SD-card (if supported)
Not all Xiaomi models allow you to transfer applications to the SD-card, but if your phone supports Adoptable Storage (e.g. Redmi Note) 8 pro POCO X3), It can release you to 10-15 GB.
How to check and configure:
- Put it in. SD-map (preferably) UHS-I Class 10 or faster).
- Go to Settings. โ Memory. โ SD-map.
- If you have the option to use as internal memory, select it. Attention: the card will be formatted and encrypted, it will not be read on other devices!
- After formatting, go to Settings โ Applications, select the application โ Warehouse โ Change. โ SD-map.
Limitations:
- โ Not all apps support portability (such as WhatsApp or Banking apps).
- โ ๏ธ After extraction SD-Application maps will stop working.
- โก Speed of application with SD-cards are lower than internal memory.
Why Xiaomi is removing Adoptable Storage support
6.Reset to factory settings: when justified
If all previous methods failed, it would be a hard reset, which would delete all data, including accounts, settings and apps, but would put the phone back in its "clean" state. On Xiaomi, you can do the reset in two ways:
Method 1. Through settings (soft reset):
- Make a backup in Settings โ About Phone โ Backup.
- Go to Settings โ About Phone โ Resetting โ Delete all data.
- Choose Clear everything and confirm.
Method 2. Through Recovery (hard reset):
- Turn off the phone.
- Press Volume Up + Power before the Mi logo appears.
- From the Recovery menu, select Wipe Data โ Wipe All Data.
- Confirm the action and wait for the reboot.
โ ๏ธ Note: On some models (Xiaomi) 11T, Redmi K50) Recovery reset can block the bootloader if the phone has been unlocked before, in which case you will need to re-unlock through the Mi Unlock Tool.
After discharge:
- ๐ Do not restore data from the backup right away โ first check how much memory is freed up.
- ๐ฅ Install applications selectively, not all at once.
- ๐ซ Turn off automatic app updates on Google Play.
๐ก
Factory reset is a last resort. If the problem is in the garbage, not viruses or system failures, try all other methods first. Once reset, the phone will run faster, but you will lose all data without the possibility of recovery (if you did not backup).
7.Alternative methods: cloud storage and compression
If physical memory is sorely lacking, consider cloud solutions and optimizing existing files:
- โ๏ธ Autoupload photos to the cloud: - Google Photos (free 15 GB, lossless compression). - Mi Cloud (5 GB free, integrated into the cloud. MIUI). Set up automatic download to the Gallery โ Settings โ Backup and enable the option to Delete after download.
- ๐ฆ Video and Photo Compress: Applications like Video Compress or Photo & Picture Resizer will reduce the weight of media files on the Internet. 40-60% without any noticeable loss of quality. MIUI There is a built-in tool: open the photo in the Gallery โ Edit โ Squeeze.
- ๐ฎ Optimization of games: - In Settings โ Special facilities โ Optimizing games can reduce graphical settings to save memory. - For Genshin Impact or Call of Duty Mobile, this will free up the game. 1-2 GB.
For advanced users:
- ๐ ๏ธ Change of file system to F2FS (requires rooting TWRP). Increases read/write speed and reduces fragmentation.
- ๐ Symlinks for transferring folders (for example, DCIM) on SD-map without loss of functionality.
8.Prevention: How to prevent memory clogging
To avoid clearing your memory every week, set up Xiaomi for automatic optimization:
- ๐ค Limit background activity: - Settings โ Battery โ Application power management โ Select Limit Background Activity for Unnecessary Applications.
- ๐ฅ Turn off auto update: - Google Play: Settings โ Auto-update of applications โ Do not update automatically. - Mi App Store: Settings โ Auto-update โ Off.
- ๐๏ธ Set up automatic cleaning: - Settings โ Memory. โ Auto-cleaning โ Turn on and select the frequency (for example, once a week).
- ๐ธ Optimize the camera: - Into the camera โ Settings โ Photo/video quality choose High over Maximum (saves up to 30% of space).
Also useful:
- ๐ Connect your phone to your PC regularly and check Download, Bluetooth folders, Pictures/Screenshots โ There's a lot of trash in here.
- ๐ต Remove unnecessary APK-files after installing applications (they remain in Download or in Download) /sdcard/apk).
๐ก
Prevention is more important than treatment: set up automatic cleaning, limit background processes and regularly check the storage, which will eliminate the need to urgently vacate space.