Cleaning internal memory on Xiaomi Redmi 5: from cache to deep cleaning

Xiaomi Redmi 5 (released in 2017) is still a popular budget smartphone, but its main drawback is only 16/32 GB of internal memory. Over time, even these modest amounts are littered with garbage: app cache, duplicate photos, remnants of deleted programs and MIUI system files. If your Redmi 5 began to slow down, issue a notification โ€œNot enough memoryโ€ or refuse to install updates, itโ€™s time to do a general cleaning.

In this article, we will discuss 7 proven ways to clean up memory, from basic (cache and debris removal) to radical (factory reset), especially the hidden MIUI packs, which take up to 3-5 GB and are not deleted by standard means. All instructions are tested on Redmi 5 with MIUI 9-12 firmware (including global and Chinese versions).

1. Analysis of occupied space: what eats up memory?

Before you clean, you need to figure out what exactly takes up space. Redmi 5 has built-in tools and third-party utilities.

Open Settings โ†’ Storage. Here you will see a diagram of the distribution of memory by category:

  • ๐Ÿ“ฑ Applications โ€“ installed programs and their data (cache, settings, databases).
  • ๐Ÿ“ท Multimedia โ€“ photos, videos, music (often duplicated in clouds and instant messengers).
  • ๐Ÿ“„ Files - documents, downloads, APK-file of remaining updates.
  • ๐Ÿ”„ The other is the most insidious partition! MIUI, system logs, remnants of remote applications.

If the "Other" section is more than 2-3 GB, it is a signal that it is time to clean up the system debris.

AnnexFunctionsLink (Google Play)
Files by GoogleScan duplicates, large files, unused APKsDownload
SD MaidRemove system cache, application residues, empty foldersDownload
DiskUsageVisualizes occupied space in the form of an interactive mapDownload

โš ๏ธ Attention: Redmi 5s MIUI 9-10, the built-in Storage Analysis may show incorrect data about the Other partition. If the sum of all categories exceeds the total memory capacity, it is a firmware bug. Restart your phone or use third-party utilities.

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

2. Cleaning the application cache and system

Cache is a temporary file that creates applications to speed up work, and over time, it grows to giant sizes (especially for social networks, instant messengers and games). On Redmi 5, the cache can be cleared in two ways:

Method 1: Manual cleaning for individual applications

Go to Settings โ†’ Applications โ†’ App Management. Select a program (like Facebook or Telegram) and click Storage โ†’ Clear Cache. For a radical cleanup, also click Clear Data, but note: this will reset all the application settings (you will log out of accounts).

Method 2: Mass cleaning of the cache

MIUI has a built-in tool for this:

  1. Open the Settings โ†’ Storage โ†’ Cleaning.
  2. Click the app cache and confirm the deletion.
  3. For deep cleaning, select Garbage Files and APK-Files (remainders of deleted updates).

Close all apps (especially instant messengers and games)

Connect your phone to charge (the process can take 5-10 minutes)

Check the vacant space before and after cleaning

Reset the device to apply changes-->

Once the cache is cleared, don't be surprised if the apps load longer than usual -- they'll have to recreate temporary files. That's normal and temporary.

โš ๏ธ Note: Do not clear the cache for system applications (e.g. com.android.systemui or com.miui.home) โ€“ this may cause interface failures MIUI.

3. Removal of duplicates and unnecessary files

Photos, videos and documents are often duplicated: the same files can be stored in Gallery, Downloads, messenger folders (WhatsApp, Telegram) and cloud services (Google Photos, Mi Cloud).

Use Files by Google to search for duplicates:

  1. Open the app and go to the Cleanup tab.
  2. Select Duplicate Files or Large Files.
  3. Look through the list and delete the unnecessary. Careful: don't delete files from Android or MIUI folders, which can disrupt the system.

