Xiaomi Mi 8, released in 2018, is still a popular smartphone thanks to the powerful hardware and flexible firmware MIUI. However, over time, even this flagship begins to โbrakeโ โ the fault of the cache that takes up precious space in memory and slows down the system. Unlike the new models, the Mi 8 has a limited amount of internal memory (64/128/256 GB without support for microSD cards), so cleaning the cache here is especially relevant.
In this article, we will discuss 5 Proven methods of cleaning cache on Xiaomi Mi 8 โ standard-tool MIUI You will learn how to delete unnecessary temporary files without losing data, what types of cache exist (system, Dalvik, applications), and when to resort to radical measures like resetting before factory settings. Special attention will be paid to cleaning the Dalvik cache, a procedure that many miss, although it can speed up the phone on the phone. 15-20%.
1.What is cache and why should it be cleaned on Xiaomi Mi 8
Cache is a temporary file that creates applications and a system to speed up its work, for example, when you open Instagram, the app caches thumbnails of photos so that it can show them faster the next time it runs, but over time, these files accumulate and take up gigabytes of memory, which leads to:
- ๐ข Slowing down the smartphone (lag when opening applications, hanging animations).
- ๐ Lack of space (especially relevant for the version of Mi 8 64 GB).
- ๐ Frequent system reboots due to lack of RAM.
- ๐ฑ Overheating of the device (clogged cache makes the Snapdragon 845 processor work harder).
On Xiaomi Mi 8, the cache is divided into three types:
| Cache type | Where it's stored | Can I remove it? | Effects of cleaning |
|---|---|---|---|
| Cash app. | /data/data/package_name/cache | Yes. | Applications will be loaded longer at the first run after cleaning. |
| System cache | /cache | Yes (via Recovery) | It can speed up MIUI but requires a reboot. |
| Dalvik-cache | /data/dalvik-cache | Yes (only via Recovery or ADB) | It speeds up Java applications, but takes up to 1-2 GB. |
Important: Don't confuse cache with user data! Deleting WhatsApp cache won't lose correspondence, but if you clear the app data, the messages will disappear. On the Mi 8, the cache usually takes between 500MB and 3-4GB depending on the intensity of use.
โ ๏ธ Note: If after cleaning the cache, the application starts to work incorrectly (for example, Google Maps does not show maps offline), just restart it - the system will restore the necessary files automatically.
Method 2: Clearing the cache of individual applications through MIUI settings
The easiest and safest method is to remove the cache for specific programs. This does not require root rights or reboot in Recovery. The instructions are relevant for MIUI 10-14 (including global and Chinese versions of firmware).
How to clean the cache of the application on Xiaomi Mi 8:
- Open Settings โ Applications โ Application Management.
- Select the app you want (like Facebook or YouTube).
- Click Warehouse (or Memory in older versions of MIUI).
- Tap Clear Cache (not to be confused with Clear Data!).
For mass cleaning:
Open Settings โ Memory
Click Clean in the section "Junk files"
Select the Cash of Applications and Confirm Deletion
Reboot the phone (optional)
-->
Which apps are the most cache-consuming on the Mi 8? In our testing, the leaders in memory clutter are:
- ๐ท Google Photos up to 1.5 GB in six months of use).
- ๐ต Spotify or Yandex Music (caching songs for offline listening).
- ๐บ๏ธ Google Maps or 2GIS (maps take up to 500 MB).
- ๐ฎ Games (PUBG Mobile, Genshin Impact - up to 2-3 GB on texture cache).
โ ๏ธ Note: Do not clear the cache of system applications like com.android.systemui or com.miui.home โ this can cause shell malfunctions. MIUI (Disappearance of icons, errors of animations).
Method 2: Automatic cleaning through Security App
MIUI has a built-in Security tool (or โSecurityโ in Russian versions) that can find and delete unnecessary files, including cache, which is suitable for those who do not want to manually browse every application.
Step-by-step:
- Open the Security app (the shield icon).
- Go to the Cleaner tab (or Cleaner in the global version).
- Wait for the scan to be completed (usually 10-30 seconds).
- In the section Garbage files tick the Cash applications.
- Click Clean and confirm the action.
Advantages of this method:
- โก Quick (no need to search for every application manually).
- ๐ Intelligent analysis (the application determines which files can be safely deleted).
- ๐ Statistics (shows how much space is available).
But it also has its downsides:
- ๐งน Does not clean Dalvik-cache and system cache.
- ๐ Sometimes misses large cache files (for example, from games).
๐ก
If there is no Cleanup tab in the Security app, update it via Google Play or GetApps. In older versions of MIUI (up to 11), this section could be called Acceleration.
4. Method 3: Clean Dalvik cache and system cache via Recovery
This method is designed for advanced users, as it requires a reboot in Recovery mode, and allows you to remove two types of cache that are not cleaned in standard ways:
- Dalvik-cache is the cache of the Android virtual machine, which is responsible for executing Java code, and cleaning it can speed up the launch of applications.
- System cache โ temporary update files and MIUI logs.
Important: Make sure the battery is at least 50% charged before the procedure and back up your important data (although cleaning the cache should not affect it).
Instructions for Xiaomi Mi 8:
- Turn off the phone.
- Press the Power + Volume buttons up at the same time to enter Recovery.
- Use volume buttons for navigation and power button to select the item.
- Choose a language (usually English or English).
- Go to Wipe & Reset โ Wipe Cache.
- Confirm action (Yes).
- Select Advanced โ Wipe Dalvik Cache.
- Once you have finished, click Reboot โ Reboot to System.
What does this procedure do?
- ๐ Accelerating application launch (especially noticeable on the Mi 8 with heavily fragmented memory).
- ๐ Freeing up 500 MB-1.5 GB of space (depending on the number of installed applications).
- ๐ Correction of certain errors MIUI (For example, sudden reboots).
โ ๏ธ Warning: If the phone is loaded for a long time after cleaning Dalvik-cache (5-10 It's OK! It's OK! It's recovering the virtual machine's cache. Don't turn off the smartphone at this point.
What happens if Recovery does not open?
5. Method 4: Cleaning the cache through ADB (for power users)
If standard methods donโt help or you want to automate the process, you can use ADB (Android Debug Bridge), which is suitable for cleaning the cache of all applications at once, including system ones, but requires connecting the phone to the computer.
What you need:
- ๐ฅ๏ธ Computer with Windows/Linux/macOS.
- ๐ USB-cable (preferably original).
- ๐ ๏ธ Installed drivers Xiaomi and ADB (You can download from the official Android website).
Step-by-step:
- Turn on Mi 8 Developer Mode: Go to Settings โ About Phone. Tap 7 times on MIUI Version. Go back to Settings โ Additional โ Developer. Activate USB Debugging.
- Connect the phone to your computer and select File Transfer mode.
- Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
- Enter the command to check the connection: Adb devices The name of your device (for example, c345d2f1 device) should appear.
- Clean the cache of all applications: adb shell pm trim-caches 999999999G Or to clean the cache of a particular application (e.g. Facebook): adb shell pm clear com.facebook.katana Note: Clear command deletes both the cache and the application data!
Advantages of the method:
- ๐ฏ Point cleaning (can only remove cache for selected applications).
- ๐ค Automation (you can write a script for regular cleaning).
Disadvantages:
- ๐ป Requires a computer and basic command line knowledge.
- โ ๏ธ The danger of deleting application data (using pm clear instead of trim caches).
๐ก
The adb shell pm trim-caches command is secure โ it only removes the cache without affecting user data or application settings.
6. Method 5: Radical-method โ reset to factory settings
If all previous methods failed and the Xiaomi Mi 8 is still slowing down, the last resort is a hard reset, which deletes all data, including apps, photos and settings, so use it only as a last resort.
When should I do the reset?
- ๐ The phone became unbearably slow even after cleaning the cache.
- ๐ Persistent errors in work MIUI (departures, getting stuck).
- ๐ฑ Preparing to sell or transfer a smartphone to another person.
How to reset the Mi 8 to factory settings:
- Make a backup copy of important data (photos, contacts, messages).
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data.
- Enter the password (if installed) and confirm the action.
- Wait for the process to be completed (it will take 5-10 minutes).
Alternative method (if the phone is not turned on):
- Enter Recovery (as in Method 4).
- Choose Wipe & Reset โ Wipe All Data.
- Confirm the action and wait for the reboot.
โ ๏ธ Note: On the Xiaomi Mi 8 with the unlocked bootloader, a reset can result in the device being locked (re-assignment of the Mi Account is required).If you are not sure, use the official Mi Unlock Tool.
7. How to prevent fast cache filling on Xiaomi Mi 8
Cleaning up the cache is good, but it's even better to prevent it from accumulating. Here are some tips for Mi 8 owners:
- ๐ซ Limit cache for individual applications: Go to Settings โ Annexes โ App management. Select an app (e.g. Chrome). Click Storage โ Restrict cache (not available for all applications).
๐ Update regularly MIUI (In new versions optimized work with cache).
Settings โ Battery and Performance โ Autostart ManagementGoogle Photo
Applications for automatic cache cleaning:
| Annex | Functions | Pluses | Cons |
|---|---|---|---|
| CCleaner | Cache cleanup, garbage removal, auto-start management | Russian language, convenient interface | Advertising in the free version |
| SD Maid | Deep cleaning, search for duplicates, storage analysis | It works without root, finds hidden files | Fees paid |
| Files by Google | Cache removal, duplication cleanup, backup | Free, from Google. | Does not clean Dalvik-cache |
Myths about cache that you should not believe:
- โ ยซThe more often you clean the cache, the better" โ in fact, constant cleaning forces applications to download data again every time, which increases traffic and battery consumption.
- โ ยซCache can only be cleaned through Recovery" - most temporary files are deleted by standard means MIUI.
- โ ยซCache Clearing Deletes All Photos โ No, Cache and User Data Are Stored in Different Partitions of Memory.