Your Xiaomi is slowing down, apps are slowing down, and memory is running out? 90% of the time is due to accumulated system debris. App cache, residual files after updates, duplicate photos and temporary data fill up memory, slowing down even the powerful Redmi Note 12 or POCO F5 models. In this article, we will discuss how to properly clean your phone from unnecessary files without deleting important data.
Smartphone manufacturers often hide real cleaning tools behind complex menus, like MIUI, which has a built-in Cleanup utility, but it only removes surface debris, and we show you how to get to hidden folders, turn off background processes, and even reduce the size of system applications. Importantly, some methods require superuser rights, but the basic methods work without them.
Before you start, check the space in Settings โ About Phone โ Memory. If you're over 85% busy, it's time to act. Let's start with the safest and end with radical measures for advanced users.
1. Built-in cleaning utility MIUI
The easiest way is to use the standard Security app (the newer versions are Cleanup) pre-installed on all Xiaomi, Redmi and POCO smartphones with MIUI 12-14 shell.
- ๐๏ธ Application cache (temporary files)
- ๐ Residual files after uninstallation of programs
- ๐ท Duplicate photos and screenshots
- ๐ต Unused. APK-file
How to start:
- Open the Security app (shield icon)
- Go to the Cleanup tab.
- Click Scan and wait for analysis
- Select file categories to delete and confirm the action
๐ก
After cleaning, restart your phone โ this will help the system re-index files and speed up work by 10-15%.
Method limitations: The utility does not remove deep system cache or optimize autoboot.
2. Manual cleaning of the app cache
Many programs (especially social networks and instant messengers) accumulate gigabytes of cache, for example, TikTok can take up to 5 GB, and Telegram can take up to 3 GB only on temporary files. Manual cleaning is more effective than automatic, because it allows you to select specific applications.
Instructions:
- Go to Settings โ Applications โ Application Management
- Select an app (such as Instagram)
- Click Warehouse โ Clear the cache
- For a complete reset, click Clear Data (โ ๏ธ This will remove all settings and inputs)
Which apps take up the most space?
To speed up the process, use size sorting: in Application Management, click on the three dots in the upper right corner and select Sort by size. Start with the heaviest programs.
โ ๏ธ Note: Do not clear the cache of system applications like com.android.systemui or com.miui.home โ this can cause interface failures.
3. Removal of duplicates and unnecessary media files
Photos, screenshots and videos take up the lion's share of memory. Xiaomi has a built-in gallery with duplicate search, but it doesn't work perfectly.
- ๐ธ Google Photos โ automatically finds blurred photos and take
- ๐ Files by Google โ analyzes unnecessary files and offers cleanup
- ๐๏ธ CCleaner โ Shows large and old files
Algorithm of action:
- Install Files by Google from Play Market
- Start the analysis in the Cleanup section
- Check the categories Duplicates, Blurred photos, Screenshots
- Delete unnecessary files and clean the cart
For advanced users, the DCIM/.thumbnails folder stores thumbnails of all photos, and can be safely deleted, and they will be restored automatically the next time you view the gallery.
4. Cleaning system folders (for experienced users)
MIUI has hidden folders that are filled with debris after updates and system processes work, and can be manually cleaned through a root or ADB file manager.
| folder | Contents | Is it safe to remove? |
|---|---|---|
| /data/log | Logs of system and applications | Yes (releases 100-500MB) |
| /cache | Update cache and temporary files | Yes (up to 1GB) |
| /data/dalvik-cache | Dalvik virtual machine cache | Only with productivity problems |
| /data/tombstones | Memory dumps after failures | Yes (can release up to 2GB) |
Use the rootless access ADB-team:
adb shell
su
rm -rf /data/log/*
rm -rf /cache/*โ ๏ธ Note: Removing files from /data/dalvik-cache This will cause all applications to be recompiled the next time they run, which will temporarily slow down the phone. 10-30 minute).
5. Disabling unnecessary system applications
Xiaomi pre-installes dozens of apps that can't be removed by standard means. They take up space and run in the background, like Mi Video, Mi Music, Mi Browser or GetApps, and they can be disabled through ADB or root.
List of safe applications to disable (checked on MIUI 14):
- ๐ต com.miui.videoplayer - standard video player
- ๐ com.android.browser - Mi Browser browser
- ๐ฆ com.xiaomi.mipicks - theme and sticker store
- ๐ com.miui.analytics โ statistics collection (disconnection speeds up the system)
- ๐ฎ com.xiaomi.glgm โ turbo mode (if you donโt play)
Instructions via ADB:
- Connect your phone to your PC and enable USB Debugging in Settings โ About Phone โ MIUI version (click 7 times)
- Open the command line and enter:
adb devices
adb shell
pm uninstall -k --user 0 com.miui.videoplayerFor mass shutdown, use the script:
Make sure that the USB debugging is enabled
Make a backup copy of important data
Check the list of disable packages for compatibility with your version of MIUI
Do not disable apps called "miui" or "android" without checking-->
โ ๏ธ Warning: Disabling com.miui.securitycenter or com.android.settings will cause the phoneโs core functions to fail.
6. reset partition cache (Wipe Cache Partition)
If the phone is slowing down even after cleaning, resetting the recovery partition cache will help, which deletes all temporary system files, including residues from old firmware. The method does not affect user data, but requires a reboot in Recovery Mode.
Step-by-step:
- Turn off the phone.
- Press the Power button + Volume up before the Mi logo appears
- In the recovery menu, select Wipe & Reset โ Wipe Cache
- Confirm the action and wait for the completion
- Reboot your phone (Reboot โ System)
The process takes 2-5 minutes. Once restarted, the system reassembles the cache, which can temporarily slow down (up to 10 minutes), which is especially effective after major MIUI updates, when the old version files remain.
๐ก
Resetting partition cache is the only way to remove debris after a failed "over the air" update (OTA).
7. Radical methods: reset to factory settings
If all the previous methods didn't work, the last option is hard reset, which will completely clean the phone, returning it to the "out of the box" state.
- ๐ข The phone has become unbearably slow.
- ๐ฑ Memory is filled with unknown files
- ๐ After the update, critical errors appeared.
- ๐ฆ Suspicion of viral infection
How to reset:
- Create a backup through Settings โ Additional โ Backup
- Go to Settings โ About the phone โ Reset settings
- Choose to erase all data and confirm
- Wait until the end (10-20 minutes)
After reset, do not restore data from the backup created on the infected phone - this will return all problems back.
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note) 10 Pro) reset via the settings menu may not clear the partition /data/media. Use the command via Fastboot: fastboot erase userdata