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:
- Select a category (e.g., โPhotoโ).
- Sort by size (โฎ โ Sort by: Size).
- 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).
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:
- Go to Settings โ Applications โ Application Management.
- Find WhatsApp in the list (use search if there are many apps).
- Select Memory โ Clear the cache.
- For deep cleaning, click Clear all data, but note: this will remove all chats and settings (reinstallation equivalent).
| Action. | What's removed | Effects of consequences |
|---|---|---|
| Clearing the cache | Temporary files, thumbnails, authorization data | The app runs slower on first launch, but chats and media are saved |
| Clearing the data | Chats, settings, message history | Complete WhatsApp reset (re-authorization required) |
| Removal of updates | The app version rolls back to factory | New 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:
- Open /WhatsApp/Media/.
- 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:
- 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.
- Duplicates in the MIUI/Gallery/cloud folder โ Xiaomi sometimes creates copies of media files to speed up downloads.
- Cache thumbnails โ folder /MIUI/Gallery/thumbnails can weigh up to 1 GB.
How to delete hidden files:
- Enable the display of hidden files in the file manager (โฎ โ Settings โ Show hidden files).
- Go to /WhatsApp/Media/ and delete the.nomedia file (it will reappear after WhatsApp restarts, but thatโs fine).
- Search /MIUI/Gallery/ for files with the.thumb or.jpg extension and delete them.
- 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:
- Go to Settings โ Applications โ Application Management โ WhatsApp.
- Select AutoRun โ Disable.
- 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:
- Create a backup of chats (see Section 5).
- Remove WhatsApp via Settings โ Apps.
- Delete /WhatsApp/ folder manually (via file manager).
- 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:
- Go to Settings โ About the phone โ Reset settings.
- Select Reset All Settings (not to be confused with Delete All Data!).
- Confirm the action and wait for the reboot.
| Method | What's removed | Time to recover |
|---|---|---|
| Reinstall WhatsApp | Application, cache, settings (chats will be saved when you restore) | 5-10 minutes |
| Resetting MIUI settings | System cache, network settings, application permissions | 15-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).