Your Xiaomi, Redmi or POCO has become slow, applications suddenly close, and the system gives a warning โNot enough memoryโ? The problem is familiar to most smartphone users on MIUI โ even flagship models are eventually clogged with unnecessary files. In this article, we will analyze 7 proven ways to clean up memory, including hidden MIUI functions that the manufacturer does not advertise.
The main cause of memory cache is app cache, residual files after updates, duplicate photos and system process debris. For example, on Xiaomi with MIUI 14/15 up to 30% of internal storage can take up the cache of Google Play Services and Xiaomi services that are not cleaned automatically. We will show you how to make room without resetting to factory settings and loss of personal data.
1. Built-in cleaning MIUI: What is missing and what is missing
The most obvious way is to use the standard tool Security โ Cleanup.It is available on all Xiaomi smartphones (including Redmi Note 12, POCO X5, Mi 11, etc.) and removes:
- ๐๏ธ Application cache (temporary files that are created when programs work)
- ๐ Residual files after uninstallation of applications
- ๐ Log files (system error logs)
- ๐ฅ Downloads (if not marked as important)
However, this method has critical shortcomings:
- Does not clear the cache of system applications (e.g. com.miui.system or com.xiaomi.midrop).
- It does not remove duplicate photos and videos (even if they take up gigabytes).
- It does not affect MIUI update files, which can weigh up to 2-3 GB.
To start the cleanup:
- Open Settings โ Security โ Cleaning.
- Click on โScanโ and wait for analysis.
- Select file categories to delete (we recommend ticking all items except โLarge Filesโ โ it is better to check them manually).
- Click โClearโ and confirm the action.
โ ๏ธ Note: If less than 500MB of memory is free after cleaning, the problem lies in system files or hidden folders.
2. Manual removal of the cache of system applications
Xiaomi system applications (e.g. Mi Video, Mi Browser, GetApps) accumulate cache that is not cleaned by standard means. On some models (e.g. Redmi Note 10 Pro), the cache of Google Play Services can take up to 1-1.5 GB.
To clean it manually:
- Go to Settings โ Applications โ Application Management.
- In the top menu, select โAll Appsโ (not โInstalledโ).
- Click on the three dots in the top right corner and select "Show Systems."
- Find apps with a large cache (sorting by size is available in the same menu).
- Open the application card โ Storage โ Clear the cache.
Pay special attention to these applications:
- ๐ฑ com.android.vending (Google Play Store)
- ๐ com.google.android.gms (Google Play Services)
- ๐บ com.miui.video (Mi Video)
- ๐ com.xiaomi.midrop (Mi Drop)
- ๐ com.miui.search (Search) MIUI)
โ ๏ธ Warning: Do not clean the data (clean all data) of system applications โ this can lead to malfunctions MIUI. Just remove the cache!
โ๏ธ Cleaning the cache of system applications
3. Delete MIUI update files
Each MIUI update saves the installation package in the /sdcard/MIUI/ota or /sdcard/download/rom folder. These files can weigh between 1.5 and 3 GB and remain on the device even after the firmware has been successfully installed.
To remove them:
- Connect your smartphone to your PC or use any file manager (such as Mi File Manager or Solid Explorer).
- Go to /sdcard/MIUI/ota (if there is no folder, check /sdcard/download/rom).
- Delete all files with the.zip extension (e.g, miui_*_global_*.zip).
If you have updated through Fastboot, check the folder /sdcard/download โ there may be files of the species fastboot_*.tgz.
| folder | Type of file | Size (example) | Can I remove it? |
|---|---|---|---|
| /MIUI/ota | Update files (.zip) | 1.5-3 GB | Yes. |
| /download/rom | Backup copies of firmware | 2โ4 GB | Yes. |
| /MIUI/backup | Backup copies of settings | 100-500 MB | Yes (if you don't need to) |
| /Android/data | Cache of games and applications | From 500 MB to 10+ GB | Partially (see section 5) |
What happens if you delete files from /MIUI/backup?
4. Search and remove duplicate photos
The Gallery app on Xiaomi automatically creates thumbnails and copies of photos that can occupy up to 20-30% of the total volume of the DCIM folder.
- ๐ธ Import photos from other devices.
- ๐ Updates MIUI (Sometimes the gallery duplicates files).
- โ๏ธ Sync with Mi Cloud or Google Photos.
To find and remove duplicates:
- Install Files by Google (it is free and does not require root rights).
- Open the โCleanupโ tab โ โDuplicates of filesโ.
- Select folders to scan (be sure to add DCIM, Pictures and Download).
- Look at the duplicates found and remove the unnecessary ones.
Alternative applications for searching for duplicates:
- ๐ Duplicate Files Fixer (there is a smart choice feature).
- ๐ CCleaner (Dublicates tabยป).
- ๐ผ๏ธ Remo Duplicate Photos Remover (specialized in images).
๐ก
Before mass deleting duplicates, back up your DCIM folder to your PC or cloud. Some duplicates may be edited versions of photos (such as filters).
5. Cleaning up Android/data folder: What can be deleted without harm
The /Android/data folder contains cache and application data, including games, which can accumulate gigabytes of unnecessary files, but deleting everything is dangerous, which will lead to malfunctions in programs.
What can be safely removed:
- ๐ฎ Cache of games (folders of the form com.game.cache).
- ๐ฅ Download files from browsers (com.android.browser folders or com.miui.browser folders).
- ๐บ Cache of streaming services (for example, com.netflix.mediaclient or com.spotify.music).
What can not be removed:
- ๐ซ Folders with.obb extension (this is additional data for games).
- ๐ซ Files with.dat or.db extension (application databases).
- ๐ซ System application folders (e.g., com.xiaomi*).
How to clean safely:
- Open a file manager with hidden folder permissions (e.g. Mi File Manager with the โShow Hidden Filesโ option enabled).
- Go to /Android/data.
- Sort folders by size (click on three dots โ โSort โ By sizeโ).
- Remove the cache only of those applications that you no longer use.
โ ๏ธ Attention: If after cleaning Android/data The app stopped working, reinstall it through Google Play. Some programs (such as WhatsApp or Telegram) store media files in this folder, and deleting them will lead to loss of chats.
๐ก
The /Android/obb folder contains additional data for games (such as graphics or levels), which can only be deleted if you are ready to download this data again the next time you start the game.
6.Use of ADB for deep cleaning (for advanced)
If standard methods donโt work, you can use ADB (Android Debug Bridge) to remove system debris, which requires connecting your smartphone to your PC and basic command line knowledge.
What can be cleaned through ADB:
- ๐๏ธ cache of all applications (including system).
- ๐ Temporary files in /data/local/tmp.
- ๐ฆ Residual files from remote applications.
Instructions:
- Install ADB Tools on your PC.
- Turn on your smartphone Settings โ About Phone โ MIUI version (click 7 times to activate the developer mode).
- Return to Settings โ Additional โ For developers and enable โDebugging by USBโ.
- Connect your smartphone to your PC and type in the command line:
adb shell pm trim-caches 1000000000
adb shell rm -rf /data/local/tmp/*
adb shell rm -rf /cache/*These teams:
- Clear the cache of all applications (first command).
- Delete temporary files from /data/local/tmp.
- Clear the /cache folder (system cache).
โ ๏ธ Note: Do not use the command adb shell rm -rf /data/* โ This will cause a complete reset of the phone, and don't delete the files in the phone. /system, unless they are sure of their appointment.
Alternative methods: from formatting to resetting
If less than 10% of your free memory is left after all the manipulations, consider drastic measures:
| Method | What's he doing? | Loss of data | When to use |
|---|---|---|---|
| Formatting a memory card | Complete cleaning SD-map | Yes (all data) | If SD-The card is used as internal memory. |
| Reset to factory settings | Delete all data and applications | Yes (all except memory card) | If the phone is slowing down and other methods have not helped |
| Transferring data to PC/cloud | Freeing up a place without loss | No. | If you need to save files, they take up too much space. |
How to make a reset to factory settings (if other methods did not help):
- Create a backup of important data (photos, contacts, messages).
- Go to Settings โ About the phone โ Reset settings.
- Select "Reset all settings."
- Confirm the action and wait for the reboot.
Once reset, the phone will look like new, but all the apps and data will disappear, and this method should only be used as a last resort.
๐ก
Before resetting, untie your Mi Account from the device (Settings โ Xiaomi Account โ Sign out), otherwise, after rebooting, the phone may require you to enter an old password.