You opened up storage on your Xiaomi and found that WhatsApp takes up gigabytes of memory โ even if you haven't saved photos or videos from chats in a long time. In the messenger folder, there are mysterious files with extensions.db,.crypt14,.nomedia, and in the phone settings there is a notification about "app data." What are these files? Can they be deleted without losing correspondence? And why WhatsApp is so actively "clogging" the memory of Redmi, POCO or Mi smartphones?
In this article, we will discuss in detail:
- ๐ What types of files are created by WhatsApp on Xiaomi and where they are stored (including hidden folders).
- โ๏ธ What happens if you delete your cache, database, or media files โ step-by-step consequences.
- ๐งน How to Clean Memory of Unnecessary WhatsApp Data Without Losing Chats.
- โก Specifics MIUI: Why WhatsApp behaves differently on Xiaomi than on pure Android.
Spoiler: Deleting database files (msgstore.db.crypt14) without backup is absolutely impossible, it will lead to the loss of all correspondence, including archive chats. But there are ways to reduce the amount of memory occupied by 50-70% without risk!
1 What data files are created by WhatsApp on Xiaomi and why they are needed
WhatsApp on Xiaomi (as well as other Android devices) stores data in two main locations:
- Application folder (/storage/emulated/0/WhatsApp/) โ here are media files, backups and service data.
- Android internal storage (/data/data/com.whatsapp/) โ this store stores the cache, settings and current message base.
Letโs take a look at each type of file in detail:
| File type | Extension/name | Where it's stored | Can I remove it? |
|---|---|---|---|
| Communications database | msgstore.db.crypt14 | /WhatsApp/Databases/ | โ No (will result in loss of chats) |
| Backup copies | msgstore-YYYY-MM-DD.1.db.crypt14 | /WhatsApp/Databases/ | โ ๏ธ Partially (you can remove old ones) |
| Media files | .jpg,.mp4,.opus, etc. | /WhatsApp/Media/ | โ Yes (but check your auto-save settings) |
| Cash app. | Folder cache | /data/data/com.whatsapp/cache/ | โ Yes (cleansed without consequences) |
| .nomedia files | .nomedia | In all WhatsApp folders | โ No (hiding gallery media) |
Xiaomi Feature: Due to Optimizations MIUI WhatsApp files can be duplicated in the folder MIUI/Extra or MIUI/Backup. This is not a mistake โ the system reserves data for quick recovery after reset.
2.Why WhatsApp is taking up so much space on Xiaomi
On Redmi Note 10 Pro, POCO X3 or Mi 11 smartphones, WhatsApp can eat up 5-15GB of storage - even if you don't manually save media.
- ๐ธ Automatic Media Saving: WhatsApp downloads all photos and videos from chat rooms to folder by default /WhatsApp/Media/. Nana MIUI This is compounded by the fact that the system can create miniatures for the gallery.
- ๐๏ธ Local backups: WhatsApp backs up the messaging database every night. Old copies are not automatically deleted.
- ๐ Duplication of files: due to the features MIUI Media files can be stored in the WhatsApp folder and in the DCIM/.thumbnails.
- ๐ต Voice Messages:.opus files take up little space, but if you listen to audio in chats often, they accumulate.
For example, on the Xiaomi Mi 10T with 128 GB of memory, the user may not notice how WhatsApp will take 8-10 GB in six months of active use โ especially if it consists of several group chats with media exchange.
๐ก
To check exactly how much space WhatsApp takes up, go to Settings โ Apps โ App Management โ WhatsApp โ Memory. There you will see a breakdown by category: cache, data, media.
3.What happens if you delete WhatsApp files: the consequences for each type
Not all WhatsApp files can be deleted without risk, but this is what happens when you clean up different types of data.
๐ซ It cannot be deleted (will result in data loss):
- ๐ msgstore.db.crypt14 โ current message database. = Loss of all chats (including archives).
- ๐ folder /data/data/com.whatsapp/ โ Application internal data. Cleaning through Settings โ Memory. โ Clearing the data will reset WhatsApp to a state of โlike after installationยป.
โ ๏ธ You can remove with caution:
- ๐๏ธ Old backups (msgstore-YYYY-MM-DD.1.db.crypt14) โ You can remove everything except the freshest.
- ๐ผ๏ธ Media files from /WhatsApp/Media/ โ Check if you have any important photos/videos.
โ Safe to remove:
- ๐งน Application cache (via Settings) โ Memory. โ Clear the cache).
- ๐๏ธ folder /WhatsApp/.Shared/ โ Temporary files are stored here for transfer between devices.
What to do if you accidentally delete msgstore.db.crypt14?
โ ๏ธ Attention, Xiaomi with MIUI 12โ14 When clearing WhatsApp data through system settings, a permission reset for the folder may occur /WhatsApp/. After that, the messenger will stop seeing old media files, although they will physically remain on the device.
4.How to properly clean WhatsApp files on Xiaomi without losing chats
To make room without losing correspondence, follow this algorithm:
Create a backup of chats in Google Drive|Remove old local backups from /WhatsApp/Databases/|Clear the cache through Android settings|Check the folder. /WhatsApp/Media/ file-in-the-box|Disable auto-save media in WhatsApp settings-->
Step 1. Create a backup copy
Before any manipulation of the files:
- Open WhatsApp. โ โฎ โ Settings โ chat โ Backup.
- Click Create a copy (locally) or Save to Google Drive.
- Wait for the process to be completed (on Xiaomi with MIUI, it may take longer due to background constraints).
Step 2: Delete unnecessary files
Use the MIUI or Total Commander file manager:
- ๐๏ธ Delete all files in /WhatsApp/Databases/, except for the freshest backup and msgstore.db.crypt14.
- ๐ In a file. /WhatsApp/Media/ Check the subfolders: WhatsApp Images/ โ Photos; WhatsApp Video/ โ Video: WhatsApp Animated Gifs/ โ GIFS; WhatsApp Voice Notes/ โ voicemail.
Step 3: Clear the cache and data (optional)
If WhatsApp is slowing down:
- Go to Settings โ Applications โ Application Management โ WhatsApp.
- Click Clear the cache (it is safe).
- Donโt click โClear Dataโ โ it will delete all settings and chats!
๐ก
On Xiaomi with MIUI 13+, after clearing the cache, WhatsApp can request permission to access the download folder.
5. Xiaomi specifics: why WhatsApp behaves differently than on other Android
On Xiaomi smartphones, WhatsApp can take up more space and work unstable due to the features of MIUI:
- ๐ Limitations of background activity: MIUI aggressively closes apps in the background, which may cause WhatsApp to fail to back up or download media.
- ๐ Duplication of files: the system creates thumbnails for the gallery even from the folder /WhatsApp/Media/, place-up.
- ๐ Auto-cleaning: in MIUI There is a โBulk Cleanupโ feature that can remove WhatsApp cache without warning.
- ๐ฑ Memory Sharing: Some models (e.g. Redmi Note 9 Pro) divide internal memory into โsystemโ and โuserโ memory, making it difficult to manage files.
Decisions:
- ๐ง Turn off battery optimization for WhatsApp: Settings โ Annexes โ Application management โ WhatsApp โ Battery โ No restrictions.
- ๐ Delete the folder. /WhatsApp/ Automatic cleaning: Safety โ Cleanup โ Settings โ Exceptions.
โ ๏ธ Attention, Xiaomi with MIUI 14 and newer when transferring WhatsApp to a memory card (Settings) โ Memory. โ Default storage) may have problems accessing files after rebooting.We recommend storing the messenger in internal memory.
6.How to prevent the accumulation of unnecessary files in the future
To prevent WhatsApp from eating up memory on your Xiaomi, set it up correctly:
โ๏ธ Settings inside WhatsApp:
- ๐ฅ Turn off auto-save media: Open WhatsApp โ โฎ โ Settings โ Data and storage. Select When saving incoming media โ Never.
- Go to Settings โ Chat โ Backup โ Local Backup.
- Choose weekly instead of daily.
After these settings, WhatsApp will take up 30-50% less space, and backups will not accumulate uncontrollably.