Why Xiaomi is running out of memory and what to do about it
Owners of smartphones Xiaomi, Redmi and POCO Often, you run into a problem: memory fills up in a matter of weeks, even though you haven't installed new apps or downloaded large files. MIUI. The system aggressively caches data, duplicates files for backups, and some applications (for example, com.miui.gallery) create thumbnails even for deleted photos.
In our experience, before 30-40% Xiaomiβs memory is occupied by system debris: temporary update files, error logs, Google Play Services cache and duplicate media files. MIUI file /data/ota_package It can be a weighty archive. 1-2 Another trap is cloned apps (like the second WhatsApp or Telegram) that take up space but are often forgotten by users.
In this article, we will discuss 10 proven ways to free up memory on Xiaomi β from basic (cache cleaning) to advanced (manual cleaning of system folders through the cache) ADB). All methods tested on current versions MIUI 14/15 They work on models from Redmi Note. 10 Xiaomi 14 Ultra.Important: Before any manipulation of system files, back up via Settings β The phone. β Backup.
π Method 1: Memory analysis through embedded tools MIUI
Before you remove something, you need to understand what exactly takes up space. MIUI There's a built-in memory analyzer that shows you how you categorize your files:
- Open the Settings β Memory.
- Click on the chart at the top of the screen (or tap on the inscription βMemory Analysisβ).
- Wait for the scan to be completed (may take 1-2 minutes).
The system will show you the distribution by categories: Apps, Images, Videos, Audio, Documents, and others. Pay attention to the Others section, which is where the garbage is often hidden: cache, logs, temporary files. If this partition takes up more than 5 GB, then it's time to clean the system folders (about this in method 5).
π‘
V MIUI 15 has a Deep Analysis feature that looks for duplicate photos and large files. To turn it on, tap three dots in the upper right corner of the memory analysis screen.
Pay particular attention to the Apps section, which shows not only user programs, but also system services (e.g. com.xiaomi.midrop or com.miui.video), some of which can be turned off without consequences, as described in method 3.
π§Ή Method 2: Cleaning the application cache and system
Cache is a temporary file that applications create to speed things up, and over time, it accumulates and can take up several gigabytes. MIUI There are two types of cache:
- π± Application cache β files of individual programs (for example, Instagram or YouTube cache).
- βοΈ System cache - files MIUI, including shell cache, Google services and Android kernels.
To clear the cache of individual applications:
- Go to Settings β Applications β Application Management.
- Choose an app (such as Chrome or Facebook).
- Press Warehouse. β Clear the cache.
For mass cleaning of the cache of all applications:
- Open the Settings β Memory.
- Slip on Clean in the "Cash of applications" section.
- Confirm the action.
The system cache is cleared through Recovery Mode, which is a more radical method, but it helps if the phone starts to brake.
Turn off the phone.
Press the power button. + Loudness up before the logo appears MI
Choose a language (if required)
Go to Wipe & Reset β Wipe Cache
Confirm the action and restart the phone-->
β οΈ Warning: Don't confuse Wipe Cache with Wipe Data! The second option will reset your phone to factory settings and delete all your data.
π« Method 3: Remove or disable unnecessary applications
Firmware MIUI The default is dozens of pre-installed apps, many of which are never used, such as Mi Video, Mi Music, Mi Browser, GetApps (Xiaomi store) or Mi Pay, which take up space and run in the background, using up battery power.
There are three ways to get rid of them:
- Disabling (the application remains in the system, but does not work and is not updated).
- Remove updates (returns the app to the factory version, freeing up space).
- Complete deletion (requires superuser rights or ADB).
The safest method is to shut down.
- Go to Settings β Applications β Application Management.
- Select an unneeded app (such as Mi Browser).
- Click Disable (if the button is inactive, click Remove Updates first).
List of applications that can be disabled without risk to the system:
| Annex | Package (name in the system) | Can I remove it completely? |
|---|---|---|
| Mi Browser | com.android.browser | Yes (via ADB) |
| Mi Video | com.miui.video | Yes. |
| Mi Music | com.miui.player | Yes. |
| GetApps | com.xiaomi.mipicks | Yes. |
| Mi Pay | com.miui.mipay | No (system component) |
Complete removal of system applications will be required ADB. It's a risky method -- wrong commands can cause a system to crash. If you're ready to experiment, follow the instructions:
Removing System Applications Through ADB
β οΈ Note: Removing system applications may disrupt some functions MIUI (For example, check reviews about a particular package on forums before removing them. 4PDA or XDA Developers.
π Method 4: Cleaning up garbage folders manually
MIUI It creates a lot of hidden folders that get clogged with unnecessary files over time. Here are 5 key directories that you can safely clear:
- ποΈ /storage/emulated/0/MIUI/ β It stores temporary files of themes, wallpapers and system updates, and you can delete everything except the wallpaper folder (if you use standard wallpaper).
- π¦ /storage/emulated/0/Download/ β Download folder. It's often the old folder that accumulates. APK-Files, archives and documents. Check it through the file manager.
- πΌοΈ /storage/emulated/0/DCIM/.thumbnails/ β Photo and video thumbnails. You can delete all the contents (miniatures will be restored automatically).
- π /storage/emulated/0/Android/data/ β cache and application data. You can only delete folders of programs that you have deleted (for example, if you uninstall TikTok, feel free to clean the folder com.zhiliaoapp.musically).
- π₯ /data/ota_package/ β Firmware archives after updates. To access, you need a Root or a file manager with superuser rights (for example, Mixplorer).
Use the built-in file manager to clean up MIUI Or third-party apps like Files by Google, to see hidden folders:
- Open the file manager.
- Slip on the three points in the upper right corner β Settings.
- Enable the option to show hidden files.
Critical: Do not delete folders with Android names, MIUI (Alarm, Notifications or Ringtones β this can cause a system failure.
π Method 5: Transfer data to a memory card or cloud
If internal memory is sorely short of space, some of the data can be transferred to a microSD or cloud storage, but there are limitations to this method:
- π± Starting with Android 11, porting apps to a memory card is blocked (you can only transfer media files).
- βοΈ Cloud services (e.g. Google Photos or Mi Cloud) require stable internet and can charge a fee to a location.
- π Not all files can be transferred β some system data is tied to internal memory.
To transfer files to microSD:
- Insert the memory card (if you havenβt already done so).
- Open Files β Categories β Images / Videos.
- Select files, press More. β Move and select a memory card.
To automate the transfer of media files:
- Open the Settings β Storage β Memory Map.
- Turn on the option to save new photos and videos to the memory card.
If you prefer cloud storage, set up automatic download via Google Photos:
- Install Google Photos from the Play Market.
- Open the app. β tap on the avatar β Photo settings β Backup and synchronization.
- Enable backup and select quality (High quality β free, Original β ranks in Google Drive).
β οΈ Note: After transferring files to a memory card or to the cloud, do not delete them from internal memory until you make sure they have been successfully copied. Use the "Move" option, not "Copy" to avoid duplication.
π Method 6: Finding and Deleting Duplicate File
One of the main memory eaters on Xiaomi is duplicate photos, videos and documents, which appear when:
- πΈ Import photos from other devices (the phone creates copies in the device) DCIM/Camera and Pictures).
- π Backup via Mi Cloud or Google Photos.
- π΅ Download music from multiple sources (for example, a track can be duplicated in the Music and Download folders).
To search for duplicates, use specialized applications:
| Annex | Functions | Cons |
|---|---|---|
| Files by Google | Duplicate search, cache cleaning, memory analysis | They donβt always find hidden duplicates. |
| Duplicate Files Fixer | Deep search for file content, support for cloud storage | Advertising in the free version |
| CCleaner | Removing duplicates, cleaning the cache, optimizing the system | Closed Project (not updated from 2020) |
Instructions for using Files by Google:
- Install an app from the Play Market.
- Open it and go to the Cleanup tab.
- Slip on Duplicate Files and select categories to scan.
- View the duplicates found and click Delete.
For manual duplicate search:
- Open the file manager and go to DCIM or Pictures.
- Sort files by Change Date or Size.
- Look for files with the same name (for example, IMG_20230515_123456.jpg and IMG_20230515_123456(1).jpg).
π‘
Before removing duplicates, check if they are backups (such as files with the.bak extension or in the Backup folder).
π οΈ Method 7: Advanced Methods (for experienced users)
If the standard methods didn't work, you can use advanced tools, but they require technical knowledge. Here we'll look at three methods:
- Cleaning through ADB (rootless).
- Magisk modules (requires an unlocked bootloader).
- Hand-cleaning of the folder /data (root).
1. Clear cache and temporary files through ADB
This method allows you to remove system debris without superuser rights. Connect your phone to your PC and follow the commands:
adb shell pm trim-caches 256M #Cleaning up app cache
adb shell rm -rf /data/local/tmp/* # Delete temporary files
adb shell rm -rf /cache/* # Cleaning system cache2. Magisk modules for memory optimization
If your phone is unlocked and Magisk installed, try the modules:
- π§ Universal GMS Doze β Optimizes Google Services by Reducing Their Impact on Memory.
- ποΈ SD Maid (Magisk version) β deep cleaning of system folders.
- π¦ App Systemizer β transferring user applications to the section /system (Frees up space in internal memory).
3. Hand-cleaning of the folder /data (root-only)
with the help of Root Explorer or ADB root-accessible can be cleaned:
- /data/log/ β Logs of the system (you can delete everything).
- /data/dalvik-cache/ β Dalvik cache (remove and restart your phone).
- /data/app-lib/ β remote application library.
β οΈ Attention: Wrong actions in the folder /data This can cause data loss or a cyclical restart of the phone. TWRP or Mi PC Suite.
π± Method 8: Optimization MIUI reduce memory consumption
Firmware MIUI It's voracious, and it creates a lot of background processes and backups, but you can turn off some of the functions to save space:
- π Turn off automatic backup: Go to Settings β The phone. β Backup. Turn off Automatic Backup. Remove old backups in Settings. β Memory. β Backup copies.
- πΈ Set your camera to shoot in lower resolution: Open the camera β Settings β Photo resolution. Select the photo. 9MP instead 48MP/108MP (If you do not need photos for printing).
Turn off the download of album covers
- Open Muisc (or Google Play Music)
- Go to Settings. β Download covers and turn off the option.
Another way to save space is to turn off animations and visuals. MIUI:
- Activate Developer Mode (7 taps according to the MIUI version in the phone settings).
- Go to Settings β Additional β For developers.
- Set the window animation scale, the transition animation scale and the animator duration scale on Disabled.
These actions wonβt free up gigabytes, but will slow memory filling and improve the performance of the phone.