How to completely clean Xiaomi Redmi 8/Note from garbage: from cache to hidden files

Xiaomi Redmi 8 and Redmi Note 8 are popular smartphones with good hardware, but over time even they begin to โ€œbrakeโ€ due to the accumulated digital garbage. App cache, residual files after deleting programs, duplicate photos and clogged memory with system logs all eat up precious gigabytes and slow down the device. In this article, we will discuss 7 working methods of cleaning, including hidden MIUI functions that will help return the phone to its previous speed.

The Redmi 8/Note feature is limited internal storage (32/64/128GB depending on the modification) and no memory card slot in the base version of Redmi 8. This means that every megabyte counts. We will not advise the banal โ€œremove unnecessary photosโ€ โ€“ we will focus on technical methods that give results after the first application.

1. Built-in cleaning in MIUI: what does and what is missing

The manufacturer has put the safety โ†’ cleaning tool in MIUI firmware, but it works superficially. Let's see how to use it correctly -- and why it's not enough.

To start the built-in cleaning:

  • ๐Ÿ“ฑ Open the Security app (shield icon).
  • ๐Ÿงน Select the Cleanup section โ†’ Garbage.
  • โš™๏ธ Press Deep Clean (at the bottom of the screen).
  • ๐Ÿ—‘๏ธ Check all categories (cache, residual files, APK) and confirm the removal.

The built-in tool removes:

  • โœ… Application cache (temporary files).
  • โœ… Residual data after uninstallation of programs.
  • โœ… Empty folders and thumbnails.

But he doesn't touch:

  • โŒ System Logs (/data/log/).
  • โŒ Duplicate photos and videos (even if they take up gigabytes).
  • โŒ Cash of system applications (MIUI protect).

๐Ÿ’ก

After cleaning through the built-in tool, be sure to restart the phone - this will allow the system to recalculate the free space and close the background processes that could block deleting files.

2. Manual cleaning of the cache of system applications

Many of the brakes on Redmi 8/Note are due to a bloated cache of system services that MIUI does not automatically clean, such as com.miui.system or com.android.providers.media, which can take up 500MB-1GB each.

To clean them manually:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Click on the three dots in the upper right corner โ†’ Show all the processes.
  3. Sort the list by cache size (click on the cache size in the cap).
  4. Select an application with a large cache โ†’ Storage โ†’ Clear the cache.

Pay special attention to these applications (they often โ€œclogโ€ memory):

  • ๐Ÿ“ Downloads (com.android.providers.downloads.ui) โ€“ here temporary files from the browser accumulate.
  • ๐ŸŽต Music (com.miui.player) โ€“ caches album covers and metadata.
  • ๐Ÿ“ท Gallery (com.miui.gallery) โ€“ stores thumbnails and data for facial recognition.
Which system applications should not be cleaned?
Clearing the cache for com.android.phone or com.miui.home can cause interface failures. Also, donโ€™t touch Android System WebView, which is critical for the browser and some applications.

On the Redmi Note 8 with MIUI 12.5+ firmware, the cache of the com.xiaomi.scanner app can take up to 2GB due to a logging error and can be safely cleaned without consequences.

3. Delete hidden files and logs through File Manager

System logs and error dumps (/data/log/, /data/anr/) can take up to 3 to 5 GB, but they are hidden from the user.

  1. Open File Manager (Integrated File Manager) MIUI).
  2. Go to Categories โ†’ System files.
  3. Select Logs and Reports โ†’ Mark all files and delete.

If the /data/log/ folder is not displayed:

  • ๐Ÿ”ง Enable Hidden Files Display: In File Manager, click on three dots โ†’ Settings โ†’ Show hidden files.
  • ๐Ÿ“‚ Manually cross the path /storage/emulated/0/Android/data/ and delete folders of remote applications (they can weigh on the 100โ€“300 MBT each).
๐Ÿ“Š How often do you clean your Xiaomi cache?
Once a week.
Once a month
Only when the phone starts to brake
Never clean.
Type of fileWhere to findHow much space does it take?Can I remove it?
System logs (.log,.txt)/data/log/, /data/anr/1-5 GBYes.
Cash Google Play Services/data/data/com.google.android.gms/500 MB-1 GBYes (but it may need to be rebooted)
Residual APK-file/data/app-lib/200-800 MBYes.
Mini-thumbnails (miniatures of the gallery)/storage/emulated/0/DCIM/.thumbnails300 MB-1.5 GBYes (will be recreated automatically)

4. Cleanup of duplicate photos and videos with Google Files

Google Files (formerly Files Go) can find duplicate photos, screenshots and large files that take up space. Download it from the Play Market and follow the instructions:

  1. Open Google Files โ†’ go to the Cleanup tab.
  2. Select Duplicate Files or Large Files.
  3. View the list and remove the unnecessary (pay special attention to files >100 MB in size).

