Did you notice that your Xiaomi suddenly ran out of space even though you didnβt download anything? Or did it get a few gigabytes less free memory after the system upgrade? This is a typical problem for MIUI smartphones β even new models with 128-256 GB of storage can βloseβ memory for no apparent reason. In this article, weβll not just list standard tips like βclean up the cache,β but weβll look at the hidden mechanisms that keep memory going: from system logs to duplicate files after upgrades.
Xiaomiβs aggressive memory optimization is a feature that speeds up the system, and leads to garbage accumulation, such as the old version of the firmware that can stay on the device for months after upgrading MIUI, taking up to 3-5 GB. And apps like com.miui.analytics or com.xiaomi.midrop quietly collect diagnostic data that is rarely deleted automatically. We analyzed the reports of Redmi Note 12, POCO X5 and Xiaomi 13T users, and identified 7 key memory eaters that you didnβt know about.
1. System updates: why after the update memory became less
Every update MIUI β It's not replacing files, it's overlaying them. The new version of the firmware is installed on top of the old one, and the old one stays in the folder. /data/ota_package or /cache Β«Just in case you want to. on Xiaomi 2022 And the way it works is that the system stores the latest and penultimate versions of the firmware for rollback:
- π¦ One update weighs 1.5-2.5 GB (depending on the model).
- π After 3-4 updates in the folder will accumulate 5-8 GB of garbage.
- β³ Autocleaning only works after 30 days (if less than 10% of memory is free).
How to check: Open Settings β The phone. β Version. MIUI and see the size of the current firmware. Then go to the file manager (e.g. Mi File Manager) /data/ota_package β there may be files of the species miui_*.zip.
β οΈ Warning: Do not delete update files manually through root unless you are sure of their purpose.This may cause a failure on the next update.
2. App cache: why "Cleaning" in settings doesn't help
There are two cache issues in MIUI:
- The visible cache is the one that shows the system in Settings β Applications β Application Management. It can be manually cleared, but many apps (like Facebook or TikTok) recover it in a few hours.
- Hidden cache: files that applications store in /data/data/ or /Android/data/ folders. These do not appear in the standard file manager and can take up to 20% of the total memory.
Example: Google Play Services on Xiaomi 12 Pro can accumulate up to 1.2 GB of cache in hidden folders, and Mi Video can accumulate up to 800 MB of thumbnails and temporary files. To see the full picture, use applications like Files by Google or SD Maid (requires root access for deep scanning).
| Annex | Average cache size | Can I clean without root? |
|---|---|---|
| Google Play Services | 800 MB - 1.5 GB | Partially (via Settings) |
| Mi Video / Gallery | 500 MB - 1 GB | Yeah (remove thumbnails) |
| Facebook / Instagram | 300 MB - 700 MB | Yes (cleaning in the app settings) |
| Xiaomi Cloud | 200 MB - 500 MB | No (system files) |
π‘
To reduce the cache of Google Play Services, disable Auto Maps in the Google Maps settings and limit the background activity of the application in Settings β Apps β Google Play Services β Battery.
3.Duplicate Files: How MIUI Creates Copies of Your Data
MIUI automatically creates duplicates for:
- π· Photo and video: when editing in the Xiaomi Gallery, the original is saved, and the modified version is saved as a new file.
- π΅ Music: If you listen to tracks through Mi Music, the app can cache them in a folder /Android/data/com.miui.player.
- π Documents: at the opening PDF Word is created through Mi File Manager, a temporary copy of the /cache.
How to find duplicates:
- Use the Duplicate Files Fixer app (available on Google Play).
- In Mi File Manager, go to Categories β Duplicates (available on MIUI 13+).
- For deep scanning, connect your phone to your PC and use CCleaner or Auslogics Duplicate File Finder.
On POCO F4, users found up to 3-4 GB of duplicate photos after a year of use, especially if you often edit pictures in a standard gallery, each filter or cropping creates a new copy.
How to disable the creation of duplicates in the Xiaomi Gallery
4 Logs and dumps: hidden files that eat gigabytes
Xiaomi actively collects system logs (files with the extension.log,.dmp or.trace) for diagnostics. In normal mode, they take 100-300 MB, but if crashes or frequent reboots, their volume can grow to 2-3 GB.
- π /data/anr β application error tracing.
- π /data/tombstones β memory dumps when the system collapses.
- π /data/log β Module logs (for example, kernel_log).
These files are not visible without root access, but can be deleted through Recovery Mode:
- Turn off the phone.
- Press Power + Volume up until the Mi logo appears.
- Choose Wipe & Reset β Wipe Cache.
β οΈ Note: If you notice that logs take up more than 1 GB per week, this is a sign of unstable firmware. it is recommended to reset to factory settings or reflash the device through the Mi Flash Tool.
5. Pre-installed Appendices: Why They Cannot Be Deleted
Even on the "clean" versions MIUI Without bloatware, there are system applications that cannot be removed in standard ways, and they take up space not only by themselves, but also by their data.-5 Β«Unremovable applications and their average weight:
| Annex | Size (APK + data) | Can I turn it off? |
|---|---|---|
| com.miui.analytics (Analytics) | 150β250 MB | Yes (via ADB) |
| com.xiaomi.midrop (Mi Drop) | 80β120 MB | Yes. |
| com.miui.videoplayer (Mi Video) | 200-300 MB | No. |
| com.android.browser (Mi Browser) | 100β180 MB | Yes. |
| com.miui.cleanmaster (Security) | 250-400 MB | Partially. |
How to make room:
- Disable unnecessary apps in Settings β Apps β Application Management β [Select App] β Disable.
- For complete removal, use ADB: adb shell pm uninstall -k --user 0 com.miui.analytics
- Replace standard apps (such as Mi Browser on Chrome) and disable the original ones.
βοΈ Cleaning from Bloatware without root
6. Files of other users (for multi-user devices)
If your Xiaomi is used by multiple people (for example, through the M function)ULTI-ROM on POCO F3 or guest mode, the files of each profile are stored separately:
- π₯ The main user does not see the guest profile files, but they occupy the common space.
- π Cache and application data are duplicated for each account.
- π When deleting the guest profile, the files may remain in the /data/user_de/.
How to check:
- Go to Settings β System β Multiplayer mode.
- Remove unnecessary profiles (if any).
- For deep cleaning, use the command: adb shell pm list users to see all registered users.
7 File system errors: When memory "disappears" for no reason
Sometimes MIUI miscalculates the vacant space due to:
- π§ Damaged partitions (for example, after incorrect updates).
- π Errors in the file system table (ext4 or f2fs).
- π οΈ Unfinished operations (for example, interrupted file copying).
Signs of a problem:
- In Settings β Storage, 0 bytes is shown freely, but the file manager sees the free space.
- When connected to a PC, the phone is defined as an empty drive.
- Applications are not installed with the error "Not enough memory", although there is a place.
Decisions:
- Restart your phone in Safe Mode (clip Power, then hold βSwitch Offβ β βReboot Safe Modeβ).
- File system check with Recovery Mode: Wipe & Reset β Mounts and Storage β Repair File System
- If nothing helps, back up and reset via Fastboot: fastboot erase userdata.
π‘
If the problem recurs after the reset, it is a sign of hardware failure of the drive. eMMC/UFC-chip.