Cache Cleanup on Xiaomi Mi 8: A Complete User Guide

Why does the Xiaomi Mi 8 cache require regular cleaning?

The Xiaomi Mi 8, released in 2018, is still popular with users due to its balanced characteristics: Snapdragon 845 processor, 6 GB of RAM and AMOLED screen with a resolution of 2248Γ—1080. However, even such β€œiron” eventually begins to slow down – and the fault of this is not always the wear of the battery or outdated firmware.

Cache is a temporary file that creates applications and a system to speed up re-operations. For example, when you open Instagram, the app saves thumbnails of photos so that the next run they show them faster. Over time, these files accumulate, taking up gigabytes of memory, and their fragmentation slows down the Mi 8. According to our tests, after a year of active use, the cache of applications can take up to 8-12 GB - and this is without taking into account the system time data!

But it's not that simple: cleaning up the cache isn't always helpful, for example, deleting the Google Maps cache will make the cards load longer the next time you open it, and cleaning up the cache of system services (e.g., com.android.systemui) can cause short-term interface lags, so it's important to understand which files can be deleted without consequences and which ones are better left behind.

Cache types on Xiaomi Mi 8: what can be cleaned and what can not

On the Mi 8 (as on other Xiaomi smartphones), the cache falls into three main categories, distinguished not only by the storage location, but also by the impact on performance:

  • πŸ“± App cache – temporary files created by each application installed (e.g. Telegram stores downloaded stickers here, and YouTube stores video previews here) are securely cleaned manually or automatically.
  • πŸ–₯️ Dalvik-cache: files that speed up the Android virtual machine, and their cleaning is only useful when updating the firmware or crashing the system.
  • πŸ—ƒοΈ Cash. MIUI β€” Thematic design, fonts and shell animations. Cleanup can reset user theme settings.

The safest to remove is the app cache, which does not remove logins, saved games or settings, but can temporarily slow down programs until they are re-caching. The system cache is not recommended for no good reason: it takes a lot of resources to recreate and can cause the Snapdragon 845 processor to overheat.

πŸ“Š How often do you clean your Xiaomi cache?
Once a week.
Once a month
Only when the phone is slowing down.
Never cleaned.

Method 1: Clearing the cache of individual applications through settings

If the Mi 8 is getting stuck while a particular app is running (like Facebook or TikTok), the first thing to do is clear its cache.This won't delete your data, but it can fix freeze or bug problems.

Instructions:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select the app you want (such as WhatsApp).
  3. Press Warehouse. β†’ Clear the cache.
  4. For complete cleanup (including login details), use Clear all data, but remember: this will delete accounts and settings!

Close the application through the multitasking menu

Check the free space on the device (should be β‰₯1 GB)

Disable Auto-Update Apps in Play Market

Backup of important data (for games, instant messengers)

-->

Once the cache is cleared, the Mi 8 can slow down a little when the app is first launched, which is normal. The system recreates temporary files. If the lags are not gone, try reinstalling the app or checking its compatibility with the MIUI version (you can find the current firmware in Settings β†’ About Phone β†’ MIUI version).

πŸ’‘

If Instagram or VK load photos for a long time after cleaning the cache, connect to Wi-Fi - this will speed up re-caching.

Method 2: Mass cleaning the cache of all applications

Manually clearing the cache of each application individually takes a long time. Fortunately, MIUI has a built-in tool for mass deletion of temporary files, a method that is suitable if the Mi 8 has become slower to work as a whole, rather than in individual programs.

How to clean the cache of all applications:

  1. Go to Settings. β†’ Warehouse.
  2. Click Clear in the section "Cached data".
  3. Confirm the action in the dialog window.
Type of dataWhat's removedEffects of consequences
Cash app.Temporary files of all programsApplications will be loaded longer on the first run
Residual filesGarbage after removal of applicationsFree up to 1-3 GB of memory
Download filesAPK, images, documents from Download folderThey're only manually removed!

Mass cleaning does not affect application data (saved games, chats in messengers), but can delete:

  • πŸ“Έ Photos in the gallery (you will have to wait for the re-upload).
  • 🎡 Offline cache of music in Spotify or Yandex Music.
  • πŸ—ΊοΈ Downloaded maps in Google Maps or 2GIS.

πŸ’‘

Mass cache cleaning does not replace full system optimization. If the Mi 8 continues to brake, check the CPU load in Settings β†’ Battery β†’ Battery Use.

Method 3: Using the Cleanup Mode in the Security App

Xiaomi Mi 8 comes pre-installed with Security, which includes a deep cleaning tool. Unlike standard settings, this method removes not only cache, but also unnecessary files from folders.thumbdata, log and other hidden directories.

Step-by-step:

  1. Open the Security app (the shield icon).
  2. Go to the Cleaning tab (broom icon).
  3. Press Deep Clean and wait for the scan.
  4. Select the categories to delete (we recommend that you tick only on "Cash" and "Residual files").
  5. Click Clean and confirm the action.

⚠️ Attention: The Security App's Acceleration feature closes the background processes, but does not clear the cache. Don't confuse these options - Deep Cleaning is the one you need to free up memory".

After the Security App procedure, it will show how much memory was released, usually 1-4 GB, depending on the time of the last cleanup, if the volume is less than 500 MB, then the cache on the Mi 8 was clean initially, and the brakes are due to other reasons (for example, fragmentation of internal memory or wear of the UFS 2.1 drive).

What are.thumbdata files?
These are the thumbnails of images and videos that Android creates for quick preview in the gallery. On the Mi 8, they can take up to 500 MB and are safely deleted through the Security App. Once cleaned, the gallery will load longer when it first opens, but then the files will be recreated automatically.

