Hand-cleaning Xiaomi garbage: 7 ways to free up memory without software

Why clean Xiaomi manually when there are built-in tools?

Xiaomiโ€™s MIUI-based smartphones (or HyperOS in newer models) are known for their โ€œcareโ€ for the user: the system automatically clears the cache, offers to optimize memory and even deletes unused files. But what if these tools do not work efficiently enough? Or worse, delete the necessary data, leaving gigabytes of real garbage?

You can manually:

  • ๐Ÿงน Remove residual files from long-deleted applications (which built-in cleaners often skip).
  • ๐Ÿ“ Clear hidden folders with messenger cache (Telegram, WhatsApp), which take up to 5-10 GB.
  • ๐Ÿ”„ Reset system application settings (e.g. com.miui.gallery) that slow down after updates.
  • ๐Ÿš€ Release until 30โ€“40% Memory if the phone has not been cleaned for a long time (data based on analysis) 50+ Redmi Note devices 10/11/12 and POCO X3/X4).

The main advantage of manual cleaning is control, and you decide what to delete and what to leave, unlike automatic tools, which are often wrong, but there are risks: you can accidentally erase important data or disrupt the system, so make sure to back up before you start.

๐Ÿ“Š How often do you clean your Xiaomi memory?
Once a week.
Once a month
Only when the place ends.
Never cleaned.

1. Cleaning the application cache: what can be deleted and what can not

Cache is a temporary file that applications create to speed up work, and over time, it accumulates and takes up gigabytes of memory. In MIUI/HyperOS, the cache is divided into two types:

  • ๐Ÿ“ฑ Custom cache โ€“ application files (e.g. thumbnails in the Gallery or map data in Google Maps) can be deleted without risk.
  • โš™๏ธ System cache - OS files (e.g., cache com.android.systemui) and its cleaning can cause malfunctions.

How to clean the cache safely:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select an app (like Facebook or Instagram).
  3. Press Warehouse. โ†’ Clear the cache.
  4. For mass cleaning, use Settings โ†’ Memory โ†’ Cleanup, but do not click โ€œClean allโ€ โ€“ this will delete system data.

Clear the cache of messengers (Telegram, WhatsApp)

Delete the browser cache (Chrome, Mi Browser)

Reset data of unused games

Cleaning the cache of Gallery and Music-->

Warning: Do not cache system applications like com.miui.home or com.android.phone, which can lead to:

  • ๐Ÿ”„ Continuous restarts of the launcher.
  • ๐Ÿ“ต Loss of network settings (will have to be configured) APN freshly).
  • ๐Ÿ”• Disappearance of widgets from the main screen.
What if after cleaning the cache, the application slows down?
This is normal โ€” the app needs time to recover temporary files. If the brakes don't go away after 10-15 minutes, try restarting the phone. If the problem persists, reset the specific app's settings to Settings โ†’ Apps โ†’ [Application Name] โ†’ Storage โ†’ Space Management โ†’ Resetting Settings

2.Residual files removal: where the garbage hides after uninstallation

When you uninstall an app through Settings or Google Play, it often leaves behind:

  • ๐Ÿ“ Folders in /storage/emulated/0/Android/data/[name packet] (e.g. com.tencent.mm for WeChat).
  • ๐Ÿ—ƒ๏ธ Files in /storage/emulated/0/Android/obb/ (play-off).
  • ๐Ÿ“„ Configuration files in /data/data/ (root-only).

How to find and remove this garbage:

  1. Use Explorer (e.g., built-in Mi File Manager or Solid Explorer).
  2. Go to internal memory โ†’ Android โ†’ data.
  3. Delete folders with names of remote applications (for example, com.facebook.katana for Facebook).
  4. For games, check the Android/obb folder โ€“ there are often files weighing 1-3 GB.
Type of fileLocation.Can I remove it?How much space does it take (on average)
Cash messengers/Android/data/com.whatsapp/Yes (except for the Databases folder)500MB - 2GB
Residual game files/Android/obb/Yes (if game is deleted)1 GB - 5 GB
Logs of the system/data/log/Only root100-500 MB
Mini-dumps (when failures)/data/tombstones/Yeah (root requires)50โ€“200 MB

