How to Clean Memory on Xiaomi Mi 9: From Cache to Hidden Files

Why Xiaomi Mi 9 is slowing down and how it relates to memory

The Xiaomi Mi 9, released in 2019, is still popular with users thanks to its powerful Snapdragon 855 processor and 6GB of RAM. However, even these features do not save from slowdowns if internal storage is filled with unnecessary files and the application cache is bloated to giant sizes. Typical symptoms: applications open for a long time, the system hangs when switching between tasks, and the settings are lit up with a warning of memory shortage.

The main memory eaters on the Mi 9:

  • ๐Ÿ“ App cache (especially social networks, instant messengers and games)
  • ๐ŸŽฅ Media files from chats (Telegram, WhatsApp, Viber)
  • ๐Ÿ—‘๏ธ Residual files after deleting programs
  • ๐Ÿ”„ Photo duplicates (created when editing or synchronizing with the cloud)
  • ๐Ÿ“ฆ Updates MIUI, which are not automatically removed

This article features unique cleaning techniques that work specifically on the Mi 9 with MIUI 12-14 firmware (including hidden features and commands for power users). Some methods require root rights, but most are available without them.

๐Ÿ“Š How often do you clean your memory on your smartphone?
Once a week.
Once a month
Only when it's slowing down.
Never cleaned.

Method 1: Integrated MIUI cleaning (quickly and without risk)

The safest method is to use the built-in Security โ†’ Cleanup tool, which removes temporary files, cache and residual debris without compromising data. The Mi 9 is more efficient than newer models, thanks to optimization for Android 9-10.

Step-by-step:

  1. Open Settings โ†’ Applications โ†’ Security.
  2. Slip on the Cleanup.
  3. Wait for the analysis (it will take 10-30 seconds).
  4. Click Clean next to categories: ๐Ÿงน Garbage files (remains after uninstallation) ๐Ÿ—ƒ๏ธ Application cache (can be selectively cleared) ๐Ÿ“Ž Large files (video, APK, archive)

Clean up

โ˜‘๏ธ What to do before cleaning

Done: 0 / 4

โš ๏ธ Note: Do not clear the cache for Google Play Services, MIUI System and Android System WebView โ€“ This can cause disruptions to Google services and system applications.

Method 2: Manually cleansing the cache for individual applications

If your smartphone is slowing down because of a particular app (like Instagram or TikTok), itโ€™s better to clear the cache just for it, not for the whole system.

How to do this:

  • ๐Ÿ”ง Go to Settings. โ†’ Annexes โ†’ Application management.
  • ๐Ÿ” In the search bar, enter the name of the problem application.
  • ๐Ÿ“Š Slip it on the vault. โ†’ Clear the cache.
  • ๐Ÿšซ If you need to reset the app settings, click Clear Data (this will delete accounts and saves!).

AnnexAverage cache sizeCan you clean it without consequences?
Facebook500MB - 1.5GBYes (but I'll have to log in again)
Telegram1-3 GB (depending on media)Yes (the chat rooms will be saved, but the media will have to be downloaded again)
Google Chrome200-800 MBYes (delete history and saved passwords)
MIUI Launcher100-300 MBNo (Icon layout may be dropped)

๐Ÿ’ก

Once you clean the Google Play Market cache, manually update it through Settings โ†’ Apps โ†’ Google Play Market โ†’ Update. This will prevent errors when installing new programs.

Method 3: Remove duplicate photos and unnecessary media files

One of the heaviest storage on the Xiaomi Mi 9 is the DCIM folder, which accumulates over time:

  • ๐Ÿ“ธ Duplicate photos (created when editing in Google Photos or Gallery) MIUI)
  • ๐ŸŽฌ Videos from messengers (automatically saved in the WhatsApp/Media or Telegram/Telegram Video)
  • ๐Ÿ“ Screenshots (daddy) Pictures/Screenshots)
  • ๐Ÿ” Cache thumbnails (folder.thumbnails โ€“ can be removed completely)

To search for duplicates, use the applications:

  • ๐Ÿ”น Files by Google (Cleanup tab) โ†’ Duplicate files)
  • ๐Ÿ”น CCleaner (Section Optimization) โ†’ Duplicate)
  • ๐Ÿ”น Gallery Doctor (specialized in photography)

โš ๏ธ Note: Before mass deletion, check the folder MIUI/Extra โ€” There may be screenshots with important information (codes, checks, tickets) that are not duplicated in the main gallery.

How to find hidden folders in MIUI
Enable the display of hidden files in any file manager (e.g., in Mi File Manager: Settings โ†’ Show hidden files). Hidden folders start at.thumbnails,.cache,.data.

