Where does memory disappear on Xiaomi Android smartphones and how to return it?

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.

πŸ“Š How often do you update? MIUI on the Xiaomi?
Every week (stable version)
Once a month (on notification)
Only if there are critical corrections
Never update.

2. App cache: why "Cleaning" in settings doesn't help

There are two cache issues in MIUI:

  1. 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.
  2. 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).

AnnexAverage cache sizeCan I clean without root?
Google Play Services800 MB - 1.5 GBPartially (via Settings)
Mi Video / Gallery500 MB - 1 GBYeah (remove thumbnails)
Facebook / Instagram300 MB - 700 MBYes (cleaning in the app settings)
Xiaomi Cloud200 MB - 500 MBNo (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:

  1. Use the Duplicate Files Fixer app (available on Google Play).
  2. In Mi File Manager, go to Categories β†’ Duplicates (available on MIUI 13+).
  3. 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
Go to Gallery β†’ Settings β†’ Edit and disable the option β€œSave the original after editing”.

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:

  1. Turn off the phone.
  2. Press Power + Volume up until the Mi logo appears.
  3. 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:

AnnexSize (APK + data)Can I turn it off?
com.miui.analytics (Analytics)150–250 MBYes (via ADB)
com.xiaomi.midrop (Mi Drop)80–120 MBYes.
com.miui.videoplayer (Mi Video)200-300 MBNo.
com.android.browser (Mi Browser)100–180 MBYes.
com.miui.cleanmaster (Security)250-400 MBPartially.

How to make room:

  1. Disable unnecessary apps in Settings β†’ Apps β†’ Application Management β†’ [Select App] β†’ Disable.
  2. For complete removal, use ADB: adb shell pm uninstall -k --user 0 com.miui.analytics
  3. Replace standard apps (such as Mi Browser on Chrome) and disable the original ones.

β˜‘οΈ Cleaning from Bloatware without root

Done: 0 / 4

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:

  1. Go to Settings β†’ System β†’ Multiplayer mode.
  2. Remove unnecessary profiles (if any).
  3. 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:

  1. Restart your phone in Safe Mode (clip Power, then hold β€œSwitch Off” β†’ β€œReboot Safe Mode”).
  2. File system check with Recovery Mode: Wipe & Reset β†’ Mounts and Storage β†’ Repair File System
  3. 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.

FAQ: Answers to Frequent Questions

Why does the cache clean up after the memory stops again in a day?
This is because of the background activity of apps. For example, Facebook and Instagram recover cache every time they open. Solution: Limit background activity in Settings β†’ Battery β†’ App selection. Use Greenify to force hibernation of apps.
Can applications be moved to SD-map?
On most Xiaomi models (except the lineup) POCO Adoptable Storage support for applications SD-The card is locked. Alternative: Use SD-card for storing media files (photos, videos, music) POCO X3 Pro and newer activate Adoptable Storage via ADB: adb shell sm set-force-adoptable true
Why does Settings show 10GB of β€œOther Files”?
Category "Other files" in MIUI include: πŸ“‚ Temporary file systems processes (/data/system). πŸ”‘ Encryption keys and certificates. πŸ“Š Logs of kernel and drivers. To reduce this section: Cache reset in Recovery Mode. Turn off analytics collection in Settings β†’ Additionally. β†’ Confidentiality β†’ Analytics.
How do you know which app takes up the most space?
Standard Settings β†’ Storage shows incomplete data. For detailed analysis: Use Storage Analyzer (requires root). Connect your phone to your PC and scan the /data folder through WinDirStat. Type in ADB adb shell dumpsys meminfo -a to output a list of memory-consumption applications.
Is it safe to use cleaning applications (such as CCleaner)?
Nana MIUI These applications often delete useful files, for example: πŸ“‚ Google Play Services cache, which leads to sync errors. πŸ”‘ License files DRM (Netflix and Disney are not working.+). Recommended: Use only built-in tools (Settings) β†’ Warehouse β†’ Clear) or Files by Google.