Pay particular attention to:

  • ๐Ÿ“ธ Screenshots โ€“ they are automatically saved to the Pictures/Screenshots And it can take gigabytes.
  • ๐ŸŽต Offline music from Spotify, Yandex Music or Mi Music.
  • ๐Ÿ“„ APK-Files in Downloads โ€“ Remains of Manually Installed Applications.
  • ๐Ÿ“ฅ pup DCIM/.thumbnails โ€” Here are the photos that can be safely removed.

๐Ÿ’ก

Before mass deletion of files, back up your important data to your computer or the cloud. Redmi 5 is convenient to use Mi PC Suite (the official utility from Xiaomi).

4. Clean the Others section (hidden MIUI files)

The most mysterious section in Redmi 5 memory is "Other."

  • ๐Ÿ—‘๏ธ Logs of the system (/data/log)
  • ๐Ÿ”„ Temporary update files (/cache)
  • ๐Ÿ“ฆ Remnants of Remote Applications (/data/app-lib)
  • ๐Ÿ–ผ๏ธ Cash themes for the decorating MIUI (/data/system/theme)

To clear this section:

Method 1: Safe Mode (Safe Mode)

Restart your phone in Safe Mode (press the power button โ†’ long tap on โ€œSwitch offโ€ โ†’ โ€œReboot in Safe Modeโ€). In this mode, all third-party apps are disabled, and you can remove their residues:

  1. Open the settings โ†’ Storage โ†’ Other.
  2. Press Clear (if the button is active).
  3. Restart the phone to normal mode.

Method 2: Manual deletion through file manager (for advanced ones)

Use Root Explorer or FX File Explorer with superuser rights (unlocked bootloader and root access required):

  1. Go to /data/log and delete all files with the.log or.txt extension.
  2. Clean the /cache folder (remove all its contents).
  3. In /data/system/theme, delete folders with old themes.

โš ๏ธ Note: Delete files in /system or /vendor If you don't have root access, you'll get a device knocked out!

What is the Unblocking bootloader and Root Access?
Unlocking the bootloader on Xiaomi is the official procedure that allows you to install custom firmware and obtain root rights. For Redmi 5, instruction: 1. Get permission to unlock through the Xiaomi website (associating your Mi Account to the device is mandatory!). 2. Use the Mi Unlock Tool utility to unlock. 3. Install TWRP Recovery and get root through it with Magisk. โš ๏ธ After unlocking, all data will be reset, and the warranty will be canceled (if it was still in effect).

5. Transfer data to a memory card (if supported)

Xiaomi Redmi 5 has a hybrid slot for microSD (instead of the second one) SIM-If you use a memory card, you can transfer some of the data to it:

How to move applications:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select an app (like Google Maps) and click Storage โ†’ Change โ†’ SD card.
  3. Confirm the transfer. Please note that not all applications support this feature.

