Xiaomi Mi 9 smartphone eventually starts to slow down, warm up or discharge quickly? 80% of cases to blame overcrowded cache - temporary files that the system and applications accumulate in the background. Cleaning the cache not only frees up to 1-3 GB of memory, but also solves problems with lags, overheating and even accidental reboots.
In this article, 5 proven ways to clean up the cache on Mi 9 (including hidden system folders), compare methods on efficiency and answer frequent questions. The instructions are relevant for all versions of MIUI - from MIUI 10 to MIUI 14 (including HyperOS).
โ ๏ธ Important: Don't confuse cache with user data!Cache clearing doesn't delete photos, messages or app settings, but can reset temporary data (such as a browser history or a map cache in Google Maps).
1. Clear cache through MIUI settings (the safest method)
This method is suitable for beginners โ it does not require superuser rights and works on any version of the Mi 9. The system automatically detects unnecessary files, but only clears part of the cache (usually ~30-50% of the total volume).
How to do this:
- ๐ฑ Open the Settings. โ The phone. โ Memory (or Settings) โ Memory in new versions MIUI).
- ๐งน Click โCleanโ in the โJunkโ section (the system will scan the device). 10-30 seconds).
- โ Confirm the cleaning by selecting โCleanโ XXX MBโ (number depends on fullness).
- ๐ For deep cleaning, tap "Deep cleaning" (not available in all regions).
๐ What is cleaned: cache of system applications (com.android.systemui, com.miui.home), temporary files MIUI, Residual data from remote programs, not cleared: cache of user applications (for example, Instagram or Telegram) and Dalvik cache.
๐ก
If the Clean button is inactive, restart your smartphone โ sometimes MIUI blocks the cleanup due to background synchronization.
| Method | Purified volume | Required. ROOT-rights? | Implementation time |
|---|---|---|---|
| Through MIUI settings | 300MB - 1.5GB | โ No. | 1-2 minutes |
| Manual cleaning in applications | 500MB - 3GB | โ No. | 5-10 minutes |
| Cache reset in Recovery | 1 GB - 5 GB | โ No. | 3-5 minutes |
| Through ADB | 2 GB+ | โ No. | 10 minutes. |
| Deletion of Dalvik cache (ROOT) | 500MB - 2GB | โ Yes. | 5 minutes. |
2. Manual cache cleaning for individual applications
If a smartphone is slowing down because of a particular app (like Facebook or TikTok), clearing its cache can bring smoothness back to the table.
Instructions:
- Go to Settings โ Applications โ Application Management.
- Select an app (e.g. com.facebook.katana for Facebook).
- Slip "Storage" โ "Clear the cache."
- For a complete reset, click โClear Dataยป (โ ๏ธ This will remove logins, settings and saves!).
๐ What apps most often clog up the cache:
- ๐ท Social media: Facebook, Instagram, VK (cash 1-2 GB).
- ๐ฎ Games: PUBG Mobile, Genshin Impact, Call of Duty (cache to) 3-5 GB).
- ๐บ๏ธ Maps: Google Maps, Yandex.Maps, 2GIS (cache up to 500 MB-1 GB).
- ๐บ Streaming: YouTube, Twitch, Netflix (cache up to 500 MB).
Facebook|Instagram|Google Chrome|YouTube|Twitter (X)|Messengers (Telegram, WhatsApp)|Games with online cache-->
โ ๏ธ Warning: Clearing the cache of com.google.android.gms (Google Play Services) can lead to errors in syncing your Google account.If notifications stop coming after cleaning, restart your smartphone.
3.Cache reset via Recovery Mode (for experienced)
This method cleans all temporary system files, including Dalvik cache (which is not deleted through standard settings) Suitable if the Mi 9 is severely slowing down or not updated, does not delete user data, but requires a reboot.
Step-by-step:
- Turn off your smartphone.
- Press the Power button + Volume up 5-10 seconds until the Mi logo appears.
- In the Recovery menu, select the language and tap Wipe & Reset โ Wipe Cache.
- Confirm the action with the swipe or the Yes button.
- After cleaning, select Reboot โ Reboot to System.
๐ ๏ธ What does this method do:
- ๐งน Removes the cache of all applications and systems.
- ๐ Resets Dalvik cache (accelerates application launches).
- ๐ซ Does not affect photos, contacts or messages.
What is Dalvik Cache and Why Should It Be Cleaned?
โ ๏ธ If after resetting the cache in Recovery, the smartphone got stuck on the boot longer 10 Just a minute, don't panic, that's okay. 15-20 minutes or perform a forced reboot (squeeze the power supply) + Loudness down on 15 seconds).
4.Cache clearing via ADB (for advanced users)
The method for those who are willing to connect the Mi 9 to a computer, allows you to delete the cache of all applications at once, including system applications that are not available through the standard interface. ADB (Android Debug Bridge).
Instructions:
- Turn on USB debugging on your smartphone: Go to Settings โ About Phone. Tap 7 times on MIUI Version to activate Developer Mode. Return to Settings โ Additional โ For Developers and enable USB Debugging.
Mi 9
adb devicesIf the device appears in the list, do:
adb shell pm trim-caches 256m(where 256m is the maximum cache size in megabytes; 1g for 1GB can be specified).
adb shell "su -c 'find /data/app -name 'cache' -exec rm -rf {} +'"(demand ROOT-rights).
โก Advantages of the method:
- ๐ฏ Spot cleaning (specific packages can be specified, for example, com.android.chrome).
- ๐ Remove cache that is not available through settings (e.g. cache android.process.media).
- ๐ง Suitable for automation (you can create a script).
โ ๏ธ Note: Adb shell pm clear command with packet indication (e.g, com.android.gallery3d) It will delete all the data in the application, not just the cache! Use it only if you're willing to lose settings and save.
5. Dalvik cache and system debris (ROOT) removal
If you have ROOT-You can clear all types of cache, including Dalvik, ART And it's the most radical method, and it frees up the updates. 3-5 GB of memory, but requires caution.
Cleaning methods:
- ๐ฑ Through the app: Install SD Maid or Root Cleaner from Google Play. ROOT-Select "Dalvik Cache" and "System Cacheยป โ press "Cleanยป.
Through TWRP Recovery:
- Install the custom TWRP recavator.
- Go to Advanced. โ Wipe Dalvik/ART Cache.
- Confirm the swipe.
- ๐ฅ๏ธ Through Terminal Emulator: su rm -r /data/dalvik-cache/* rm -r /cache/* reboot
๐ก
Cleaning Dalvik cache speeds up the launch of applications by 20-30%, but requires a reboot. After the procedure, the first turn on the smartphone can take 3-5 minutes - this is normal!
6.Automatic Cache Cleanup: Configure MIUI
To avoid manually cleaning the cache, set up MIUI to auto-optimize.The system will remove unnecessary files in the background, but this is less efficient than manually cleaning.
How to turn on:
- Go to Settings โ Battery and Performance โ Optimization.
- Activate the Auto Clean switch.
- Slip "Autocleaning Settings" and select: ๐ Frequency: Daily/weekly. ๐๏ธ File types: Cache, temporary files, empty folders. ๐ Condition: When the battery is low or when connecting to Wi-Fi.
โ ๏ธ Limitations of automatic cleaning:
- ๐ซ Does not remove the cache of games and heavy apps (e.g. Google Maps).
- ๐ Can slow down your smartphone during cleaning (if โClean when locking screenโ is enabledยป).
- ๐ Does not clear Dalvik cache.
๐ก Tip: For the best result, combine automatic cleaning with manual (once in a day). 1-2 For example, set up auto-cleaning for weekly garbage collection, and manually clean the cache of heavy applications through Settings once a month. โ Memory.