Why Xiaomi is running out of memory and how to fix it
Xiaomiโs internal memory is one of the most painful topics for owners. Even models with 128 GB and 256 GB in a year or two of use begin to issue warnings about space shortages. The reason is not always in your files: MIUI actively caches data, applications create temporary files, and updates take gigabytes โunder the hood.โ For example, on the Redmi Note 12 Pro+ after a year of use, up to 30% of memory can take up garbage from system processes and undeleted updates.
To make matters worse, Xiaomi defaults to hiding some of the service files from the user, and you can see it in the 64GB Occupied settings, but the sum of all the folders in the file manager will show just 40GB. Where does the rest go? Most often, it's:
- ๐ Application cache (including Google system services and MIUI)
- ๐ Residual files after deleting programs (especially games)
- ๐ฅ Hidden update folders (.OTA,.MIUI)
- ๐ฅ Duplicate media files created by the gallery and messengers
In this article, we will look at 5 proven ways to clean up memory, from basic to radical, including hidden MIUI features that are not mentioned in the official instructions. Importantly, some methods require root or computer rights, but most solutions are available without additional tools.
Method 1: Cleaning up cache and debris through built-in MIUI tools
To start with, the standard MIUI features are available on all models from Redmi 9A to Xiaomi 14 Ultra, which require no third-party apps and even work on locked downloaders.
The first step is to clean the app cache, and it's done like this.
- Open Settings โ Applications โ Application Management.
- Slip on the three dots in the upper right corner and select Sort by size.
- Select the app (start with the heaviest ones โ Facebook, Telegram, Google Play Services).
- Click Clear Cache (not to be confused with Clear Data โ it will delete your account settings!).
For mass cleaning:
- Go to Settings โ Memory (or Storage in newer versions of MIUI).
- Slip on Clean in the section "Junk files".
- Confirm the removal of temporary files, cache and thumbnails.
Clear the app cache |Delete downloads (Download folder)|Remove image thumbnails |Clear call and message log-->
โ ๏ธ Note: Do not manually delete files from the folder Android/data It can break the application, and to clean this folder, use only system tools or special utilities like this. SD Maid (requires root).
Once a week.|Once a month|Only when memory ends|Never clean.-->
Method 2: Delete hidden update files and backups
One of the main memory black holes on Xiaomi is the folders with updates and backups, which the system saves โjust in caseโ, but rarely deletes automatically. For example, after updating MIUI via OTA, a file size of 2-4 GB with the.zip extension can remain in memory.
How to find and delete these files:
- Connect your smartphone to your computer in File Transfer (MTP) mode.
- Enable the display of hidden files in Windows/macOS Explorer.
- Go to the root folder of internal memory and find: ๐ folder.OTA โ Here are stored downloaded updates. ๐ folder MIUI โ backup. ๐ folder Download/rom โ hand-stitch.
.zip
.bin
.img
Settings โ About the phone
| folder | What it keeps. | Can I remove it? | Size (example) |
|---|---|---|---|
| .OTA | Updates by air | Yeah (except for the current one) | 1.5โ4 GB |
| MIUI/backup | Backup copies of settings | Yes (if you don't need to) | 500 MB-2 GB |
| Download/rom | Hand-held firmware | Yeah (unless you're planning a pullback) | 2-3 GB |
| Android/obb | Additional game data | Partially (removes the save) | 100 MB-10 GB |
โ ๏ธ Note: If you delete the current firmware file from.OTA, The system may suggest that you download it again the next time you update it. This is not critical, but it will waste traffic. MIUI In Settings โ The phone. โ Version. MIUI Compare it to the file name in the folder.
How to restore a remote update?
Method 3: Optimize media files and duplicates
Photos and videos are the main memory eaters. At Xiaomi, the problem is compounded by the system automatically creating thumbnails (.thumbnail), and messengers storing copies of the sent media, for example, WhatsApp can duplicate every photo in WhatsApp/Media and DCIM/Camera folders.
How to find and remove duplicates:
- ๐ Use the built-in Gallery tool โ Albums. โ Duplicates (available on MIUI 12 and newer).
- ๐ Install Files by Google โ it can find duplicates and large files.
- ๐ผ๏ธ For advanced users: Duplicate Files Fixer (requires root to scan system folders).
Tips for optimizing media:
- ๐ธ Set up Google Photos to automatically compress your photo (Settings) โ Make room).
- ๐ฅ In camera settings (Settings) โ Camera. โ Video resolution: select Full HD instead 4K, If you are not making professional videos.
- ๐ Transfer old photos to Google Drive or physical drive (use an adapter) OTG).
๐ก
If you take screenshots often, turn them off automatically in Settings โ Additional โ Screenshots โ Save screenshots. This will save up to 500 MB per month when you use them actively.
Method 4: Transfer applications to a memory card (with reservations)
Many users are trying to solve the memory problem by migrating applications to microSD, but this works with serious limitations on Xiaomi:
- โ It works only for a part of the applications (most games and system utilities cannot be moved over).
- โ ๏ธ Applications may be slowed down after the transfer (especially if the class memory card is used). UHS-I U1 lower).
- โ On the new versions MIUI (13+) Application portability feature is often disabled due to Google policy.
How to transfer applications (if the function is available):
- Open Settings โ Applications โ Application Management.
- Select the app and tap the Warehouse.
- If the option to Change is available, select the Memory Card.
- Confirm the transfer and wait until it is completed (may take a few minutes).
Alternatively, use the memory card as an internal storage (Adoptable Storage):
- Insert a UHS-I U3 class microSD or higher.
- When a notification appears, select Use as internal memory.
- โ ๏ธ Warning: After that, the card will not be retrieved without formatting, and it will be encrypted and not readable on other devices.
๐ก
Moving applications to a memory card is a temporary solution, and the best option is to use microSD only for media files (photos, videos, music), and store applications in internal memory.
Method 5: Radical measures - reset to factory settings
If all previous methods failed and there was less than 10 percent of memory left, you'd have to resort to the extreme of completely resetting, and that would delete all data, including:
- ๐ฑ Installed applications and their data.
- ๐ Contacts, messages, call logs (if not synced with Google).
- ๐ท Photos and videos (unless transferred to a map or PC).
- ๐ฎ Game saving (if not linked to an account).
How to do the reset correctly:
- Create a backup copy: ๐ฑ Application data: Settings โ Accounts and synchronization โ Mi Account. โ Backup. ๐ท Media files: copy folders DCIM, Pictures, Download on PC. ๐ Contact: Export to the VCF via Google Contacts.
- Reset: Go to Settings โ About Phone โ Settings Reset. Select Erase All Data. Enter a password (if set) and confirm.
After the reboot, restore the data from the backup (but not all at once โ it will fill up the memory again!).
โ ๏ธ Note: On some models (Poco) F5, Redmi K60) After the reset, you may need to re-assign your Mi Account to unlock.Make sure you remember your login and password!
What if the memory is quickly over again?
Additional tips for advanced users
If youโre ready to dive deeper into Xiaomiโs settings, here are a few non-obvious tricks:
1. Disconnect logs and diagnostics:
The MIUI system maintains detailed logs that can take up to 1 GB to disable them:
- Activate Developer Mode (7 taps according to the MIUI version in the phone settings).
- Go to Settings โ Additional โ For developers.
- Turn off Error Log and USB Debugging (if not used).
2. Cleaning Dalvik cache (requires recovery):
Dalvik cache is an optimized version of the applications that the system creates, and cleaning it can free up 500 MB-1 GB:
- Turn off the phone.
- Press Volume Up + Power to Enter Recovery.
- Choose Advanced โ Wipe Dalvik Cache.
- Reset the device.
3.Use of ADB for deep cleaning:
With Android Debug Bridge, you can uninstall system applications and clear hidden partitions. Example of commands to remove unnecessary packets:
adb shell pm uninstall --user 0 com.mi.browser
adb shell pm uninstall --user 0 com.mi.android.globalFileexplorerโ ๏ธ Warning: Removing system applications can cause the phone to run unstable.Before experimenting, backup with adb backup.