Have you noticed that your Xiaomi has suddenly run out of space, even though you haven't added photos or videos in a long time? Or the phone has started to slow down, and the storage settings display the mysterious "System Data" section on 10+ GB? is a problem familiar to many Redmi smartphone owners, POCO Mi β even with flagships on 256 GB. In this article, we will analyze all the ways to analyze occupied memory, including hidden folders, messenger cache and system files that are not shown in the standard manager.
We will not be limited to basic tips like "go to the settings", you will learn how to find and delete duplicate photos, clear the Telegram cache at 5+ GB, detect βjunkβ from remote applications and even analyze memory through ADB β And at the end of this article, you'll find a checklist for optimization that will free up to 30 percent of the space without losing important data.
1. Standard Memory Analysis through Xiaomi Settings
Letβs start with the most obvious β the built-in Settings tool. β Memory, new versions. MIUI 14/15 (And HyperOS, this partition is better visualized than the old firmware, but even here there are pitfalls. For example, the system can show "Other Files" in volume. 20 GB, without explaining what it is.
How to read this chart correctly:
- πΈ Photo and video β this includes thumbnails, edited copies and files from the folder DCIM/.thumbnails, frequently duplicated.
- π΅ Audio β in addition to music, voice messages from the WhatsApp/Telegram and tape recordings.
- π± Apps - shows only the size APK-files, but does not take into account their data (cache, databases, downloads).
- ποΈ System data is the most insidious item: this includes log files (/data/log), Memory dumps and update residues OTA.
To see the details of each section, tap on it. For example, in Apps, you can sort programs by size and see that Facebook is 1.2 GB, of which 800 MB is cache. But beware: cleaning up the cache of some applications (such as Google Play Services) can cause Google services to malfunction.
β οΈ Note: If you see the item "Reserved by the system" in the "Memory" section" (5-10 GB, don't try to clean it. This is the space you need to work with. MIUI It can only be reduced by ADB (I'll talk about it below, but it's risky.
2. Hidden folders and files: where Xiaomi hides "garbage"
Xiaomi's standard file manager hides many system directories from the user. To see them, you need to turn on the display of hidden files: open the manager, tap three dots in the upper right corner. β Settings β Show hidden files. Now you can look at the:
| folder | Way | What's inside | Can I remove it? |
|---|---|---|---|
| Cash app. | /data/data/<package_name>/cache | Temporary files (miniatures, clipboard, log files) | Yes, but some apps will recreate it. |
| Log files of the system | /data/log | Error reports, memory dumps (can weigh up to 1 GB) | Yes, but only manually (not through the "Cleaning") |
| Remains of updates | /cache and /data/ota_package | Firmware files after OTA-update | Yes, if the update is successful |
| Duplicate photos | /DCIM/.thumbnails and /Pictures/Screenshots | Miniatures and screenshots that are created automatically | Yeah, but check it out at the gallery first. |
Pay special attention to the folder /Android/data β It stores data from apps that you deleted long ago, but their files are still there. For example, if you used TikTok and then uninstalled it, there might be a cache in this folder that weighs a lot more. 500+ MB: It can only be removed manually or through ADB.
How to find the heaviest folder manually?
Another source of invisible garbage is messenger cache. Telegram cache is stored along the way. /Android/data/org.telegram.messenger/cache, a in WhatsApp β /Android/media/com.whatsapp/WhatsApp/Media. Here can accumulate gigabytes of unnecessary stickers, voice messages and video previews.
3. Third-party applications for deep memory analysis
Built-in tools MIUI They don't always show the full picture:
- π Files by Google β shows junk files (duplicates, large files, unused files) APK) And it suggests that you delete them, and it's especially useful for finding old memes and screenshots.
- π DiskUsage β visualizes the occupied space in the form of an interactive map, and you can see which files occupy the most space.
- π§Ή SD Maid (requires root) β finds remnants of deleted applications, empty folders and temporary files that are not visible by standard means.
- π± Storage Analyzer analyzes memory by category (photos, videos, documents) and shows the heaviest files in each file.
Example of DiskUsage:
- Install the app from Google Play.
- Give me access to the memory.
- Select a partition to scan (internal memory or SD-map).
- And you'll see a color map on the screen, where each block is a file or a folder, and the bigger the block, the more it weighs.
- Slip on any block to see its contents and path.
With help. SD Maid (for root users) can be found and removed:
- Remains of uninstalled applications in /data/data.
- Empty folders that take up space in the file system.
- Duplicate files (e.g., the same photos in different folders)
- Unnecessary APK-file /download or /apkmirror.
β οΈ Attention: If you are using SD Maid with root access, never delete files from folders /system, /vendor or /boot. This can lead to a break in the firmware and the βbrickβ of the phone.
βοΈ Checklist before cleaning the memory
4. Memory analysis through ADB (for advanced users)
If you are ready to dive deeper, Android Debug Bridge (ADB) This method requires connecting the phone to a PC, but provides the most accurate analysis of the occupied space, including system partitions that are not normally accessible.
Instructions:
- Download and install ADB Tools on PC.
- On your phone, turn on Settings β About Phone β MIUI version (tap 7 times to activate the developer mode).
- Return to Settings β Additional β For developers and enable USB Debugging.
- Connect your phone to your PC and type in the command line: adb shell df -h This command will show the occupied space in all sections (including: /system and /data).
- To see the largest files in /data, Do it with adb shell su du -ah /data | sort -rh | head -n 20 (Root rights are required)
What can be found through ADB:
- π¦ Remains of updates in /cache (file update.zip).
- ποΈ Log files in /data/log (can weigh up 1-2 GB).
- π Duplicate system applications (sometimes) MIUI copy APK post-update).
- π± Google's cache of services /data/data/com.google.android.gms.
If you see a folder in the command output /data/app-lib or /data/dalvik-cache, Don't delete the contents of the app, it can break the app. Instead, use the command:
adb shell pm clear <package_name>where <package_name> β the name of the application package (e.g. com.facebook.katana for Facebook) This will securely clear the cache and data of the particular application.
π‘
If the adb shell command is not working, check if debugging is enabled. USB on the phone and whether drivers are installed ADB On Windows, you can download them from Mi Flash Tool or Xiaomi. USB Driver.
5. Memory Cleanup Without Losing Data: What Can Be Deleted Safely
Now that you know where to look for junk, we'll start cleaning up. The rule is, don't delete anything at random. Even if the folder is called cache, some files can be critical to the system.
| Type of file | Where to find | How to clean up | Saving space |
|---|---|---|---|
| Cash app. | Settings β Annexes β [Select an application] β Memory. β Clear the cache | Manually or through Settings β Memory. β Cleanup | From 500MB to 5GB |
| Downloads (APK, archives) | /Download or /Downloads | Remove unnecessary files manually | From 1 GB to 10+ GB |
| Duplicate photos | /DCIM/.thumbnails or /Pictures | Use Files by Google or Gallery Doctor | 200MB to 2GB |
| Log files of the system | /data/log (need root or ADB) | Remove by hand or through ADB | From 100MB to 1GB |
| Cash messengers | /Android/data/org.telegram.messenger/cache | Clean in the settings of the messenger or manually | From 1 GB to 10 GB |
Pay special attention to the Telegram cache, to clear it:
- Open Telegram β Settings β Data and memory.
- Put it on "Clear Telegram cache."
- Choose which to delete: media files, documents or everything.
For WhatsApp, the path is different:
- Open WhatsApp. β three-point β Settings β Memory.
- Select file categories (photo, video, audio) and delete the unnecessary.
β οΈ Note: If you delete files from the folder /Android/obb (game data, some games may stop working. Before cleaning, check if these files are used by current applications.
π‘
The most βheavyβ applications on Xiaomi are usually instant messengers (Telegram, WhatsApp), social networks (Facebook, TikTok) and games (PUBG, Genshin Impact. Their cache can take up to 10-15 GB, but you need to clean it carefully so as not to lose important data.
6.How to prevent memory filling in the future
Cleaning up your memory is good, but it's even better to keep it from filling up, and here are some tips to help keep things under control:
- π± Turn off autoload media in messengers: Telegram: Settings β Data and memory β Autoboot media β Select "Never." On WhatsApp: Settings β Memory. β Autoboot media β Turn off for mobile data and Wi-Fi.
- π Set up automatic cache cleanup: In Settings β Memory. β Clean up, turn on the "Auto Clean" option. Select a period (e.g. once a week).
- πΈ Use cloud storage: Enable automatic upload of photos to Google Photos or Mi Cloud. Set up deletion of local copies after download (in Google Photos: Settings) β Make room).
- π± Remove pre-installed apps (without root): Use ADB To uninstall unnecessary system applications (e.g. Mi Video or Mi Music) Command: adb shell pm uninstall -k --user 0 <package_name>.
Another useful trick is to transfer applications to SD-This is the card (if your Xiaomi supports it:
- Put it in. SD-card (preferably class 10 or UHS-I).
- Format it as internal memory in Settings β Memory. β SD-map.
- Move the applications to Settings β Annexes β [Select an application] β Memory. β Change. β SD-map.
Remember, after formatting. SD-The card as internal memory cannot be used on other devices without complete cleaning.
7. Frequent errors in memory cleaning (and how to avoid them)
Many users make mistakes in trying to make room, which then lead to data loss or phone failures, and the most common ones are:
- π« Deleting the entire Android folder will cause the crash of all applications, /Android/data/com.example.cache).
- π« Clearing the cache of system applications (e.g. Google Play Services or Google Play Services) MIUI System β this could disrupt Google services and Xiaomi branded features.
- π« Using Google Playβs βmemory optimizersβ (such as Clean Master or CCleaner) β they often delete the right files and show false virus warnings".
- π« Formatting internal memory as a solution is an extreme measure that will delete all data, including photos and contacts.
- π« Deletion of files from /system or /vendor β This will cause the phone to blink (it will stop turning on).
If you accidentally delete important files, try to restore them with:
- DiskDigger (for photos and documents)
- Recuva (if you connect your phone to your PC as an external drive).
- Google Photos (if synchronization is enabled)
β οΈ Note: If after cleaning the memory, the phone started to restart or give out errors, most likely, you deleted critical system files.