Redmi 4X (codenamed Santoni) is one of Xiaomiβs most popular budget smartphones, released in 2017. Despite modest by modern standards, the Snapdragon 435 processor, 2/3 GB of RAM, the device is still actively used thanks to the MIUI firmware and the possibility of expanding memory. However, over time, even this βunkillableβ device begins to slow down, and the fault of this is cache.
Cache is a temporary file that creates applications and a system to speed up work. But when too much of it accumulates, the effect is reversed: the phone opens programs slower, warms up, and the memory ends at the most inopportune moment. In this article, we will examine all the ways to clean the cache on Redmi 4X β from standard MIUI tools to hidden functions for power users. And also find out why after cleaning the cache, some applications can temporarily run slower (this is normal and fixes automatically).
Why Redmi 4X cache needs to be cleaned regularly
On the Redmi 4X with its 16 or 32GB of internal storage, every megabyte counts.Cash takes up the lion's share of free space, and here's why:
- π± System cache (/cache) β Stores update data, log files and temporary files MIUI. It could grow to 1β2 GB.
- π¦ App cache β every messenger, browser, and game creates its own folder, like Facebook or Telegram, easily accumulate 500-800 MB.
- π Dalvik cache β optimized files to speed up the launch of programs. MIUI It can take up to 300-500 MB.
- ποΈ Garbage after removal β many apps leave βtailsβ in folders /data or /sdcard.
According to the tests, after a year of active use, the Redmi 4X accumulates an average of 3-5 GB of unnecessary cache. This is critical for a model with 16 GB of memory, where ~10 GB is allocated to the system, and the user only has 5-6 GB. When filling up 90% of memory, the phone begins:
- β³ Hanging up when opening a gallery or camera.
- π₯ Overheating when multitasking.
- π΅ spontaneously close the background applications.
- π Quickly discharge (cache increases the load on the processor).
β οΈ Warning: Don't confuse cache with app data! Cache clearing is secure and doesn't delete your accounts, messages or settings. But data cleanup (Clear everything in the app settings) will reset the program to factory status.
Method 1: Clearing the cache of individual applications through settings
The easiest and safest method is to remove the cache for specific programs, which does not require superuser rights and is suitable for beginners.
Instructions:
- Open the Settings β Applications.
- Slip on the three dots in the top right corner and select Show all apps (to see system ones).
- Choose an app (such as Chrome or Facebook).
- Press Warehouse. β Clear the cache.
For mass cleaning:
- In the same Application menu, tap on the sort icon (three lines) and select Size.
- Programs are sorted by place β starting with the most βvoraciousβ.
- Clear the cache for applications that are >100 MB.
| Annex | Typical cache size | Can we clean it? |
|---|---|---|
| Google Chrome | 200-500 MB | Yeah (does not delete bookmarks) |
| 300-800 MB | Yes (re-entry possible) | |
| Telegram | 100-300 MB | Yes (chats kept) |
| gallery | 50β200 MB | Yeah (miniatures recreate) |
| Google Play Services | 50β150 MB | No (may disrupt work) |
β οΈ Warning: Do not clear the cache for system applications called com.android... or com.xiaomi... unless you are sure of their purpose. MIUI.
βοΈ Checklist before cleaning the app cache
Method 2: Using a built-in MIUI cleaner
MIUI has a built-in Cleanup tool (formerly Security) that deletes unnecessary files, including cache. On Redmi 4X, it works more efficiently than third-party utilities, since it has access to system folders.
How to use:
- Open the Cleanup app (icon with broomstick).
- Press Deep Clean (at the bottom of the screen).
- Wait for the analysis (may take 1-2 minutes).
- Select the Cash category and click Clear.
Advantages of this method:
- π Automatically finds cache of all applications, including hidden ones.
- π‘οΈ Does not affect important system files.
- π It shows how much space will be vacated.
Disadvantages:
- β Does not clear Dalvik cache (reboot to Recovery required).
- β May miss the cache of some games (for example, PUBG Mobile or Genshin Impact).
π‘
If the phone still brakes after cleaning through MIUI Cleaner, try restarting it, and the system will reassemble the cache for commonly used applications, and they will work faster.
Method 3: Clearing Dalvik Cache with Recovery Mode
Dalvik cache is an optimized file created by the Android virtual machine to speed up the launch of applications. On Redmi 4X, it is stored in the /data/dalvik-cache folder and can take up to 500 MB. Clearing this cache helps if:
- π’ The phone is slowing down after the update. MIUI.
- π Apps are constantly flying out with an error.
- π± Memory is full, but you haven't installed any new programs.
Instructions:
- Turn off the Redmi 4X.
- Press Volume Up + Power and hold for 5-7 seconds until the Mi logo appears.
- In the Recovery menu, select the language (if required).
- Go to Wipe & Reset β Wipe Dalvik Cache.
- Confirm the action and wait for the completion.
- Restart the phone (Reboot).
β οΈ Attention: After cleaning the Dalvik cache, the first launch of the phone will take 2-3 minutes longer than usual!
If your Recovery does not have a Wipe Dalvik Cache, you have a standard firmware without TWRP. In this case, use an alternative method:
1. Install TWRP Recovery for Redmi 4X (instructions are available on 4PDA).
2. Repeat the steps above, but in TWRP, select Advanced β Wipe Dalvik Cache.What if after cleaning the Dalvik cache, the phone is getting stuck on the boot?
Method 4: Manually clean the cache through the file manager
For power users who want to control the process, manual cleaning through a root file manager (such as Root Explorer or Solid Explorer) is a good way to remove cache that standard tools donβt see.
What folders can be cleaned:
- π /data/data/*/cache β cache of all user applications.
- π /cache β System cache (all contents can be deleted).
- π /sdcard/Android/data/*/cache β cache of games and programs on the memory card.
Step-by-step:
- Install a file manager with root support.
- Give him superuser rights (if requested).
- Go to /data/data and sort the folders by size.
- Remove the contents of cache folders in applications that take up a lot of space.
- Clean the /cache folder completely.
- Reboot the phone.
β οΈ Note: Do not delete files in folders /data/data//lib or /data/data//databases β It's gonna crash the apps, and don't touch the files. /system, unless they are sure of their appointment.
If you donβt have root rights, you can only clear the cache for those applications that allow access to their folders (for example, through Settings β Memory β Other apps).
π‘
Manual cache cleaning is more effective than automatic cache cleaning, but requires caution. An error when deleting system files can lead to bootloop (a looped boot) or data loss.
Method 5: Resetting cache through engineering menu (for advanced)
Redmi 4Xβs engineering menu allows low-level cache cleaning, including hidden partitions, which is useful if the phone has become unstable after firmware or upgrade.
How to open the engineering menu:
- Open the Phone app.
- Enter the code: ##4636###.
- Select Battery Information (or Usage Statistics).
- Click on the three dots in the top right corner and select Clear Cache (if the item is missing, use an alternate code).
Alternative codes for Redmi 4X:
- #36446337## - Equipment test (some versions of MIUI have a cleaning option).
- ##7780## - Reset settings (does not delete data, but clears the cache).
If the engineering menu does not provide a cleanup option, use ADB (Android Debug Bridge):
adb shell
su
rm -rf /cache/*
rm -rf /data/dalvik-cache/*
rebootThis method requires connecting the phone to a PC and installed ADB drivers. Detailed instructions on setting up ADB for Xiaomi can be found on the official developer website.
What to do if cleaning the cache does not help
If the Redmi 4X continues to slow down after all the manipulations, the problem may be deeper:
- π οΈ Memory Fragmentation: On eMMC phones (like Redmiβs) 4X) The read/write speed deteriorates over time, so the solution is to transfer frequently used applications to a memory card (Settings) β Annexes β Move it to SD).
- π Battery wear: At a charge below 15%, the Snapdragon 435 processor begins to trott (lower performance.
- π€ Outdated firmware: The latest official updates for Redmi 4X They came out in 2020. MIUI 11 or older, consider switching to custom firmware (like LineageOS or Pixel Experience).
- π¦ Viruses or Mining: Some malware masquerades as system processes and loads CPU. Check your phone through Malwarebytes.
If none of these things worked, it might be time to think about hardware upgrades. Redmi 4X is available for:
- π Replacing eMMC with a faster one (but itβs difficult and expensive).
- π Replacement of the battery (cost) ~1000-1500 rubles).
- π± Switching to a new smartphone (for example, Redmi Note 10 or POCO M4 Pro).