How to completely delete unnecessary files on Xiaomi Redmi Note 5: 7 working ways

Xiaomi Redmi Note 5 is one of the most popular budget smartphones with expandable memory, but even 64 GB of internal storage is littered with garbage in a few months of active use. The problem is not in the volume, but in the system limitations of MIUI: app cache, duplicate photos, residual files after deleting programs and hidden data from Google Services take up to 30% of the memory. In this article, we will discuss how to safely clean Redmi Note 5 from unnecessary files, including those that are not visible in the standard file manager.

The model features a hybrid memory card slot (instead of a second SIM), so many users face a shortage of space on the internal drive. We tested all methods on MIUI 9-12 firmware (including global and Chinese versions) and identified those that actually free up 2 to 8 GB of memory without root rights. Importantly, some methods require a connection to a PC or use ADB, which we noted separately.

If your smartphone already shows a notification β€œMemory is full” and the standard cleaning in Settings β†’ Memory does not help – this guide is for you. Let’s start with simple ways and get to the advanced ones, including working with hidden folders and optimizing system processes.

1. Standard cleaning through MIUI: what removes and what is missing

The built-in cleaning tool in MIUI is the first step, but it only removes surface debris.

  1. Open Settings β†’ Memory β†’ Cleaning.
  2. Click Scan and wait for analysis.
  3. Select categories to remove: app cache, unnecessary APKs, downloads.

What's removed:

  • πŸ—‘οΈ Application cache (temporary files that can be restored the next time you run programs).
  • πŸ“ Empty folders and thumbnails of images.
  • πŸ“₯ Download files if they haven’t been used for more than 30 days.

What is missing in standard cleaning:

  • πŸ” Residual files after deleting applications (folders) /data/data/ and /obb/).
  • πŸ“Έ Duplicate photos and videos (MIUI Does not analyze the contents of the gallery).
  • πŸ“¦ System logs and dumps (/data/tombstones/), pre-existing 1 GB.

πŸ“Š How often do you clean your memory on your smartphone?
Once a week.
Once a month
Only when the place ends.
Never.

One important thing is, if you see Clear Memory in gray, MIUI can't find any files to delete, so you can move on to the following.

2 Manual removal of hidden folders and system debris

Many files on Redmi Note 5 are hidden from the user, but they can be manually deleted through the root or ADB file manager. If there is no root, use Total Commander or FX File Explorer with the hidden file mode enabled.

Folders that can be cleaned safely:

  • πŸ“‚ /sdcard/Android/obb/ β€” game cache files (e.g, PUBG Call of Duty can leave gigabytes of data here).
  • πŸ“‚ /sdcard/Android/data/ β€” residual files of remote applications.
  • πŸ“‚ /sdcard/DCIM/.thumbnails β€” Photo and video miniatures (can be removed without consequences).
  • πŸ“‚ /data/log/ β€” System Logs (root rights required).

Delete the.thumbnails folder in DCIM| Clear the game cache in /obb/| Check the Download folder for old files | Delete the APK from the /sdcard/Download folder (if already installed)

-->

Warning: Do not delete /system/, /vendor/ or files with the.odex extension – this will lead to system failure!

⚠️ Warning: If after manual cleaning the smartphone began to slow down, restart it. MIUI Re-indexing the file system, which can take up to 5 minutes.

3. Clear the cache of Google Play Services and other system applications

Google Play Services and Google Play Market are the main memory eaters on the Redmi Note 5. Their cache can take up to 2-3 GB, but standard cleaning through settings doesn’t always work. Here’s how to remove it completely:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Google Play Services and click Storage.
  3. Choose Clear Cache and Delete Data (the latter will reset your Google account settings!).
  4. Repeat for Google Play Market, YouTube, Chrome.

After clearing the Google Play Services data, the smartphone may request a re-entering of the password from the Google account and temporarily lose sync (e.g., no updates to email and calendar).

AnnexMax. Cache volume.Can data be deleted?Effects of consequences
Google Play Services3GBYes.Resetting account synchronization
Google Play Marketup to 500MBYes.Resetting store settings
YouTubeup to 1GBYes.Removing history and downloads
Chrome800 MBYes.Bookmarking and history removal

πŸ’‘

