Where is the cache in Xiaomi phone: a complete guide to search and clean up

Xiaomiโ€™s cache is temporary files created by apps and systems to speed things up. 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 can it be deleted without harming the phone? In this article, weโ€™ll take a look at all kinds of cache on Xiaomi (including Redmi, POCO, and Black Shark models), show hidden folders, teach you how to distinguish secure files from system files, and give a checklist to clean it completely without risking data.

The peculiarity of MIUI (Xiaomi firmware) is that the cache here is distributed in several levels: there is a cache of individual applications, a shared cache of the system, a Dalvik cache (for Android), as well as hidden browser and messenger files. For example, in Redmi Note 12 Pro+, Google Chrome cache can weigh up to 1 GB, and the system cache up to 3 GB. While the standard cleaning tools in Settings โ†’ Memory removes only part of the garbage. We will tell you how to get to the rest.

1. Types of cache on Xiaomi: what can be deleted and what can not

Not all cache is equally useful (or harmful), and we'll figure out which files can be cleaned and which ones shouldn't be touched, or we'll have to reinstall applications or reconfigure the system.

  • ๐Ÿ“ฑ App cache: temporary files that create games, social networks (Telegram, VK) And messengers, and you can delete them without any consequences, and the app will just re-upload the data the next time it runs.
  • ๐Ÿ–ฅ๏ธ System cache (Dalvik/ART): Optimized files for Android to run fast.Deletion could cause the phone to slow down until the next reboot.
  • ๐ŸŒ Browser cache: history, cookies, uploaded images. Cleaning will delete saved passwords and site settings (for example, in Mi Browser or Chrome).
  • ๐Ÿ—ƒ๏ธ Cash updates. MIUI: Firmware files that are downloaded in the background can be deleted if you don't plan to update.

The most common mistake users make is to clear Dalvik cache through Recovery, which doesn't free up space, it just reassembles files the next time you turn on, but it can break some functions if you interrupt the process. On Xiaomi with MIUI 14 and later, Dalvik cache is automatically optimized by the system - manual intervention is not required.

โš ๏ธ Note: Never delete the folder. /data/dalvik-cache manually through the file manager! This will lead to a bootloop cycle and require flashing.

2 Where the cache is stored: Pathways to hidden folders

The Xiaomi cache is spread across several directories, some files are visible through standard Explorer, but the heaviest folders are hidden. Here is the full list of paths (relevant to MIUI 12-14):

Cache typeThe way to the folderCan I remove it?
Cash app./data/data/packet name/cacheYes (via settings)
System cache/cachePartially (only via Recovery)
Dalvik/ART-cash/data/dalvik-cacheNo (bootloop risk)
Cash browsers/data/data/com.android.browser/cache or /data/data/com.mi.globalbrowser/cacheYes (but data will be lost)
Cash updates./cache/ota or /data/ota_packageYes (unless updated)

To see these folders, you need a root access or a file manager with superuser rights (like Root Explorer or FX File Explorer). Without root, you will only see a portion of the cache in /storage/emulated/0/Android/data, which is the cache of user applications.

๐Ÿ“Š What file manager do you use on Xiaomi?
Mi Conductor
Google Files
Solid Explorer
Root Explorer
Other

For example, in POCO F5, Instagram cache can weigh up to 500MB and be stored along the path /storage/emulated/0/Android/data/com.instagram.android/cache. And the cache of system updates (if downloaded but not installed) is searched in /cache/ota/update.zip.

๐Ÿ’ก

If you donโ€™t want to dig into folders, use the SD Maid app (requires root) โ€“ it automatically finds and cleans the cache, including residual files after deleting programs.

3. How to clear cache through MIUI settings (no root)

The safest way is to use the built-in MIUI tools, which will not delete critical files, but will free up to 2-3 GB of memory. The instructions are relevant for all models, from Redmi 10A to Xiaomi 13 Ultra.

  1. Open the Settings โ†’ Memory.
  2. Click Clean in the section "Junk files".
  3. Select the app cache and confirm the deletion.
  4. For deep cleaning, go to Settings โ†’ Applications โ†’ Application Management.
  5. Select an app (like Facebook) โ†’ Storage โ†’ Clear the cache.

