Message "Not enough memory" on smartphones Xiaomi, Redmi or POCO appears unexpectedly - often at the most inopportune moment: when installing an application, updating the system or even while shooting video. The reason is not always a real lack of space. More often, duplicate files, โdeadโ data from uninstalled apps, or incorrect storage settings are to blame. In this article we will look at items that you will not find in standard instructions for Android - from basic to advanced, including working with hidden memory sections. MIUI hidden cache, duplicate files, dead data from uninstalled apps, or incorrect storage settings. In this article we will analyze cleaning methods unique to Xiaomi, which you will not find in standard instructions for Android - from basic to advanced, including working with ADB and hidden memory sections.
It is important to understand: even if the settings show 5โ10 GB of free space, the system may block its use. For example, MIUI 14+ reserves up to 3โ4 GB for updates, and some models (Redmi Note 12 Pro, POCO X5) have a separate type of memory (UFS 2.2), where part of the volume is โlocked downโ for system needs. We will not advise the banal โdelete unnecessary photosโ - we will focus on technical nuanceswhich even service centers ignore.
1. Diagnostics: why Xiaomi lies about free space
Before clearing memory, you need to understand where it goes. MIUI there are three levels of storage that users often confuse:
- ๐ฑ User memory โwhat you see (photos, applications, music).
- ๐ง System partition โhidden MIUI files that take up up to 8โ12 GB (depending on the model).
- ๐ Backup space โlocked area for updates and logs (from 1 to 5 GB).
To see the actual memory allocation:
- Open
Settings โ About phone โ Memory. - Tap on the usage chart - details by category will open.
- Pay attention to the item "System": if it takes up >15 GB, it means that garbage has accumulated from updates or logs.
Critical moment: on some models (Xiaomi 13 Ultra, Redmi K60) the memory menu is displayed incorrect volume due to an error in MIUI. For example, the phone shows 64 GB instead of 128 GB. This can only be treated through Fastboot or contacting the service.
โ ๏ธ Attention: If in the sectionSettings โ Memory โ Other filesyou see a filelogcat.dumpsize >500 MB is the system error log. It can be deleted manually through the file manager (path:/sdcard/MIUI/debug_log), but it is better to first save a copy on your PC.
2. Clearing MIUI cache and garbage: hidden functions
Standard clearing via Settings โ Applications only deletes the surface cache. There are MIUI There is hidden toolsthat are not visible to the user:
- ๐งน Deep cleaning MIUI: go to
Settings โ About phone, tap 5 times byMIUI version, then return toSettings โ Additionally โ Cleaning. An option will appear "Deep cleaning" โit deletes temporary files of the system kernel. - ๐๏ธ Garbage after updates: after each MIUI update, files
update.zipandcache.imgremain in the folder/sdcard/MIUI/backup. They can be safely deleted. - ๐ Dalvik cache: if the phone starts to slow down after cleaning, reboot it - the system will automatically restore the critical cache.
For models with MIUI 13+ is available Lite mode, which reduces the weight of the system by disabling animations and background processes. Activated through:
Settings โ Accessibility โ Lite mode
Back up important data|Check free space in Settings|Close all applications|Connect charging (if the memory is cleared for more than 5 minutes)|Reboot the phone after cleaning-->
Expert advice: If after cleaning the memory fills up again within a few days, the culprit is background process miui.analytics (statistics collection). Disable it via Settings โ Permissions โ Autostart, find MIUI Analytics and disable background activity.
3. Removing duplicates and dead files
The file system Xiaomi often creates duplicate media files, especially if you:
- ๐ธ Use a standard camera MIUI (it saves copies in
DCIM/.thumbnails). - ๐ต Download music via Mi Music (the cache is stored in
/Android/data/com.miui.player). - ๐ฅ Receive files via Mi Share or Bluetooth (duplicates are located in
/sdcard/Bluetoothand/sdcard/ShareMe).
To search for duplicates:
- Install Files by Google (cleaning โ duplicates).
- Or use SD Maid (section
CorpseFinderfinds files from deleted applications). - To manually check, open the file manager, turn on showing hidden folders and delete the contents:
/sdcard/.trash/sdcard/.MIUI
/sdcard/MIUI/backup/AllBackup
โ ๏ธ Attention: Do not delete the folder/sdcard/MIUI/extraโdata for recovery after the reset is stored there. Also, do not touch the files from. extension.mbn(modem firmware) and.img(system images).
If you use Google Photos for backup, check the folder /sdcard/Pictures/.google_photos_backup โthere may be gigabytes of temporary files there.
4. Transferring applications and data to a memory card
Starting from MIUI 12, Xiaomi has limited the ability to transfer applications to an SD card. However, there are workarounds. paths:
| Method | Suitable for | Limitations |
|---|---|---|
Built-in transfer (Settings โ Applications โ Transfer to SD) |
Supported applications adoptable storage |
Works only for some applications, may lag |
| Formatting SD as internal memory | All models on Android 9โ11 | The card becomes tied to the phone and cannot be read on the PC |
Manual movement through ADB |
Any applications (requires a PC) | Difficult for beginners, risk of errors |
| Manager applications (for example, AppMgr III) | Models with root access | Requires root, may break some apps |
To format the SD card as internal memory:
- Insert the card into the phone.
- Go to
Settings โ Storage โ SD card โ Configure โ Internal memory. - Follow the instructions (the data on the card will be erased!).
Important: After this formatting, the card cannot be removed without losing data. Also, some applications (for example, WhatsApp or banking) will refuse to work with the transferred data.
If the phone does not see the SD card after formatting, try disconnecting it in Settings โ Memory, removing it and inserting it again. Sometimes rebooting helps.
5. MIUI optimization: disabling unnecessary functions
MIUI overloaded with background processes that eat up memory. Here's what you can safely turn off:
- ๐ก MIUI auto update:
Settings โ About phone โ System update โ โ๏ธ โ Auto-downloadโ turn off. - ๐ต Mi Music and Mi Video: these applications cache media files even if you do not use them. Disable autoplay in
Settings โ Permissions โ Autoplay. - ๐ Analytics and reports:
Settings โ Privacy โ Special access โ MIUI Analyticsโ disable. - ๐ฑ Second space (if not used):
Settings โ Accessibility โ Second spaceโ delete.
For models with MIUI 14+ option available "Lite system", which removes some of the pre-installed applications (including Mi Browser, Mi Pay). Activated through:
Settings โ About phone โ MIUI version (tap 7 times) โ Return to Settings โ Advanced โ Light system
If you do not use MIUI theme, delete the downloaded themes:
- Open
Themes. - Go to
Profile โ My downloads. - Delete all unused themes (they take up to 500 MB each).
Disabling unnecessary MIUI features can free up up to 2-3 GB of memory without deleting personal files.
6. Advanced methods: ADB and hidden commands
If standard methods do not help, it's time to use developer tools. To do this:
- Activate developer mode:
Settings โ About phone โ MIUI version(tap 5 times). - Enable USB debugging:
Settings โ Advanced โ For developers โ USB debugging. - Connect the phone to the PC and use commands
ADB.
List of useful commands:
adb shell pm clear com.miui.analytics # Clearing MIUI analyticsadb shell pm uninstall --user 0 com.miui.bugreport # Deleting error reports
adb shell pm clear com.android.providers.media # Reset media cache
adb shell sm set-force-adoptable true # Allow transfer to SD (requires reboot)
For cleaning Dalvik cache (can free up to 1 GB):
adb shell su
rm -r /data/dalvik-cache/*
โ ๏ธ Attention: Commands withsurequire root access. Incorrect use can lead to data loss or device brick. Before experiments, make a backup copy viaadb backupor Mi Cloud.
If you do not want to work s ADB, try the application MIUI Hidden Settings (available on 4PDA). It opens access to hidden cleaning settings, including:
- Delete ART cache (speeds up the system after cleaning).
- Reset Xiaomi account settings (if synchronization takes a lot places).
- Cleaning kernel logs (
/data/log).
7. Extreme measures: resetting and re-allocating memory
If none of the methods helped, radical solutions remain:
- ๐ Reset to factory settings: deletes everything, including system garbage. Important: unlink your account before resetting Xiaomi v
Settings โ Account, otherwise after resetting the phone will require you to enter the old password. - ๐ ๏ธ Repartitioning partitions: on some models (Redmi Note 10 Pro, POCO F3) user section (
/data) may be artificially limited. This can only be corrected throughFastbootusing the utility Xiaomi Flash Tool. - ๐ฆ Installing custom firmware: for example, Pixel Experience or LineageOS do not have MIUI garbage, but require unlocking bootloader.
To reset without data loss (only for MIUI 12+):
- Create a backup via
Settings โ Advanced โ Backup. - Select "Local backup" and save to SD card.
- Reset to
Settings โ Reset settings. - After the reboot, restore the data from the backup.
โ ๏ธ Attention: On models with MIUI 14 and newer, resetting may block the ability to unlock the bootloader for 72 hours (Xiaomi policy) Keep this in mind if you plan to install custom firmware.
What to do if after a reset the memory becomes full again?
If after a reset the problem returns, one of the system processes is to blame:
1. Mi Cloud - synchronizes old data (turn off auto-sync in Settings โ Account).
2. Google Backup - restores the application cache (disable in Settings โ Google โ Backup).
3. Virus or malware - check the phone via Malwarebytes or Dr.Web Light.
FAQ: answers to frequently asked questions
Is it possible to increase the memory on Xiaomi using a flash drive?
Yes, but with reservations:
- On Android 9โ11 you can format the SD card as internal memory (all data on it will be encrypted).
- On Android 12+ this function is blocked, but can be used
ADBto force transfer of applications. - The flash drive will not increase system partition - only user space.
Speed of working with SD (UHS-I) will be lower than with built-in memory (UFS 2.2/3.1).
Why is the memory not freed after deleting files?
This happens due to:
- File system cache โtry rebooting the phone.
- Used space in
/data/logโ cleared throughADBor MIUI Hidden Settings. - Mounting errors section โcheck memory health through
##6484##(eMMC test).
If the problem persists, try turning off and turning on the device again in Settings โ Memory.
How to clear memory on Xiaomi without losing data?
Safe methods:
- Clearing the cache via
Settings โ Memory โ Clear. - Deleting duplicates using Files by Google or SD Maid.
- Transferring photos/videos to the cloud (Google Photos, Mi Cloud) with subsequent deletion of local copies.
- Disable unnecessary MIUI functions (analytics, themes, second space).
Avoid cleaning through ##4636## (testing menu) - this can damage the system files.
Why does Xiaomi reserve memory for updates?
This is a feature MIUI:
- The system blocks 3โ5 GB for downloading and installing updates.
- On models with
Dynamic RAM Expansion(for example, Xiaomi 12T) part of the memory is reserved for virtual RAM. - To reduce the reserve, disable auto-updates in
Settings โ About phone โ System update.
It is impossible to completely remove the reserve - this is a security requirement for OTA updates.
Which applications take up the most memory on Xiaomi?
Top 5 โeatersโ of memory in MIUI:
- Social networks (Facebook, TikTok, Instagram) - cache video and media (up to 5 GB).
- Games (Genshin Impact, PUBG Mobile) - the weight of one game can reach 10โ15 GB.
- Messengers (Telegram, WhatsApp) - store media files in
/sdcard/Android/media. - Mi Browser โ caches web pages even if you donโt use it.
- Google Play Services โ takes up to 1โ2 GB for updates and data.
Check the section Settings โ Applications โ Storage and sort by size.