Xiaomiโs smartphone memory fills up unexpectedly quickly, even if you donโt install new apps. System updates, messenger cache, duplicate photos in the cloud and hidden application files can eat gigabytes unnoticed. In this article, weโll look at how to determine exactly what memory is occupied on your Redmi, POCO or Mi โ from analysis through embedded tools to hidden folders that are not disclosed in official instructions.
The MIUI firmware feature is aggressively caching data to speed up work, but often it leads to the fact that even after removing applications, memory is not freed. We will show you how to distinguish useful files from garbage, what data can be cleaned and what not to touch (risk breaking the system). At the end of the article, a checklist for quick cleaning and answers to frequent questions on specific models (Redmi Note 12, POCO X5, Mi 11, etc.).
1. Built-in memory analyzer in MIUI: what it shows and what it canโt see
The fastest way to check the space is to use the standard MIUI tool, which is available on all Xiaomi smartphones, regardless of the model and firmware version.
- Go to Settings โ About Phone โ Memory (on some versions, the path: Settings โ Storage).
- Wait for the scan to be completed (it can take up to 30 seconds).
- Click on any section (such as "Apps" or "Multimedia") to see the details.
The analyzer will break down the occupied memory into categories:
- ๐ฑ Applications โ weight of installed programs (including updates).
- ๐ Files - documents, downloads, APK.
- ๐ต Multimedia โ Photos, Videos, Music (including duplicates from Google Photos or Mi Cloud).
- ๐๏ธ Cache โ temporary application files (often 1โ3 GB!).
- ๐ง System - firmware, logs, backups.
What the built-in analyzer doesn't show:
- ๐ Hidden application folders (e.g..thumbnails with thumbnails).
- ๐ฆ Files created by the system for recovery after a failure (lost.dir).
- ๐ Duplicate files in cloud services (Mi Cloud, Google Drive).
- ๐ค Cache of system processes (e.g. com.android.systemui).
โ ๏ธ Note: If the "System" section is more occupied 10 GB on a smartphone 64/128 GB of memory is normal. MIUI Attempt to clean it manually may cause bootloop!
2. Hidden folders and files: where to look for invisible garbage
Even if the built-in analyzer shows that memory is scarce, the real situation can be worse. Many files are hidden from the user, but take up space.
| Folder/file | Way | What it keeps. | Can I remove it? |
|---|---|---|---|
| .thumbnails | /storage/emulated/0/DCIM/.thumbnails | Photo and video miniatures (galleries cache) | โ Yes (restores automatically) |
| lost.dir | /storage/emulated/0/lost.dir | Recovered files after failure | โ ๏ธ Partially (check the contents) |
| Android/data | /storage/emulated/0/Android/data | Application data (cache, game saving) | โ No (risk of losing progress) |
| MIUI/backup | /storage/emulated/0/MIUI/backup | Backup copies of settings | โ Yeah (unless you need old backups) |
To see hidden folders, use any file manager that supports hidden files (such as Solid Explorer or FX File Explorer). In MIUI, the default hidden files are not shown - turn on the option in the manager settings.
How to securely clean hidden files:
- First, check the contents of the lost.dir folder โ there may be important files after a crash.
- Remove the contents of.thumbnails โ it will be restored automatically.
- In the Android/data folder, delete only the cache of specific applications (e.g. com.tencent.mm for WeChat).
What happens if you delete the Android/data folder?
3. Memory analysis via ADB: for advanced users
If standard methods don't work, you can use ADB (Android Debug Bridge) for detailed analysis, which is suitable for users willing to work with the command line.
What you need:
- ๐ฅ๏ธ Computer with installed ADB-driver.
- ๐ฑ Included debugging by USB on a smartphone (Settings) โ The phone. โ Version. MIUI โ 7 times press to unlock the developer mode, then Settings โ Additionally. โ For developers โ Debugging by USB).
- ๐ USB-cable (preferably original).
Analysis teams:
adb shell df -h # Shows occupied space by section
adb shell du -sh /data/* | sort -rh | head -n 20 # Top-20 large folders in /data
adb shell pm list packages -f | grep -i "com.xiaomi" # List of Xiaomi system packagesCritical information: The du-sh /data/media/0 command will show the actual size of user data, which may differ from the one displayed in MIUI by 5-15% due to the features of the F2FS file system.
โ ๏ธ Note: Do not delete files in /data/data or /system through ADB without understanding the consequences! This can cause the firmware to fail and require a complete reset.
โ๏ธ Preparation for analysis through ADB
4.Memory analysis apps: which is better than Files by Google or built-in tool
Third-party applications can show more detail than the built-in MIUI analyzer. Let's consider two popular options:
| Annex | Pluses | Cons | Reference |
|---|---|---|---|
| Files by Google | Shows duplicate files, clears cache, suggests removing unnecessary APKs | Does not see MIUI system folders, aggressive advertising | Google Play |
| SD Maid | In-depth analysis of shopping cart, temporary files, databases | Paid version for full functionality, complex interface | Google Play |
How to use Files by Google:
- Install the application and give access to the files.
- Go to the Cleanup tab โ the program will automatically find unnecessary files.
- In the section Analysis of storage, look at the distribution by category (here you can see even hidden duplicates of the photo).
- Click Clean to remove garbage (but first check what gets removed!).
SD Maid is suitable for power users. It finds:
- ๐๏ธ Residual files after deleting applications.
- ๐ Empty folders and symbolic links.
- ๐ Files in the Recycle Bin That Haven't Been Cleaned For A Long Time.
๐ก
Before using SD Maid, back up important data. The application can delete files that seem like garbage, but are needed for some programs to work (for example, cache cards in Google Maps).
5. Frequent memory eaters on Xiaomi and how to deal with them
Some MIUI applications and system processes are known to take up too much space, and here are the main culprits and ways to pacify them:
- ๐ธ Google Photos / Mi Gallery: Creates duplicate photos in the cloud and on the device. Turn off autoload in the settings or use the Free up space function in Google Photos.
- ๐ฌ Messengers (WhatsApp, Telegram, Viber): Cache media files. Clean the cache manually in the settings of each application (for example, in Telegram: Settings โ Data and memory โ Clear the cache).
- ๐ฎ Games (Genshin Impact, PUBG, Call of Duty: Weigh 2-10 GB each, remove unnecessary ones or transfer them to a memory card (if supported).
- ๐ Updates MIUI: Update files (*.zip) remain in the folder /cache. Once the update is installed, you can remove it manually.
- ๐ Logs and dumps: Folder /data/tombstones It contains crash reports, and you can clean it if the phone is stable.
How to reduce the weight of messengers:
- On WhatsApp: Settings โ Storage โ Storage Management โ sort by size and remove unnecessary media.
- In Telegram: Settings โ Data and Memory โ Autoclean Media โ Set a limit (e.g. 1 GB).
- In Viber: Settings โ Device โ Clear cache.
๐ก
Regularly cleaning the messenger cache can free up to 3-5 GB of memory, especially if you are in groups with active media sharing.
6.Transfer data to memory card: Does it work on Xiaomi
Many users try to solve the problem of memory shortage by transferring data to microSD, but on Xiaomi smartphones there are nuances:
- โ What can I transfer: ๐ท Photo and video (via camera or gallery settings). ๐ต Music and documents (manually through file manager). ๐ฑ Some apps (if supported by Adoptable Storage, but this is rare) MIUI).
- โ What can't be moved: ๐ฑ Applications and their data (except for individual games with support) SD). ๐ง System files and updates. ๐ Cash app.
How to set up photo saving on a memory card:
- Open the Camera app.
- Press on. โ๏ธ Settings โ Preservation site.
- Select a Memory Card (if the option is active).
โ ๏ธ Note: On new models (Redmi Note 12, POCO X5 and newer) transfer of applications to SD-The card is often blocked. MIUI filesystem F2FS, It does not support Adoptable Storage.
7.When to do a reset to factory settings
If you've had all the manipulations, you still have a memory that's not clear, and your smartphone is slowing down, maybe a full reset will help.
- ๐ Residual files after deleting applications.
- ๐๏ธ System debris and fragmented data.
- ๐ง Incorrect settings leading to memory overrun.
How to do the reset correctly:
- Create a backup of important data (photos, contacts, messages).
- Go to Settings โ About the phone โ Reset settings.
- Choose to Erase All Data (not Settings Reset is the same!).
- Confirm the action and wait for the reboot.
What to do after the discharge:
- ๐ Donโt restore all data at once โ check first if the problem is coming back.
- ๐ฑ Install applications gradually, keeping track of occupied space.
- ๐ Turn off autoload media in messengers.
๐ก
After reset, take your time to recover data from the backup of Mi Cloud or Google Drive. First, check if the memory problem is coming back - sometimes it is backups containing broken files that are to blame.