Your Xiaomi is slowing down, quickly draining or issuing notifications of memory shortages? The reason most often lies in the accumulated digital garbage: the remnants of deleted applications, cache of system processes, duplicate photos and unnecessary logs. Unlike automated โcleanersโ who often delete data at random, manual cleaning allows you to control exactly what remains and what goes into the basket.
In this article, the current methods for MIUI 14/15 (including HyperOS shells, which work on all modern smartphones of the brand: from the budget Redmi Note 12 before the flagship Xiaomi 14 Ultra. We'll look at how to safely delete unnecessary files through built-in tools, which folders can be cleaned without risk to the system, and how to prevent re-accumulation of garbage. No root rights or questionable utilities, only official features and proven techniques.
Why manual cleaning is more effective than automatic cleaning
Applications like Clean Master or CCleaner promise a โmagic buttonโ to free up memory, but in practice they do:
- ๐งน Deleting the cache of all applications in a row, including those you actively use (such as maps or instant messengers), this leads to re-downloading of data and increased traffic.
- ๐ They hide the real problems: instead of cleaning system logs, they show 200 MB of โfreeโ cache from Google Play Services, which will recover in an hour.
- ๐ก๏ธ Often require unnecessary permissions (access to the SMS, contact), which poses security risks.
You may manually:
- ๐ฏ Point to remove the cache of only those applications that really slow down (Facebook, TikTok, games).
- ๐๏ธ Find and remove duplicate photos/video that take up gigabytes (especially important for owners) POCO F5 64MP camera).
- ๐ง Clear folders with temporary files (/data/local/tmp, /cache), which the system has not touched for years.
Another thing that's good about manually is that you learn to understand which files are safe to delete and which ones you shouldn't touch. /MIUI/Wallpaper weight 50โ100 MB, but cleaning it will cause the wallpaper to be reset to standard. /MIUI/DebugLog with error logs can weigh up to 1 GB and boldly removed.
Preparation for cleaning: what to do before you start
Before you start, follow 3 mandatory steps:
Create a backup copy of important data|Check the free space in memory|Disable synchronization of cloud services|Close all background applications-->
1. Backup.Even if you don't plan to delete personal files, an error in cleaning system folders can cause a failure.Use the built-in Settings feature โ The phone. โ Backup or Mi Cloud (if you have a Xiaomi account).The alternative is to copy folders. DCIM, Downloads and Documents on PC.
2. Memory check. Go to Settings. โ Memory and see what exactly takes up space. If the System partition weighs 15.+ GB on Redmi 10 is OK (MIUI And here's 10GB in the "Other" section, a reason to clean up.
3. Disable sync. Cloud services (Google Photos, Mi Cloud) can automatically restore deleted files. Go to Settings โ Accounts and suspend sync for cleaning time.
โ ๏ธ Note: Do not use a root file manager (such as Root Explorer) to delete folders in your file. /system or /vendor. This will lead to a "brick" of the device, and all the manipulations in this article are safe for uninvited phones.
Method 1: Cleaning the application cache
Cache is a temporary file that applications create to speed up work, and over time it grows to several gigabytes, especially in:
- ๐ฑ Social media (Facebook, Instagram, VK โ up to 1-2 GB each).
- ๐ฎ Games (Genshin Impact, PUBG Mobile โ cache of updates and textures).
- ๐ Maps (Google Maps, Yandex.Maps โ offline maps and routes).
How to clean:
- Open Settings โ Applications โ Application Management.
- Select an app (such as TikTok) and tap Storage.
- Click Clear Cache. To clean up completely (including your account details), select Clear All Data, but this will result in you logging out of your profile.
For mass cleaning:
- Go to Settings โ Memory โ Cleanup.
- Select the Cash tab and mark unnecessary apps.
- Tap to clean (on) MIUI The 15 buttons can be called Optimize).
๐ก
Once the Google Play cache is cleared, the marketplace can take a long time to load. That's OK -- it recovers data. Don't interrupt the process!
| Annex | Average cache size | Can we clean it? | Effects of consequences |
|---|---|---|---|
| 500 MB - 1.5 GB | Yes. | Slow loading of tape in the first 5-10 minutes | |
| Google Maps | 200 MB - 1 GB | Partially. | Remove offline cards (save the necessary ones in advance) |
| TikTok | 300 MB - 800 MB | Yes. | The videos will be uploaded longer. |
| Telegram | 100 MB - 500 MB | Yes (except "Appendix Data") | You will have to re-download stickers and media. |
Method 2: Delete unnecessary files through the file manager
V MIUI There are built-in Files (folder icon), but for deep cleaning, you better use Mi File Manager (download in GetApps) or Solid Explorer.
Where to look for garbage:
- ๐ /storage/emulated/0/Download โ It's where you get loads from browsers, messengers, and you delete everything except the right documents.
- ๐ /storage/emulated/0/DCIM/.thumbnails โ Photo and video miniatures (you can delete them, they will be restored automatically).
- ๐ /storage/emulated/0/Android/data โ Cache of games and applications: Delete folders of remote programs (for example, if you deleted Clash of Clans long ago, but its folder is still there).
- ๐ /storage/emulated/0/MIUI/DebugLog โ error logs (weighing up to) 1 GB, removed without consequences).
How to clean:
- Open the file manager and enable the display of hidden files (in Mi File Manager: โฎ โ Settings โ Show hidden files).
- Go to the specified folders and manually delete unnecessary files (long press). โ Delete).
- For folders like DebugLog, you can use mass deletion: highlight everything (โฎ โ Select everything) and delete.
Which folders should I not delete?
Pay special attention to the Downloads folder.
- ๐ Old ones. APK-Files (remains from manual application installation).
- ๐ต Music and video downloaded from VK YouTube (see files with extension.mp3,.mp4).
- ๐ PDF and DOCX, which you have opened for a long time (such as tickets or checks).
โ ๏ธ Note: If you use Google Photos with the Free Place function, check the folder DCIM/.cloud_foto. It can store original photos that have been "optimized" by the service, and only delete them if you are sure that copies are saved in the cloud.
Method 3: Cleaning system logs and dumps
Android MIUI They're constantly creating logs to debug, and on user devices, they're useless, but they take up space:
- ๐ /data/anr โ login's not responding" (ANR-mistake).
- ๐ /data/tombstones โ memory dumps when applications crash.
- ๐ /cache โ Temporary update files and installer.
How to delete:
- Open the Settings. โ About the phone and 5 times tap on the version MIUI, to enable the developer mode.
- Back to Settings โ Additionally. โ For developers and enable debugging by USB (You don't have to plug in the cable).
- Install. ADB on PC (instruction below) and execute commands:
adb shell
su
rm -rf /data/anr/*
rm -rf /data/tombstones/*
rm -rf /cache/*
rebootIf you donโt have a PC, use the Termux app (download to GetApps):
- Open Termux and enter:
pkg install tsu
tsu
rm -rf /data/anr/*
rm -rf /data/tombstones/*
exit
exitReboot the phone.
๐ก
Cleaning the logs through ADB or Termux releases 200โ500 MB speeds up the system, but it requires caution. /data!
Method 4: Removing duplicate photos and videos
Xiaomi cameras (especially in Mi 11 Ultra, Redmi Note 12 Pro models)+) Keep 3-5 copies of a single photo:
- ๐ธ Original (e.g., original, IMG_20260501_123456.jpg).
- ๐ธ Mini version for previews (.thumbnail).
- ๐ธ Copy after editing in Xiaomi Gallery (IMG_20260501_123456_edit.jpg).
- ๐ธ Files for HDR/night-time (IMG_20260501_123456_HDR.jpg).
How to find and remove duplicates:
- Open the gallery and tap it. โฎ โ Management โ Duplicate (in) MIUI 15 Ways May Be Different: Albums โ Utilities. โ Duplicate).
- The app will automatically find similar photos. View them and delete the unnecessary ones (hold your finger on the screen for mass selection).
- For video, use the Files by Google app (available in the Play Store): open the Cleanup tab โ Large files and sort by size.
Manual method (for advanced):
- Connect your phone to your PC and open the folder. DCIM/Camera.
- Sort files by date (right click) โ Sorting โ By date).
- Delete files with suffixes edit, _HDR, _thumbnail, if the originals are saved.
๐ก
Before you delete duplicates, turn on the hidden files on your PC. Sometimes the originals are saved in a folder. DCIM/.thumbnails different-named.
Method 5: Optimizing Autoboot and Background Processes
Many apps run when you turn on your phone and run in the background, consuming memory and charge. For example, Facebook can wake up 20 times an hour to check notifications.
Turning off the autoload:
- Go to Settings โ Applications โ Application Management.
- Select an application (such as AliExpress) and tap AutoRun.
- Turn off the Allow Auto Start option.
Limitation of background activity:
- In the same app menu, select the Battery. โ Background activity.
- Set Limit for applications that shouldnโt work in the background (such as games or banking apps that you rarely use).
3. Cleaning up the list of recently opened:
- Click on the square button (multitasking) and swipe up all unnecessary apps.
- V MIUI 15 You can attach frequently used applications (swipe down on the icon) so that they do not close when cleaning.
| Annex | Recommended autoload mode | Background activity |
|---|---|---|
| WhatsApp, Telegram | Turn on | No restrictions. |
| Facebook, Instagram | Shut down. | Limit |
| Google Play Services | Turn on | No restrictions. |
| Games (PUBG, Genshin Impact) | Shut down. | Limit |
โ ๏ธ Note: Do not limit background activity for Google Play Services, Mi Cloud and Settings.This may cause notifications and sync failures.
Method 6: Reset system cache (without data loss)
If the phone is slowing down a lot but you donโt want to do a full reset, try resetting the system cache.This will delete temporary Android files but wonโt affect your data, apps or settings.
Instructions:
- Turn off the phone.
- Press the power button. + Volume upwards before the appearance of the Mi logo (on some models, for example) POCO X5, You need to hold the volume up. + Loudness down + Nutrition).
- You'll be in Recovery mode. Use volume buttons for navigation and power button for selection.
- Choose Wipe & Reset โ Wipe Cache (in Chinese firmware may be called Wipe Cache ).
- Confirm the action and wait for the completion.
- Choose Reboot. โ Reboot to System.
After restarting, the system will collect data again, so the first run can take 5-10 minutes.
- ๐ข The phone hangs on the logo. MI switch-on.
- ๐ Applications are closed spontaneously.
- ๐ฑ The screen began to twitch or brake when scrolling.
๐ก
Cache resetting is a soft alternative to a full reset, and it doesn't delete your data, but it fixes many system lags.
Method 7: Preventing future accumulation of garbage
To avoid cleaning your phone every month, you should try to prevent:
1. Automatic cleaning of the cache:
- Go to Settings. โ Memory. โ Auto-cleaning.
- Turn on the option and set a schedule (for example, once a week).
- Add to the exceptions messengers and frequently used applications.
Background data limitation:
- B Settings โ The Internet and the Internet โ Use of data select the application (e.g. Facebook).
- Activate Background Data and Unlimited Data for critical applications only.
Gallery settings:
- Open the gallery, tap it. โฎ โ Settings โ Cloud synchronization.
- Turn off Autoboot if you are not using the Mi Cloud.
- Enable Storage Optimization (remove duplicates automatically).
Regular memory check:
- Open the settings once a month โ Memory. โ Analyze and delete unnecessary files (Section "Large Files" and "Unused Applications").
๐ก
If you often install APK-files from the Internet, create a folder APK_Archive You can put it in the root of the memory, and you can save the installers, so you don't lose them, and you can easily remove the unnecessary ones.