How to see what memory is occupied on Xiaomi: analysis of cache, applications and system files

Noticing that Xiaomi's smartphone is slowing down and the space on the internal drive is melting away? The reason is often hidden debris: app cache, remnants of deleted files or bloated data from system services. Unlike the iPhone, where memory analysis is integrated into settings, MIUI offers several diagnostic methods, from a basic storage menu to hidden tools for power users.

In this article, you will find unique methods of memory analysis specific to Xiaomi, including little-known Security features and ADB commands that are not described in the standard instructions. We will discuss how to distinguish useful data from garbage, why MIUI 14 may not show occupied memory correctly, and what to do if the system persistently “does not see” the free space after cleaning.

1. Standard Memory Analysis through "Settings"

The easiest way is to use the built-in storage menu. It is available on all Xiaomi smartphones starting with MIUI 9, but the functionality varies depending on the version of the shell. For example, MIUI 14 added detailing by file categories (photos, videos, documents), and MIUI 12 had to be content with general numbers.

To open the analysis:

  1. Go to Settings → About Phone → Memory (or Settings → Memory in new versions).
  2. Wait for the scan to complete (it can take up to 30 seconds on the filled drives).
  3. Click on the category (such as “Apps” or “Media Files”) for detail.

Note the System Data section, which often hides up to 5-10 GB of garbage that is not cleaned by standard methods, and if this category takes up more than 15% of total memory, use the methods in the following sections.

📊 How often do you clear your memory on Xiaomi?
Once a week.
Once a month
Only when the place ends.
Never clean.

2. Hidden tools in the application "Security"

Xiaomi’s Security app contains advanced analysis tools that don’t duplicate Settings data.

  • 📱 Residual files after uninstallation of applications (often take 1-3 GB).
  • 🗑️ Cache of mini-programs (e.g. from Mi Video or Mi Browser).
  • 🔍 Duplicate files that the system does not show in the standard menu.

How to use:

  1. Open the Security app (shield icon).
  2. Go to the Cleanup or Deep Cleanup section (depending on the MIUI version).
  3. Click on "Scan" and wait for the report. Pay special attention to "Residual Files" -- it's often skipped.
  4. To detail, tap by category (such as App Cache) and manually select what to clean.

⚠️ Warning: Do not manually clean the System Logs category – this can cause malfunctions MIUI. Use only automatic cleaning through the button “Optimize».

☑️ What to check for in Security

Done: 0 / 4

3. Analysis through File Manager

Xiaomi’s built-in File Manager not only browses folders, but also analyzes occupied space by data type, and the advantage of this method is the ability to see hidden folders (such as.thumbnails or Android/data) that are not displayed in the standard storage menu.

Instructions:

  1. Open the File Manager (File Icon).
  2. Go to the tab "Analysis" (or "Storage" in new versions).
  3. Select “Inner Memory” and wait for the chart to be built.
  4. Slip on large segments (such as “Other Files”) for detail.

It is especially useful to check the following folders:

  • 📁 Android/obb — It contains heavy games (may take up to a maximum of two games). 20 GB).
  • 📁 DCIM/.thumbnails — Photo miniatures that are not deleted when cleaning the gallery.
  • 📁 MIUI/Backup — backups of the system that are created automatically.
folderWhat it keeps.Can I remove it?
Android/dataApplication data (save games, settings)Partially (for remote applications only)
DCIM/CameraPhoto and video from the cameraYes (except for the files you need)
MIUI/BackupBackup copies of system and applicationsYes, unless you're planning a recovery.
.thumbnailsMiniatures for quick viewingYes (automatically regenerated)

4.Using ADB for in-depth analysis

If standard methods don't show where the space has gone, ADB (Android Debug Bridge) can provide a detailed account of the space occupied, including system files that are hidden from the user, a method suitable for power users and requires a smartphone to connect to a PC.

Step-by-step:

  1. Install ADB Tools on your computer.
  2. Turn on “Debugging by USB” on your smartphone: Settings → About Phone → MIUI version (tap 7 times to activate the developer mode), then Settings → Additional → For developers → Debugging by USB.
  3. Connect your phone to your PC and execute in the command line:
adb shell


df -h # Shows the occupied space by section




