Have you noticed that your Xiaomi has become slow and the space on the internal drive is melting away? Even after removing photos and applications, the memory is still filled to the full? The problem is not your forgetfulness - smartphones on MIUI have features that clog up memory unnoticed by the user. In this article, we will discuss 12 main reasons why Xiaomi memory clogs on its own, and show how to deal with this without resetting to factory settings.
Let's warn you right away: many of the Internet's "tips" (like cleaning the cache through the engineering menu) are not only not helpful, they can be harmful. We've collected up-to-date data on the latest versions of MIUI 14/15, including hidden mechanisms that are not even mentioned in the official documentation. For example, did you know that the system automatically creates duplicate photos in the.thumbnails folder, and some applications (like Mi Video) cache video files in the background?
If youโre ready to get your Redmi, POCO, or Xiaomi back to speed, read on. Weโre not going to recommend โjust delete unnecessary filesโ (this is obvious), but weโre going to show you where to look for garbage and how to prevent it from accumulating again.
1. App cache: why it can't be cleaned just like that
The most obvious cause of memory clogging is app cache, but thereโs a nuance: if you manually clean it through settings, many programs (like Google Play Services or Mi Account) will start to run slower, as they will have to reassemble temporary data, and some apps (like Facebook or Instagram) can automatically restore cache in the background, nullifying your efforts.
Here's what really helps:
- ๐ Use the built-in memory analyzer in Settings โ Memory: It shows which apps take up the most cache space. Only clean those you rarely use.
- ๐ซ Do not touch the cache of system applications (e.g. com.miui.gallery or com.android.systemui) โ this can cause crashes.
- โ๏ธ For social networks and instant messengers, it is better to use lightweight versions (for example, Facebook Lite or Messenger Lite), which cache significantly less data.
Note that MIUI 14+ has a feature called AutoCache Cleanup (includes in Settings โ Memory โ Settings) that deletes unnecessary temporary files once a week, but it doesnโt work perfectly โ sometimes skipping large files from games or streaming services.
2. Hidden MIUI folders: where the system hides your files
MIUI creates dozens of hidden folders that users don't even know they're doing.
- ๐.thumbnails โ here you can store thumbnails of all your photos and videos (can take up to 500 MB-1 GB).
- ๐ MIUI/ss โ Screenshots you took with the three-finger-down gesture (even if you deleted them from the gallery).
- ๐ Android/data โ Application files that are not deleted when uninstalled via Play Market.
- ๐ DCIM/.thumbdata โ Gallery miniature cache (sometimes duplicated by.thumbnails).
To see these folders, youโll need a file manager with root access (like Solid Explorer or FX File Explorer) or a command via ADB:
adb shell ls -la /sdcard/โ ๏ธ Attention: Do not delete folders MIUI/bugreport or lost.dir, which is used to diagnose the system, but the contents of.thumbnails can be cleaned (it will be restored automatically the next time you view the gallery).
Install a file manager with root access
Check the.thumbnails folder (delete content)
Clean up DCIM/.thumbdata
Remove old screenshots from MIUI/ss
Check it out. Android/data Remnants of Remote Applications-->
3.Duplicate photos: how MIUI Gallery creates copies
The MIUI Gallery app has an unpleasant feature: it automatically creates duplicate photos in several cases:
- When editing a photo (the original is saved, plus a copy with changes is created).
- When using the "Collage" or "Document" functions (the source files remain in place).
- Synchronization with Mi Cloud (sometimes both versions are downloaded โ the original and the compressed copy).
To find duplicates:
- Open the gallery. โ Albums. โ Recent.
- Sort files by โDate of Changeโ โ duplicates usually have the same date, but different times.
- Use apps like Duplicate Files Fixer (it finds similar photos even with different names).
๐ก Useful tip: Before mass removal of duplicates, back up important photos on your PC or in the cloud. MIUI Gallery mistakenly marks as duplicate photos with similar content, but different resolution (for example, the original and the version for Stories).
4. Residual files after deleting applications
When you delete an app through Play Market or Settings โ Apps, MIUI doesnโt always clear all associated files.
- ๐ Folders in Android/data and Android/obb (particularly).
- ๐๏ธ Settings files in /data/data (root-only).
- ๐ Symbolic references to /sdcard (For example, WhatsApp or Telegram).
How to clean:
- Use SD Maid (deep cleaning app) or Files by Google (it has a Clean up function โ Residual Files).
- For games: check the Android/obb folder โ 1-3 GB files can remain here even after uninstallation.
- If you have root access, follow the command: rm -rf /data/data/com.name.packet (you can find out the name of the package through the App Inspector).
โ ๏ธ Note: Some apps (such as Xiaomi Community or Mi Video) leave files in the user's hands after deleting them. MIUI/system_ad. They can be manually removed, but they will recover after the next update. MIUI.
5. MIUI Update Cache: Why Downloaded Files Take Gigabytes
The system automatically downloads MIUI updates in the background, even if you have disabled auto-update.
- /sdcard/Downloaded_rom โ There are full firmwares (weights) here. 2โ3 GB).
- /cache/ota โ update cache (available only from root)
- /data/ota_package โ temporary.
How to clean:
- Remove the contents Downloaded_rom manually (it is safe).
- If the update is already installed, clear the cache in Settings โ Apps โ System Update โ Memory โ Clear the cache.
- To disable the background download of updates, go to Settings โ The phone. โ Updating the system โ โฎ โ Settings and disable "Downloading over Wi-Fi".
๐ Key Conclusion: If you donโt plan to update anytime soon, feel free to delete files from your site. Downloaded_rom โ They will be rebooted the next time you update.
6. Logs and dumps of the system: why they take place
MIUI maintains detailed logs that can take hundreds of megabytes to run, which are used to diagnose crashes, but are rarely used by the average user.
| folder | What's stored | Is it safe to remove |
|---|---|---|
| /sdcard/MIUI/debug_log | MIUI Logs (Errors, Crashes) | Yes. |
| /sdcard/bugreport | Memory dumps when failures | Yes (but don't remove during diagnosis) |
| /data/anr | Logs "app not responding" | Only root |
| /data/tombstones | Core dumps (critical failures) | No (may be needed for repairs) |
For cleaning:
- Folders. debug_log The bugreport can be removed manually.
- To clear anr and tombstones, root or command is needed: adb shell rm -rf /data/anr/* adb shell rm -rf /data/tombstones/*
โ ๏ธ Note: If your phone reboots frequently or apps crash, do not delete tombstones โ these files will help the service center determine the cause of the failure.
7. cache of streaming services: Netflix, YouTube, Mi Video
Video viewing apps (Netflix, YouTube, Mi Video) cache content in the background, even if you didn't download it specifically.
- ๐ฌ Mi Video saves previews of videos in /sdcard/MIUI/video/thumbs.
- ๐บ YouTube caches video for offline viewing in /Android/data/com.google.android.youtube/files/Offline.
- ๐ฟ Netflix keeps uploaded movies in /Android/data/com.netflix.mediaclient/files/Download.
How to manage the cache:
- On YouTube: Settings โ Background and data โ Clear the cache.
- On Netflix: App settings โ Delete all downloads.
- In Mi Video: Clean the thumbs folder manually or turn off autoplay in the settings.
๐ก Useful tip: If you watch high-resolution videos often, limit your cache to app settings. For example, on YouTube, you can select "Wi-Fi Only" for downloads.
8. Temporary files of messengers: Telegram, WhatsApp, Viber
Messengers are the main memory eaters. They keep:
- ๐ธ Photos and videos in original quality (even if you haven't downloaded them).
- ๐ต Voice messages (in Telegram they are stored in.ogg format).
- ๐ Documents and stickers (e.g. folder) Telegram/Telegram Documents can weigh a few gigabytes).
How to clean:
| messenger | A garbage folder | How to clean up |
|---|---|---|
| WhatsApp/Media | In the chat settings: "Clear media" | |
| Telegram | Telegram/Telegram Images, Telegram Video | Settings โ Data and memory โ Clear cache |
| Viber | Viber/media | In the settings: "Memory โ Clean Media" |
โ ๏ธ Note: Telegram has a hidden folder Telegram/Telegram Audio, where voice messages are stored, can only be removed manually, and the cleaning function in the app does not work on them.