Attention. โš ๏ธ: Do not delete active application folders, for example, if you use VK, Don't touch com.vkontakte.android, it will cause crashes. /system/ or /vendor/ โ€” It can make your phone tick.

๐Ÿ’ก

To avoid confusion about which folders belong to which applications, use App Tracker, which shows which files belong to each application installed.

3. Cleaning system logs and dumps: Hidden gigabytes

MIUI/HyperOS logs everything from application errors to network connection data, which rarely exceed 1 GB, but over time, they accumulate so much that they start to slow down the phone, especially on budget models (Redmi 9A, POCO M3).

Where to look for logs:

  • ๐Ÿ“œ /data/log/ โ€” Basic system logs (available from root).
  • ๐Ÿ“Š /data/anr/ โ€” app-hang reports.
  • ๐Ÿ’€ /data/tombstones/ โ€” Memory dumps in crashes (may weigh on the 50โ€“100 MBT each).
  • ๐Ÿ“ก /data/misc/wifi/ โ€” Wi-Fi connection logs (sometimes hundreds of megabytes).

How to clean (without root rights):

  1. Install ADB on your computer (instruction below).
  2. Connect the phone and execute the command: adb shell pm trim-caches 1G This will clear the cache of all user applications.
  3. To delete logs, use: adb shell logcat -c (clears current logs, but does not delete old files).

Attention. โš ๏ธ: If you are not sure about the teams ADB, A syntax error (such as an extra space) can cause your phone to reset:

  1. Go to Settings. โ†’ The phone.
  2. Click on the MIUI version 7 times to activate the Developer Mode.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Activate Do Not Save Logs (this will stop writing new logs).

4.Storage optimization: What takes up space on Xiaomi

People often wonder, "Why is it that the Xiaomi Redmi Note 12 has only 10 GB of memory, with 128 GB, even though I didn't install anything?" The reason is hidden files that the system doesn't mention. Here are the main memory eaters:

  • ๐ŸŽต Music and podcasts: Apps like Spotify or Yandex Music cache tracks to the music /Android/data/com.spotify.music/ (before 4โ€“8 GB).
  • ๐Ÿ“ธ Gallery: Miniatures and edited photos in /DCIM/.thumbnails (before 1โ€“2 GB).
  • ๐Ÿ—บ๏ธ Maps: Offline maps Google Maps or Yandex Maps weigh up to 2-3 GB.
  • ๐ŸŽฎ Games: Even after deleting the game, files can remain in the game. /Android/obb/ (For example, Genshin Impact leaves the 15 GB).

How to find and delete:

  1. Open Mi File Manager and go to Categories โ†’ Large Files.
  2. Sort by size and delete unnecessary files (e.g. old WhatsApp videos in /WhatsApp/Media/).
  3. For maps: open Google Maps โ†’ Profile โ†’ Settings โ†’ Offline maps and remove unnecessary regions.

๐Ÿ’ก

The biggest garbage accumulates in the folders of messengers. For example, in Telegram, the sticker cache and the gif can take up to 3-5 GB. To clean it, go to Telegram Settings โ†’ Data and memory โ†’ Storage โ†’ Clear the cache

5. Reset system application settings: when nothing helps

If the phone started to brake and cleaning the cache didn't help, the problem could be settings for system applications.

  • ๐Ÿ“ฑ com.miui.home (launcher) โ€“ if the main screen is slowing down.
  • ๐Ÿ“ž com.android.contacts โ€“ if contacts are slowly opened.
  • ๐Ÿ“ท com.miui.gallery โ€“ if the gallery does not load the photo.

How to reset your settings:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Click on the three dots in the top right corner and select Show All Apps.
  3. Find the system application you need (e.g. Gallery).
  4. Select Warehouse โ†’ Space Management โ†’ Resetting.

Attention. โš ๏ธ: Resetting the com.android.settings application settings will result in:

  • ๐Ÿ”„ I will reset all personal settings (wallpaper, sounds, gestures).
  • ๐Ÿ” Losing saved Wi-Fi passwords.
  • ๐Ÿ“ฑ Return to the standard launcher (if you used a third-party launcher).

If the reset didnโ€™t work, try disabling the problem app (unless itโ€™s system critical).For example, com.miui.weather2 (weather) can be turned off without consequences.

6. Manual cleaning of Dalvik cache: for advanced users