This method only removes the cache of user applications. The system cache and Dalvik remain intact. To clean them, you need to use Recovery Mode:

Turn off the phone |Lock Power + Volume up |Select Wipe & Reset โ†’ Wipe Cache|Confirm action |Reset the device-->

โš ๏ธ Warning: If the phone starts to slow down after cleaning the cache through Recovery, don't panic.The system reassembles the Dalvik cache on the first run, it can take 5-10 minutes.

4. Hidden methods of cleaning the cache (for experienced)

If standard methods don't work, and memory is sorely lacking, you can use hidden MIUI features or third-party tools. These methods require caution!

4.1 Cleaning through ADB (no root)

With Android Debug Bridge (ADB), you can remove the cache of specific applications or the system cache. Suitable for Xiaomi with an unlocked bootloader.

adb shell pm clear --user 0 name packet # Clearing cache and application data


adb shell rm -rf /data/local/tmp/* # Delete temporary system files

To find out the name of the application package, use the command:

adb shell pm list packages | grep "appendix name"

Use of cleaning applications

Apps like CCleaner or Files by Google can find additional junk, but they often delete useful files.

  • ๐Ÿงน MIUI Cleaner (built-in but hidden in some regions) To enable it, go to Settings โ†’ About the phone and 5 times click on the version MIUI. Then go back to Settings. โ†’ Additionally. โ†’ Cleaner.
How to Enable Hidden Cleaner Mode in MIUI 14
1. Open Settings โ†’ About Phone. 2. Click 7 times on the MIUI version (you will be a developer message). 3. Return to Settings โ†’ Additional. 4. Cleaner will appear here with advanced cleaning options, including update cache and temporary system files.

Manual cleaning via TWRP (for wired phones)

If your Xiaomi has custom recovery (TWRP) installed, you can clean up:

  • ๐Ÿ—‘๏ธ Dalvik / ART Cache (in Advanced Wipe)
  • ๐Ÿ“‚ System Cache (Folder) /cache)
  • ๐Ÿ”„ Internal Storage Cache (Warning: Delete all user data!)

โš ๏ธ Note: Cleaning Internal Storage in TWRP It's like a hard reset, and you can only do that if you're willing to lose all your data!

Some programs, like Telegram or Google Maps, store cache in non-obvious places, let's figure out where to look and how to clean it.

5.1. Telegram

Telegram caches media files, stickers and voice messages to clear:

  1. Open Telegram โ†’ Settings โ†’ Data and memory.
  2. Click Clear Telegram's cache.
  3. For deep cleaning, go to Settings โ†’ Storage (on the Android menu) and delete the data.

Cache folder: /storage/emulated/0/Android/data/org.telegram.messenger/cache.

5.2 Google Chrome and Mi Browser

Browsers store cache of sites, cookies and history.

  • ๐ŸŒ Chrome: โ‹ฎ โ†’ History โ†’ Clear the data โ†’ Select cached images and files.
  • ๐ŸŒ In Mi Browser: โ‹ฎ โ†’ Settings โ†’ Confidentiality โ†’ Clear the data.

Cache folders:

  • /data/data/com.android.chrome/cache (Chrome)
  • /data/data/com.mi.globalbrowser/cache (Mi Browser)

5.3 YouTube and social media

YouTube, TikTok and Instagram aggressively cache the video.

  • ๐ŸŽฅ YouTube: Account โ†’ Settings โ†’ History and confidentiality โ†’ Clear the cache.
  • ๐Ÿ“ธ Instagram: Profile โ†’ โ‹ฎ โ†’ Settings โ†’ Warehouse โ†’ Clear the cache.

๐Ÿ’ก

Cache of messengers and social networks can be cleaned at least every day โ€“ it will not harm the account, but will free up to 1-2 GB of memory.

6.Why the cache returns quickly and how to fix it

Many users complain, "I cleared the cache, and the day after it took 3GB again!" That's okay -- Android is constantly creating temporary files. But if the cache grows too fast, the problem may be:

  • ๐Ÿ”„ Background: Some apps (such as Facebook or AliExpress) are constantly downloading data.
  • ๐Ÿ“ฑ Mistakes. MIUI: firmware MIUI 13-14 is a bug that doesnโ€™t automatically clear the update cache.
  • ๐ŸŽฎ Games: Genshin Impact, PUBG Mobile and Call of Duty cache up to 5GB per session.

How to reduce the growth of cache:

  1. Turn off auto-update apps in Google Play โ†’ Settings.
  2. Disable background activity for unnecessary applications in Settings โ†’ Battery โ†’ Energy Management.
  3. Use Lite versions of apps (e.g. Facebook Lite instead of Facebook).
  4. Turn off video caching in social media settings (in TikTok: Profile) โ†’ โ‹ฎ โ†’ Settings โ†’ Data data โ†’ Cash video).

If the cache is growing due to system errors, cache reset via Fastboot (for power users only):

fastboot erase cache

7. Myths about Xiaomi cache: what is true and what is not

There's a lot of conflicting information on the Internet about cache, and let's take a look at some of the most popular myths.

MythReality.
Cache cleaning speeds up the phonePart of the truth: The acceleration is only noticeable if the cache is >5 GB. Otherwise, the effect is temporary.
โ€œCache can be deleted every day.โ€It's possible, but it's pointless -- Android will restore it in a few hours. Just clean it every 1-2 weeks.
โ€œDalvik cache should be cleaned once a month.โ€Lies. Cleaning it only slows down the system, because the files are reassembled.
"Cash takes place on the memory card."No. The application cache is stored only in internal memory (partition /data).
Cache cleaning removes accountsLies: Only temporary files are deleted without affecting account data (unless you click Clear Data).

Another common myth is that โ€œXiaomi specifically prevents cache clearance to sell high memory phones.โ€ In fact, the restrictions are related to security โ€” inexperienced users can delete critical files. For example, in the Redmi Note 11 Pro, the cache of Google Services weighs ~1 GB, but removing it will disrupt Googleโ€™s services.

FAQ: Frequent questions about cache on Xiaomi

โ“ How to clear cache if the phone brakes and does not respond to presses?
If Xiaomi is hanging, try: Press Power + Volume up for 10 seconds for a forced reboot. After turning on, immediately press Volume Up + Power to log into Recovery. Select Wipe Cache (not Wipe Data!). Reboot your phone. If it doesn't, plug your phone into your PC and use ADB to clear the cache with adb shell pm clear --user 0 com.miui.home (this will reset the launcher cache).
โ“ Can I transfer the cache to the memory card?
Android does not allow you to transfer the cache of applications to SD-card for security and performance reasons, however, you can: Move application data (not cache!) through Settings โ†’ Annexes โ†’ Warehouse โ†’ Change (not available for all programs) Use the memory card as internal storage (formatting in Settings) โ†’ Storage, but it will slow down the phone.
โ“ Why After Cache Clearing, Some Apps Are Slower?
This is OK! When you first run after cleaning the cache, the app: Reloads data from the server (for example, Instagram downloads avatars and preview stories), compiles files for optimal operation (this applies to games on Unity or Unreal Engine), after 5-10 minutes of operation, the speed will return to normal, and if the brakes are left, the problem is not in the cache, but in the application or firmware itself.
โ“ How to Clean Update Cache MIUI, if it takes 4GB?
The update cache is stored in /cache/ota or /data/ota_package. You can use it in Recovery: Wipe โ†’ Wipe Cache, through ADB: adb shell su rm -rf /cache/ota/* rm -rf /data/ota_package/* Through Explorer (if there is root): just delete files manually. If the update is already downloaded but not installed, it can be found along the way /cache/ota/update.zip remove.
โ“ Is it dangerous to clean the cache through an engineering menu (#4636##)?
No, but it's useless. The engineering menu (##4636###) shows memory usage statistics, but doesn't allow you to clear the cache. For real cleaning, use: Settings โ†’ Memory โ†’ Clear (safe). ADB shell pm clear (for specific applications). Don't believe the instructions that advise clearing the cache through ##7780# - this code does a full reset, not a cache clean!