How to Clean WhatsApp on Xiaomi: From Cache to Hidden Files

WhatsApp messenger on Xiaomi, Redmi or POCO smartphones eventually turns into a real โ€œblack boxโ€: gigabytes of busy photos, low-resolution videos, duplicate stickers and an invisible cache eat up the deviceโ€™s memory, while the standard deletion of chats through the application interface often does not solve the problem โ€“ files remain in hidden folders, and the MIUI system continues to show notifications about the memory shortage.

In this article, we will analyze all the ways to clean WhatsApp on Xiaomi - from basic (delete media files and chats) to advanced (manual cleaning of folders through the file manager, resetting cache through Settings). MIUI We will focus on hidden.nomedia files, which block the display of media in the gallery, but do not delete them from memory. MIUI 12-14 and HyperOS.

1. Basic Cleanup: Delete Chats and Media via WhatsApp

Start with the obvious, the built-in tools of the messenger, which is suitable if you need to free up 1-3 GB of memory without in-depth manipulation.

Open WhatsApp and go to โ‹ฎ (three dots) โ†’ Settings โ†’ Memory and data. Here you will see the Memory Management section, where the app automatically sorts files by size.

  • ๐Ÿ“ธ Photos and videos are typically up to 70% of the memory, and WhatsApp saves even files you haven't explicitly downloaded (e.g., from group chats).
  • ๐ŸŽต Audio and voice - voice messages weigh little, but there can be thousands. Remove unnecessary ones through the "By size" filter โ†’ "More than 5MB."
  • ๐Ÿ“„ Documents โ€” PDF, Excel, and other files often go unnoticed, but weigh tens of megabytes.

For mass removal:

  1. Select a category (e.g., โ€œPhotoโ€).
  2. Sort by size (โ‹ฎ โ†’ Sort by: Size).
  3. Check the unneeded files and click ๐Ÿ—‘๏ธ Delete.

โš ๏ธ Warning: Deleting files via WhatsApp does not clear them from the /WhatsApp/Media/ folder on the internal drive. A file manager will be required to clean them completely (see 3).

๐Ÿ“Š How often do you clear WhatsApp on Xiaomi?
Once a month
Six months
Only when memory ends
Never cleaned.

2. Clear WhatsApp cache via MIUI settings

WhatsApp cache on Xiaomi can take anywhere from 500 MB to 2 GB โ€” temporary files, thumbnails, authorization data and other service items that can be deleted without risk to chat or media.

Instructions:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find WhatsApp in the list (use search if there are many apps).
  3. Select Memory โ†’ Clear the cache.
  4. For deep cleaning, click Clear all data, but note: this will remove all chats and settings (reinstallation equivalent).
Action.What's removedEffects of consequences
Clearing the cacheTemporary files, thumbnails, authorization dataThe app runs slower on first launch, but chats and media are saved
Clearing the dataChats, settings, message historyComplete WhatsApp reset (re-authorization required)
Removal of updatesThe app version rolls back to factoryNew features may be missing, but ~100-300MB is released

If WhatsApp stops again after cleaning the cache, try turning off autoloading media:

  • WhatsApp: Settings โ†’ Memory and data โ†’ Autoload media.
  • Select โ€œNeverโ€ for mobile data and Wi-Fi.
  • Turn on the option โ€œSave in the galleryโ€ โ†’ Off so that new files do not duplicate.

๐Ÿ’ก

After cleaning the cache, restart the smartphone - this will help the MIUI system correctly recalculate free memory.

3. Manually delete WhatsApp files via file manager

The most effective way to free up memory is to manually delete unnecessary files from the /WhatsApp/ folder. Xiaomi will do this with a standard Files or a third-party manager (for example, Solid Explorer).

Path to the folder:

/storage/emulated/0/WhatsApp/

Folder structure:

  • ๐Ÿ“ Databases are chat backups (you can delete, but donโ€™t restore the history when reinstalled).
  • ๐Ÿ“ Media -- all the photos, videos, audio and documents, and it's where the garbage is most often accumulated.
  • ๐Ÿ“„.nomedia is a hidden file that blocks the display of media in the gallery. Deleting it does not free up memory!
  • ๐Ÿ“ Stickers โ€“ Stickers (you can delete everything except the Animated folder if you use animation).

How to clean the Media folder:

  1. Open /WhatsApp/Media/.
  2. Go to the subfolders: WhatsApp Images โ€“ photo; WhatsApp Video โ€“ video; WhatsApp Animated Gifs โ€“ Gifs; WhatsApp Voice Notes โ€“ voice messages; WhatsApp Documents โ€“ documents.

Delete unnecessary files (you can sort by date or size).

โš ๏ธ Warning: Do not delete the entire WhatsApp folder, it will cause the messenger to crash. Also do not touch files with the extension.crypt12 or.crypt14 are encrypted backups.

Make a backup of chats in Google Drive|Check the free space on the device|Close WhatsApp in Multitasking|Disable autosynchronization of media-->

4. Hidden files and.nomedia folder: why media is not deleted

Many Xiaomi users face a problem: once files are deleted via WhatsApp or file manager, memory is not released, due to hidden files and the mechanism of MIUI working with media.