For Redmi Note 8 with 48 MP camera duplicate photos can take up to 2-3 GB.

  • ๐Ÿ“ธ Blurred photos (lubricated pictures).
  • ๐ŸŽฅ Unsuccessful screenshots (empty or identical).
  • ๐Ÿ“„ Old Memes and Images from Chats (WhatsApp, Telegram).

Check the date of creation of files|Make sure that the photos you delete are not in the "Favorites" album"|Backup important files in Google Photos|Clean the basket after removal-->

5. reset the /cache partition cache via Recovery

If the phone is severely braking even after cleaning, resetting the /cache partition cache through recovery mode will help.This does not delete user data, but requires caution.

Instructions:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. In the Recovery menu, select Wipe & Reset โ†’ Wipe Cache (control โ€“ volume buttons, confirmation โ€“ power button).
  4. After cleaning, restart the device (Reboot).

โš ๏ธ Note: Do not confuse Wipe Cache with Wipe Data! The second option will erase all your data (photos, apps, settings).

This method helps if:

  • ๐Ÿข The phone is loaded long after switching on.
  • ๐Ÿ”„ Applications are closed spontaneously.
  • ๐Ÿ“ฑ The system emits a โ€œlack of memoryโ€ error, even though there is a place.

6. Disconnecting unnecessary system processes

MIUI runs a lot of background processes that eat up RAM and create debris, some of which can be turned off without consequence.

List of safe services to disable (via Settings โ†’ Applications โ†’ Application Management โ†’ All):

  • ๐Ÿ”Š Mi Music (com.miui.player) โ€“ if you donโ€™t use the built-in player.
  • ๐Ÿ“ฐ Mi Video (com.miui.videoplayer) is a YouTube analogue, but with ads.
  • ๐Ÿ“ก Mi Drop (com.xiaomi.midrop) is useless if you donโ€™t transfer files over Wi-Fi Direct.
  • ๐ŸŽฎ Game Turbo (com.miui.gameturbo) โ€“ if you donโ€™t play mobile games.

To disable:

  1. Select the app from the list above.
  2. Click Disable (Do not "Delete"!).
  3. Confirm the action.

โš ๏ธ Note: Do not disable Google Play Services (com.google.android.gms) โ€“ this will cause disruptions in the Play Market and other Google services.

๐Ÿ’ก

Disabling unnecessary system applications not only frees up memory, but also reduces battery consumption by 5-15% by reducing background activity.

7. Cleaning automation: setting up MIUI Optimization

MIUI has hidden optimization settings that allow you to automatically clean up your garbage on a schedule, so you can activate them:

  1. Go to Settings. โ†’ The phone.
  2. Click 7 times on the MIUI version to enable Developer Mode.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Find MIUI Optimization and turn it on.
  5. In the Auto Cleanup section, set up a schedule (we recommend weekly).

This will allow:

  • ๐Ÿ—“๏ธ Automatically clean the cache once a week.
  • ๐Ÿงน Delete temporary files with low memory.
  • ๐Ÿ”‹ Optimize background processes to save battery.

For the Redmi Note 8 with 4GB of RAM, this feature is especially useful โ€“ it prevents memory leaks, which cause the phone to โ€œlagโ€ after a few days of use.

FAQ: Frequent questions about Redmi cleanup 8/Note

Can I clean /data/dalvik-cache manually?
No, this folder is not recommended to be touched, it contains optimized versions of applications for quick download, and cleaning it will lead to a long recompilation of all programs the next time you turn on the phone. If you want to reset dalvik-cache, do it only through Custom Recovery (for example, TWRP).
Why does the memory fill up quickly after cleaning?
This is due to: Messenger background activity (WhatsApp, Telegram caching media files); App auto-updates in the Play Market (new versions are downloaded, and old ones remain in /data/app-lib/); System dumps (/data/tombstones/) that are created when crashes. Solution: disable auto-update in the Play Market and regularly clean the Android/data/com.whatsapp/cache/ folder.
Is it safe to use CCleaner or Clean Master?
Not only are these apps ineffective on modern versions of Android, they can also be harmful: ๐Ÿšซ Delete useful files (for example, data for quick application launch). ๐Ÿšซ Slowing down the system due to background activity. ๐Ÿšซ Collect your data for advertising. Use only built-in tools. MIUI Google Files.
How to clear your memory if your phone is not switched on?
If Redmi 8/Note doesnโ€™t boot due to memory shortage, try: Go to Recovery (Power + Volume Up) and select Wipe Cache. Connect your phone to your PC and manually delete large files via ADB: adb shell rm -rf /storage/emulated/0/Download/* If nothing helps, make hard re (Wipe Data in Recovery), but it will delete all data.
How much memory should be free for normal operation?
For Redmi 8/Note, it is recommended to support: 1-1.5 GB of free space on the internal drive (for system operations). 200-300 MB on the /cache partition. 500 MB-1 GB of RAM (so that background applications do not โ€œkillโ€); If less than 500 MB is free, the phone will start to brake.