Xiaomi Redmi 9 is one of the most popular budget smartphones, but even its 64 or 128GB of memory is eventually clogged with unnecessary files. Slowdowns, lags when opening apps and sudden notifications of space shortages are familiar stories? In this article, we will discuss all possible ways to clean up memory, including little-known functions. MIUI, which work without root rights.
It's important to understand that the problem is not just the amount of free space, but the fragmentation of data. 10-15 GB free, the phone can slow down because of how the system distributes files from memory. MIUI Clean the cache of system applications (this is often missed in standard instructions) and which files can be safely deleted without risking the operation of the phone.
This article is suitable for all Redmi modifications. 9: Redmi 9A, Redmi 9C, Redmi 9T redmi 9 Most of the methods are relevant for other Xiaomi smartphones based on the MIUI 12/13/14, But with the specifics of this particular model, like working with a partition. /data/app on a MediaTek Helio processor G80/G35.
1. Built-in tools MIUI: What's really working?
Letโs start with the obvious โ standard cleaning functions in the MIUI. Many users limit themselves to clicking the "Clean" button on the memory menu, but that only removes the tip of the iceberg, and let's see which tools are really effective and which ones can be skipped.
Main path: Settings โ The phone. โ Memory. Here you'll see a diagram of occupied space and a clear button. But here's a caveat: the default system only shows user data, hiding system debris. To see the full picture, click on the three dots in the top right corner and select "Deep Cleanup".
- ๐ฑ Quick Cleanup: Deletes app cache and temporary files.Secure, but frees everything 1-3 GB.
- ๐๏ธ Deep Cleanup: Analyzes duplicates, large files and unused files APK. Maybe I can find it. 5-7 GB of garbage.
- ๐ Manual mode: allows you to choose which files to delete (for example, leave the cache of messengers, but clean games).
Pay special attention to the "Recommendations" section. MIUI It suggests removing rarely used apps or transferring files to a memory card, but not all tips are helpful: for example, the system may recommend removing the cache of Google Play Services, which will lead to problems with app updates.
โ ๏ธ Warning: Do not cache system applications like com.android.systemui or com.miui.home through standard settings. MIUI (Disappearance of icons, errors when unlocking. Use the methods in section 4 to clean them.
2. Cleaning the cache of applications: what can be deleted and what can not
The app cache is the main memory eater on Redmi 9, and it takes 3 to 10 GB on average, but it can't be safely deleted, like the Telegram cache or WhatsApp cache, which contains media files that you'll have to download again when you delete it, and the game cache is like, PUBG Mobile or Genshin Impact can weigh a few gigabytes, but cleaning it will lead to a long boot on the next launch.
How to clean the cache correctly:
- Go to Settings โ Applications โ Application Management.
- Sort apps by cache size (click on three dots) โ "Sorting โ By cache size").
- Select the app and click "Clear Cache." Don't click "Clear Data" - it will delete all settings and accounts!
Especially a lot of garbage accumulates:
- ๐ฎ Free Fire, Call of Duty Mobile, Honor of Kings (cash to video) 2-4 GB).
- ๐ท Social networks: TikTok, Instagram, Facebook (cache to) 1-2 GB).
- ๐ Maps: Google Maps, Yandex.Maps (offline card cache can weigh up to 500 MB).
- ๐บ Streaming services: YouTube, Netflix (video cache up to 1 GB).
โ ๏ธ Warning: If the app starts to slow down after cleaning the cache (for example, Facebook or Facebook) VK), It means it's actively using the cache to speed things up. 200-300 MB cache for this application.
Remove the cache of games you donโt use|Clean the cache of social networks (except messengers)|Check the size of the cache of maps and navigators|Delete the cache of streaming services (if you watch online, not download)
-->
3. manually removing unnecessary files: where to look for garbage
Even after cleaning the cache, Redmi 9 still has a lot of unnecessary files that the system doesn't delete automatically, and can be found manually through a conductor (standard or Mi File Manager).
| folder | Way | What can be removed | Risks. |
|---|---|---|---|
| Download | /storage/emulated/0/Download | Old APKs, archives, documents | Low (unless you delete important files) |
| DCIM/.thumbnails | /storage/emulated/0/DCIM/.thumbnails | Photo and video miniatures | Medium (miniatures will recover, but the gallery will be rebuilt longer) |
| Android/obb | /storage/emulated/0/Android/obb | Game files you don't use | High (Delete the game files โ it will stop working) |
| MIUI/backup | /storage/emulated/0/MIUI/backup | Old backups | Low (unless you plan to restore) |
| Tencent/MicroMsg | /storage/emulated/0/Tencent/MicroMsg | Media files from WeChat (if you don't use it) | Medium (I will have to re-download) |
Pay special attention to the folder /Android/data. This is where the application data is stored, and many of it can be deleted without consequences:
- ๐๏ธ Remote application folders (e.g. com.tencent.ig) are PUBG Mobile, if you have uninstalled it).
- ๐ต Folders of music services (com.spotify.music, en.yandex.music) if you do not download music offline.
- ๐ฆ Cloud storage folders (com.dropbox.android, com.google.android.apps.docs) if you don't use offline access.
How to securely delete files:
- Open Mi File Manager (or any other root-enabled explorer, if any).
- Go to /storage/emulated/0.
- Select unnecessary files and click "Delete".
- If you see a warning about system files, do not delete them!
๐ก
Before you manually delete files, back up important data. For example, copy a folder. DCIM/Camera It's going to take a computer or a cloud. 5 It will save your photos in case of accidental deletion.
4. Hidden functions MIUI memory-cleaning
MIUI It hides a few useful tools that you can't see in the standard menu, and you can activate them through developer mode or special combinations.
The most effective method is to clean the Dalvik cache, which is a system cache that MIUI It does not touch during standard cleaning, but it can take up to 1-2 GB to remove it:
- Activate Developer Mode: Go to Settings โ About Phone and click on MIUI Version 7 times.
- Back to Settings โ Additionally. โ For developers.
- Find the option โClear Dalvik cacheโ and confirm the action.
Another hidden feature is optimizing memory through an engineering menu, which only works on MediaTek processors (like Redmi 9):
- Open the Phone app and enter the code ##4636##.
- Select "Battery Information" (yes, it's weird, but it works).
- Click on the three dots in the upper right corner and select "Memory Optimization".
- Wait until the process is completed (it can take 5-10 minutes).
Also in MIUI There is a hidden partition to clean system logs that take hundreds of megabytes:
- ๐ Logs of error: /data/log (Root rights are required for access).
- ๐ก Logs of the network: /data/misc/net (can be cleaned through ADB).
- ๐ Logs of updates: /cache/recovery (Remove it if you are not planning to roll back the firmware).
โ ๏ธ Note: Do not delete files in folders /system or /vendor โ Even with root rights, be careful: deleting the wrong files can disrupt the camera, network or sensors.
How to Clean Google Play Services Cache Without Consequences
5. Data transfer to memory card: how to do it correctly
Redmi 9 supports memory cards up to 512 GB, but many users face a problem: the system does not allow you to transfer all applications to the memory card. SD. Even if you put a map in, MIUI The default is to use it only for media files. How to get around this restriction?
Method 1: Formatting a card as internal memory (recommended for class cards) A1/A2):
- Put the memory card in.
- Go to Settings โ Storage โ SD card.
- Select "Settings" (three dots) โ "Storage settings" โ "Formatting as an internal".
- Note: After that, the map will not be read on other devices without formatting!
- After formatting, select โMove Data Nowโ.
Method 2: Manual transfer of applications (without map formatting):
- Go to Settings โ Applications โ Application Management.
- Select the application you want to transfer.
- Click on "Storage" โ "Change" โ select the SD card.
- Confirm the transfer. Not all applications support this feature!
What applications can not be transferred to the map:
- ๐ Widgets (will stop working).
- ๐ฑ System applications (MIUI Launcher, Settings, etc.).
- ๐ฎ Games with high demands (Genshin Impact, Call of Duty Mobile).
- ๐ Annexes with DRM-Protection (Netflix, Disney)+).
How to speed up the memory card:
- Use class cards A2 (For example, SanDisk Extreme A2 Samsung EVO Plus A2).
- Format the card in exFAT (if you use it as a removable drive) or EXT4 (if only an internal memory).
- Donโt fill up more than 80% of the card, which reduces the speed of the recording.
๐ก
Formatting the card as internal memory increases the speed of applications on the 20-30%, But it's tied to this phone, and if you change devices a lot, you better use the card as a removable drive and only transfer media files.
6. Cleaning through ADB: for advanced users
If standard methods do not help, you can use them. ADB (Android Debug Bridge is a debugging tool that allows you to delete files that are not available through a regular interface. This method requires a computer and a little technical skills, but can free up the computer. 2-3 GB of additional space.
What you need:
- ๐ฅ๏ธ Computer with Windows/Linux/macOS.
- ๐ Cable USB (preferably original).
- ๐ฅ Installed drivers ADB Fastboot (you can download from the Android Developers website).
- ๐ฑ Initiated debugging mode USB phone-on.
Step-by-step:
- Put the debugging on. USB: Settings โ The phone. โ Version. MIUI (7 times) โ Settings โ Additionally. โ For developers โ Debugging by USB.
- Connect your phone to your computer and confirm your trust in the device.
- Open the command prompt (or Terminal on macOS/Linux) and type:
adb devicesMake sure your Redmi 9 is on the list.
Now you can delete unnecessary files, for example, to clear the cache of all applications:
adb shell pm trim-caches 1000000000This command removes cache that exceeds 1 GB (value in bytes).
To delete temporary update files:
adb shell rm -rf /data/local/tmp/*
adb shell rm -rf /cache/*To clean the logs:
adb shell rm -rf /data/log/*
adb shell rm -rf /data/tombstones/*โ ๏ธ Note: Do not follow the commands adb shell rm -rf /data/ or adb shell rm -rf /system/ โ It will erase all data completely or make your phone blink.
If you are not sure about your actions, use a more secure method โ viewing large files through the Internet. ADB:
adb shell du -ah /data | sort -rh | head -n 20This team will show 20 Largest files and folders in the section /data. This way you can see exactly what is taking up space and make a decision to remove it.
๐ก
Before work, ADB Create a full backup through adb backup or Mi Cloud. -apk -obb -shared -all -f backup.ab. This will save all applications, their data and media files in one archive.
7. Alternative methods: from reset to cloud services
If none of these methods worked, and the memory is still clogged, there are radical or alternative methods, and let's look at the pros and cons.
1.Reset to factory settings
- โ Frees up all memory, returning the phone to the โout of the boxโ state".
- โ Deletes all data, including photos, messages and apps.
- โ ๏ธ After a reset, Redmi 9 may run faster, but the first day will be re-indexed files, which can cause lags.
How to reset:
- Create a backup (via Mi Cloud or computer).
- Go to Settings โ About the phone โ Reset settings.
- Select "Erase all data" and confirm.
2. Use of cloud services
If the problem isn't space shortage but file fragmentation, moving some of the data to the cloud can help.The best options for Redmi 9 are:
- ๐ฅ๏ธ Google Photos: Automatically uploads photos and videos in original quality (up to 15 GB free).
- โ๏ธ Mi Cloud: 5GB free, but synced only with your Xiaomi account.
- ๐ Dropbox or Mega: Easy for documents and backups.
Installation of custom firmware
This is an extreme method, but some custom firmware (like LineageOS or Pixel Experience) is better optimized than standard firmware. MIUI. They take up less space and don't clog up memory with unnecessary system applications:
- โ ๏ธ Requires unlocking the bootloader, which resets all data.
- โ ๏ธ It may disrupt some functions, for example, IR-blaster NFC firmware).
- โ Releases until 3-5 GB by removing the Blaatware (Xiaomi preinstalles many unnecessary applications).
4. Connecting an external drive over OTG
If you need to temporarily free up space (for example, to update firmware), you can connect a flash drive or external hard drive through the OTG-adapter. Redmi 9 supports USB OTG, So you can:
- Transfer photos and videos to the flash drive.
- Install applications directly to the external drive (via ADB).
- Use the flash drive as temporary storage for large files.
๐ก
Resetting to factory settings is not just a memory cleanup, it's a complete reboot. 9 It will work faster, but the first 1-2 Days are possible to slow down due to background optimization MIUI. Donโt reset before important events (such as a trip) when your phone should be running smoothly.