If after cleaning the cache, the application began to slow down - restart it or restart the smartphone. MIUI will automatically restore the necessary temporary files.

4. Removal of duplicate photos and videos using third-party applications

The gallery on Redmi Note 5 can't find duplicates, but there are specialized utilities for this.

  • πŸ“Έ Files by Google – the built-in Cleanup tool finds duplicate photos and suggests removing them.
  • πŸ” Duplicate Files Fixer scans memory by file content, not by name.
  • πŸ“ SD Maid (requires root) – removes duplicates and empty folders in system directories.

Instructions for Files by Google:

  1. Install an app from the Play Market.
  2. Open the Cleanup section β†’ Duplicate files.
  3. Select files to delete (you can view the preview).
  4. Click Delete and confirm the action.

Important: Before mass removal of duplicates, check if they are backups (for example, photos from Google Photos or Mi Cloud).

How to distinguish a duplicate from a backup copy?
Backups usually have postfixes like " backup", " copy" or a date (e.g., a " backup" or " copy") in their name, "IMG_20230515_123456_1.jpg"). The duplicates are identical in size, date of creation and hash amount. To make sure, open the file properties in any file manager and compare the Size and Date of Change settings.

5. Cleaning through ADB: for advanced users

If standard methods don't work and root rights don't, you can use ADB (Android Debug Bridge), which removes system debris that you can't see in the MIUI.

What you need:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB.
  • πŸ“± Included debugging by USB on a smartphone (Settings) β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to Additional β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ Cable USB (preferably original).

Cleanup commands:

adb shell pm clear com.google.android.gms # Google Play Services Cleanup


adb shell pm clear com.android.vending # Clean up Play Market




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




adb shell rm -rf /cache/* # Clearing the system cache (requires a restart)

⚠️ Attention: Command rm -rf If you don't specify the correct path, you can delete critical system files.

6. Memory optimization through developer settings

Redmi Note 5 has hidden options that help reduce memory usage by system processes.

  1. Activate the developer mode (see previous section).
  2. Go to Settings β†’ Additional β†’ For developers.
  3. Find and turn on: πŸ”„ Do not save actions (reduces the amount of cache of applications). πŸ“‰ Limit background processes (select β€œMaximum 2 ProcessesΒ»). πŸ—‘οΈ Shut down. MIUI Optimization (reduces memory load, but can impair interface smoothness).

These settings will reduce the background activity of applications, but some features (such as real-time notifications) may run slower.

7 Final touches: what to do if memory still runs out

If you have less than 10% of the free space left after all the manipulations, try:

  • πŸ“² Transfer applications to SD-card (if it is installed instead of the second one) SIM). For this: Go to Settings β†’ Applications. Select the application β†’ Warehouse β†’ Change. β†’ SD-map.

Google Photo

Mi Cloud

πŸ”„ Reset the smartphone to factory settings (the last option, if the garbage has accumulated in the system partitions).

FAQ: Frequent Memory Cleanup Questions on Redmi Note 5

Can I delete the Android folder on the memory card?
No, it's a system folder that stores application data (like a game cache or instant messenger downloads) and deletes it will cause malfunctions, and only the subfolders inside it (like /obb/ or /data/ for remote applications) can be cleared.
Why does the memory re-energize in a few days?
The culprits are the background processes of Google Play Services, social media (Facebook, Instagram) and instant messengers (Telegram, WhatsApp). They are constantly cacheing data. Solution: Limit background activity in Settings β†’ Battery β†’ App selection. Turn off autoloading media in instant messengers. Install Greenify to freeze unnecessary applications.
How to clean up the memory if the smartphone is not turned on?
If the Redmi Note 5 is stuck on the logo or not booting, plug it into your PC and use the Mi Flash Tool to flash it back (this will delete all the data!).The alternative is to boot into Recovery Mode (hold Power + Volume Up) and select Wipe Data.Warning: both will result in total data loss!
Is it safe to use applications like Clean Master?
No, such "optimizers" often delete the right files or show false virus warnings. MIUI already has built-in cleaning tools, and for deep cleaning, it is better to use SD Maid (with root) or ADB.
How much memory should be left free for normal operation?
The minimum recommended margin is 10-15% of the total (for example, 6-8 GB for a 64 GB model).If less than 5% is free, the smartphone will slow down and applications will fly out.