Xiaomi smartphones based on MIUI or HyperOS often face the problem of memory shortage, even if you do not install many applications. The system creates gigabytes of temporary files, duplicate photos are stored in the cloud and on the device, and the cache of applications is inflated to incredible sizes, as a result, you see a notification โMemory is almost fullโ, although in fact, useful information on the phone is only 10-15 GB.
In this article, we'll look at all the possible ways to clean storage, from basic (hand-dispose of garbage) to radical (reset to factory settings). Each method is tested on the Redmi Note 12 Pro+, POCO F5 and Xiaomi 13T models with the latest firmware, you'll learn how to find hidden files, which data can be safely deleted and which should not be touched, so as not to break the system. We've compiled a table comparing the effectiveness of each method so you can choose the best option for your situation.
1. Analysis of occupied space: what exactly eats memory?
Before you clean up the storage, you need to understand which files are taking up space. MIUI and HyperOS have a built-in memory analyzer, but it often shows data inaccurately. For example, it can indicate that the System takes 20 GB, when in fact it is a cache of updates and temporary files.
To get a detailed report:
- Go to Settings โ About the phone โ Memory.
- Click on โMemory Analysisโ (in some firmware, the button is called โDetailsโ).
- Wait for the scan to be completed (may take 1-2 minutes).
The system will show the distribution of memory by category: Pay attention to the item "Other" - this is often where unnecessary files are hidden (logs, memory dumps, remnants of remote applications).
If this partition takes up more than 5 GB, it must be cleaned manually (more on this in the next section).
2. Clear cache and temporary files without root rights
The easiest way to free up 1-3GB of storage is to delete the app cache and system temporary files.This wonโt delete your data (photos, messages, passwords), but it can speed up your phone.
Methods of cleaning the cache:
- ๐ฑ Through Settings: Settings โ Annexes โ Application management โ select the application โ ยซTo clear the cache, click on the three dots in the top right corner and select Clear the cache of all applicationsยป.
- ๐งน Through the built-in cleaner: Safety โ Cleanup โ Deep cleaning. You can delete cache, residual files, and even optimize autoboot.
- ๐ Manually clean Download folder: Open the file manager (Mi File Manager or Files by Google) and delete unnecessary files from the Download folder (often there accumulate outdated files). APK, documents and archives).
โ ๏ธ Note: Do not cache system applications like com.android.systemui or com.miui.home, which can cause interface failures. Also do not delete the Android folder in the root of the storage: it stores application data (for example, saving games).
Outdated. APK-file in the Download folder
Cash of messengers (Telegram, WhatsApp)
DCIM/.thumbnails folder (miniature photo)
Error logs in the folder /sdcard/MIUI/debug_log
-->
3. Removal of duplicate photos and videos
Xiaomi smartphones automatically create duplicate media files in several cases:
- ๐ธ When editing photos in the Xiaomi Gallery (the original is saved) + edited).
- โ๏ธ Synced with Mi Cloud (files can be duplicated in Camera and Mi Cloud folders).
- ๐ค When using third-party cameras (e.g., GCam saves the pictures to a separate folder).
To find and remove duplicates:
- Open the Gallery โ Click on three dots โ โManageโ โ โDublicatesโ.
- The system will show pairs of identical files, so you can manually delete duplicates or click "Delete all."
- For deep cleaning, use applications like Files by Google (the Cleanup tab โ File Duplicates tab).
โ ๏ธ Note: Before mass deletion, check if the duplicates are different versions of the same photo (for example, the original and the edited version). DCIM/.thumbnails manually โ it will recover automatically, but this can slow down the gallery.
๐ก
If you use Google Photos, turn on the Free Space feature in the app settings, which will automatically delete local copies of photos that are already uploaded to the cloud (but only if you have enough space in Google Drive!).
4. Data Cleaning Applications: What Can Be Deleted Without Repercussions?
Many apps store gigabytes of unnecessary data: uploaded videos to TikTok, a map cache to Google Maps, offline music to Spotify, files that can be deleted without damaging the software.
Table safe for data cleaning:
| Annex | What can be removed | How to clean up | Saving memory |
|---|---|---|---|
| Telegram | Cash of media files (photos, videos, stickers) | Settings โ Data and memory โ Clear cache | 0.5 GB |
| Google Maps | Offline cards and cache | Profile โ Settings โ Offline maps โ Delete | 0.1-2 GB |
| Spotify/Yandex Music | Downloaded songs and podcasts | Settings โ Memory โ Remove the cache | 1-10 GB |
| TikTok/Kwai | Cash video and temporary files | Profile โ Settings โ Clear the cache | 0.5-3 GB |
For applications that donโt have a built-in cleanup feature (like games), use Settings โ Apps โ Application Management โ [app name] โ Memory โ Clear data. But be careful: this will remove all settings and saves (like progress in games).
What happens if you clean up system application data?
5. Hidden files and folders: where to look for garbage?
Xiaomi has hidden folders in its storage that donโt appear in a standard file manager, but can take up gigabytes of space.
- ๐ folder.MIUI: It contains system logs, error dumps and temporary update files. debug_log Update (if there is no active update).
- ๐ folder Android/data: This is where the application data is stored. Only remote folders can be deleted (for example, if you have uninstalled the game long ago, but its files remain).
- ๐ folder MIUI/Extra: It contains backups of themes and wallpapers, and you can delete anything except the current theme.
- ๐ folder Download/rom: If you've ever downloaded firmware for manual installation, there may be heavy ones here. ZIP-file-weight 2-4 GB).
To see the hidden files:
- Open Mi File Manager (or any other file manager, such as Solid Explorer).
- Click on three dots โ โSettingsโ โ turn on โShow hidden filesโ.
- Go to the root directory (/sdcard/) and manually check the specified folders.
โ ๏ธ Note: Do not delete files with the.db (database) extension or folders Android/obb (It stores additional game data, and don't touch the files in the game. /system or /vendor โ This can cause the system to fail.
6. Radical methods: reset to factory settings
If none of the previous methods worked, and the phone still shows โMemory is fullโ (although you deleted all unnecessary files), the last option is hard reset, which will delete all data on the device, including:
- ๐ฑ Applications and their settings
- ๐ท Photos, videos, music (unless synced to the cloud)
- ๐ Accounts and passwords (except those linked to Google or Mi Account)
- ๐ฑ System settings (wallpaper, sounds, allowed notifications)
How to reset:
- Back up important data (via Settings โ Additional โ Backup or manually copy files to your PC).
- Go to Settings โ About Phone โ Resetting โ Delete all data.
- Enter your password (if required) and confirm the reset.
- After the reboot, the phone will be like new โ youโll need to reconfigure it.
โ ๏ธ Note: On some models (POCO X3 Pro, Redmi Note 10) after reset, you may need to re-activate the Mi Account to unlock the bootloader.If you forget the password from the Xiaomi account, the phone may be locked!
๐ก
Resetting to factory settings is the only way to remove system debris that is not visible to the user (for example, corrupted update files or firmware residues).
7.How to prevent the memory from being filled in the future?
To avoid memory loss once a month, set your phone up correctly:
- โ๏ธ Automatic upload to the cloud: Enable photo and video sync with Google Photos or Mi Cloud (but make sure you donโt duplicate files locally).
- ๐ซ Cache Limitation: In Settings โ Annexes โ Application management for each application can be set a cache limit (for example, for Telegram โ no more than 500 MB).
- ๐ต Disable auto download: In messengers (WhatsApp, Viber) turn off automatic download of media files in the mobile network.
- ๐๏ธ Regular cleaning: Install the app SD Maid or Files by Google for weekly trash scanning.
Also avoid:
- ๐ฎ Installing heavy games (such as Genshin Impact or Call of Duty Mobile) on internal memory โ it is better to use a memory card (if supported).
- ๐ฅ Downloading large files (movies, ISO-Images) directly to your phone โ use cloud services or external drives.
- ๐ Frequently changing firmware through MIUI bootloader โ each time there are temporary files weighing 1-2 GB.
๐ก
The best balance is to keep free. 10-15% internal memory, if less free 5%, The phone starts to brake, and the system creates even more garbage when working.