Method 4: Clean Memory through Recovery Mode (for experienced)

If the smartphone is slowing down and does not respond to standard methods, cleaning the cache through Recovery mode will help. This method does not delete user data, but resets the system cache, which often solves problems with hanging.

Instructions:

  1. Turn off the Xiaomi Mi 9.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. In the Recovery menu, select Wipe & Reset โ†’ Wipe Cache (control โ€“ volume buttons, confirmation โ€“ power button).
  4. After cleaning, restart through Reboot โ†’ Reboot to System.

๐Ÿ’ก

Cache cleaning in Recovery DOES NOT delete photos, contacts, or apps, but it can reset some system settings (such as region or language).

โš ๏ธ Warning: Do not confuse Wipe Cache with Wipe Data! The second option (hard reset) will completely reset the smartphone to factory settings.

Method 5: Optimization of RAM (RAM)

On the Xiaomi Mi 9 with 6GB of RAM, performance issues are often not due to memory shortages but to RAM leaks due to poorly optimized applications. MIUI has a built-in RAM management tool:

How to enable optimization:

  • ๐Ÿ› ๏ธ Go to Settings. โ†’ The phone.
  • ๐Ÿ”ง Tap 5 times on the version MIUI, activate the developer mode.
  • ๐Ÿ”„ Back to Settings โ†’ Additionally. โ†’ For developers.
  • ๐Ÿ“ˆ Find the Process Limitation option and select the Standard Limitation (this will prevent overloading). RAM background).

Additional tips for RAM release:

  • ๐Ÿšซ Turn off window animation in the developer settings (set the animation scale on the 0.5x or off.).
  • ๐Ÿ”„ Use lightweight versions of apps (e.g. Facebook Lite, Messenger Lite).
  • ๐Ÿ“ต Disable Auto-Run Unnecessary Programs Through Security โ†’ Auto-start.

Method 6: Transfer applications to memory card (if supported)

Xiaomi Mi 9 doesnโ€™t have a microSD slot, but if youโ€™re using it, itโ€™s not a good idea. OTG-You can use a drive or you can plug a flash drive into an adapter, and you can transfer some of the data manually:

  • ๐ŸŽต Music and podcasts
  • ๐Ÿ“š Books and documents
  • ๐ŸŽฎ Some games (such as Minecraft or Stardew Valley) allow you to choose the installation path)

How to transfer files:

  1. Connect. OTG-smartphone-storage.
  2. Open Mi File Manager and find folders with heavy files (such as Music or Download).
  3. Select files, click Move and select OTG-target-driven.
  4. For applications, use Settings โ†’ Apps โ†’ [Title] โ†’ Storage โ†’ Change (not available for all programs).

Method 7: Reset to factory settings (last resort)

If all previous methods failed, then you have hard reset, which is a complete reset of your smartphone, which will remove everything, including apps, photos and settings, so only use it as a last resort.

How to drop Mi 9:

  • ๐Ÿ”„ First, make a backup through Settings. โ†’ Additionally. โ†’ Backup and reset โ†’ Local backup.
  • ๐Ÿ“ฑ Go to Settings. โ†’ The phone. โ†’ Resetting settings.
  • ๐Ÿ” Choose to erase all data and confirm the action.
  • ๐Ÿ”„ After restarting, set up your smartphone as new.

โš ๏ธ Note: On the Mi 9 with the bootloader unlocked, the reset may result in the device being locked (requires re-unlocking via the Mi Unlock Tool).

FAQ: Frequent questions about memory cleaning on Xiaomi Mi 9

Can I clear my memory without losing my photos and contacts?
Yes, all methods except hard reset save user data. For reliability before any cleanup, back up via Settings โ†’ Google โ†’ Backup or manually copy files to your PC.
Why do the applications slow down again after cleaning the cache?
This is due to the automatic cache recovery when you first start the program. To avoid brakes, limit the background activity of the application in Settings โ†’ Applications โ†’ [Title] โ†’ Battery โ†’ Background Limitation.
How do I know which apps are most occupied with memory?
Go to Settings โ†’ Applications โ†’ Storage. This shows a list of programs sorted by place, and pay special attention to applications that are >500 MB in size.
Can I increase memory on Xiaomi Mi 9?
No, internal memory cannot be expanded (no microSD slot) and the only option is to use it. OTG-storage media files or connect your smartphone to cloud services (Google Drive, Mi Cloud).
What if after cleaning the smartphone began to work even worse?
Important system files were probably deleted. Try: Reboot your device. Update MIUI through Settings โ†’ About your phone โ†’ Update your system. If the problem persists, reset to factory settings.