Memory Cleanup on Xiaomi Redmi 9: A Complete Guide with Hidden Chips MIUI

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.

๐Ÿ“Š How often do you clean your memory on Xiaomi?
Once a week.
Once a month
Only when the phone starts to brake
Never clean.

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:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Sort apps by cache size (click on three dots) โ†’ "Sorting โ†’ By cache size").
  3. 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).

folderWayWhat can be removedRisks.
Download/storage/emulated/0/DownloadOld APKs, archives, documentsLow (unless you delete important files)
DCIM/.thumbnails/storage/emulated/0/DCIM/.thumbnailsPhoto and video miniaturesMedium (miniatures will recover, but the gallery will be rebuilt longer)
Android/obb/storage/emulated/0/Android/obbGame files you don't useHigh (Delete the game files โ€“ it will stop working)
MIUI/backup/storage/emulated/0/MIUI/backupOld backupsLow (unless you plan to restore)
Tencent/MicroMsg/storage/emulated/0/Tencent/MicroMsgMedia 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:

  1. Open Mi File Manager (or any other root-enabled explorer, if any).
  2. Go to /storage/emulated/0.
  3. Select unnecessary files and click "Delete".
  4. 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:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone and click on MIUI Version 7 times.
  2. Back to Settings โ†’ Additionally. โ†’ For developers.
  3. 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):

  1. Open the Phone app and enter the code ##4636##.
  2. Select "Battery Information" (yes, it's weird, but it works).
  3. Click on the three dots in the upper right corner and select "Memory Optimization".
  4. 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
1. Go to Settings. โ†’ Annexes โ†’ Application management โ†’ Google Play Services. 2. Press "Storage" โ†’ "Management of space" โ†’ "Clear all data". 3. Important: After that, disconnect the phone from the Internet 5-10 minutes so that the system does not immediately start synchronizing the data again. 4. Reboot the phone. This method frees up to 500 MB and eliminates the lag in the work of Google services, but may temporarily disrupt the work of push notifications (they will recover through the service). 10-15 minute).

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):

  1. Put the memory card in.
  2. Go to Settings โ†’ Storage โ†’ SD card.
  3. Select "Settings" (three dots) โ†’ "Storage settings" โ†’ "Formatting as an internal".
  4. Note: After that, the map will not be read on other devices without formatting!
  5. After formatting, select โ€œMove Data Nowโ€.

Method 2: Manual transfer of applications (without map formatting):

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want to transfer.
  3. Click on "Storage" โ†’ "Change" โ†’ select the SD card.
  4. 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:

  1. Put the debugging on. USB: Settings โ†’ The phone. โ†’ Version. MIUI (7 times) โ†’ Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB.
  2. Connect your phone to your computer and confirm your trust in the device.
  3. Open the command prompt (or Terminal on macOS/Linux) and type:
adb devices

Make 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 1000000000

This 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 20

This 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:

  1. Create a backup (via Mi Cloud or computer).
  2. Go to Settings โ†’ About the phone โ†’ Reset settings.
  3. 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.

FAQ: Answers to Frequent Questions

Can I clean up the memory on Redmi 9 without losing data?
Yes, most of the methods in this article (cleaning the cache, deleting unnecessary files, transferring to a memory card) do not affect personal data. ADB Or reset your settings. For security, copy the folders. DCIM (Photos, Downloads (downloads) and WhatsApp/Media (Media from messengers) to the computer.
Why does the phone stop after cleaning the memory?
There could be several reasons: ๐Ÿ”‹ Memory fragmentation: even if there is space, files are scattered across different sectors, helps reboot or reset. ๐Ÿงน Background processes: some applications (e.g. Facebook or Facebook) MIUI Optimizer) is constantly consuming resources. โ†’ Battery โ†’ Battery utilization. ๐Ÿ› ๏ธ Firmware problems: if the brakes appeared after the update MIUI, Try to roll back to the previous version. Also check the status of the internal drive through the application. AIDA64 (If the Health score is below 90%, memory may be worn out (especially for eMMC models, not for eMMC models). UFS).
How to clear your memory if your phone is not switched on?
If Redmi 9 does not boot, but responds to charging (light indicator), try: Clip Power + Volume Up to log in to Recovery Mode. Select Wipe & Reset โ†’ If it doesn't work, choose Wipe Data (full reset, delete everything!) If the phone doesn't respond at all, plug it into your computer and try flashing it through Fastboot: fastboot flash system. system.img fastboot flash boot boot.img You will need an official firmware for Redmi. 9 (You can download it from the Xiaomi website or 4PDA).
Which apps are best not to remove from Redmi 9?
Some system applications MIUI They're critical to the operation of the phone, and their removal can lead to: ๐Ÿ“ต Network loss (com.android.phone). ๐Ÿ”• No sound (com.android.media). ๐Ÿ”‹ Quick battery discharge (com.miui.powerkeeper). ๐Ÿ“ท Broken Camera (com.android.camera) Complete list of safe to remove applications for Redmi 9: ๐ŸŽต com.miui.player (Music). ๐Ÿ“บ com.miui.videoplayer (Videoplayer). ๐Ÿ“ฐ com.miui.notes (Notes). ๐ŸŒ com.miui.browser (Browser) MIUI). ๐Ÿ›’ com.xiaomi.shop (Xiaomi Store).To remove system applications without root, use ADB: adb shell pm uninstall -k --user 0 com.miui.player
How much memory should be free for the Redmi 9 to function properly?
Minimum recommendations: ๐Ÿ“ฑ 10-15% from the total: 64 GB. ~6-10 GB, for 128 GB โ€” ~12-20 GB. ๐Ÿ”„ 5 GB for updates: MIUI requires free space for download and installation OTA-packet. ๐ŸŽฎ 3-5 GB for gaming: Modern games (Genshin Impact, Call of Duty Mobile) require free cache space. 5 GB, the phone's gonna start: ๐Ÿข Brake.