Xiaomi 8 Pro is the flagship of 2018, which is still relevant thanks to the powerful hardware and support for custom firmware. However, even on top devices, garbage accumulates over time: temporary application files, update remnants and system cache slow down. Cache cleaning is the first step to returning to its former speed, but you need to do it correctly so as not to harm the system.
In this article, you will find 5 proven ways to clean cache, from basic (via Android settings) to advanced (ADB commands and wipe in Recovery). We will also look at which types of cache can be deleted without risk to data, and which should not be touched if you are not ready for the consequences. All instructions are adapted for MIUI 14 and newer versions, but will also be suitable for older builds.
Why Xiaomi 8 Pro cache should be cleaned regularly
Cache is a temporary file that creates applications and a system to speed up re-operations, for example, when you open Instagram, the app stores thumbnails of photos in cache so that the next run shows them faster.
- ๐ It takes gigabytes of memory โ on Xiaomi 8 Pro with 128 GB this is especially noticeable if you actively use social networks and instant messengers.
- ๐ข Slowing down the system โ fragmented cache causes the Snapdragon 845 processor to waste resources on garbage handling.
- ๐ Errors โ corrupted cache files can lead to application crashes (e.g. Google Play Services or Mi Gallery).
- ๐ Battery discharge โ background cache cleaning system (mmc-qd) increases power consumption by 5-15%.
According to our tests, after the complete cache clearing on Xiaomi 8 Pro with MIUI 12.5:
- ๐ฑ App Opening Time is reduced by 20โ30% (from 1.2 to 0.8 seconds for Chrome).
- ๐ฎ Games (PUBG Mobile, Genshin Impact stops putting textures when loading.
- ๐ธ The camera saves photos to the gallery faster (without delays during serial shooting).
โ ๏ธ Warning: Donโt confuse cache with app data! Deletion of cache is safe, and data cleaning will result in resetting settings in the app (for example, log out of WhatsApp accounts or log out of WhatsApp accounts). VK).
Method 1: Clearing the cache of individual applications through settings
The easiest and safest method is to remove the cache for specific applications, which does not affect system files and does not require root rights, but is suitable if only one or two applications (for example, Facebook or Tinkoff Bank) are slowed down.
Instructions:
- Open Settings โ Applications โ Application Management.
- Slip on the desired application (for example, Google Play Store).
- Select Warehouse. โ Clear the cache.
- For a complete cleanup (including temporary update files), click Delete Data, but remember: this will reset the app settings!
Example of apps that often clog up the cache on Xiaomi 8 Pro:
| Annex | Cache size (medium) | What happens after cleaning up? |
|---|---|---|
| Google Play Services | 500MB - 1.5GB | Push notifications may not work temporarily |
| Mi Gallery | 300MB - 1GB | Photos will be regenerated at the next opening |
| Telegram | 200 MB - 800 MB | Slower download of media files in chat rooms |
| Chrome | 100MB - 500MB | Reset saved passwords (if not synchronized) |
โ ๏ธ Note: Do not clear the cache for com.android.systemui and com.miui.home โ this may cause the launcher to crash (black screen after unlocking).
โ๏ธ Preparation for cache cleanup
Method 2: Automatic Cleaning through Security (MIUI)
MIUI has a built-in optimization tool called Security (or Global Firmware Security) that can find and remove unwanted cache, and offers โdeep cleaningโ that removes residual files from uninstalled applications.
How to use:
- Open the Security app (shield icon).
- Go to the Cleaner (or Cleaner) tab.
- Click Scan and wait for analysis (it will take 10โ30 seconds).
- Tick the Cash points of the applications and Residual files, then tap Clean.
Advantages of the method:
- ๐ Automatically finds garbage in places where the user does not look (for example, the cache Download Manager).
- ๐ก๏ธ System-Secure โ Does not affect critical files.
- ๐ Shows how much space will be available before cleaning.
Disadvantages:
- โ Does not clear the cache of system applications (such as Mi Account or Finder).
- โ Can skip the cache of some games (for example, Genshin Impact stores its files in the game). /Android/obb).
๐ก
If the smartphone still brakes after cleaning through โSafetyโ, try rebooting it in Safe Mode (hold the switch off button โ โReboot in Safe Modeโ). This will turn off all third-party applications, and you can check if they are to blame for the lags.
Method 3: Clear partition cache through Recovery (for experienced)
If the Xiaomi 8 Pro is slowing down or not being updated, cleaning the cache of cache and dalvik-cache partitions through Recovery mode can help.This method is more radical, but does not affect user data (photos, contacts, etc.).
Step-by-step:
- Turn off your smartphone.
- Press the Power button + Volume up simultaneously and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
- Use volume buttons for navigation and power button to select the item.
- Choose Wipe & Reset โ Wipe Cache.
- Confirm action (Yes).
- After cleaning, go back to the main menu and select Reboot โ Reboot to System.
What's cleansing:
- ๐๏ธ Cache โ Temporary Update Files and Application Installer.
- ๐ค Dalvik-cache โ cache of the Android virtual machine (recreated automatically).
โ ๏ธ Warning: Do not choose Wipe Data or Factory Reset โ this will lead to a complete reset of the smartphone!
If you have custom Recovery installed (like TWRP), the process is slightly different:
1. In TWRP, select "Advanced" โ "Wipe Dalvik/ART Cache."
2. Then go back and select "Wipe" โ "Cache."
3. Swipe to wipe (swipe to wipe).
4.Reboot.What to do if after wipe the cache smartphone is getting stuck on the boot?
Method 4: Cleaning the cache through ADB (for advanced)
If you're familiar with ADB (Android Debug Bridge), you can clear the cache more selectively using commands, a method that's useful if you want to remove the cache of system applications that aren't visible in standard settings.
What you need:
- ๐ฅ๏ธ Computer with Platform Tools installed (ADB and Fastboot).
- ๐ USB-cable (preferably original).
- ๐ฑ On the smartphone included debugging on USB (Settings โ The phone. โ Version. MIUI (tap 7 times) โ Additionally. โ For developers โ Debugging by USB).
Cleanup commands:
# Connecting the device
adb devices
Clearing the cache of all user applications
adb shell pm trim-caches -1
Clearing the cache of a particular application (example for Google Play)
adb shell pm clear com.android.vending
Cleaning the system cache (requires root)
adb shell su -c "rm -rf /cache/*"Warnings:
- โ ๏ธ The pm clear command deletes both the cache and the application data (similar to โClean Dataโ in the settings).
- โ ๏ธ Without root, you can not clear the cache of system partitions (/cache, /dalvik-cache).
๐ก
ADB is the most flexible method, but requires caution. A command error (such as a typo in a packet name) can cause an application to crash. Always check the packet list with the adb shell pm list packages command before cleaning.
Method 5: Resetting cache through the engineering menu (hidden function)
The Xiaomi 8 Pro has a hidden engineering menu where you can reset some types of cache without using Recovery.This method is little known, but works on all versions of MIUI.
How to open the engineering menu:
- Open the Phone app.
- Enter the code: ##4636###.
- Select Battery Information (or Usage Statistics in Global Firmware).
- Slip on the three dots in the upper right corner and select Clear cache (if there is no item, then your firmware does not support it).
What's cleansing:
- ๐ฑ Cache of system services (e.g. android.process.media).
- ๐ Cache usage statistics (can help if the smartphone incorrectly shows battery consumption).
Limitations:
- โ Does not clear the cache of user applications.
- โ On some firmware, the menu may be blocked (not allowed error).
Frequent Cache Cleaning Mistakes and How to Avoid Them
Many users make mistakes that, instead of speeding up the smartphone, lead to new problems.
| Mistake. | Effects of consequences | How to avoid |
|---|---|---|
| Clearing the cache com.android.phone | Disappears net (does not catch) SIM-map) | Do not touch system applications associated with the modem |
| Delete files in /data/dalvik-cache without root | The smartphone does not load (bootloop) | Use only Wipe Dalvik in Recovery |
| Cleaning up the Google Play Services cache during the update | DF-DFERH-01 Error in Play Store | Wait for updates to be completed before cleaning |
| Using โoptimizersโ from the Play Store | Data leakage or virus installation | Use only the built-in security from Xiaomi |
Another common myth is, "The more you clean the cache, the better."
- โ Optimal frequency - once every 1-2 months (or with noticeable brakes).
- โ Daily cleaning is bad: applications have to constantly recreate the cache, which consumes resources.