Previous articleMemory is clogged on Xiaomi: how to find and remove โ€œinvisibleโ€ garbage on Android

Your Xiaomi shows that the memory is 90% full, but you have not installed new applications or downloaded large files? This is a typical situation for smartphones on MIUI - the proprietary shell actively caches data and system processes leave behind "tails" resulting in users being faced with the message "Not enough space on the device", although the gallery only a couple of photos, and in downloads - empty.

The problem is compounded by the fact that standard Android tools (like Settings โ†’ Storage) often donโ€™t show real memory eaters.

  • ๐Ÿ“ Hidden folders with app cache (like.thumbnails or Android/data)
  • ๐Ÿค– System dumps (error logs that take up gigabytes)
  • ๐Ÿ”„ Duplicate files created by backup copies MIUI or cloud services
  • ๐Ÿ“ฑ Residual files after deleting applications (such as com.xiaomi.*)

In this article, 7 proven ways to free up memory on Xiaomi, including hidden tricks for power users. All methods are tested on the Redmi Note 12 Pro+, POCO X5 Pro and Mi 11 Ultra models with MIUI 14 and Android 13, but will also be suitable for older versions.

๐Ÿ“Š How often do you clean your memory on your smartphone?
Once a week.
Only when the place ends.
Never cleaned.
Using automatic cleaning.

1. Diagnosis: What exactly is taking up memory?

Before you delete files at random, you need to identify the main culprits. MIUI has a built-in storage analyzer, but it often hides system data.

  1. Open Settings โ†’ About Phone โ†’ Memory (or Storage depending on the version of MIUI) Here you will see a diagram of the distribution of memory by category (Apps, Images, Videos, etc.).
  2. Click on category c (e.g., โ€œOtherโ€ or โ€œSystem Dataโ€) โ€“ gigabytes of garbage are often hidden here.
  3. For detailed analysis, use third-party tools like Files by Google or SD Maid (available on Play Market) They'll show: ๐Ÿ—‘๏ธ Cache folders (>1GB) ๐Ÿ“‚ Empty folders and duplicates ๐Ÿ” Files left over after deleting applications

Notice the folders:

  • /storage/emulated/0/Android/data โ€“ this is where application data is stored (may weigh 10+GB)
  • /storage/emulated/0/DCIM/.thumbnails โ€“ image thumbnails (often 1-3 GB)
  • /storage/emulated/0/MIUI/backup โ€“ MIUI backups (can lie for years)

๐Ÿ’ก

If the System Data section is more than 5GB, it is a reason for deep cleaning, most often there are error logs (/data/tombstones) and memory dumps (/data/anr).

2. Clearing cache and temporary files

Cache speeds up applications, but grows to uncontrollable sizes over time, and on Xiaomi, it can be cleaned in a number of ways:

Method 1: Built-in cleaning in MIUI

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Slip on the three dots in the top right corner and select "Sort by size."
  3. Open each application from the top-10 by size and click Clear Cache (not to be confused with Clear Data โ€“ this will remove all settings!).

Method 2: Deep Cleaning with Recovery

If the phone is severely slowing down, cleaning the cache in recovery mode will help:

  1. Turn off your smartphone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe & Reset โ†’ Wipe Cache (use volume buttons for navigation, power for selection).
  4. After the reboot, check the free space - this method frees up to 2-5 GB.

โ˜‘๏ธ Checklist before cleaning the cache

Done: 0 / 4

Method 3: Automatic Cleaning with Security App

Xiaomi has preinstalled the Security utility (shield icon), which can:

  • ๐Ÿงน Remove unnecessary APK-files after updates
  • ๐Ÿ—‘๏ธ Clean the cache of social networks (Facebook, Instagram, TikTok)
  • ๐Ÿ” Finding large files (>100MB)

Launch the app, go to Clean up and click Deep Clean up. Attention: don't delete files from Important Data - these can be game or settings saved.

3. Systemic debris and logs disposal

MIUI actively logs system processes that take up gigabytes over time, and these files are not visible through standard conductor, but can be manually deleted.

