How to completely remove garbage from the Xiaomi Redmi phone: from cache to system files

Xiaomi Redmi smartphones are known for their performance, but over time even they start to โ€œbrakeโ€ due to the accumulated digital debris. App cache, temporary files, duplicate photos and remnants of deleted programs take up precious space in memory, and background processes increase battery consumption by 15-30% (data from the MIUI 14 tests on the Redmi Note 12 Pro+). Unlike the iPhone, where cleaning is limited to system tools, Android on Xiaomi allows you to thoroughly clean the device โ€“ if you know where to look.

Many users mistakenly believe that clicking Clear in memory settings removes only surface debris, while the system cache, update remnants and hidden.thumbdata files continue to take up gigabytes. This article will not only free up space, but also restore the smartphone to performance, as after purchase. We will discuss 7 methods, from standard MIUI tools to hidden functions for power users.

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

1. Built-in memory cleanup in MIUI: what deletes and what is missing

The easiest way is to use the built-in Security โ†’ Cleanup tool, which analyzes the device and suggests that you remove:

  • ๐Ÿ—‘๏ธ Application cache โ€“ temporary files that speed up programs, but over time grow to hundreds of megabytes.
  • ๐Ÿ“ Unnecessary APK โ€” Remains of installed (and remote) applications.
  • ๐Ÿ“Ž Duplicate files โ€“ copies of photos, documents and music created by messengers or cloud services.
  • ๐Ÿงน Residual files โ€“ โ€œtailsโ€ from uninstalled programs (e.g. folders) Android/obb play-off).

However, this method has 3 critical drawbacks:

  1. Does not clear the system cache ( /cache and /dalvik-cache files), which can weigh up to 1-2 GB.
  2. Ignores the cache of Google Play Services, one of the main memory eaters on Android.
  3. Does not delete empty folders and files with the.nomedia extension that interfere with multimedia scanning.

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

โš ๏ธ Note: If after cleaning through MIUI Free space has not increased, check the Download folder - often there accumulate gigabytes of forgotten files (for example, videos from Telegram or updates for games).

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

2. Manually clean the cache for each application

Not all programs are properly cleaned through the standard tool, for example, Facebook, Instagram and TikTok can store up to 500-800 MB of cache even after being cleaned in MIUI.

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select a program (such as YouTube) and tap Warehouse.
  3. Click Clear Cache (not to be confused with Clear Data โ€“ it will delete accounts and settings!).
  4. For deep cleaning, click Space Management (not available for all applications).

Pay particular attention to:

  • ๐ŸŽต Music services (Spotify, Yandex Music) โ€“ cache songs even in offline mode.
  • ๐ŸŽฎ Games (Genshin Impact, Call of Duty Mobile) โ€“ their cache can take up to 3-5 GB.
  • ๐Ÿ“ฑ Social media โ€” VK and OK Keep a thumbnail of all the photos viewed.

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

AnnexAverage cache sizeCan I clean up without losing data?
Google Chrome200-500 MBYes (but saved passwords will be deleted if not synchronized)
WhatsApp100-300 MBYes (but the media files will stay)
Genshin Impact2โ€“4 GBPartially (removes progress if not linked to your account)
MIUI Launcher50โ€“150 MBYes (UI will be updated after rebooting)

๐Ÿ’ก

If the application after cleaning the cache began to work slower, restart the phone โ€“ the system will restore the necessary temporary files in 5-10 minutes.

3. System debris disposal via Recovery Mode

For power users, the system cache (/cache) and Dalvik-cache (/dalvik-cache) are not cleared through standard settings, but can be manually removed via Recovery Mode.

Instructions for Redmi with MIUI 12-14:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe & Reset โ†’ Wipe Cache.
  4. Confirm the action and restart the device.

This method:

  • โœ… Deletes residual update files (folder) /cache/ota).
  • โœ… Clears the Android kernel cache that can slow down the system.
  • โŒ Does not touch user data (photos, contacts, messages).

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

โš ๏ธ Note: On some Redmi models (for example, Note 10 Pro) after cleaning the cache in Recovery may reset the firmware region (download) RU Check the settings in Global. โ†’ The phone. โ†’ Version. MIUI.

โ˜‘๏ธ Preparation for cleaning through Recovery

Done: 0 / 4

4. Search and delete hidden files (including.thumbdata)

Files with the.thumbdata,.nomedia and.trash folders extension are not visible in standard Explorer, but can take up to 1-2 GB.

  • ๐Ÿ“ธ Viewing photos in the gallery (.thumbdata โ€“ miniatures).
  • ๐Ÿ—ƒ๏ธ When deleting files through some file managers (.trash folder).
  • ๐Ÿ” When scanning multimedia (.nomedia files hide folders from the gallery).

To find them:

  1. Install a root-access file manager (such as Solid Explorer or FX File Explorer).
  2. Enable the display of hidden files in the manager settings.
  3. Go to /storage/emulated/0/ and manually delete:

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

What happens if you delete all.nomedia files?
The folders where these files were, for example, will be visible in the gallery, for example, if the WhatsApp/Media folder was.nomedia, then all the photos and videos sent/received will appear in the standard album.

