Why Xiaomiβs system memory is clogged and what to do about it
Owners of Xiaomi, Redmi and POCO smartphones regularly face a problem: the device begins to slow down, issue a notification βNot enough memoryβ, although user files take only a few gigabytes, the reason for this is the system memory, which is filled with app cache, MIUI logs, updates and service data, and unlike user memory, it cannot be cleaned by standard means through Files.
The situation is complicated by the fact that on devices with 64-128 GB of storage for system needs can be allocated up to 10-15 GB, which eventually βswellβ up to 20+ GB. This is especially critical for low-end models like Redmi 9A or POCO M3, where every gigabyte is on the account. In this article, we will analyze legal and safe ways to clean system memory without root rights, as well as risky methods for experienced users.
Before we start cleaning, itβs important to understand that you canβt delete some of your system files, which will cause MIUI or the device to crash, and weβll focus on the data that can be removed without consequences: cache, temporary files, duplicates, and app debris.
1. Cleaning the cache of applications and systems through settings
The easiest and safest way is to remove the cache of applications and system processes. This does not affect user data, but can free up from 500 MB to 2-3 GB of memory.
How to do this:
- π± Open the Settings. β Annexes β Application management.
- π In the upper right corner, click on three dots and select βSort by sizeΒ».
- ποΈ For each major app (e.g. YouTube, Facebook, MIUI Gallery) tap "Clear the cacheΒ».
- π οΈ For system applications (e.g. com.miui.home β launcher) use the same option.
For deep cleaning:
- Go to Settings β Memory β Memory Cleanup.
- Click on βDeep Cleanβ and wait for analysis.
- Delete all the files you have submitted except Download (there may be important documents).
β οΈ Note: Do not clear the cache for banking applications (SberBank, Tinkoff, etc.) β this can reset security settings and require re-authorization.
Clear the cache of all applications|Delete temporary files from the "Junk" section"|Clear the cache of system applications (e.g. Gallery, Music)|Remove downloads older than 30 days-->
2. Removal of unnecessary system applications (no root rights)
MIUI installs dozens of pre-loaded apps (bloatware) by default, many of which cannot be removed in the standard way, but can be disabled or removed via ADB (Android Debug Bridge) without obtaining root rights.
List of safe to remove system applications (for most Xiaomi models):
| Title of the annex | Packet (name in ADB) | Can I turn it off without consequences? |
|---|---|---|
| Mi Video | com.miui.videoplayer | Yes. |
| Mi Music | com.miui.player | Yes. |
| Mi Browser | com.android.browser | Yes (if you use Chrome) |
| Mi Pay | com.mipay.wallet | Yes (unless you use it) |
| GetApps (Mi App Store) | com.xiaomi.mipicks | No (may disrupt the updates) |
Instructions for removal through ADB:
- Turn on Developer Mode (7 times tap on the MIUI version in Settings β About Phone).
- Activate "Debugging by" USBΒ» In Settings β Additionally. β For developers.
- Connect your phone to your PC, install ADB Tools, and execute the command: adb shell pm uninstall -k --user 0 com.miui.videoplayer (replace com.miui.videoplayer with the desired package).
β οΈ Note: Deleting system applications may disrupt Xiaomi services, such as account sync or push notifications. Before deleting, back up through Settings β Additionally. β Backup.
Mi Video and Mi Music|Mi Browser|GetApps and Mi Pay|All of the above.|Nothing, I need them.-->
Cleaning of system logs and dumps
MIUI actively collects error logs and memory dumps for diagnostics, which can take anywhere from 100 MB to 1 GB, but you canβt delete them through the standard interface, and youβll need a file manager with access to system folders (for example, MiXplorer or Solid Explorer with root mode enabled).
The path to the logs:
- π /data/log/ β basic logics.
- π /data/anr/ β App dumps that "hangΒ».
- π /data/tombstones/ β logistics of critical errors.
- π /sdcard/MIUI/debug_log/ β logic MIUI (can be removed completely).
How to clean:
- Open a file manager with root access.
- Go to the specified folders and delete all files with the extension.log,.txt or.dump.
- Reset the device.
What happens if you don't clean the logs?
4. reset of the partition cache (Wipe Cache Partition)
If the phone is slowing down after updating MIUI or installing a large number of applications, resetting the cache partition cache will help. This does not affect user data, but deletes temporary system files that may have been corrupted.
Instructions:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo (Recovery mode) appears.
- Select a language, then go to Wipe & Reset β Wipe Cache.
- Confirm the action and wait for the completion.
- Reboot your device with Reboot β Reboot to System.
β οΈ Note: On some models (Redmi Note 10 Pro, POCO X3 Pro) after cache reset, you may need to re-authorize in your Xiaomi account due to the reset of security keys.
π‘
Resetting the partition cache is the only officially approved Xiaomi way to clean system memory without root rights. It is safe and does not lead to data loss.
5. Removing old MIUI updates
After installing updates MIUI their files (.zip) remain in the device memory and can take up to 2β3 GB. These files are stored in a folder. /sdcard/Downloaded_rom/ and are not automatically removed.
How to clean:
- π Open any file manager (e.g. Files by Google).
- π Go to the Inner Memory β Downloaded_rom.
- ποΈ Delete all files with the.zip extension (e.g, miui_HMNote9ProGlobal_V12.0.1.0.QFZMIXM_...).
If the folder Downloaded_rom missing, check in:
- π /sdcard/.sys_temp/ β Temporary update files may be located here.
- π /data/ota_package/ (need root or ADB access).
π‘
To prevent future updates from downloading, turn off automatic download in Settings. β The phone. β Updating the system β Settings (βοΈ) β Auto-downloading updates.
6. Risky methods: cleaning with root rights
If none of these methods worked, and the system memory is still clogged, the radical option is rooting and manual cleaning, which is only suitable for advanced users, since the wrong actions can lead to a device failure.
What can be cleaned with root:
- π§Ή folder /data/dalvik-cache/ β Dalvik cache (deleted when rebooted).
- π§Ή folder /data/system/package_cache/ β cache.
- π§Ή Files in /data/app-lib/ β remote application library.
- π§Ή folder /data/local/tmp/ β time-file.
Instructions:
- Get root rights through Magisk or SuperSU.
- Install Root Explorer or MiXplorer with root access enabled.
- Go to the specified folders and delete their contents.
- Reset the device.
β οΈ Note: Delete files in /system/ or /vendor/ Never modify files in these sections without knowing exactly what they are intended for, and remember that getting root rights will void Xiaomi's warranty.
7. Alternative methods: reset to factory settings
If the system memory is clogged to a critical level (less than 500 MB free) and other methods have not worked, then a hard reset remains, which will delete all user data, but return the device to its original state, including cleaning the system memory.
How to reset:
- Create a backup of important data (photos, contacts, messages).
- Go to Settings β About Phone β Resetting β Erase all data.
- Confirm the action and wait for the completion (it will take 5-10 minutes).
After discharge:
- π Do not restore data from the backup immediately β first check how much free system memory is now available.
- π Install applications gradually, keeping track of occupied space.
- π Turn off automatic app updates on Google Play.
π‘
Factory reset is the last chance to bring the device back to life if the system memory is full, and use it only after unsuccessful cleanup attempts by other means.