Xiaomiβs cache is a temporary file that creates applications to speed up work. Over time, it takes up gigabytes of memory, slows down the device and can cause crashes. But where exactly is this cache stored, how to find it and safely delete it β questions that many users of Redmi, POCO and other brands are concerned about.
In this article, we'll look at all the ways you can find cached data, from standard MIUI tools to hidden folders that you can't see in a regular file manager, how to tell the difference between useful cache and garbage, what files you can delete without risk to the system, and why memory is not immediately released after cleaning, and for advanced users, instructions on how to work with ADB and manually clean through Recovery.
Itβs important to understand that there are three types of cache: application cache (the safest to delete), system cache (requires caution) and Dalvik cache (affects performance), and weβll show you how to work with each of them using the current versions of MIUI 14 and HyperOS.
What is Xiaomi Cache and Why Clean It
Cache is buffer data that apps and systems store to speed up repeat operations. For example, when you open Instagram, the app caches photos so that it can show them instantly the next time it runs, the same thing happens with web pages in your browser, maps in Google Maps, or media files in messengers.
The problems begin when the cache grows to a few gigabytes, and on Xiaomi, this is especially noticeable because of the MIUI features:
- π± Slowing down the interface: the system spends resources on processing outdated temporary files.
- π Fast battery discharge: background cache cleaning processes consume energy.
- π« Application crashes: A damaged cache can cause errors (e.g., βThe application has stoppedΒ»).
- π Lack of memory: even on phones with 128 GB cache can take 10-15 GB.
However, not all cache can be deleted without consequences, for example, cleaning the cache of Google Play Services will lead to re-uploading data on the next run, and deleting the Dalvik cache can cause the system to freeze for 5-10 minutes (it recovers automatically, but takes time).
β οΈ Warning: Don't confuse cache with app data! cache is temporary files, and data (/data/data/) They contain settings, save games and log in. Deleting them is equivalent to reinstalling the program.
Where to store cache on Xiaomi: standard locations
Cached files on Xiaomi are distributed across multiple folders, and can be found through any file manager (e.g., standard Files or Solid Explorer).
| Cache type | The way to the folder | Can I remove it? | Effects of cleaning |
|---|---|---|---|
| Cash app. | /data/data/<package_name>/cache | Yes. | The application will load longer at the next launch |
| System cache (MIUI) | /cache/ | Partially* | Some settings may be reset. |
| Dalvik cache | /data/dalvik-cache/ | Only through Recovery. | The system will restore it automatically, but will slow down for 5-10 minutes. |
| Cash browsers | /data/data/com.android.chrome/cache or /data/data/com.mi.globalbrowser/cache | Yes. | Websites will take longer to load, but history and bookmarks will persist |
| Cash messengers | /storage/emulated/0/Android/data/<package_name>/cache | Yes. | Media files (photos, videos) will have to be downloaded again |
*Note: /cache/ is not recommended to be manually cleaned, but rather to use the built-in MIUI or Recovery tools, which store update files and system logs.
To see hidden folders (e.g. /data/), youβll need root rights or a file manager with superuser mode (e.g., Root Explorer) without root access, youβll only be able to clear the cache of individual applications through settings.
How to enable the display of hidden folders in MIUI
How to find and clean cache through Xiaomi settings
The safest way is to use the built-in MIUI tools, which do not require root rights and automatically determine which files can be deleted without risk to the system.
Instructions for MIUI 14 and HyperOS:
- Open the Settings β Applications.
- Select Application Management.
- Slip on three dots in the upper right corner and select Sort by size.
- Click on an app (such as Facebook or Telegram) β Storage.
- Tap Clear Cache (not to be confused with Clear Data!).
For mass cleaning:
- Go to Settings β About the phone β Memory.
- Click Clear (the system will prompt you to delete unnecessary files, including cache).
- Select the app cache and confirm the action.
Some models (such as the Redmi Note 12 or POCO X5) have a separate Cleanup section in the main settings, where you can see how much space the cache takes up and remove it with one tap.
βοΈ Preparation for cache cleanup
Search and remove cache via Recovery Mode
If the phone is severely slowing down or lacking memory even after a standard cleaning, you can use Recovery Mode.This method will reset Dalvik cache and other system temporary files, but will not affect user data.
Instructions:
- Turn off the phone.
- Press the Power + Volume buttons up until the Mi logo appears.
- In the Recovery menu, select Wipe & Reset (manage - volume buttons, choose - power button).
- Tap Wipe Cache (not to be confused with Wipe Data!)
- Confirm the action and wait for the completion (it will take 1-3 minutes).
- Restart the phone (Reboot).
After this procedure, the system can run slower for the first 5-10 minutes, which is normal, as Dalvik cache is restored.
β οΈ Note: On some models (POCO F4, Xiaomi 13) Recovery doesn't have a separate Wipe Cache option. In this case, select Wipe Data, but don't confirm - just go back.
Manually clean cache via ADB (for advanced)
If standard methods donβt work, you can delete the cache via Android Debug Bridge (ADB).This will require a computer and the developer mode on the phone is enabled.
Step-by-step:
- Activate Developer Mode: Go to Settings β About Phone. Tap 7 times on MIUI Version. Go back to Settings β Additional β Developer. Turn on USB Debugging.
ADB
cmd
adb devices(Your device should be displayed).
adb shell pm trim-caches -1adb shell pm clear com.facebook.katanaList of packages of popular applications:
- π· Instagram: com.instagram.android
- π¬ WhatsApp: com.whatsapp
- π Google Chrome: com.android.chrome
- π΅ Spotify: com.spotify.music
β οΈ Note: pm clear command deletes both cache and application data (as in reinstallation). To clean only the cache, use: adb shell run-as com.facebook.katana rm -rf /cache/* (Replace com.facebook.katana with the desired package).
π‘
If the app is unstable after cleaning the cache through ADB, restart the phone. This will reset the temporary system files.
How to clean the cache of messengers and social networks without losing data
Messengers (WhatsApp, Telegram, Viber) and social networks (Instagram, TikTok) are actively using cache to store media files. Cleaning here has the nuance: you can delete gigabytes of unnecessary files, but still save correspondence and settings.
Instructions for popular applications:
- π¬ WhatsApp: Open Settings β Storage. Tap Memory Management. Select Big Files or Media and delete the unnecessary. Cache is stored in the /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media. Delete only the.Statuses (Stories) and.Thumbnails (Preview) folders).
- π± Telegram: Go to Settings β Data and memory. Select Clear Telegram cache. Use Storage and data in Android settings for deep cleaning. Cache is stored in /data/data/org.telegram.messenger/cache (Root rights are required).
- π· Instagram: Open your profile β Settings β Storage, slip, clear the cache.
Manual cleaning: delete the folder /storage/emulated/0/Android/data/com.instagram.android/cache.
For TikTok and Facebook, cache is stored in standard folders /Android/data/<package_name>/cache. They can be cleared through application settings or file manager.
π‘
Clearing the messenger cache does not delete correspondence, but can erase unsaved media files (for example, voice messages on WhatsApp, if they are not uploaded to the gallery).
Automatic cleaning of cache: settings and applications
To avoid manually cleaning the cache, set up automatic optimization:
- π€ Built-in optimization MIUI: Go to Settings. β The phone. β Memory: Enable Autocleaning and set up a schedule (e.g. once a week).
Cleaning applications
- π‘οΈ CCleaner β removes cache and debris, but can aggressively clean background processes.
- π§Ή Files by Google β Shows Large Cache Files and Suggests Deletion.
- π SD Maid (requires root) β deep cleaning, including system cache.
- βοΈ Developer Settings: Activate Developer Mode (as described above). Enable Don't keep activities, which will reduce cache volume by rebooting applications more frequently.
For models with HyperOS (such as Xiaomi 14), the Smart Cleaning feature is available in the Memory section, which analyzes the use of cache and suggests optimal cleaning options.
β οΈ Note: Applications like Clean Master often display false warnings about a βmemory state criticalβ and use them with caution, as some features may conflict with the memory system. MIUI.
Frequent Cache Cleaning Mistakes and How to Avoid Them
Many Xiaomi users experience problems after improper cache cleaning, and here are the most common errors and solutions:
- π Delete data instead of cache: If you tap Clear data instead of Clear cache, the application will reset to factory settings. Solution: restore data from backup (if any) or log in again.
- π’ Slowdown after cleaning Dalvik cache: This is normal - the system recovers optimized files.Do not restart the phone for 10 minutes.
- π± Disappearance of photos from the gallery: If you cleared the cache of Google Photos or Gallery, thumbnails may go missing.Solution: Restart the app or wait for sync.
- π« Failures after cleaning the system cache: If the phone stopped turning on, try going to Recovery and repeat the Wipe Cache. If it does not help, you need to flash it again.
- π Fast battery discharge after cleaning: This is a temporary phenomenon, the system rebuilds the cache. After 1-2 charging cycles, everything normalizes.
If after cleaning the cache, the application is constantly restarted, try:
- Clear the cache again.
- Reinstall the app.
- Check out the updates on Google Play.
π‘
Before mass clearing the cache, check if the app is using it for offline work (for example, maps in Google Maps or music in Spotify).