Why Redmi 5 is slowing down and how cache affects performance
Your Xiaomi Redmi 5 has become slower to work, applications are long open, and the system periodically โhangsโ? 80% of cases to blame crowded cache โ temporary files that accumulate over years and take up precious memory. On the Redmi 5 model with its modest 2/3 GB of RAM and 16/32 GB of ROM, this problem is especially acute: after a year of active use of free space may remain less than 10%, and the system will begin to slow down even for simple tasks.
There are three types of cache: system (Android files), application cache (messaging, gaming, social media) and Dalvik cache (optimized files to speed up the launch of programs). On Redmi 5 running MIUI 9/10 (or custom firmware), cleaning each type requires different approaches, for example, simply removing the WhatsApp cache will free a couple of hundred megabytes, and resetting the Dalvik cache through Recovery can return the โfastโ to the system, as after purchase. But here it is important not to overdo it: some files reboot the cache, and you will have to delete the data back when the application.
In this article, weโll break down 5 ways to clean up Redmi 5 cache, from the simplest (via settings) to the most advanced (using ADB and TWRP). Each method is tested on a real device and adapted to the features of Xiaomi: for example, the hidden /cache partition, which is not visible through the standard file manager, but can take up to 1.5 GB on tired devices, and you will learn which files can be deleted without risk and which should not be touched โ even if they take up gigabytes.
Method 1: Clearing the cache of individual applications through settings
The safest and most recommended method for beginners is to remove the cache of specific applications through the settings menu.This does not affect system files and does not require superuser rights. On Redmi 5, the path to this menu is slightly different from other Xiaomi smartphones due to the MIUI version:
- Open Settings (the gear icon on the main screen).
- Go to All Applications (or Applications โ Application Management in MIUI 10).
- Slip on the three dots in the upper right corner and select Sort by size, so you will see the most "gluttonous" programs.
- Select an app (like Facebook or YouTube) and click Clear Cache.
Top.-5 The apps that most often clog Redmi 5:
- ๐ฑ Facebook and Messenger โ up to 500MB of cache per month;
- ๐ฎ PUBG Mobile/Free Fire - before 1.2 GB (cache of textures and maps);
- ๐ท Gallery - miniatures of photos and videos occupy 200-400 MB;
- ๐ต Spotify/Yandex Music - cache of songs before 1 GB;
- ๐ Chrome/Opera โ temporal files (300-800 MB).
โ ๏ธ Warning: Do not clear the cache of system applications with an icon MIUI (For example, com.miui.home or SecurityCenter, this can cause shell malfunctions, and avoid clearing the cache of Google Play Services (com.google.android.gms), otherwise Google services (maps, sync, etc.) will stop working.).
Delete the cache of messengers (WhatsApp, Telegram)
Clear the game data (if you are not playing)
Clear the browser cache (Chrome, Opera)
Remove miniatures from the Gallery
Check the cache of cards (Google Maps, Yandex.Maps)-->
Method 2: Automatic cleaning through "Safety" (MIUI Optimizer)
Xiaomi has built a powerful optimization tool into MIUI, the Security app (or Security in English firmware), which not only cleans the cache, but also deletes unnecessary files, uninstalled software remnants, and analyzes autoboots. On Redmi 5, it works more efficiently than third-party cleaners like CCleaner, because it has access to system partitions.
Instructions for deep cleaning:
- Launch the Security app (shield icon).
- Slip the button Optimization (or Cleaner).
- Select the Deep Clean tab and wait for the scan.
- Check the boxes: ๐๏ธ Cash app; ๐ Unnecessary files (remainders) APK, logic); ๐ Remains of annexes.
Click Clean and confirm the action.
๐น Tip: In the same menu there is a function Acceleration - it closes the background processes, freeing up RAM. 5 s 2 GB of memory gives an increase in productivity on 15-20%. However, donโt abuse it: if you close critical system processes (e.g. miui.guardprovider), notifications may disappear or gestures may stop working.
| Type of garbage | Average size on Redmi 5 | Can I remove it? |
|---|---|---|
| Cash app. | 1-3 GB | Yeah (safe) |
| APK remnants | 200-500MB | Yes. |
| Logs of the system (/data/log) | 50-200 MB | Yes (but will return after the reboot) |
| Dalvik cache (/data/dalvik-cache) | 300-800MB | Only through Recovery. |
| Cash Google Play Services | 100-300MB | No (risk of failure) |
Method 3: Manually clean through file manager (for experienced)
If you're willing to dig through system folders, you can manually delete cache that you can't see through standard settings, and you'll need a file manager with access to root partitions like MiXplorer or Solid Explorer. Importantly, without root rights, you can't delete files from system directories, but even regular access will allow you to clean up user data.
Key folders for cleaning on Redmi 5:
- ๐ /storage/emulated/0/Android/data/ โ cache of games and applications (for example, here are downloaded maps of Google Maps);
- ๐ /storage/emulated/0/DCIM/.thumbnails โ Photo and video miniatures (can be removed without consequences);
- ๐ /storage/emulated/0/Download/ โ Uploaded files that have not been used in a long time;
- ๐ /data/data/ โ Application cache (root rights required).
โ ๏ธ Note: Never delete files from folders:
- /system/ โ this will lead to a phone blink.
- /efs/ โ IMEI and serial numbers are stored here.
- /data/app/ โ removal APK-file breaks applications.
Also, donโt touch files with the.odex or.oat extension โ they are responsible for optimizing Android.
How to get root rights to Redmi 5?
Method 4: Clean Dalvik cache and /cache partition via Recovery
If your Redmi 5 runs on custom firmware or you have TWRP installed, you can clear the Dalvik cache and /cache partition โ this will give you maximum performance gains. Dalvik cache contains optimized versions of applications, and it can take 5-10 minutes to recreate after cleaning the system on the first start, but the result is worth it: the phone will become noticeably faster.
Step-by-step:
- Turn off the phone.
- Press the Power button + Volume up to enter Recovery.
- In TWRP, select Wipe โ Advanced Wipe.
- Check the boxes: Dalvik / ART Cache; Cache.
Swipe your finger across the screen to confirm (Swipe to Wipe).
Reboot your phone (Reboot System)
๐น What does this cleanup do:
- ๐ Accelerating app launches (especially noticeable on Redmi 5 with 2GB of RAM);
- ๐ Liberation. 300-800 MBT memory;
- ๐ ๏ธ Fixing some errors (such as sudden reboots).
๐ก
If the phone is loading for a long time after cleaning the Dalvik cache (more than 10 minutes), don't panic - that's OK. The system recovers optimized files. Don't turn off the device and remove the battery!
Method 5: Hard Reset โ a last resort
If all previous methods failed, and Redmi 5 is still slowing down, the last option is a full reset (or Hard Reset) that will remove all data from the phone, including apps, photos, contacts and settings, but return it to factory performance. On Xiaomi, you can do the reset in two ways: through settings or through Recovery.
Method 1: Through settings (if the phone is turned on)
- Open Settings โ Additional โ Recovery and Reset.
- Select Settings Reset.
- Check to clear your internal memory (optional if you want to erase everything).
- Confirm the action and wait for the reboot.
Method 2: Recovery (if the phone is not turned on)
- Enter Recovery (Power button + Volume up).
- Choose Wipe Data โ Factory Reset.
- Confirm the action and restart the phone.
โ ๏ธ After the reset of Redmi 5 will need to reset:
- ๐ Sign in to your Mi Account (if you have been linked);
- ๐ฑ Install all applications;
- ๐ Restore contacts (if there was no backup).
If you forget the Mi Account password, the phone may lock after reset! before the procedure, check if you remember the login details.
๐ก
A full reset is a last resort. Before you do it, try clearing the cache through Recovery (Method 4) and optimizing autoboot (turn off unnecessary apps in Settings โ Permissions โ Autorun).
How to prevent cache clogging in the future
To avoid having to do the cleaning every week, follow these tips:
- ๐ Regularly clean the cache of messengers and browsers (once in a week). 1-2 weekdays).
- ๐ซ Donโt install cleaners like Clean Master โ they clog the system with background processes.
- ๐ต Limit the background activity of applications: go to Settings โ Battery โ Power management applications and disable auto-start for unnecessary programs.
- ๐ Update the firmware - in new versions MIUI optimized work with cache.
- ๐ฑ Use lightweight versions of apps (e.g. Facebook Lite, Messenger Lite).
You can also enable automatic cleaning on Redmi 5:
- Open Security. โ Settings.
- Activate the Auto Cleanup option.
- Choose a frequency (e.g., every week).
๐น Bonus: If you play heavy games frequently (e.g, PUBG or Call of Duty, set them on a memory card (if any). โ Change. โ This will reduce the load on the phone's internal memory.