Why should Redmi Note 9 cache be cleaned regularly?
Cache is temporary files that create apps and a system to speed things up. On the Xiaomi Redmi Note 9 with its 4/6GB of RAM and 64/128GB of storage, the cache can take up to 5-15GB in a year of active use. This not only eats up precious space, but also leads to:
โ Slowing down the interface โ MIUI Begins to โslow downโ when switching between applications.
โ Overheating of the processor - Snapdragon 720G forced to process the clogged temporary data.
โ Failures โ apps crash or fail to open (especially for WhatsApp, Instagram and gaming).
โ Fast discharge of the battery - background cleaning of the cache consumes up to 10-15% day-load.
The manufacturer claims that MIUI optimizes the cache itself, but in practice, manual cleaning is required every 2-3 months.
- ๐ฑ Actively use social networks (TikTok, Facebook)
- ๐ฎ Install heavy games (Genshin Impact, Call of Duty Mobile)
- ๐ท You're filming in 4K or 1080p@60fps
- ๐ Frequently update the firmware through OTA
In this article, 5 proven methods of cleaning the cache, including hidden methods for power users, all instructions are tested on the Redmi Note 9 with MIUI 12.5-14 (including global and Chinese versions).
Method 1: Clearing the cache of individual applications
The safest method is to remove cache for specific programs, which will not delete your data (photos, messages, save in games), but will free up space and eliminate errors.
Instructions:
- Open Settings โ Applications โ Application Management.
- Slip on the three dots in the top right corner and select Sort by size.
- In the list, find apps with large cache (usually Google Play Services, YouTube, Chrome, MIUI Gallery).
- Select the application โ Storage โ Clear the cache.
๐น Which apps to clean first?
| Annex | Average cache size | Frequency of cleaning |
|---|---|---|
| Google Play Services | 1-3 GB | Every 2 months |
| MIUI Gallery | 500 MB - 1.5 GB | Once a month |
| Facebook/Instagram | 300-800 MB | After each update |
| Chrome/browser MIUI | 200-500 MB | Once in 3 months |
โ ๏ธ Warning: Do not clear the cache for Google Play Store and Google Play Services too often - this can lead to app update errors.Optimum: 1 time in 3 months.
Close all background applications |Check the vacant space (should be โฅ1 GB) |Do not back up important data |Do not clear the cache of system applications without the need-->
Method 2: Automatic cleaning through โSafetyโ
MIUI has a built-in tool for system optimization, the Security app (or Security in global versions), which not only cleans the cache, but also removes unnecessary files, remnants of deleted programs and duplicates.
How to use:
- Open the Security app (the shield icon).
- Go to the Optimization or Cleaner tab.
- Press Check (or Scan) and wait for analysis.
- In the results, select Garbage Files โ Clean.
๐น What removes this tool?
- ๐๏ธ Application cache and systems
- ๐ Temporary files APK (post-instalment)
- ๐ Log files (log files)
- ๐ Empty folders and duplicate media files
โ ๏ธ Note: If photos from the gallery are missing after cleaning through Security, check the folder MIUI/Backup/RecentlyDeleted โ Sometimes files are moved there instead of being deleted.
๐ก
After automatic cleaning, restart your smartphone โ this will allow MIUI to recalculate the free space and avoid โphantomโ busy gigabytes.
Method 3: Cleaning Dalvik cache (for power users)
Dalvik cache is an optimized file for the Android virtual machine that speeds up the launch of applications.
- ๐ข The phone is slowing down after the update. MIUI
- ๐ Applications are constantly restarted
- ๐ฑ The smartphone is overheating for no apparent reason
๐น How to Clean Dalvik Cache:
- Turn off the Redmi Note 9.
- Press the Power button + Volume up until the Mi logo (Recovery mode) appears.
- Choose your language (if required).
- Go to Advanced. โ Wipe Dalvik Cache.
- Confirm the action and wait for the completion.
- Choose Reboot. โ Reboot to System.
โ ๏ธ Warning: Cleaning the Dalvik cache does not delete user data, but the first start after the procedure will take 2-3 minutes longer than usual (the system will restore the cache again).
What if after cleaning the Dalvik cache, the phone is getting stuck on the boot?
Method 4: Manually Delete Cache Through File Manager
If standard methods donโt work, you can manually delete the cache through the file manager, which is suitable for removing remnants of remote applications or cache that the system โdoes not seeโ.
Instructions:
- Open Files (or any other file manager, such as Solid Explorer)
- Go to /storage/emulated/0/Android/data/.
- Find folders with app names (e.g. com.facebook.katana for Facebook).
- Inside each folder, remove the cache subfolder.
๐น What folders can be removed safely?
| folder | What it keeps. | Can I remove it? |
|---|---|---|
| cache | Temporary application files | Yes. |
| lib | Libraries for the programme | No (will cause disruption) |
| files | User data (saves, settings) | No. |
| code_cache | Optimized code for Dalvik | Yeah (Dalvik cache analogue) |
โ ๏ธ Note: Do not delete folders called com.android. or com.xiaomi. MIUI. Their damage can lead to a โbrickโ of the device (complete inoperability).
๐ก
Manually clearing the cache through the file manager is the most efficient way to free up space, but it requires caution. Always check folder names before deleting!
Method 5: Cache reset via ADB (for advanced)
If you're familiar with ADB (Android Debug Bridge), you can clear the cache of all applications with one command.
- ๐ต The phone does not respond to touch (but connects to the PC)
- ๐ง You need to clear the cache of system applications that are not displayed in the settings
- ๐ Mass cleaning is required without manual selection of each application
๐น Step-by-step instruction:
- Download and install Googleโs Platform Tools.
- Turn on USB Debugging on Redmi Note 9: Settings โ About Phone โ MIUI Version (Tap 7 times) Settings โ Additional โ For Developers โ Debugging on USB
- Connect your phone to your PC and open the command line in the adb folder.
- Enter a command to clear the cache of all applications: adb shell pm trim-caches 100G (where 100G is the maximum cache size that can be cleaned).
๐น Additional useful teams ADB:
- ๐ See the cache size of all applications: adb shell dumpsys meminfo | grep "Cache"
- ๐งน Clear the cache of a specific application (e.g. Chrome): adb shell pm clear com.android.chrome
โ ๏ธ Note: pm clear not only removes the cache, but also all application data (as in reinstallation:
adb shell pm trim-caches {app package}Frequent Mistakes and How to Avoid Them
Clearing the cache seems like a simple procedure, but many Redmi Note 9 users are facing problems due to the wrong actions.
๐น 1.Photos disappear after cleaning
๐ Reason: Annex MIUI Gallery sometimes saves thumbnails of photos in cache, and when it is cleaned, the pictures can disappear from the gallery (although they physically remain on the phone).
๐ง Solution: Open the Files โ So, you can see if the images are showing up there, and if you do, reboot the phone, and the gallery will restore the thumbnails.
๐น 2 Applications have become slower
๐ Reason: After cleaning the cache, applications need time to recreate it. The first 1-2 launches may be slower than usual.
๐ง Solution: Wait 10-15 minutes and restart your phone. If the lags are left, check the space available (should be available). โฅ 1.5 GB).
๐น 3. The cache of system applications is not deleted
๐ Reason: MIUI Blocks cache clearance for critical services (e.g. Google Play Services or Google Play Services) MIUI System).
๐ง Solution: Use ADB (method 5) or disable the application through Settings โ Annexes โ Show it all. โ Disable (if possible).
๐น 4.After cleaning the Dalvik cache, the phone does not turn on
๐ Reason: Cleaning process interrupted or not enough space to recover cache.
๐ง Solution: Go to Recovery and select Wipe Cache Partition (not to be confused with Wipe Data!). If it doesn't work, reset to factory settings.
๐ก
If your phone starts to drain faster after cleaning the cache, check Google Play Services in the battery settings. Sometimes restarting it solves the problem.