Xiaomi smartphones (including the Redmi, POCO and Black Shark lines) by default save all photos and videos received via WhatsApp directly to the system gallery, which leads to chaos in the DCIM folder, duplicate files and quickly fill internal memory.
The problem is compounded by the fact that MIUI (the Xiaomi brand shell) actively scans folders for new media files, and even after removal from the gallery, they can remain in the app cache. In this article, we will discuss all the working ways to disable auto-save โ from the settings of WhatsApp itself to hidden MIUI functions and third-party utilities.
Why WhatsApp is saving photos in the Xiaomi Gallery
The reason lies in two factors: the settings of the messenger and the features MIUI. By default, WhatsApp creates a folder on the internal drive WhatsApp/Media, Xiaomi automatically indexes this folder through the Gallery system app, even if you didn't open it.
Key points:
- ๐ folder WhatsApp/Media It is divided into subfolders: Images, Video, Audio, etc. This is where files get into the gallery.
- ๐ MIUI Updates the media index every time you connect to Wi-Fi or charge, so even old files can suddenly appear in the gallery.
- ๐ฑ On Android 11 smartphones+ and MIUI 12.5+ WhatsApp gets expanded storage rights, making it harder to block auto-save.
It's important to understand that simply deleting files from the gallery doesn't solve the problem: they will remain in the WhatsApp folder and be restored the next time you scan, you need to disable the source, either in the messenger settings or at the system level.
Method 1: Disable autosave in WhatsApp settings
The most obvious method is to use the built-in messenger options. WhatsApp allows you to flexibly adjust the download of media files depending on the type of connection (mobile data, Wi-Fi or roaming).
- Open WhatsApp and tap on it. โฎ (three points) in upper right corner.
- Select Settings โ Warehouse and data.
- Scroll to Automatic Download Media Files and click on it.
- Set the settings for each type of connection: ๐ถ Mobile data: uncheck all file types (photo, audio, video, documents). ๐ก Wi-Fi: Do the same if you donโt want to save files even on your home network. ๐ Roaming: Here autosave is usually disabled by default.
After this, the new media files will not automatically download, but you can download them manually one at a time, but this method does not solve the problem completely: the files received before the change of settings will remain in the gallery, and the folder will remain in the gallery. WhatsApp/Media keep up.
โ๏ธ Checking WhatsApp settings
Method 2: Hide WhatsApp folder from Xiaomi Gallery
If you don't disable WhatsApp autosave, you can hide the media folder from the system gallery, so you need to create an empty.nomedia file in the WhatsApp/Media folder, which signals Android that the contents of the folder don't need to be indexed as media.
Instructions:
- Install any file manager with access to root folders (e.g. Mi File Manager, Solid Explorer, or FX File Explorer).
- Go to /storage/emulated/0/WhatsApp/Media/
- Create a new text file in each subfolder (Images, Video, etc.) and call it.nomedia (with a dot at the beginning!).
- Reboot your smartphone so that the changes take effect.
โ ๏ธ Note: This method does not work on all versions. MIUI. On some devices (for example, Redmi Note 10 Pro with the MIUI 13) the gallery ignores.nomedia and keeps displaying files, in which case try an alternative way to exclude the folder from scanning in the Gallery app settings.
| Method | Advantages | Deficiencies |
|---|---|---|
| Disconnection on WhatsApp | It does not require third-party applications. | Does not delete old files, does not block manual download |
| File.nomedia | Hiding files from the gallery, saving space | It may not work on the new MIUI versions. |
| Exclusion of folder in Gallery | It works even if.nomedia is ignored. | Requires manual configuration for each folder |
Method 3: Set up the Gallery app on Xiaomi
MIUI has a hidden feature that allows you to exclude certain folders from the gallery scanning, which is useful if the.nomedia file didn't work. Here's how to do it:
- Open the Gallery app.
- Tap it on. โฎ (three-point) โ Settings.
- Select Show Hidden Folders (or Manage Folders in New Versions).
- Find the WhatsApp folder and uncheck it. If it's not on the list, click Add and manually specify the path: /storage/emulated/0/WhatsApp/
- Save the changes and restart the gallery.
โ ๏ธ Note: Apps will need permissions to access storage and possibly special features (in Android settings).Do not install utilities from unverified sources - this can lead to data leakage.
Instructions for NoMedia:
- Download the app from Google Play.
- Open it and give access to the files.
- Select the WhatsApp/Media folder and click Create.nomedia.
- Reset the device.
What to do if the app doesnโt see the WhatsApp folder?
Method 5: Cleaning up files already saved
Even after auto-save is turned off, the gallery will still have files that were previously downloaded, which can be deleted manually or using WhatsAppโs built-in tools.
Option 1: Delete via WhatsApp
- Open Settings โ Storage and Data โ Storage Management.
- Sort the files by size or date.
- Select the unnecessary and click Remove (basket icon).
Option 2: Mass cleaning through the file manager
- Go to /storage/emulated/0/WhatsApp/Media/.
- Delete the contents of the Images, Video, Audio folders (but not the folders themselves!).
- Clean the cart (if you use Mi File Manager).
โ ๏ธ Attention: Do not delete the folder WhatsApp/Databases โ It contains backup chats! Also avoid cleaning WhatsApp/Backups, If you use cloud redundancy.
๐ก
Clean your WhatsApp/Media folder regularly โ even disabled autosave doesnโt prevent files from accumulating when you manually upload them.
Why the methods may not work for the new Xiaomi
On Xiaomi smartphones with Android 13/14 and MIUI 14+, the blocking of auto-save has become more complicated due to:
- ๐ New Permits Policy: Google tightens control over app access to storage, WhatsApp can now ignore.nomedia if it has the right to MANAGE_EXTERNAL_STORAGE.
- ๐ Changes in MIUI: In the latest versions of the shell gallery uses its own media scanner, which does not always take into account system settings.
- ๐ค Speared Storage Features: Android 11+ Applications are isolated in their sandboxes, and WhatsApp can save files to secure folders that are not available for.nomedia.
If none of these methods worked:
- Try updating WhatsApp to the latest version โ sometimes bugs are fixed in new releases.
- Check if your Xiaomi has a MIUI beta installed (they often contain experimental media scanning features).
- Use an alternative gallery (like Google Photos or Simple Gallery) that can ignore WhatsApp folders.