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.
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.
- 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.).
- Click on category c (e.g., โOtherโ or โSystem Dataโ) โ gigabytes of garbage are often hidden here.
- 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
- Go to Settings โ Applications โ Application Management.
- Slip on the three dots in the top right corner and select "Sort by size."
- 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:
- Turn off your smartphone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset โ Wipe Cache (use volume buttons for navigation, power for selection).
- After the reboot, check the free space - this method frees up to 2-5 GB.
โ๏ธ Checklist before cleaning the cache
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?
- 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).
- 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/*
- Reboot the phone. That'll free up 500MB to 2GB.
What is ADB and how to install it?
Note: Deleting logs through ADB requires root rights. If they do not exist, use an alternative method:
- Install a file manager with access to the root folder (such as FX File Explorer or Root Explorer).
- 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.
- In the file manager, go to /data/tombstones.
- Select all files and delete them. If the folder doesn't open, use ADB (the command above).
| Type of file | Location. | 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:
- Use applications like Duplicate Files Fixer or Files by Google (Clean up โ File Duplicates).
- 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.
- Open a file manager (such as Mi File Manager).
- Go to /storage/emulated/0/Android/data.
- Find folders with names of remote applications (for example, com.facebook.katana for Facebook) and delete them.
With root rights.
For complete cleaning:
- Use Root Explorer or SD Maid (enable the "Custom" option).
- Go to /data/data/ and delete folders with the names of unnecessary applications.
- 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?
- Back up your important data (photos, contacts, messages) and use Google Photos for media and Mi Cloud for settings.
- Go to Settings โ About the phone โ Reset settings.
- Select โDelete all dataโ and confirm the action.
- 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).