Memory Cleanup on Xiaomi 8 Pro: from cache to hidden files

Xiaomi 8 Pro is the flagship of 2018, which still remains relevant thanks to the powerful hardware and support for MIUI 14. However, even 128 GB of internal memory over time clogged with unnecessary files: app cache, duplicate photos, remnants of deleted programs and system debris. If your smartphone began to โ€œslow downโ€, issue notifications about memory shortages or spontaneously close applications โ€“ itโ€™s time to clean up.

In this article, we will discuss 7 proven ways to clean up memory on Xiaomi 8 Pro, including hidden MIUI features, working with ADB for power users and safe methods of removing garbage without risking losing important data. Particular attention will be paid to the unique problem of this model โ€“ โ€œhangโ€ cache after MIUI updates via OTA, which blocks up to 3-5 GB of memory.

1. MIUI Integrated Tools: Cleaning Cache and Garbage

To start with, basic methods that don't require third-party applications to be installed. MIUI has a built-in Cleanup tool that deletes temporary files, remnants of deleted programs and cache, and to use it:

  1. Open the Settings โ†’ Memory.
  2. Slip the Clean button in the Garbage section.
  3. Confirm the action by selecting Clear [X]MB.

This method removes up to 1-2 GB of unnecessary data, but often leaves deep system caches intact. For example, after updating MIUI 12 โ†’ MIUI 14 on Xiaomi 8 Pro, up to 500-800 MB of โ€œdeadโ€ cache from older firmware versions can remain in memory.

๐Ÿ“Š How often do you clean your memory on your smartphone?
Once a week.
Once a month
Only when the place ends.
Never.

For deeper cleaning:

  • ๐Ÿ“ฑ Go to Settings. โ†’ Annexes โ†’ Application management.
  • ๐Ÿ” Sort programs by cache size (tap on cache size).
  • ๐Ÿงน Select cache apps > 100MB (e.g. YouTube, Telegram, Google Play Services) and click Clear cache.
  • โš ๏ธ Do not clear the cache of system applications (e.g. com.android.systemui) โ€“ this can cause shell malfunctions.