The causes of โ€œinvisibleโ€ garbage:

  1. The.nomedia file blocks the WhatsApp folder from being scanned by the system gallery, but it doesn't delete the files themselves. They stay on the disk and take up space.
  2. Duplicates in the MIUI/Gallery/cloud folder โ€“ Xiaomi sometimes creates copies of media files to speed up downloads.
  3. Cache thumbnails โ€“ folder /MIUI/Gallery/thumbnails can weigh up to 1 GB.

How to delete hidden files:

  1. Enable the display of hidden files in the file manager (โ‹ฎ โ†’ Settings โ†’ Show hidden files).
  2. Go to /WhatsApp/Media/ and delete the.nomedia file (it will reappear after WhatsApp restarts, but thatโ€™s fine).
  3. Search /MIUI/Gallery/ for files with the.thumb or.jpg extension and delete them.
  4. Restore Chats: Open WhatsApp again and log in via SMS. During the recovery phase, select a backup from Google Drive.

This method helps in cases of:

  • ๐Ÿ”„ WhatsApp is constantly restarted.
  • ๐Ÿ“ฑ No notifications are received;
  • ๐Ÿ“Ž Files are not downloaded (the โ€œfailure to downloadโ€ error)
  • ๐Ÿ”’ Hanging on the boot screen.

๐Ÿ’ก

WhatsApp data reset does not delete media files from the /WhatsApp/Media/ folder, but resets all settings (themes, notifications, account binding).

6.Alternative methods: Background activity shutdown and MIUI Optimization

On Xiaomi smartphones, WhatsApp can consume memory and battery even in the background to limit its activity:

Autostart shutdown:

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ WhatsApp.
  2. Select AutoRun โ†’ Disable.
  3. In the Permissions section, turn off AutoRun in the background.

Limiting battery consumption:

  • In Settings โ†’ Battery and Performance โ†’ Battery Consumption Management.
  • Find WhatsApp and select โ€œLimit background activityโ€.

Disable MIUI Optimization (for experienced users):

MIUI Optimization sometimes conflicts with WhatsApp, causing lags or notification issues to turn it off:

1. Enable Developer Mode: Settings โ†’ About Phone โ†’ MIUI Version (click 7 times).


2. Return to Settings โ†’ Additional โ†’ For developers.




3. Find the option "MIUI Optimization" and turn it off.




4. Reboot the smartphone.

โš ๏ธ Warning: Disabling MIUI Optimization may cause some system functions (e.g. gestures or animations) to function in an unstable manner.

7.Extreme measures: reinstalling WhatsApp and resetting MIUI

If none of the methods worked, radical steps remain: completely reinstalling WhatsApp or resetting MIUI settings.

Reinstall WhatsApp:

  1. Create a backup of chats (see Section 5).
  2. Remove WhatsApp via Settings โ†’ Apps.
  3. Delete /WhatsApp/ folder manually (via file manager).
  4. Install WhatsApp from Google Play and restore chats.

Reset MIUI settings (without data loss):

This method cleans the system cache and temporary files without affecting user data:

  1. Go to Settings โ†’ About the phone โ†’ Reset settings.
  2. Select Reset All Settings (not to be confused with Delete All Data!).
  3. Confirm the action and wait for the reboot.
MethodWhat's removedTime to recover
Reinstall WhatsAppApplication, cache, settings (chats will be saved when you restore)5-10 minutes
Resetting MIUI settingsSystem cache, network settings, application permissions15-20 minutes (set up notifications, permissions, etc.)
Full Reset (delete all data)All contents of the smartphone (photos, apps, accounts)1-2 hours (full device setup)

๐Ÿ’ก

Before resetting MIUI, write down or take pictures of important settings (e.g., APN settings for mobile internet).

FAQ: Frequent questions about cleaning WhatsApp on Xiaomi

๐Ÿ”น Why is memory not freed after files are deleted via WhatsApp?
When you delete media through the WhatsApp interface, files remain in the /WhatsApp/Media/ folder and are simply labeled as โ€œhiddenโ€ (thanks to the.nomedia file). To free up space completely, delete files manually through the file manager.
๐Ÿ”น Can WhatsApp be cleaned without losing chats?
Yes. Cache cleaning (Settings โ†’ Apps โ†’ WhatsApp โ†’ Memory โ†’ Clear cache) does not affect chats, and you can manually delete media files from the /WhatsApp/Media/ folder, leaving a message history.
๐Ÿ”น How to turn off WhatsApp photos autoload on Xiaomi?
Go to WhatsApp โ†’ โ‹ฎ โ†’ Settings โ†’ Memory and data โ†’ Media Autoupload. For each type of network (mobile data, Wi-Fi, roaming) select Never or Photo Only.
๐Ÿ”น Why is WhatsApp not showing notifications on Xiaomi?
The problem most often involves optimizing the MIUI battery. Open Settings โ†’ Applications โ†’ Application Management โ†’ WhatsApp โ†’ Battery โ†’ No restrictions. Enable AutoRun and Secondary Start. Reboot your smartphone.
๐Ÿ”น How to transfer WhatsApp chats from one Xiaomi to another?
Transfer methods: ๐Ÿ“ฑ Local: Copy the /WhatsApp/ folder (including Databases) to a new phone and install WhatsApp with the same number. โ˜๏ธ Google Drive: Back up in the cloud on an old phone, then restore it to a new one. ๐Ÿ’ป Through PC: Connect both phones to your computer and manually transfer files. Important: The WhatsApp versions on both devices should match (or differ slightly).