Hand-cleaning Android on Xiaomi from garbage: 7 proven ways without software

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.
๐Ÿ“Š How often do you clear your memory on Xiaomi?
Once a week.
Once a month
Only when the phone is slowing down.
Never clean.

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:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select an app (such as TikTok) and tap Storage.
  3. 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:

  1. Go to Settings โ†’ Memory โ†’ Cleanup.
  2. Select the Cash tab and mark unnecessary apps.
  3. 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!

AnnexAverage cache sizeCan we clean it?Effects of consequences
Facebook500 MB - 1.5 GBYes.Slow loading of tape in the first 5-10 minutes
Google Maps200 MB - 1 GBPartially.Remove offline cards (save the necessary ones in advance)
TikTok300 MB - 800 MBYes.The videos will be uploaded longer.
Telegram100 MB - 500 MBYes (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:

  1. Open the file manager and enable the display of hidden files (in Mi File Manager: โ‹ฎ โ†’ Settings โ†’ Show hidden files).
  2. Go to the specified folders and manually delete unnecessary files (long press). โ†’ Delete).
  3. For folders like DebugLog, you can use mass deletion: highlight everything (โ‹ฎ โ†’ Select everything) and delete.
Which folders should I not delete?
Do not touch the following directories, otherwise the system may stop working: - /system (Android system files) - /vendor (driver) - /data/app (fixed-appendice) - /MIUI/theme (subject matter) - /Android/obb (Game data โ€“ delete only if the game is deleted!)

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:

  1. Open the Settings. โ†’ About the phone and 5 times tap on the version MIUI, to enable the developer mode.
  2. Back to Settings โ†’ Additionally. โ†’ For developers and enable debugging by USB (You don't have to plug in the cable).
  3. Install. ADB on PC (instruction below) and execute commands:
adb shell


su




rm -rf /data/anr/*




rm -rf /data/tombstones/*




rm -rf /cache/*




reboot

If you donโ€™t have a PC, use the Termux app (download to GetApps):

  1. Open Termux and enter:
pkg install tsu


tsu




rm -rf /data/anr/*




rm -rf /data/tombstones/*




exit




exit

Reboot 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:

  1. Open the gallery and tap it. โ‹ฎ โ†’ Management โ†’ Duplicate (in) MIUI 15 Ways May Be Different: Albums โ†’ Utilities. โ†’ Duplicate).
  2. The app will automatically find similar photos. View them and delete the unnecessary ones (hold your finger on the screen for mass selection).
  3. 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):

  1. Connect your phone to your PC and open the folder. DCIM/Camera.
  2. Sort files by date (right click) โ†’ Sorting โ†’ By date).
  3. 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:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select an application (such as AliExpress) and tap AutoRun.
  3. Turn off the Allow Auto Start option.

Limitation of background activity:

  1. In the same app menu, select the Battery. โ†’ Background activity.
  2. 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.
AnnexRecommended autoload modeBackground activity
WhatsApp, TelegramTurn onNo restrictions.
Facebook, InstagramShut down.Limit
Google Play ServicesTurn onNo 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:

  1. Turn off the phone.
  2. 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).
  3. You'll be in Recovery mode. Use volume buttons for navigation and power button for selection.
  4. Choose Wipe & Reset โ†’ Wipe Cache (in Chinese firmware may be called Wipe Cache ).
  5. Confirm the action and wait for the completion.
  6. 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.

FAQ: Frequent questions about Xiaomi cleanup

Can I delete the folder? Android/obb, If I deleted the game?
Yes, the obb folder contains additional game data (graphics, levels). If the game is deleted, feel free to clean the corresponding folder. PUBG Mobile will be com.tencent.ig, but if the game is still installed, removing obb will lead to its collapse.
Why do the applications slow down again after cleaning the cache?
This is normal: cache is created to speed up work. After cleaning, the application takes time (5-15 minutes) to recover temporary files. If the brakes do not pass, the problem may be a lack of RAM (on budget models like Redmi). 9A with 2 GB of RAM) or in the firmware itself.
How to clear your memory if your phone is not switched on?
If the device is stuck on the logo or does not respond, try: Log in Recovery (Power buttons) + Volume up, and make Wipe Cache. If it doesn't work, plug your phone into your PC and use Mi. PC Recovery Suite (Repair Device feature) In extreme cases, do a full reset (Wipe Data in Recovery), but this will delete all data.
Should you use Xiaomi Cleaner?
The built-in Cleaner app (or Security in older versions) is safe, but it only cleans surface debris. It doesn't remove duplicate photos, system logs, or cache deep in folders. Use it for quick cleaning, but don't rely on it as the primary tool.
How to clean up memory on Xiaomi with root rights?
If you have root, you can: Uninstall system applications (Mi Video, Mi Music) via Titanium Backup. /data/dalvik-cache (Dalvik cache) to speed up work. SD Maid for deep database cleaning. โš ๏ธ Risk: Incorrectly deleting system files can lead to a phone "brick" (inoperability.