The cache in Xiaomi smartphones is temporary files that create apps and a system to speed things up. Over time, they take up gigabytes of memory, slow down the device and can cause crashes. But where exactly to look for this cache? Unlike iOS, where access to system folders is limited, MIUI allows users to look deeper โ if you know where to look.
In this article, you'll find not only the standard ways to clean through settings, but also hidden methods of accessing cache through File Manager, ADB and even root rights. We'll look at which files can be deleted without consequences, and which can be touched dangerously, and also explain why the cache returns after cleaning and how to reduce its volume on a permanent basis.
What is Xiaomi Cache and Why Clean It
Cache is buffer data that is stored on your device to speed re-access. For example, when you open Instagram, the app uploads photos to cache so that it can show them instantly the next time it runs, and so does web pages in your browser, maps in Google Maps, and even MIUI system animations.
The problem is that over time, the cache grows to several gigabytes. On the Xiaomi Redmi Note 10 Pro, users often find that 128 GB of memory is eaten up to 20-30 GB of cache.
- ๐ Slowing down the device (especially on budget models like Redmi) 9A).
- ๐ Increased battery consumption โ the system spends resources on managing unnecessary files.
- ๐ซ App crashes (for example, WhatsApp stops opening media files).
- ๐ฑ Lack of room for updates MIUI or new pictures.
However, not all cache can be deleted without consequences. For example, cleaning the cache of system applications (com.miui.home) can cause a launcher to crash, and deleting Dalvik-cache files can cause a cyclic reboot of the phone.
Where is the cache stored in Xiaomi: the main locations
Cache in Xiaomi is divided into three types and each is stored in its place:
- Application cache โ temporary files of specific programs (for example, Telegram or YouTube) located in the /data/data/name packet/cache folder.
- System cache: MIUI files, including theme covers, fonts and animations, stored in /cache and /data/dalvik-cache.
- Browser cache is history, cookies and downloaded media. For Mi Browser, it is /data/data/com.android.browser/cache.
Access to these folders depends on the version of MIUI and the availability of root rights:
| Cache type | The way to the folder | Access without root | Can we clean it? |
|---|---|---|---|
| Cache of user applications | /data/data/[package]/cache | โ No. | โ Yes (through settings) |
| MIUI system cache | /cache | โ No. | โ ๏ธ Partially (only through recovery) |
| Dalvik-cache | /data/dalvik-cache | โ No. | โ No (bootloop risk) |
| Cash browser | /data/data/com.android.browser/cache | โ Yes (via browser settings) | โ Yes. |
| Cash Google Play Services | /data/data/com.google.android.gms/cache | โ No. | โ ๏ธ Only when it fails. |
Since MIUI 12, Xiaomi has hidden direct access to system folders even through the File Manager, but there are workarounds, which we will discuss in the following sections.
๐ก
If the app is slower after cleaning the cache, it will restore the necessary files the next time you run it. Do not clean the cache more than 1 time every 2 weeks unless there is an urgent need.
How to find cache through standard settings Xiaomi
The safest way is to use the built-in MIUI tools. They do not require root rights and are suitable for all models, from Redmi 7 to Xiaomi 13 Ultra.
Instructions:
- Open Settings โ Applications โ Application Management.
- Select an app (like Facebook) and tap it.
- Press Warehouse. โ Clear the cache.
- For mass cleaning: Settings โ Memory โ Cleaning (in some versions of MIUI this item is called Optimization).
Please note: in MIUI 14 Clear cache button can be hidden behind menu โฎ (There are three dots in the upper right corner of the app screen, and some system applications (e.g. com.miui.securitycenter) do not allow manual cache cleanup.
Close all background applications
Check the free space on the device
Backup important data (e.g. saved in games)
Disable automatic updates in the Play Market-->
If the Clear Cache button is inactive, it means that:
- ๐ The application is protected by the system (for example, Mi Account).
- ๐ฑ You do not have enough rights (on a work profile or guest account).
- ๐ Cache is already empty or the app uses alternative storage (e.g. Netflix caches video to the app). /Android/data).
Cache search via File Manager (no root)
The standard file manager from Xiaomi does not show all folders, but some of the cache can be found without root rights.
Open the File Manager and go to:
- ๐ Internal storage โ Android โ data โ it stores cached application data (for example, downloaded maps in Google Maps). folders are like com.google.android.apps.maps.
- ๐ Internal storage โ Android โ Obj โ Temporary compilation files (can be deleted if you are not engaged in development).
- ๐ Internal storage โ MIUI โ Camera - Camera cache (miniatures and processed photos).
- ๐ Internal storage โ.thumbnails - hidden folder with gallery miniatures (can be deleted).
To see hidden folders (such as.thumbnails), click on the File Manager โฎ โ Settings โ Show hidden files.
How to remove the camera cache without losing photos?
Important: not all folders in /Android/data can be cleaned. For example, deleting content from com.tencent.mm (WeChat) will result in loss of chat history, but YouTube cache (com.google.android.youtube) or TikTok (com.zhiliaoapp.musically) will be cleaned safely.
Cleaning cache through ADB (for advanced users)
If standard methods don't work, you can use ADB (Android Debug Bridge), a debugging tool that lets you control your phone through a computer, and it works for all Xiaomi, including the POCO F4 and Black Shark.
Instructions:
- Download ADB Tools and unpack it on your computer.
- Turn on Settings โ About Phone โ MIUI version (tap 7 times to activate Developer Mode).
- Return to Settings โ Additional โ For developers and enable USB debugging.
- Connect your phone to your PC and in the command line (Windows) or terminal (Mac/Linux) do:
adb devices
adb shell pm list packages -f | grep cacheThis command will show all cache apps. To clear the cache of a particular app (like Facebook), use:
adb shell pm clear com.facebook.katanaFor mass cleaning of the cache of all applications:
adb shell "su -c 'find /data/data -name 'cache' -exec rm -rf {} +'"โ ๏ธ Attention: Su command requires root rights. It won't work without them. Also don't use rm. -rf /data/data โ This will delete all application data, including game saves and settings!
How to Clean System Cache with Recovery Mode
The system cache (/cache) accumulates after MIUI updates and can take up to 1-2 GB. It can not be deleted through standard settings, but can be reset via Recovery Mode. This method is suitable for all models, including the Xiaomi Mi 11 and Redmi Note 12.
Instructions:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- In the recovery menu, select the language (if there is one).
- Go to Wipe & Reset โ Wipe Cache.
- Confirm the action and restart the phone (Reboot).
This method is secure โ it does not affect user data, but only cleanses:
- ๐ Cash updates. MIUI (/cache/ota).
- ๐ Temporary recovery files (/cache/recovery).
- ๐ Logs of the system (/cache/log).
โ ๏ธ Warning: Don't confuse Wipe Cache with Wipe Data! The second option will erase all your data, including photos and apps. Also, don't use Format Data - this will lead to a complete reset of the phone.
๐ก
Cleaning up the cache through recovery does not require root rights and does not affect the warranty.This is the official method recommended by Xiaomi to resolve issues after updates.
What to do if the cache returns too quickly
Many Xiaomi users complain that after cleaning the cache again takes several gigabytes in a couple of days.
- ๐ต Streaming services (Spotify, YouTube Music) cache songs for offline listening.
- ๐บ Social networks (TikTok, Instagram) automatically upload videos to cache.
- ๐บ๏ธ Maps (Google Maps, Yandex.Navigator) save offline maps.
- ๐ฎ Games (PUBG Mobile, Genshin Impact Cache Texture Packages.
Decisions:
- Limit the cache for individual apps: For Google Play Market: Settings โ Apps โ Google Play Market โ Storage โ Limit cache (set 50โ100 MB). For YouTube: Settings โ Background โ Mobile Video Quality (select Low).
- Turn off autoload media: On WhatsApp: Settings โ Storage โ Media Autoboot (turn off for mobile data). On Telegram: Settings โ Data and Memory โ Media Autoboot (select Never).
Use lightweight versions of applications
- ๐ Facebook Lite instead of Facebook.
- ๐บ YouTube Go instead of YouTube.
- ๐บ๏ธ Google Maps Go for weak devices.
If the problem is in games, check your graphics settings. For example, PUBG Mobile can reduce the texture quality in Settings โ Graphics, and Genshin Impact can disable resource caching in the background.