Method 4: Clearing the cache with Recovery Mode (for power users)

If the Mi 8 is severely inhibited or not turned on due to overcrowded cache, cleanup through Recovery Mode can help.This method removes Dalvik-cache and other system temporary files, but does not affect user data. Use it only if the standard methods did not help!

How to go to Recovery Mode and clear the cache:

  1. Turn off the phone.
  2. Press the Power button + Volume up simultaneously and hold for 10-15 seconds until the Mi logo appears.
  3. In the recovery menu, select Wipe & Reset β†’ Wipe Cache (control – volume buttons, confirmation – power button).
  4. After cleaning, restart the device (Reboot β†’ Reboot to System).

⚠️ Warning: Don't confuse Wipe Cache with Wipe Data! second option will reset the Mi 8 to factory settings by deleting all your files, apps and accounts.

Cleaning the cache through Recovery Mode is useful after updating the firmware or if the phone began to spontaneously reboot. However, you should not abuse this method: frequent overwriting of Dalvik-cache reduces the memory life of UFS 2.1 (especially important for the Mi 8 with 64 GB of storage, where memory cells wear out faster).

Method 5: Automatically clean the cache with a scheduler

To avoid manually clearing the cache on the Mi 8, you can set up automatic cleaning via the Security App. This feature removes unnecessary files on a schedule (for example, once a week) when the phone is connected to charging and Wi-Fi.

How to turn on automatic cleaning:

  1. Open the Security App β†’ Cleanup.
  2. Click on the three dots in the top right corner and select Cleaning Settings.
  3. Activate the Autoclean switch.
  4. Set up a schedule (we recommend choosing Weekly and the time when the phone usually charges at night).

Automatic cleaning removes:

  • πŸ—‘οΈ Cache of applications not used for more than 3 days.
  • πŸ“ Empty folders and corrupted files.
  • πŸ“Š System Logs and Temporary Update Files.

This method is suitable for those who do not want to monitor the state of memory manually, but it does not replace full optimization: if there are many games on the Mi 8 (for example, Genshin Impact or Call of Duty Mobile), their cache can take 2-3 GB and not be cleaned automatically, in which case you will have to manually delete it through the application settings.

What if cleaning the cache doesn’t help?

If the Xiaomi Mi 8 continues to slow down after all the manipulations, the problem may lie deeper.

Problem.Signs.Decision
Memory fragmentationLong file recording, hanging when opening the galleryTransfer files to PC, format memory (via Recovery Mode)
Depreciation of the driveFrequent read/write errors, spontaneous rebootsMemory Health Check with AIDA64 (Wear Leveling Count > 80% - critical)
Processor overheatingPhone heats up without load, trottling (decreased performance)Replacement of thermal paste or heat pad (relevant for Mi 8 after 2-3 years of use)
Outdated firmwareApplications fly out, no support for new featuresUpdate MIUI via Settings β†’ About Phone β†’ System Update

If none of the methods worked, consider resetting to factory settings (but pre-back up via Settings β†’ Additional β†’ Backup). On the Mi 8 with 64GB of storage, it’s also worth checking the free space: when it runs out, the system starts to slow down due to lack of space for virtual memory (swap).

πŸ’‘

Before resetting, check the battery status in AIDA64 (Battery section) if the capacity has dropped below 70%, after reset, the phone may run out faster due to file re-indexing.

FAQ: Frequent questions about cleaning the cache on Xiaomi Mi 8

Can I clean the cache of system applications (e.g. com.android.phone)?
Yes, but with caution. The cache of system applications (such as Phone or Settings) can be cleared if they are not working correctly (such as no contacts are saved or network settings are lost). However, after cleaning the cache of com.android.systemui, the desktop wallpaper may disappear or the order of the icons may reset.
Why did Mi 8 become more expensive after cleaning the cache?
This is a temporary phenomenon. Once the cache is cleared, applications have to reload data, which increases the load on the processor and, consequently, battery consumption. Usually, after 1-2 days, energy consumption returns to normal. If the discharge remains high, check the background activity of the applications in Settings β†’ Battery β†’ Battery Use.
How to Clean Google Play Services Cache Without Repercussions
Google Play Services cache can be cleaned, but this will cause short-term disruptions to Google services (e.g. no push notifications or email syncs) to minimize the consequences: Clear the cache through Settings β†’ Apps β†’ Google Play Services β†’ Storage. Restart your phone. Connect to Wi-Fi and wait for re-synchronization (may take up to 10 minutes).
How much memory should be released after cleaning the cache?
The amount of memory released depends on the number of applications installed and the time of last cleaning: πŸ“± Manually cleansing 5-10 applications: 200-500 MB. 🧹 When mass cleaning through Settings β†’ Storage: 1–3 GB. πŸ” When deep cleaned via Security App: 2–5 GB (including residual files) If less than 100 MB is free, the cache was clean initially and the brakes are due to other causes (e.g., memory fragmentation or processor overheating).
Can I clear the cache on the Mi 8 with third-party apps (e.g. CCleaner)?
Use third-party cleaners (such as CCleaner, Clean Master or CCleaner) SD Maid) on Mi 8 is not recommended. These programs often delete not only the cache, but also important system files, which can lead to the deletion of the cache: 🚫 Work failures MIUI (For example, widgets or theme settings disappear). πŸ”„ Spontaneous reboots due to Dalvik-cache damage. πŸ›‘ Blocking access to certain features (e.g. Google Pay due to deletion of certificates) MIUI (Security App and Storage Settings handle cleaning as well as it is safer for the system.