Dalvik cache is an optimized file that Android creates to speed up the launch of applications. Over time, they fragment and can take up to 1-2 GB. Clearing Dalvik cache is useful if:

  • ๐Ÿข The phone slowly opened the app.
  • ๐Ÿ”„ After updating MIUI/HyperOS lags appeared.
  • ๐Ÿ“‰ Free memory is decreasing on its own.

How to clean (recovery or root required):

  1. Turn off the phone.
  2. Press Volume Up + Power to enter Recovery.
  3. Choose Advanced โ†’ Wipe Dalvik Cache.
  4. Reboot your phone (Reboot System)

Warning โš ๏ธ: After cleaning the Dalvik cache, the first start of the phone will be longer than usual (up to 5-10 minutes). Do not interrupt the process! Also do not clean the Dalvik cache more than 1 time every 2-3 months - this can lead to memory wear and tear.

What is Dalvik Cache and Why Canโ€™t It Be Cleaned Too Often?
Dalvik cache is an optimized version of the Dalvik virtual machine (or ART in the new Android) application, which recovers the cache when it is first cleaned, but frequent cleaning forces it to do so all the time, increasing the CPU and flash memory load, reducing its life.

7.Alternative methods: ADB and hidden commands

If standard methods don't work, you can use ADB (Android Debug Bridge) for deep cleaning, which requires connecting the phone to a computer, but allows you to remove debris that is not available through the interface.

The main cleaning commands are:

adb shell pm clear com.miui.securitycenter #Disposal of the Security Center


adb shell pm clear com.android.providers.media # Cleaning up media cache




adb shell rm -rf /data/local/tmp/* # Delete temporary files




adb shell sync # File system synchronization

Hidden MIUI commands are also useful:

  • ๐Ÿ“ž Dial on the phone ##4636## โ†’ Choose Usage Statistics โ†’ Clear data (resetting of usage statistics).
  • ๐Ÿ“ฑ Type #284## for sensor test (sometimes helps to reset system errors).

Attention. โš ๏ธ: Teams. ADB They can harm the system if you're incorrectly entered. For example, the adb shell rm command -rf /data/* It would completely erase all user data (photos, contacts, messages) on one of the Redmi Note test sites. 8 Pro. Always check the syntax!

FAQ: Frequent questions about Xiaomi cleanup

โ“ Why does the memory fill up again after a few days?
And that's okay, because Android is constantly creating new cache files to slow things down: ๐Ÿ“ต Limit the background activity of applications in Settings โ†’ Battery โ†’ Background restriction. ๐Ÿšซ Turn off auto-update apps on Google Play. ๐Ÿ“ Clean folders regularly /DCIM/.thumbnails and /Android/data/.
โ“ Can I clean the file? /data/app/?
No, this folder contains the files of the installed applications, and its cleaning will lead to the removal of the files: ๐Ÿ”„ Remove all user programs. ๐Ÿ“ฑ System failures. ๐Ÿ”• Data loss (if applications didn't back up) If you need to free up space, it's best to delete applications through Settings โ†’ Annexes.
โ“ How to Clean up Xiaomiโ€™s Rubbish Without Root?
Without root, you can: ๐Ÿงน Clean the application cache manually (see section) 1). ๐Ÿ—‘๏ธ Delete residual files in /Android/data/ and /Android/obb/. ๐Ÿ“Š Use it. ADB system-based. ๐Ÿ”„ Reset the launcher or gallery settings. Root gives access to the /data/data/ and /system/, The risks outweigh the benefits for most users.
โ“ Why After Updating MIUI phone stopped?
Causes: ๐Ÿ”„ Conflict of old data with the new OS version (will help reset cache com.android.systemui). ๐Ÿ“ Dalvik cache accumulation (clean through recovery). ๐Ÿ”‹ Background optimization (turn off in Settings) โ†’ Battery โ†’ If the brakes are critical, reset to factory settings (but save the data first!).
โ“ What cleaning applications can be used on Xiaomi?
It is better to do without them, but if necessary: ๐Ÿ›ก๏ธ SD Maid (requires root for deep cleaning). ๐Ÿงน Files by Google (Safely Cleans Garbage Without Root). ๐Ÿ“Š CCleaner (not recommended โ€“ often deletes the desired files) Xiaomi's built-in Security App is quite effective if configured correctly.