5. Optimization of autoboot and background processes

Many apps run when you turn on your phone and run in the background, consuming memory and battery, such as Xiaomiโ€™s Mi Video, Mi Music and Cleaner often turn on automatically, even though no one uses them.

How to turn off autoboot:

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Autoboot.
  2. Sort the list by the time of the last launch, so you will see which programs are active.
  3. Turn off autoboot for unnecessary apps (e.g. Mi Pay, Mi Community).

For deep optimization:

  • ๐Ÿ› ๏ธ Use it. ADB-commands to disable system services (PC required).
  • ๐Ÿ“ต Turn off background data transfer for social networks in Settings โ†’ The Internet and the Internet โ†’ Transfer of data โ†’ Background mode.
  • โšก Enable Performance Mode in Settings โ†’ Battery โ†’ Performance mode (available on Redmi with MIUI 13+).

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

๐Ÿ’ก

Disabling autoboot for 5-7 unnecessary applications can increase battery life by 10-15% (tests on the Redmi Note 11 Pro with MIUI 14).

6. reset the cache of Google Play Services and other system applications

Google Play Services is one of the most voracious Android apps, with caches that can take up to 1GB and background processes up to 20% of battery life.

  1. Open Settings โ†’ Applications โ†’ All applications.
  2. Find Google Play Services (an icon with a multi-colored triangle).
  3. Slip the vault. โ†’ Clear the cache.
  4. Restart the phone and the system will restore the necessary data.

Similarly, clean the cache for:

  • ๐Ÿ“ฆ Google Play Store (will delete search history and temporary update files).
  • ๐Ÿ” Google App (Voice Assistant and Search Query Cache).
  • ๐Ÿ“ฑ MIUI System Launcher (will speed up the work of the main screen).

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

โš ๏ธ Note: After cleaning up Google Play Services, push notifications (such as Gmail or WhatsApp) may temporarily not work.

7. Alternative methods: from CCleaner to ADB

If the standard methods did not help, try:

MethodWhat's removedRisks.
CCleaner (annex)Cash, call history, empty folders.Can delete important data if you donโ€™t configure filters
SD Maid (requires root)System garbage, duplicates, residues of applicationsIn case of improper use - system failure
ADB-teamCache of all users (pm clear --user 0 com.android.vending)Requires PC and team knowledge
Factory dischargeEverything except the files on SD-mapDeletes all data, including accounts

For advanced users, we will provide useful ADB-commands (executed through the PC):

Clearing the cache of all applications



adb shell pm clear --user 0 com.android.vending




Delete temporary update files



adb shell rm -rf /data/local/tmp/*




List of the heaviest folders (requires root)



adb shell du -h -d 1 /storage/emulated/0/ | sort -h

โ€”โ€”โ€” โ€ข โ€”โ€”โ€” โ€ข โ€”โ€”โ€”

๐Ÿ’ก

Before using CCleaner or SD Maid, create a restore point in MIUI (Settings โ†’ System โ†’ Backup) to help roll back changes if something goes wrong.

FAQ: Frequent questions about cleaning up Xiaomi Redmi

โ“ Why does the memory fill up again in a few days?
It's because of this: ๐Ÿ“ฑ Automatic caching of social networks and instant messengers (especially TikTok and Instagram). ๐Ÿ“ Download updates in the background (folder) /cache/ota). ๐Ÿ”„ Solution: Turn off auto-update apps in the Play Market and limit background data transfers for social networks.
โ“ Can I delete the folder? Android/obb, playless?
folder Android/obb It contains additional files for games (graphics, levels). If the game is already deleted, you can safely clean the folder: ๐ŸŽฎ For online gaming (for example, PUBG Mobile โ€“ Files will be rebooted the next time you start. ๐Ÿ“ฆ For offline games (e.g. Genshin Impact) โ€“ the game may stop working before re-uploading data.
โ“ How to clean up garbage if your phone is slowing down and not responding?
If Redmi is "hanging" and doesn't open settings: Connect your phone to your PC and use ADB to clear the cache: adb shell pm clear --user 0 com.miui.home Or boot into Safe Mode (hold Volume down when turned on) and clean the memory manually. The last option is factory reset via Recovery Mode.
โ“ Why cleaning through MIUI It shows 0 MB of garbage, even though memory is full?
It's because of this: ๐Ÿ” Hidden system files that are not displayed in a standard scanner. ๐Ÿ“ Encrypted data (such as WhatsApp or Signal cache). ๐Ÿ› ๏ธ Scanning errors (helped by rebooting or updating) MIUI). Solution: Use Solid Explorer with hidden files enabled or ADB.
โ“ How to clear cache for all users (if multiple profiles)?
If you have multiple accounts on your phone (for example, work and personal), you can clear the cache for everyone via ADB: # List of all users adb shell pm list users # Clear cache for a user with ID 10 adb shell pm clear --user 10 com.android.chrome Without ADB you will have to clear the cache for each profile separately in the settings.