Every day, WhatsApp is sending hundreds of photos, like memes from friends, screenshots from colleagues, family photos, but not all of them are needed in your Xiaomi main gallery. Automatic media storage from your messenger clogs memory, creates chaos in the Camera album, and makes it difficult to find the really important photos, especially when WhatsApp saves every screenshot or sticker you get in chat rooms to the gallery.
The problem is compounded on Xiaomiβs MIUI-enclosed smartphones: Here, standard Android settings are often overlaid with proprietary features, and the ways to disable autosave are hidden deeper than in βpureβ Android. In this article, weβll break down all the current ways, from basic settings in WhatsApp itself to hidden MIUI options that work on Redmi Note 12/11/10, POCO X5/F5, Xiaomi 13/14 and others.
Why WhatsApp saves photos to Xiaomi Gallery automatically
The reason lies in two factors: the settings of the messenger itself and the features of the MIUI shell. WhatsApp defaults to create a WhatsApp/Media folder on the phone where all the media files are stored. And the MIUI shell automatically scans all the folders on the device and adds their contents to the gallery - even if you have never opened these files.
Here are the key points that affect autopreservation:
- π WhatsApp Media folder - by default has the status of "visible" for the gallery. MIUI There is no function to ignore specific folders (unlike some other shells).
- π Background synchronization β MIUI Actively scans the file system, especially after restarting or connecting to Wi-Fi.
- π± Version. MIUI β into MIUI 14 and newer, the logic of scanning has changed: now the gallery can ignore the.nomedia file (more on this below).
- π€ Android 13+ β Google tightens file access rules, but Xiaomi is circumventing those restrictions through its services.
Interestingly, on some models (for example, the POCO F4 GT) the problem is solved by simply disabling the option in WhatsApp, and on the Redmi Note 11 Pro+ you have to dig deeper - due to the difference in the versions of MIUI and firmware.
Method 1: Disable auto-save in WhatsApp settings
The most obvious method is to use the messengerβs built-in settings, which works on all versions of WhatsApp (including WhatsApp Business) and does not require root rights. However, there is a caveat: this will disable saving only for new media files.
Instructions:
- Open WhatsApp and tap on three dots in the upper right corner β Settings.
- Go to Chats β Gallery Save (or Chats β Chat Backup β Older Media Versions)
- Uncheck the box opposite Save incoming media.
After that, new photos and videos will no longer automatically appear in the gallery.
- πΈ Screenshots and stickers can still be saved β they are processed by another WhatsApp feature.
- π After updating the messenger, the setting is sometimes reset (especially in beta versions).
- π WhatsApp Media folder will remain on the phone and will take up space.
βοΈ Check after auto-savings are disabled
If this method didnβt work (for example, on the Xiaomi Mi 11 Lite with MIUI 13), move on to the following methods.
Method 2: Create a.nomedia file in a WhatsApp folder
The.nomedia file is a signal for Android that the folder does not need to be scanned for media files.The method works on 90% of Xiaomi devices, but in MIUI 14 it may require additional actions.
Step-by-step:
- Open any file manager (e.g., built-in MI File Manager or Solid Explorer).
- Go to the path of internal memory β WhatsApp β Media.
- Create an empty text file in this folder called.nomedia (a point at the beginning is mandatory!).
- Reboot the phone.
Important:
- π On some models (e.g. Redmi) 10C) The.nomedia file is deleted after WhatsApp updates, and you have to recreate it.
- π If the folder WhatsApp/Media not visible, enable the display of hidden files in the file manager settings.
- π« The method does not work for the photos you send β they will still be saved in the folder. WhatsApp/Media/WhatsApp Images/Sent.
Why.nomedia can't work in MIUI 14
If you still see photos in the gallery after the reboot, try creating.nomedia files in all the folders (WhatsApp Images, WhatsApp Video, etc.).
Method 3: Limiting WhatsApp's access to storage
Android 11+ has a feature that allows you to access folders, and you can prevent WhatsApp from saving files to shared folders, but this method has side effects.
How to restrict access:
- Go to Settings β Applications β Application Management β WhatsApp.
- Slip on the Permits. β Warehouse.
- Choose Not to Allow or Selective Access (if available).
- In the folder list, uncheck WhatsApp/Media and DCIM.
Warnings:
β οΈ Note: WhatsApp will not be able to back up chats to your phone after that, and voice messages and status downloads will stop working.
| Xiaomi model | Support for selective access | Side effects |
|---|---|---|
| Xiaomi 13/14 (MIUI 14) | Yes. | No backup copies are saved |
| Redmi Note 12 (MIUI 13) | Partially. | Voice messages are not working |
| POCO X5 (Android 13) | Yes. | Statuses not updated |
| Redmi 10A (MIUI 12.5) | No. | WhatsApp stops seeing all media |
This is a good way to go if you donβt use phone backups and are willing to put up with restrictions, and for most users, itβs best to combine it with other methods (like.nomedia).
Method 4: Configure MIUI Gallery (Hide WhatsApp folder)
MIUI has a hidden feature that allows you to exclude folders from the gallery scanning, which does not work on all versions, but on MIUI 13/14 it gives a stable result.
Instructions:
- Open the standard gallery (not Google Photos!).
- Slip on three dots in the upper right corner β Settings.
- Select folder management (or hidden folders in older versions).
- Find the WhatsApp folder and uncheck it.
- Confirm the action and restart the phone.
Features of the method:
- π Some firmware has a hidden folder control item. To see it, you may need to reset the gallery settings (Settings) β Annexes β gallery β Warehouse β Clear the data).
- π After major updates MIUI settings may reset.
- π WhatsApp folder will remain on the phone, but its contents will not appear in the gallery.
π‘
If the gallery settings do not have a βFolder Managementβ option, try installing an alternative gallery (such as Simple Gallery or Google Photos) and hiding the WhatsApp folder through its settings.
This method doesnβt affect WhatsApp and doesnβt require root rights, so itβs one of the most secure, but on Android 12 and below devices, it may not work because of system limitations.
Method 5: Using ADB to block access (advanced)
If previous methods have not worked, you can use ADB (Android Debug Bridge) debugging, which is a method for power users, since it requires a computer connection and knowledge of commands.
Step-by-step:
- Turn on the developer mode on your phone: go to Settings β About phone and 7 times tap on the MIUI version.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC, install it. ADB Tools and execute the command: adb shell pm revoke com.android.gallery android.permission.READ_EXTERNAL_STORAGE This team revokes the galleryβs right to read WhatsApp files.
- To refund the rights, use: adb shell pm grant com.android.gallery android.permission.READ_EXTERNAL_STORAGE
Warnings:
β οΈ Warning: Once you complete the command, the gallery will stop seeing all media files, not just the WhatsApp folder, and to regain access, you will have to manually specify permissions for each folder.
Alternatively, block access to the WhatsApp/Media folder:
adb shell "run-as com.whatsapp chmod 700 /sdcard/WhatsApp/Media"This command will change the permissions to access the folder, making it inaccessible to the gallery, but after the WhatsApp update, the rights may be reset.
π‘
ADB-Teams are the most radical method, but it works even on the newest versions. MIUI. Use it if other methods have not helped and you are prepared for possible consequences (for example, a failure in the gallery).
More tips: How to manage media from WhatsApp
In addition to disabling auto-save, there are ways to manage files already saved and optimize space on your phone:
- ποΈ Cleaning WhatsApp folder: Use a file manager to manually remove unnecessary files from your WhatsApp folder WhatsApp/Media. For example, WhatsApp Animated Gifs folder often weighs several gigabytes.
- π Transfer to SD-Map: On some models (Redmi Note 11 Pro)+) You can transfer the WhatsApp folder to the memory card through WhatsApp Settings β Warehouse and data β Change.
- βοΈ Cloud Backups: Enable AutoSave in Google Drive (Whatsapp Settings) β chat β Backups to avoid storing media on your phone.
- π Alternative folders: In some firmware (MIUI EU) You can tell WhatsApp to save media to another folder (for example, Download/WhatsApp), Which is easier to control later.
If you share gallery photos on WhatsApp often but donβt want them to be duplicated, use the βSend without savingβ feature (click the photo in chat β Send as a file) so that the media wonβt get into the WhatsApp Media folder.