โš ๏ธ Attention: Clearing the Google Play Services cache may temporarily disrupt Google services (such as push notifications.

2. Removal of duplicate photos and videos

One of the main memory eaters on the Xiaomi 8 Pro is duplicate photos and videos.

  • ๐Ÿ“ธ Automatic backup in Google Photos and Mi Cloud.
  • ๐Ÿ”„ Synchronization with messengers (WhatsApp, Telegram).
  • ๐ŸŽฅ Screenshots and screen recordings that are saved in DCIM/Screenshots.

To search for duplicates:

  1. Install Files by Google (free in the Play Market).
  2. Open the Cleanup section โ†’ Duplicate files.
  3. Select unnecessary copies and click Delete.

The alternative is to manually check folders:

/storage/emulated/0/DCIM/


/storage/emulated/0/Pictures/




/storage/emulated/0/Download/




/storage/emulated/0/Movies/

๐Ÿ’ก

Before mass deleting duplicates, enable the display of hidden files in any file manager (for example, in Mi File Explorer: Settings โ†’ Show hidden files). Often duplicates are hidden in folders like.thumbnails or.cache.

Type of fileTypical duplicate sizeIs it safe to remove?
Screenshots500MB - 2GBYeah, unless you need it for work.
Cash Google Photo1-3 GBYes, but photos should be uploaded to the cloud.
Video from messengers2โ€“5 GBYes, if you have copies saved in chat rooms.
APK-file300MB - 1GBYes, if the applications are already installed

3. Clearing Dalvik and ART cache (for power users)

The Dalvik/ART system cache is a temporary file that is created when you run applications. On the Xiaomi 8 Pro with MIUI 14, this cache can take up to 1-1.5 GB, but it cannot be cleaned by standard means.

  1. Activate Developer Mode: Settings โ†’ About Phone โ†’ MIUI Version (Tap 7 times)
  2. Enable USB Debugging in Settings โ†’ Additional โ†’ For developers.
  3. Connect your phone to your PC and execute commands through ADB: adb shell su rm -r /data/dalvik-cache/*

After cleaning, be sure to restart the device. The first start after this procedure can take up to 5-10 minutes - this is normal, since the system recovers the cache.

โš ๏ธ Attention: Misuse of the right ADB If you're not sure what you're doing, skip this method or use an alternative, the app. SD Maid (requires root rights).

What happens if you delete Dalvik cache without rebooting?
The system will start to slow down as Android will try to recover the cache on the fly. Some applications may crash with the ClassNotFoundException error.

4. Remove unnecessary system applications (without root)

Xiaomi 8 Pro comes with pre-installed apps (bloatware), which can not be removed by standard methods.

  • ๐ŸŽต Mi Music and Mi Video (Duplicate Google Play Music and YouTube).
  • ๐Ÿ“ฐ Mi Browser (less secure than Chrome or Firefox).
  • ๐Ÿ›’ GetApps, Mi Pay, Mi Credit (not relevant outside of China).

You can remove them through ADB without obtaining root rights:

  1. Connect your phone to your PC and activate Debugging via USB.
  2. Download Xiaomi ADB/Fastboot Tools.
  3. In the list of applications, mark the unnecessary and click Uninstall.

List of safe packets to remove (for Xiaomi 8 Pro):

com.miui.videoplayer


com.miui.player




com.android.browser




com.xiaomi.mipicks




com.miui.analogclock




com.miui.bugreport




com.xiaomi.payment

โœ… Create a backup copy of important data

โœ… Check the list of safe packets to remove

โœ… Charge your phone at least 50 times%

โœ… Connect the original USB-cable (do not use hubs)

5.Storage optimization with the help of SD-map

If your Xiaomi 8 Pro has a slot for microSD, you can transfer some of the data to an external drive, but MIUI does not support full-fledged memory expansion through Adoptable Storage (as on pure Android), but allows:

  • ๐Ÿ“ Transfer files manually (photos, videos, documents).
  • ๐ŸŽฎ Installation of annexes SD-card (only if it is formatted as internal memory, but this will reduce its speed).

How to transfer applications to SD:

  1. Insert a memory card (UHS-I Class 10 is recommended).
  2. Format it as internal memory in Settings โ†’ Memory. โ†’ SD-map.
  3. Go to Settings โ†’ Applications โ†’ Application Management.
  4. Select the application and tap Transfer to SD-Card (not available for all programs).

โš ๏ธ Attention: Formatting SD-The card as internal memory makes it tied to this device, and once it's retrieved, it's not available on other devices, and it also increases the wear and tear of the card because of the frequent recording operations.

6.Reset to factory settings (last chance)

If all previous methods failed and the Xiaomi 8 Pro has less than 1-2 GB of free space, you will have to resort to hard reset.

  • ๐Ÿ“ฑ Installed applications and their settings.
  • ๐Ÿ“‚ Photos, videos, music (unless synced to the cloud).
  • ๐Ÿ“‹ Accounts and passwords (except those linked to a Google account).

How to reset:

  1. Create a backup through Settings โ†’ Additional โ†’ Backup and Reset.
  2. Go to Settings โ†’ About the phone โ†’ Reset settings.
  3. Choose to erase all data and confirm the action.

After discharge:

  • ๐Ÿ”„ Do not restore data from the backup right away โ€“ first check how much memory is freed up.
  • ๐Ÿ“ฅ Install only the necessary applications (avoid cluttering from the first days).
  • ๐Ÿ”ง Turn off automatic download of media files in messengers.

๐Ÿ’ก

The reset to factory settings on the Xiaomi 8 Pro takes ~10 minutes, after which the system creates a new cache, so the first day the phone can run slower than usual.

7.Prevention: How to avoid memory filling in the future

To avoid going back to cleaning your memory every few months, follow these rules:

  • ๐Ÿ“ด Turn off automatic media downloading in WhatsApp/Telegram: Chat settings โ†’ Media and files โ†’ Autoboot โ†’ Wi-Fi only (or off.)
  • ๐Ÿ—‘๏ธ Set up automatic cleaning in Files by Google: Settings โ†’ Cleanup โ†’ Autoclean (turn on)
  • ๐Ÿ“Š Check the storage regularly through Settings โ†’ Memory. โ†’ Analysis.
  • ๐Ÿšซ Avoid installation APK Unverified sources (often containing hidden debris).

For advanced users:

  • ๐Ÿ› ๏ธ Install Magisk and Universal Module GMS Doze to limit background activity of Google Play Services (saves up to 500MB of cache per month).
  • ๐Ÿ“ฆ Use App Cloner to create โ€œlightweightโ€ versions of apps (e.g. Facebook Lite instead of the main client).

FAQ: Frequent questions about memory cleanup on Xiaomi 8 Pro

Can I clean my memory without losing data?
Yes, if you use the methods in sections 1-5 (cleaning the cache, removing duplicates, uninstalling unnecessary applications), resetting to factory settings (section 6) removes everything, so it should only be used as a last resort.
Why is the memory refilled after cleaning the cache?
Cache is a temporary file that is created when apps run. For example, Instagram or TikTok can generate up to 200-300 MB of cache per day. To slow this down: Limit the background activity of applications in Settings โ†’ Battery โ†’ Power Management. Use Lite versions of applications (for example, Facebook Lite).
How to clear your memory if your phone is not switched on?
If the Xiaomi 8 Pro doesnโ€™t boot due to memory shortage, try: Boot in Recovery Mode (Power + Vol Up). Select Wipe & Reset โ†’ Wipe Cache. If that doesnโ€™t work, perform Wipe Data (full reset). Even if Recovery doesnโ€™t start, youโ€™ll need firmware via Fastboot (instructions on xiaomi.eu).
How much memory should be left free for normal operation?
For stable operation, MIUI is recommended to be left free: 10-15% of total memory (for example, 6-8 GB on a model with 64 GB). Less than 1 GB of free space leads to lags and forced closure of applications.
Can I increase memory on Xiaomi 8 Pro?
No, because the 5.1 eMMC is soldered into the motherboard, and the only way to expand storage is to use a microSD (up to 256 GB), but that doesn't increase internal memory, it just adds external memory.