Xiaomi Mi 8 is still a popular smartphone in 2026, but its 64/128 GB of memory is often clogged with unnecessary files. If your device starts to slow down, issue a notification โNot enough memoryโ or refuses to install updates, itโs time to conduct a deep cleanup. In this article, we will analyze all the ways to free up space: from basic (cache removal) to advanced (cleaning system logs and dalvik cache through Recovery).
The Mi 8 is a MIUI firmware that actively caches data and creates duplicate files, such as photos from the Gallery can be automatically copied to the MIUI/Extra folder, and instant messengers like Telegram or WhatsApp store media in hidden directories, and we will show you how to find and remove this garbage without breaking the system.
Important: The Mi 8 runs Android 9/10 (depending on the MIUI version), so some methods (like cleaning through Storage Sense) are not available here, but there are unique features like deep cleaning MIUI and manual log files management.
1. Basic cleaning: cache, debris and temporary files
Start with the simplest thing, removing app cache and system debris, and this will free up 1 to 5 GB of storage without risking losing important data.
How to clean the cache on Xiaomi Mi 8:
- ๐ฑ Open the Settings. โ Annexes โ Application management.
- ๐ Slip three dots in the top right corner and select "Sort by sizeยป.
- ๐๏ธ For each major app (e.g. Facebook, Instagram, YouTube) click Storage โ Clear the cache.
- ๐ For mass cleaning, use the settings โ Memory. โ Cleaning (garbage iconยป).
Note that apps with over 500MB of cache are the main memory eaters, such as Google Play Services or MIUI Launcher can take up to 1-2GB per cache.
๐ก
If the cache returns quickly after cleaning, turn off auto-update apps in Google Play or limit background activity in Settings โ Battery โ Power Saving Mode.
2. Removal of duplicates and unnecessary media files
Xiaomi Mi 8 It has a nasty feature: automatic duplication of photos and videos, for example, pictures from WhatsApp or Viber are saved in the folder of the messenger and in the folder of the messenger. DCIM/Camera. To find and remove duplicates:
Use the built-in tool โDuplicate Searchโ:
- Open the gallery โ Albums โ Utilities โ Search for duplicates.
- MIUI will scan the storage and show the duplicate files.
- Select unnecessary duplicates and click Remove.
For deep media cleanup, use third-party tools like Files by Google or SD Maid.
- ๐ธ Blurred or unsuccessful photos (such as random screenshots).
- ๐ฅ Low-resolution videos (remainders from TikTok or Instagram Stories).
- ๐ Audio files without tags (downloads from VKontakte or YouTube Music).
Where else is the unnecessary media hiding?
3. Clearing system logs and dalvik cache (for advanced)
If the basic methods didn't work, it's time to remove system debris: error logs, temporary update files and dalvik-cache.This will free up 500MB to 1.5GB, but requires caution.
Method 1: Recovery Mode (without root):
- Turn off the phone.
- Press Volume Up + Power until the Mi logo appears.
- From the Recovery menu, select Wipe & Reset โ Wipe Cache.
- Confirm the action and restart.
Method 2: Through ADB (for power users):
adb shell
su
rm -rf /data/dalvik-cache/*
rm -rf /cache/*โ ๏ธ Attention: Do not delete folders /data/app or /system โ This will result in loss of user data or a device blink. If you are not sure about the commands, use only the first method (via Recovery).
4.Storage optimization through MIUI Lab (hidden functions)
MIUI has hidden memory management tools that you can't see in standard settings, so you can activate them.
- Go to Settings. โ The phone.
- Tap 5 times on the MIUI version until the notification โYou became a developer!โ appears.
- Back to Settings โ Additionally. โ For developers.
- Activate MIUI Optimization (MIUI optimization).
Now in the Memory menu will appear new options:
- ๐ ยซDeep Cleanup โ Deletes residual files of uninstalled applications.
- ๐ ยซStorage analysis" - shows the distribution of memory by category (system files, user data, etc.).
- ๐ซ ยซBackground caching prohibition โ restricts caching for selected applications.
Backup important data | Charge your phone at least 50% | Disable two-factor authentication in messengers | Remember account passwords (after cleaning, you may need to re-enter)
-->
5. Transfer of applications to SD-card (if supported)
Xiaomi Mi 8 doesnโt officially support memory expansion SD-But there's a workaround for moving some of the applications:
- Put it in. SD-map (class recommended) UHS-I U3 speed).
- Format it as internal memory through Settings โ Memory. โ SD-map โ Set up as an internal.
- After formatting, go to Settings โ Apps, select the desired application and click Storage โ Change. โ SD-map.
Limitations of the method:
- โ Not all apps support portability (such as WhatsApp or Banking apps).
- โ ๏ธ After extraction SD-Maps of the transferred applications will stop working.
- โก Speed of application with SD-cards are lower than internal memory.
โ ๏ธ Attention: Formatting SD-The card as internal memory deletes all the data on it and makes it tied to this phone. Once removed, the card cannot be read on other devices without re-formatting.
6.Reset to factory settings (last chance)
If none of the methods worked and the Mi 8 has less than 1 GB of free space, youโll have to do a hard reset, which will delete all data, including apps, photos and settings, but will return the phone to a โcleanโ state.
How to reset Xiaomi Mi 8 to factory settings:
- Make a backup through Settings โ Additional โ Backup and Reset.
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data and confirm the action.
- After the reboot, the phone will look like new.
Alternative method (if the phone is not turned on):
- Press Volume Up + Power to Enter Recovery.
- Choose Wipe & Reset โ Wipe All Data.
- Confirm the reset and wait until it is completed.
| Cleaning method | Difficulty | Place vacated | Risks. |
|---|---|---|---|
| Cleaning up the app cache | โญ (simple) | 1-5 GB | No. |
| Removal of media duplicates | โญโญ (middle-of-the-road) | 500 MB-3 GB | You can accidentally delete the necessary files |
| Clearing dalvik cache via Recovery | โญโญโญ (difficult) | 500 MB-1.5 GB | If an error occurs, the system may fail. |
| Transfer of applications to SD | โญโญ (middle-of-the-road) | Depends on the size of the applications | Applications can work slower |
| Reset to factory settings | โญโญโญ (difficult) | All the space. | Loss of all data |
๐ก
Before resetting to factory settings, be sure to untie the Mi Account in Settings โ Xiaomi Account, otherwise after resetting the phone will require entering the old password (Mi Cloud Lock protection).
7. How to prevent memory filling in the future
To prevent the problem from recurring, set up the Mi 8 to auto-optimize:
- ๐ Include โAutocleaningโ in Settings โ Memory. โ Automatic cleaning (set a schedule, for example, once a week).
- ๐ฅ Limit downloads in messengers: in Telegram, turn off Media Autoload in Settings โ Data and memory.
- ๐ฎ For games, use cloud-based saves (such as Google Play Games) to avoid storing heavy files locally.
- ๐ Check the Download folder regularly โ unnecessary ones accumulate here. APK-file.
Also install lightweight analogues of popular applications:
- ๐ท Instead of Instagram, Instagram Lite.
- ๐ต Instead of Spotify, YouTube Music (or offline player) VLC).
- ๐บ Instead of Netflix, Tubi or Plex (if you watch content on the web).