Have you noticed that your Xiaomi has suddenly run out of space, even though there are almost no photos and apps installed? Or your smartphone says "Memory is full" even though it shows 10-20 GB of free space in the settings? This problem is familiar to many owners of Redmi, POCO and Mi devices - and it has specific reasons.
In this article, we will not just list the standard tips like โclean up the cache,โ but we will examine the hidden MIUI mechanisms that devour memory invisibly, from system logs to duplicate files after updates, and we will also show you how to find and remove up to 30% of the โinvisibleโ debris that is not displayed in the standard file manager.
Spoiler: 60 percent of the time, it's not the user data, it's the firmware, but the good news is that almost all of this can be fixed without being reset to factory settings.
1. System garbage: why MIUI hides the real amount of memory occupied
The first and most insidious reason is the MIUI system files that are not shown in the standard manager.
- ๐ Logs of the system (/data/log/) โ can occupy up 1-2 GB
- ๐ Cache updates (/cache/) โ before 500 MBT after each OTA-update
- ๐๏ธ Temporary application files (/data/local/tmp/)
- ๐ฆ Duplicates APK-files after updates
MIUI specifically hides these folders from the user, so as not to confuse them, but the problem is that the system doesn't always clean them automatically, for example, after updating the firmware, old files can stay for months.
To see the real state of memory:
- Install Files by Google or SD Maid from Play Market
- Give the application root rights (if any) or use the "Storage Analysis" mode.
- Check the /data/log/ and /cache/ folders โ there are often gigabytes of unnecessary files.
๐ก
If you have root access, use the command.
du -sh /data/log/2. App cache: why 5GB "Other" in storage settings
In the "Storage" menu, MIUI often shows the mysterious "Other" section, measuring 3-10 GB. 90% of the time it is:
- ๐ฎ Cash games, especially Genshin Impact, PUBG Mobile, Call of Duty)
- ๐บ Cache of streaming services (YouTube, TikTok, Netflix)
- ๐บ๏ธ Offline maps (Google Maps, Yandex.Maps, 2GIS)
- ๐ฑ Cache of social networks (Telegram, Vkontakte, Instagram)
The problem is that MIUI doesnโt always correctly count this cache, for example, Telegram can cache media files bypassing standard Android mechanisms and they will be displayed as โSystem Data.โ
| Annex | Typical cache size | How to clean up |
|---|---|---|
| TikTok | 1-3 GB | Settings โ Storage โ Clean the cache |
| Google Maps | 500MB - 2GB | Remove offline maps in the application settings |
| Telegram | 500MB - 5GB | Settings โ Data and memory โ Clear the Telegram cache |
| 300MB - 1GB | Remove the application and install it again |
Remove the cache of individual applications in Settings โ Applications
Use the built-in MIUI cleaner (Safety โ Cleaning)
Clean up downloads in Files by Google
Remove offline content in streaming services
-->
Important nuance: Some apps (like Facebook) recover cache immediately after cleaning, and only a complete reinstallation will help.
3.Duplicate files after MIUI updates
Every major firmware update on Xiaomi leaves behind duplicate system files. MIUI handle OTA-Packages: Instead of replacing old files completely, they are often simply archived in a folder. /data/ota_package/ or /cache/.
How it manifests itself:
- ๐ฅ Download folder contains files of the form miui_HMNote10Pro_V12.5.3.0...zip
- ๐๏ธ V /data/app/ There are older versions of apps with suffix -1 or -2
- ๐ folder /cache/recovery/ contains old firmware
To find and remove duplicates:
- Use SD Maid (Section "CorpseFinder") to find the remaining files
- Manually check the folders: /data/ota_package/ /cache/recovery/ /data/app/*-1/ /data/app/*-2/
- Remove anything older than the current version of the firmware
What happens if you remove the system duplicates?
4. Hidden MIUI features that devour memory
MIUI has several features that users are often unaware of, but which are actively consuming storage:
- Automatic recording of conversations (Settings) โ Recording conversations. If it's on, it creates files in /MIUI/sound_recorder/call_rec/ down 5-15 MB each. It can accumulate in a year. 1-2 GB.
- MIUI Backups (Settings โ Additional โ Backup) Creates archives in /MIUI/backup/AllBackup/ up to 500MB each, and stores up to the last 5 copies.
- Performance optimization (Settings โ Features โ Optimization) Creates a cache in /data/miui/perf/ to speed up application launches. It can grow to 1 GB.
- Themes and wallpapers: Each downloaded theme is stored in /data/system/theme/ and can weigh 50-200MB. With 20-30 themes, it is 2-3GB.
๐ก
Disabling automatic conversation recording and backup can free up to 3GB of memory without losing important data.
To disable unnecessary functions:
- Recording conversations: Settings โ Recording conversations โ Auto Recording โ Turn off
- Authorization: Settings โ Additional โ Backup โ Automatic Backup โ Turn Off
- Topics cleanup: Topics โ Mine. โ Remove unnecessary
5. Viruses and malicious applications
If memory disappears too quickly (for example, 1-2 GB per day), there is a risk of infection with malware.
- ๐ฑ Unknown apps on the menu (especially with Chinese names)
- ๐ Fast battery discharge
- ๐ถ Increased traffic in the background
- ๐ Appearance of strange files in Download or DCIM
How to check:
- Install Malwarebytes or Dr.Web Light
- Check the application rights in Settings โ Applications โ Rights
- Use adb shell pm list packages -f to search for suspicious packages
๐ก
Pay special attention to applications with rights android.permission.WRITE_EXTERNAL_STORAGE and android.permission.INSTALL_PACKAGES โ They're often requested by viruses.
Top.-5 Suspicious applications on Xiaomi:
- ๐จ com.duapps.ad (advertising module)
- ๐จ com.miui.analytics (collection of statistics)
- ๐จ com.xiaomi.mipicks (pre-installed store)
- ๐จ com.miui.hybrid (system component with vulnerabilities)
- ๐จ com.bsp.catchlog (logger, can leak data)
โ ๏ธ Warning: Do not remove system applications without root rights! this can cause malfunctions MIUI. Instead, turn them off in settings or limit rights.
6. File system errors and fragmentation
If you notice that the free space is โjumpingโ (it is 5 GB, then 1 GB for no apparent reason), the problem may be in:
- ๐ง Damaged memory sectors (especially on cheap Redmi models)
- ๐ File system fragmentation (typical for eMMC 5.1 devices)
- ๐ Errors of section mounting /data
How to diagnose:
- Connect your phone to your PC and check the drive for errors (chkdsk in Windows)
- Use SD Maid to check the file system
- View logs via adb logcat | grep -i "error"
Decisions:
- ๐ Reboot your phone in Recovery Mode and select Wipe Cache Partition
- ๐ฑ Reset your settings (only if other methods donโt help!)
- ๐ง For advanced: re-mark partitions via fastboot (requires an unlocked bootloader)
โ ๏ธ Attention: On devices with eMMC 5.0/5.1 (Like Redmi. 4A, Redmi 5) Frequent overwriting speeds up memory wear. Try not to fill the storage more than a few times. 80%.
7. How to prevent refilling of memory
To prevent the problem from returning, set up Xiaomi correctly:
- Turn off automatic update download: Settings โ The phone. โ Updating the system โ Settings (โ๏ธ) โ Downloading โ Turn it off.
- Limit background activity: Settings โ Battery โ Battery Mode Selection โ Energy Saving
- Set up a cache cleanup schedule: Use MacroDroid to automatically clean the cache once a week.
- Move the applications to SD-map (if supported): Settings โ Annexes โ Select an application โ Warehouse โ Change. โ SD-map
For advanced users:
- ๐ ๏ธ Install Magisk and Universal Storage Switch for flexible memory management
- ๐ Use AppOps to disable unnecessary app permissions
- ๐ง Set up swap on SD-map (requires root)