Xiaomi Redmi 9A is one of the most popular budget smartphones, but its modest 32 GB of internal memory is quickly clogged with photos, app cache and system debris. Even after removing unnecessary files, free space is melting before your eyes? The problem is not only in the small amount of the drive, but also in the peculiarities of MIUI โ Xiaomiโs proprietary shell, which aggressively caches data โfor the futureโ.
In this article you will find 7 proven methods of memory cleaning โ from basic (hand-held garbage removal) to advanced (hidden settings) MIUI, ADB-We'll also look at why memory fills up on its own, even if you don't download anything, and how to prevent it in the future. 9A with regard to its hardware limitations and version MIUI 12/13.
1. Diagnosis: Why does memory end?
Before you clean, you need to understand what exactly takes up space. On the Redmi 9A with 32 GB of memory, the user actually has only ~24-26 GB of memory (the rest is occupied by the system and preinstalled applications).
- ๐ธ Photos and videos โ even in low resolution, 100 images weigh ~500MB, and the video in 720p โ up to 100 MB/min.
- ๐๏ธ App cache โ Facebook, Instagram and TikTok can accumulate up to 1-2 GB of cache each.
- ๐ฆ Residual files โ after deleting applications, often there are folders with data in the /Android/data.
- ๐ Updates MIUI โ system downloads update packages (~1-1.5 GB) and do not always remove them after installation.
- ๐ฎ Games โ even lightweight projects like Free Fire or Brawl Stars take 500MB-1GB.
To see the exact picture:
- Open the settings โ About the phone โ Memory.
- Click on Memory Analysis (it may take 1-2 minutes).
- Study the diagram: blue is the system, green is the applications, orange is the multimedia, gray is the cache.
Redmi 9A has a hidden /MIUI/extra folder that can weigh up to 500MB โ it's not visible in the standard file manager, but it takes up space.
Basic cleaning: manual removal of garbage
Start with the simplest thing: delete unnecessary files and cache, which requires no root rights and is safe for the system.
Clearing the application cache
The cache speeds up the software, but it grows to a giant size over time to clean it up.
- Go to Settings โ Applications โ Application Management.
- Select an app (like YouTube or Chrome).
- Click Clear Cache (not to be confused with Clear Data โ it will delete accounts!).
Delete the cache of social networks (Facebook, VK, Instagram)
Clear the history and cache of the browser
Remove downloads (Download folder)
Remove duplicate photos in the Gallery
-->
For mass cleaning:
- Open Security โ Cleaning (Brush Icon).
- Select "Deep Clean" and tick off unnecessary files.
- Press "Clean" (can release up to 1-3 GB).
2.2. Deletion of unnecessary files
Check the following folders (use the standard File Manager or Total Commander):
- ๐ /Download โ pile up APK, documents and archives.
- ๐ /DCIM/Camera โ Old photos and videos (especially in the Screenshot folder).
- ๐ /Android/obb โ Game data (can be deleted if games are deleted).
- ๐ /MIUI/sound_recorder โ tape-recording.
๐ก
Turn on the hidden files in the file manager (in settings) to see folders like.thumbnails โ they can weigh hundreds of megabytes.
3. Hidden MIUI features for memory cleanup
MIUI has built-in optimization tools that many users don't notice, which allow you to free up space without third-party software.
Lite Mode (Lite Mode)
This mode reduces memory consumption by simplifying the interface and disabling background processes.
- Go to Settings โ Special Opportunities โ Lite Mode.
- Activate the switch.
- Select the apps you want to use the lightweight version for (for example, Facebook Lite instead of the main Facebook).
Savings: up to 300-500 MB by reducing cache and disabling unnecessary animations.
Cleaning up junk files via MIUI Optimizer
MIUI has a hidden deep cleaning tool to run it:
- Open the phone and enter the code ##4636##.
- Select "Battery Information" โ "Optimization".
- Click "Clean up garbage" (can free up to 1 GB).
What happens if you interrupt the cleaning through MIUI Optimizer?
Disabling the pre-loading of annexes
MIUI preloads frequently used applications by default, which eats up memory.
- Go to Settings โ Applications โ Application Management.
- Click on the three dots in the upper right corner โ "Special Access".
- Select "Preloading apps" and disable unnecessary ones.
| MIUI function | Potential savings | Risks. |
|---|---|---|
| Lite mode | 300-500 MB | Simplified interface, less animations |
| MIUI Optimizer (##4636##) | up to 1GB | Can remove the cache of the desired applications |
| Disabling pre-loading | 200-400 MB | Applications will be open longer |
| Clearing the cache through Security | 500 MB-1.5 GB | I'll have to repeat it every week. |
4. Removal of system debris and residual files
Even after the apps are removed, Redmi 9A still has its tails โ folders with data, cache, and settings โ that can be removed manually or with ADB.
Manual cleaning of folders
Open a file manager with root permissions (such as FX File Explorer or Solid Explorer) and check:
- ๐๏ธ /Android/data โ This is where the data of remote applications is stored (folders with names like com.facebook.katana).
- ๐๏ธ /Android/obb โ Game files (can be deleted if games are deleted).
- ๐๏ธ /MIUI/extra โ hidden folder with backup copies (weighs up to) 500 MB).
- ๐๏ธ /data/local/tmp โ Temporary system files (root rights required).
๐ก
The /Android/obb folder can only be cleaned if you delete the game, otherwise you will have to download the game data again.
4.2 Cleaning through ADB (no root)
If you're not afraid of the command line, ADB will help you remove debris that is not available through the interface. Connect your phone to your PC and do:
adb shell pm list packages -f | grep "data/app" | awk -F= '{print $2}' | xargs adb shell pm clearThis command clears the cache of all user applications (does not affect system ones). To clear the cache of a particular application (for example, Facebook):
adb shell pm clear com.facebook.katanaโ ๏ธ Attention: Do not use ADB-commands to clean system applications (e.g. com.android.settings) โ this can cause crashes MIUI.
5.Storage optimization: what can be transferred to a memory card?
The Redmi 9A supports microSD cards up to 512GB, but not all data can be transferred to them.
- ๐ท Photos and videos - transferred through the Gallery โ Select โ More. โ Move it.
- ๐ต Music and podcasts โ in the player settings (for example, Google Play Music) indicate the path to the game. SD-map.
- ๐ฑ Some applications โ only if the developer has provided this function (checked in Settings) โ Annexes โ [name] โ Warehouse).
What you can not transfer to SD:
- โ System applications (Settings, Phone, Messages).
- โ Game data (except individual files in the /Android/obb).
- โ Cache and temporary files.
๐ก
If you use the memory card as internal storage (Adoptable Storage feature), remember: once the SD is removed, the phone will not boot! This mode is only suitable for continuous use of one card.
Radical methods: resetting and flashing
If the memory is so clogged that the phone slows down and standard methods donโt help, there are two options left:
Reset to factory settings
This will delete all data, including accounts, photos and apps.
- Make a backup through Settings โ Additional โ Backup and Reset.
- Copy your photo to your PC or cloud (Google Photos, Mi Cloud).
- Write down logins/passwords from your accounts.
For discharge:
- Go to Settings โ About the phone โ Reset settings.
- Select "Erase all data."
- Confirm the action (a password will be required).
โ ๏ธ Attention: On Redmi 9A If you forget your password, restore it before reset, or you risk losing access to features like Find Device.
6.2 Flashing through Fastboot
If the system is cluttered at the firmware level (for example, after unsuccessful updates), a clean MIUI installation will help.
- Download the official firmware for Redmi 9A (codename dandelion) from Xiaomiโs website.
- Unpack. ZIP-archived in a folder with Mi Flash Tool.
- Connect your phone in Fastboot mode (clip Power + Volume down when the phone is off).
- In the Mi Flash Tool, select "Clean All" and click Flash.
This method will return the phone to the โfactoryโ state, but will require tuning from scratch.
7. How to prevent memory filling in the future
To avoid cleaning your memory every week, follow these rules:
- ๐ Turn off automatic app updates on Google Play (or limit updates to Wi-Fi only).
- ๐ธ Set up an automatic upload to the cloud (Google Photos or Mi Cloud) and delete the originals from your phone.
- ๐๏ธ Set a browser cache limit (in Chrome: Settings) โ Confidentiality โ Clear the data โ Storage settings).
- ๐ต Use lightweight versions of applications (Facebook Lite, Messenger Lite, Twitter Lite).
- ๐ Regularly check your memory through Settings โ Memory. โ Analysis.
Also useful:
- Install Files by Google โ it automatically finds and prompts you to delete unnecessary files.
- Turn off background activity for unnecessary applications in Settings โ Battery โ Application Selection.
- Use SD Maid (requires root) to automatically clean residual files.