How to remove system memory on Xiaomi: 7 proven ways

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:

  1. Go to Settings β†’ Memory β†’ Memory Cleanup.
  2. Click on β€œDeep Clean” and wait for analysis.
  3. 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 annexPacket (name in ADB)Can I turn it off without consequences?
Mi Videocom.miui.videoplayerYes.
Mi Musiccom.miui.playerYes.
Mi Browsercom.android.browserYes (if you use Chrome)
Mi Paycom.mipay.walletYes (unless you use it)
GetApps (Mi App Store)com.xiaomi.mipicksNo (may disrupt the updates)

Instructions for removal through ADB:

  1. Turn on Developer Mode (7 times tap on the MIUI version in Settings β†’ About Phone).
  2. Activate "Debugging by" USBΒ» In Settings β†’ Additionally. β†’ For developers.
  3. 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:

  1. Open a file manager with root access.
  2. Go to the specified folders and delete all files with the extension.log,.txt or.dump.
  3. Reset the device.
What happens if you don't clean the logs?
Log accumulation can slow down the system, especially when running heavy apps or games. In critical cases (for example, when the /data partition is overflowing), the phone may start spontaneously restarting or give an error "Not enough memory", even if there is free space on the user partition.

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:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo (Recovery mode) appears.
  3. Select a language, then go to Wipe & Reset β†’ Wipe Cache.
  4. Confirm the action and wait for the completion.
  5. 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:

  1. Get root rights through Magisk or SuperSU.
  2. Install Root Explorer or MiXplorer with root access enabled.
  3. Go to the specified folders and delete their contents.
  4. 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:

  1. Create a backup of important data (photos, contacts, messages).
  2. Go to Settings β†’ About Phone β†’ Resetting β†’ Erase all data.
  3. 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.

FAQ: Frequent questions about Xiaomi system memory

Can I increase the system memory by using the user?
No, system and user memory are different partitions on the drive, and their dimensions are rigidly defined by the manufacturer and cannot be changed without modifying the firmware (which requires deep knowledge and is risky).
Why is the memory refilled after cleaning the cache?
Caches are temporary files that are created by applications to speed up work. Once cleaned, they are restored when you use programs. To slow down the filling, turn off the background activity of unnecessary applications in Settings β†’ Battery β†’ Application Selection.
Is it safe to use cleaning applications (such as Clean Master)?
No, not only are most cleaners inefficient, they can also be harmful by deleting important files or showing false notifications. Xiaomi has built-in MIUI tools in the Memory section.
How to check how much system memory is used?
Go to Settings β†’ Memory β†’ Storage. At the bottom of the graph, you'll see the System section showing the amount of work you've been using, and you can use Google Play's DiskUsage app for detailed analysis.
What if after all the manipulations, the memory is still clogged?
If the system memory continues to grow for no apparent reason, it may indicate that the memory is not: πŸ› Firmware error - try updating MIUI last-minute. 🦠 Virus or malware – scan your device through Malwarebytes. πŸ”§ Hardware malfunction - contact the service center (possibly, the wear of the drive).