Your Xiaomi has slowed down, applications are loaded for a long time, and memory ends up in the flat? Most likely, the problem is clogged cache โ temporary files that accumulate during the operation of the system and programs. Cleaning the cache will not only free up space on the internal drive, but also return the smartphone to speed. In this article, we will analyze all the current methods of cleaning the cache on Xiaomi, Redmi, POCO and Black Shark devices โ from standard tools to hidden MIUI functions.
It's important to understand that there are three types of cache: application cache (temporary program files), system cache (MIUI and Android data), and Dalvik cache (optimized files for fast download of applications). Each of them requires a different approach. We will also tell you which files can be deleted without risk, and which are better not to touch, so as not to break the phone.
This article is relevant for all Xiaomi models based on MIUI 12-14 and HyperOS, including the latest flagships (Xiaomi 14, Redmi Note 13 Pro+) and budget devices (POCO M6 Pro, Redmi A2+).If your phone runs on an older version of the firmware, some menu items may differ - we will warn about this separately.
1.What is cache and why should it be cleaned
Cache is a temporary file that is created by apps and systems to make things faster, for example, when you open Instagram, it saves thumbnails of photos so that it can show them faster the next time you run, and the same thing happens with web pages in your browser, maps in Google Maps, and even system animations of MIUI.
Over time, the cache grows to several gigabytes and starts to create problems:
- ๐ Slowdown โ the phone โthinksโ when opening applications, the interface hangs.
- ๐ Fast battery discharge โ the system spends resources on processing unnecessary files.
- ๐จ Application Errors โ Outdated cache files may conflict with updated versions of programs.
- ๐ฑ Lack of memory โ especially relevant for budget models with 32-64 GB of storage.
But not all cache can be deleted without consequences, like clearing WhatsApp cache will lead to media files being reloaded, and resetting Google Play Services cache could disrupt Google services, and we'll show you how to clean it safely.
โ ๏ธ Warning: Don't confuse cache with user data! Cache clearing won't delete your photos, messages, or saves in games. But if you choose Clear Data instead of Clear Cache, all information inside the app will be erased.
2. Method 1: Clearing the cache of individual applications
The safest method is to delete the cache only for programs that actually slow down or take up too much space, which does not affect system files and does not require a reboot.
Instructions for MIUI 14 / HyperOS:
- Open Settings โ Applications โ Application Management.
- Slip on the three dots in the upper right corner and select Sort by size.
- In the list, find applications with a large amount of cache (usually Facebook, TikTok, YouTube, Chrome).
- Click on the program name โ Warehouse โ Clear the cache.
For convenience, you can sort applications by cache size:
Find in Settings โ Applications โ Application Management
Tap three points. โ Size-based sorting
Check applications with a cache >500 MB
Remove cache for unnecessary programs-->
On some models (e.g. POCO F5), the path may be slightly different: Settings โ Applications โ All Applications โ [select program] โ Memory โ Clear cache.
โ ๏ธ Warning: If the app is slower after cleaning the cache, it's OK. It takes time to recover temporary files. After 1-2 starts, the speed will return.
Method 3: Automatically clean the cache through โSecurityโ
MIUI has a built-in optimization tool called Security (which may be called Optimization or Device Care on newer versions) that can find and delete unnecessary cache in one click.
How to use:
- Open the Security app (the shield icon).
- Go to the Cleanup tab (or Accelerate in HyperOS).
- Press Deep Cleanse โ wait for analysis.
- Check the Cash and Residual Files (do not touch Downloads and Media Files if you do not want to lose your data!).
- Click Clean and confirm the action.
Advantages of this method:
- โ Fast, it takes less than a minute.
- โ Secure โ does not affect critical system files.
- โ Remove the cache of all applications at once.
Disadvantages:
- โ Does not clean the Dalvik cache (you need a separate method for this).
- โ May miss some system temporary files.
Method 3: Clearing the Dalvik cache (for power users)
Dalvik cache is an optimized file that the Android virtual machine creates to speed up the launch of applications, and cleaning it can help if the phone becomes severely slow after updating the firmware or installing a lot of programs, but this method requires superuser rights (root) or use Recovery mode.
If you do not have root rights, do the following:
- Turn off the phone.
- Press the Power button + Volume up before the Mi logo appears (this will trigger Recovery Mode).
- In the recovery menu, select Wipe & Reset โ Wipe Cache (manage by volume buttons, confirmation by power button).
- After cleaning, restart the phone (Reboot).
If you have root, you can use apps like SD Maid or Cache Cleaner, but itโs risky โ doing the wrong thing can cause the system to crash.
โ ๏ธ Warning: Cleaning Dalvik cache through recovery will reset optimization of all applications. After restarting, the phone will run slower than 5-10 minutes - this is normal, the system recovers files.
What is Dalvik and why should it not be cleaned often?
5. Method 4: Manual cleaning through file manager
For those who like to control the process, there is a way to manually find and delete cache files, which is useful if standard methods donโt help or need to make room for an important update.
Instructions:
- Open any file manager (such as embedded Files or Solid Explorer).
- Go to /storage/emulated/0/Android/data/, where the cache and application data are stored.
- Find folders called cache within the app directories (e.g. /Android/data/com.facebook.katana/cache/ for Facebook).
- Delete the contents of these folders (you donโt need to touch the cache folder yourself!).
You can also clean the system cache:
- ๐ folder /data/local/tmp/ โ time-file.
- ๐ folder /cache/ (root rights required) โ update cache and firmware.
| folder | What it keeps. | Can I remove it? |
|---|---|---|
| /Android/data/*/cache | Cache of user applications | โ Yes (safely) |
| /data/local/tmp | Temporary system files | โ Yes, but not all) |
| /cache/ | Firmware and update cache | โ ๏ธ Only through recovery. |
| /Android/obb/ | Additional game data | โ No (loss of progress) |
Do not delete files in obb and media folders โ it stores game saves and your media files!
6. Method 5: Cache reset via ADB (for advanced)
If you know how to use ADB (Android Debug Bridge), you can clear the cache of all applications with one command, which is useful if the phone is slowing down and does not respond to standard methods.
Instructions:
- Install ADB Tools on your computer.
- Turn on the phone to debug by USB (Settings โ About Phone โ MIUI version โ tap 7 times, then go back to Settings โ Additional โ For developers).
- Connect your phone to your PC and execute in the command line:
adb shell pm trim-caches 1000000000This command will clear the cache of all applications that are larger than 1 GB (value in bytes). To clear the entire cache, use:
adb shell pm clear-all-cachesโ ๏ธ Attention: Teams ADB They have direct access to the system. Incorrect use can cause your phone to malfunction. If you're not sure, you better use standard methods.
๐ก
Before using ADB, back up important data. The adb shell pm list packages -f command will show a list of all installed applications with paths to their cache.
7.How often should you clean the cache on Xiaomi
The cleaning frequency depends on how you use your phone:
- ๐ฑ Normal use (social networks, messengers, browser) - every 1-2 months.
- ๐ฎ Gaming phone (many games, streaming) โ once every 2-3 weeks.
- ๐ธ Photographer/Videograph (multiple media files) โ once a month + hand-cleaning.
- ๐ After updating MIUI โ be sure to clear the cache of system applications (Settings, Security, Google Play Services).
Signs that it is time to clean the cache:
- ๐ Apps are often flying out or showing errors.
- ๐ข Phone โthinksโ when opening menus or switching between programs.
- ๐ฒ Memory is ending, even though you havenโt set anything new.
- ๐ The battery discharges faster than usual (the cache can be background processor load).
Do not clean the cache too often โ this will lead to the opposite effect: applications will have to re-upload temporary files every time, which will increase traffic and time consumption.
๐ก
Regular cleaning of the cache (once every 1-2 months) prevents the system from "cluttering" but do not abuse it.