Limitations:

  • ๐Ÿšซ System applications (MIUI, Google Services cannot be moved.
  • ๐Ÿšซ Some games, for example, PUBG Mobile may not work with memory card.
  • ๐Ÿšซ MicroSD applications (especially Class 4-6) are faster than internal memory applications.

For photo and video transfer:

  1. Open the gallery or Files by Google.
  2. Select files โ†’ Move โ†’ SD card.
  3. Remove the originals from internal memory.

๐Ÿ’ก

The microSD cards on Redmi 5 are formatted as portable storage, not internal storage, which means that applications wonโ€™t be able to run entirely from the card โ€” just a piece of data.

6. Reset to factory settings (last resort)

If all previous methods failed and there is less than 1 GB of free memory, it is time to consider Hard Reset.

  • ๐Ÿ“ฑ Applications and their settings
  • ๐Ÿ“ท Photos, videos, music
  • ๐Ÿ“ž Contacts (unless synced with Google or Mi Account)
  • ๐Ÿ”‘ Wi-Fi passwords

How to reset:

  1. Back up your important data (via Mi Cloud or computer).
  2. Open Settings โ†’ Additional โ†’ Recovery and Reset.
  3. Select Resetting โ†’ Erase all data.
  4. Confirm the action and wait for the reboot (it will take 5-10 minutes).

After discharge:

  • ๐Ÿ”„ Do not restore data from the backup right away โ€“ first check how much memory is freed up.
  • ๐Ÿ“ฅ Install applications selectively (only those that are really needed).
  • ๐Ÿ”ง Turn off auto-update apps on Google Play.

โš ๏ธ Attention: Redmi 5s MIUI 9-10 after reset, the microSD partition may disappear. To return it, go to Settings โ†’ Warehouse โ†’ Setting up SD-maps and format the map again.

7. Prevention: how to prevent memory filling?

To avoid clearing your memory every week, follow these simple rules:

  • ๐Ÿ“ต Delete the app cache once a month (especially Facebook, Instagram, Telegram).
  • ๐Ÿšซ Turn off autoloading media files in messengers (Settings) โ†’ Data and storage).
  • ๐Ÿ”„ Regularly transfer photos and videos to your computer or to the cloud (Google Photos with High Quality compression does not take place).
  • ๐Ÿ“ฆ Use the โ€œlightโ€ versions of applications (Facebook Lite, Messenger Lite).
  • ๐Ÿ” Check the size of the game in Google Play before installing it (Genshin Impact weighs 15, for example).+ GB!).

For automatic cleaning, set up MIUI Optimizer:

  1. Open the settings โ†’ Further โ†’ Optimization.
  2. Turn on Auto Cleanup and set a schedule (e.g. once a week).
  3. Activate Deep Cleanup (delete junk files and cache).

๐Ÿ’ก

If you install/remove apps frequently, turn on the option โ€œAuto-Update only over Wi-Fiโ€ in Google Play, which will prevent unexpected memory filling when updating programs over the mobile Internet.

FAQ: Frequent questions about memory cleaning on Redmi 5

Can I increase my internal memory on Redmi 5?
No, you can't physically increase the amount of internal memory, the only option is to use a microSD (up to 256 GB) to store media files, and transferring applications to a memory card is possible, but it doesn't work.
Why is the memory filled again after cleaning the cache?
Cache is a temporary file that applications create anew when they're in use. If the memory fills up quickly, the problem is that it's not a good idea: ๐Ÿ“ฑ Too many apps installed (especially games). ๐Ÿ“ท Automatic download of media files in messengers. ๐Ÿ”„ Background synchronization of cloud services (Google Photos, Mi Cloud). Check the settings of the boot and disable unnecessary synchronization.
Is it safe to delete the Android/obb folder?
folder Android/obb contains additional data for games and applications (for example, graphics for PUBG Mobile or Call of Duty. You can delete it, but: ๐ŸŽฎ Games may not be running after that or require re-uploading of data. ๐Ÿ”„ Some apps (like Google Maps) will run slower. If the location is critical, delete the contents of the folder, but be ready to re-download the data for games.
How to clear your memory if your phone is not switched on?
If Redmi 5 doesn't boot due to memory shortage, try: Boot in Recovery Mode: press Power + Volume up, select Wipe & Reset โ†’ Wipe Cache. Connect to your PC and delete unnecessary files via ADB (command line skills are required). Refuse your phone via Mi Flash Tool (will delete all data but return performance). If it doesn't work, contact the service center.
Why does MIUI show that memory is full but files are scarce?
It's a famous bug. MIUI firmware (MIUI 9โ€“10). Causes: ๐Ÿ”„ Incorrect counting of the โ€œOtherโ€ section (system files take up space, but are not displayed). ๐Ÿ—‘๏ธ Damaged file system (helped by flashing or resetting). ๐Ÿ“ฆ Hidden update files (folder) /cache Solution: Update your firmware to the latest version. MIUI 12 Or perform a reset to factory settings.