du -sh /storage/emulated/0/* | sort -rh # Sorts folders by size

The result will show a list of folders sorted by size. Notice non-obvious directories like /storage/emulated/0/tencent (WeChat cache) or /storage/emulated/0/Alipay (Alipay data), which can take up gigabytes.

⚠️ Attention: Do not delete folders /system, /vendor or /data through ADB — This will lead to a device brilliance. /storage/emulated/0 (user-general).

What if the ADB can’t see the device?
1. Check if debugging is included on USB 2. Install Xiaomi drivers from the official website (section "Mi Unlock"). 3. Try another one. USB-cable (preferably original). 4. Reboot your phone and PC.

5. Third-party applications for memory analysis

If the built-in MIUI tools seem inadequate, use third-party utilities that offer more visualization and additional features, such as searching for duplicates or large files.

  • 📊 Files by Google – shows “junk” files and offers cleaning in one tap.
  • 🔍 SD Maid is a deep analysis of cache, residual files and databases. There is a root access plugin).
  • 📈 DiskUsage – visualizes occupied space in the form of an interactive map.

Example of Files by Google:

  1. Install the app from Google Play.
  2. Open the "Cleanup" tab.
  3. Click on “Free Place” and select categories to delete (such as “Unnecessary Screenshots” or “Old Memes”).

The advantage of third-party apps is that they often find debris that MIUI misses. For example, SD Maid can detect remnants from long-deleted applications in the /data/data folder that take up to 500 MB.

💡

Before using third-party cleaners, back up important data. Some applications (such as SD Maid) can delete files that MIUI considers system-based.

6.Why is Xiaomi showing busy memory incorrectly?

Sometimes Xiaomi’s smartphone stubbornly “does not see” the vacant space even after cleaning.

  • 🔄 Memory fragmentation is especially important for eMMC devices (instead of eMMC devices). UFS).
  • 📱 File system errors (for example, after incorrect extraction) SD-map).
  • 🛠️ Failures in operation MIUI, When the system does not update the free space data.

How to fix it:

  1. Format the drive (last resort, erases all data!). To do this, go to Settings. → Memory. → Settings (⚙️) → Format.

If the problem persists, it may be the wear and tear of flash memory that is to blame: Devices with eMMCs (such as the Redmi 4X or Redmi Note 5A) after 2-3 years of use can lose up to 20% of capacity due to physical wear and tear of the cells.

💡

If after all the manipulations free space does not appear, check the health of the drive through ADB-Adb shell dumpsys diskstats command. bad_blocks indicate hardware malfunction.

7.How to prevent the memory from being filled in the future?

To avoid a shortage of space, follow the simple rules:

  • 🖼️ Disable auto-save media in messengers (WhatsApp, Telegram).

To clean automatically, set up Power Saving Mode in Security, which limits the background activity of applications, reducing the cache volume, and it is also useful to disable App Auto Update in Google Play to avoid uncontrolled data growth.

On devices with MIUI 14, the “Light Mode” feature has been introduced, which optimizes memory usage by simplifying animations and background processes. Activated in Settings → Special Features → Easy Mode.

FAQ: Frequent questions about memory on Xiaomi

Why does the free space not increase after deleting files?
This is related to how MIUI handles deletion operations. Files are first placed in a shopping cart (a hidden.trash folder) where they are stored for 30 days. To make room immediately: Open File Manager. Go to Recycle Bin and clean it manually. Also check if Secure Storage is included in Settings → Privacy — it can block deletion.
How do I know how much memory system applications take?
System applications (Mi Home, Mi Video, etc.) take between 1 and 5 GB, but their data is not always visible in standard analysis. → Annexes → App management. Tap three points (⋮) and select "Show system" and sort by size by clicking "Size." You can't remove system applications without root rights, but you can turn off unnecessary ones (e.g. Mi Pay or Mi Roaming).
Can applications be moved to SD-map?
On most modern smartphones Xiaomi (starting with the MIUI (10) transfer of applications SD-The card is locked by default, but there are workarounds: Use SD-The card is an internal memory (formatted as Adoptable Storage). SD-In the notification, select "Settings» → «Format as internal. Only transfer media files (photos, videos, music) manually through File Manager». ⚠️ After formatting as internal memory, the card will not be used in other devices!
How to clear your memory if your phone is not switched on?
If Xiaomi's smartphone doesn't boot due to memory shortage, try: Boot in Safe Mode (hold the power button → long tap on "Stop" → "Reboot in Safe Mode"). This mode disables all third-party apps and you can delete unnecessary files. Connect to your PC and use ADB to delete large files (see section 4). Reset via Recovery (keep Power + Volume up when booting). Select Wipe & Reset → Wipe All Data. If none of the methods helped, you may need to corrupt the Flash file system via Flash reflashing.
How much memory should be free for Xiaomi to function properly?
For stable operation, MIUI is recommended to be left free: 10-15% of the total volume for devices with eMMC (for example, Redmi 9A). 5-10% for devices with UFS (for example, Xiaomi 12 Pro). If less than 1 GB is free, the system will begin to force the application to close, and at 500 MB or less, crashes and reboots are possible.