How to find and delete logs?

  1. Connect your phone to your PC and enable USB Debugging (Settings โ†’ About Phone โ†’ MIUI version โ€“ tap 7 times, then go back to Additional Settings โ†’ For Developers).
  2. Use ADB (Android Debug Bridge) to access hidden folders. Enter the command: adb shell su rm -rf /data/tombstones/* rm -rf /data/anr/* rm -rf /data/log/*
  3. Reboot the phone. That'll free up 500MB to 2GB.
What is ADB and how to install it?
ADB (Android Debug Bridge) is a tool for debugging Android devices. To use it: 1. Download Platform Tools from Android. 2. Unpack the archive to the root of the C: drive (the path C:\platform-tools should be turned out). 3. Open the command prompt in this folder (Shift + right mouse button โ†’ Open command window). 4. Connect the phone and enter adb devices - if the device is displayed, everything is ready.

Note: Deleting logs through ADB requires root rights. If they do not exist, use an alternative method:

  1. Install a file manager with access to the root folder (such as FX File Explorer or Root Explorer).
  2. Go to /data/log and delete all files with the.log or.txt extension.

Cleaning up memory dumps

Dumps (*.dmp files) are created when applications crash, take up a lot of space, but are useless for the average user.

  1. In the file manager, go to /data/tombstones.
  2. Select all files and delete them. If the folder doesn't open, use ADB (the command above).
Type of fileLocation.Can I remove it?How much space does it free up?
Logs of the system/data/log/Yes.300MB - 1.5GB
Memory dumps/data/tombstones/Yes.500MB - 3GB
Cash updates./cache/Yes.100MB - 1GB
Backup copies of MIUI/MIUI/backup/Yes (if you don't need to)1 GB - 5 GB

4. Search and delete duplicate files

Duplicates are one of the main causes of memory loss, and they occur when:

  • ๐Ÿ“ฒ Transfer files between devices
  • ๐Ÿ”„ Automatic backup (Google Photos, Mi Cloud)
  • ๐ŸŽต Download music from multiple sources

To find duplicates:

  1. Use applications like Duplicate Files Fixer or Files by Google (Clean up โ†’ File Duplicates).
  2. Manually check the folders: DCIM/Camera โ€” Download photos and videos โ€“ Music or Ringtones files downloaded

Before removing duplicates, check if they are:

  • ๐Ÿ“ธ Backups of photos (e.g. edited versions)
  • ๐ŸŽต Different versions of the same song (320 kbps vs 128 kbps)
  • ๐Ÿ“„ Important documents with different names

๐Ÿ’ก

Duplicate applications often misrepresent video files. Check the duration and size before deleting - sometimes "duplicates" are of high quality or cropping.

5. Cleaning up memory from remnants of remote applications

When you delete an application through Settings, it often leaves behind:

  • ๐Ÿ“ Folders in /Android/data/ and /Android/obb/
  • ๐Ÿ—ƒ๏ธ Settings files in /data/data/ (root)
  • ๐Ÿ”ง Cash and temporary files

How to remove these "tails":

No root rights.

  1. Open a file manager (such as Mi File Manager).
  2. Go to /storage/emulated/0/Android/data.
  3. Find folders with names of remote applications (for example, com.facebook.katana for Facebook) and delete them.

With root rights.

For complete cleaning:

  1. Use Root Explorer or SD Maid (enable the "Custom" option).
  2. Go to /data/data/ and delete folders with the names of unnecessary applications.
  3. Clean /data/app-lib/ โ€“ this is where the remote programs libraries are stored.

Example: After deleting Genshin Impact, a file size of 10+ GB can remain in /Android/obb/com.mihoyo.GenshinImpact.

6.Optimizing MIUI: disabling unnecessary functions

MIUI is known for its heavy interface, which consumes memory even in the background.

  • ๐Ÿ“Š Animations and transitions: Settings โ†’ Additional settings โ†’ Window animation โ†’ Select "No animationยป.
  • ๐ŸŒ Auto-update MIUI: Settings โ†’ The phone. โ†’ Updating the system โ†’ Turn off "Automatic Bootingยป.
  • โ˜๏ธ Backup in Mi Cloud: Settings โ†’ Xiaomi account โ†’ Mi Cloud โ†’ Backup โ†’ Turn off unnecessary data.
  • ๐Ÿ“ธ Autoload Media in Gallery: Gallery โ†’ Settings โ†’ Autoboot โ†’ Disable WhatsApp, Telegram and other messengers.

It is also recommended that:

  • ๐Ÿ›‘ Limit the background activity of applications: Settings โ†’ Battery and productivity โ†’ Battery management โ†’ Select โ€œLimit background activityโ€ for unnecessary applications.
  • ๐Ÿ”„ Turn off automatic synchronization: Settings โ†’ Accounts and synchronization โ†’ Turn off sync for unnecessary accounts.

๐Ÿ’ก

Disabling animations not only saves memory, but also speeds up the interface by 15-20% (tested on the Redmi Note 11 Pro+).

7.Extreme measures: reset to factory settings

If none of the methods worked, and the memory is still full of invisible debris, then Hard Reset remains. It's a radical way, but it's guaranteed to clean up all system files.

How do you do the reset right?

  1. Back up your important data (photos, contacts, messages) and use Google Photos for media and Mi Cloud for settings.
  2. Go to Settings โ†’ About the phone โ†’ Reset settings.
  3. Select โ€œDelete all dataโ€ and confirm the action.
  4. After rebooting, set your phone up as new. Don't restore data from a MIUI backup - it may contain the same garbage!

Attention: the reset will remove:

  • ๐Ÿ“ฑ All installed applications and their data
  • ๐Ÿ“ธ Photos and videos (if not saved to the cloud)
  • ๐Ÿ”‘ Wi-Fi and Bluetooth devices passwords
  • ๐ŸŽฎ Game saving (if not linked to an account)

After discharge:

  • ๐Ÿ” Install only the necessary applications.
  • ๐Ÿšซ Opt out of backup via Mi Cloud (use Google Drive).
  • ๐Ÿ“Š Check the storage regularly (once a month).

FAQ: Frequent questions about memory cleanup on Xiaomi

โ“ Why is it that after cleaning the cache, the memory is filled again after a day?
This is normal Android behavior: cache is restored when you use apps. To slow down the process: Limit background activity on social networks (Facebook, Instagram) Turn off automatic video playback in instant messengers Use lightweight versions of applications (for example, Facebook Lite)
โ“ Can I delete the folder? Android/data manually?
Yes, but with caution, this folder is stored in: ๐ŸŽฎ Save the Games (Delete โ€“ Lose Progress) ๐Ÿ“ฅ Downloaded files from apps (such as maps for Google Maps) ๐Ÿ”• Messenger cache (can be deleted without consequences) Before deleting, check the contents of each folder!
โ“ Why System Data is 10GB and canโ€™t be deleted?
It could be: ๐Ÿ“ฑ System updates (files) update.zip) ๐Ÿ› ๏ธ Backup copies MIUI (folder /MIUI/backup) ๐Ÿ”ง Logs and dumps (required) ADB to delete) Try: Remove downloaded updates to Settings โ†’ System update (three-point) โ†’ ยซDelete the downloaded package. /MIUI/backup via file manager.
โ“ How to transfer applications to a memory card?
On modern Xiaomi (c) MIUI 12+) portability SD-The map is blocked: ๐Ÿ“ Use the card as an internal storage (formatted, data erased!): Settings โ†’ Warehouse โ†’ Map. SD โ†’ Configure as an internal storage. ๐Ÿ”— Transfer only media files (photos, videos, music) manually. โ˜๏ธ Store rarely used applications in the cloud (for example, through App Cloner).
โ“ Why After Updating MIUI memory diminished?
Updates MIUI frequently: ๐Ÿ“ฆ New system applications (e.g. Mi Video, Mi Music) ๐Ÿ—ƒ๏ธ Backup copies of the previous version (folder) /MIUI/backup/ota) ๐Ÿ”ง Additional Libraries for New Features To Make Space: Remove Unnecessary System Applications ADB: adb shell pm uninstall --user 0 com.xiaomi.videoplayer Clear folder /MIUI/backup/ota.