How to disable saving photos from WhatsApp to the gallery on Xiaomi: 5 proven ways

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.

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.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/11/10
POCO X5/F5
Xiaomi 13/14
Redmi 9/10
Another model

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:

  1. Open WhatsApp and tap on three dots in the upper right corner β†’ Settings.
  2. Go to Chats β†’ Gallery Save (or Chats β†’ Chat Backup β†’ Older Media Versions)
  3. 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

Done: 0 / 4

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:

  1. Open any file manager (e.g., built-in MI File Manager or Solid Explorer).
  2. Go to the path of internal memory β†’ WhatsApp β†’ Media.
  3. Create an empty text file in this folder called.nomedia (a point at the beginning is mandatory!).
  4. 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
In newer versions of MIUI, the gallery ignores.nomedia for system folders (including WhatsApp), the solution is to use an alternative gallery (like Google Photos) or combine the method with disabling scanning in MIUI settings (see Method 4).

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:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ WhatsApp.
  2. Slip on the Permits. β†’ Warehouse.
  3. Choose Not to Allow or Selective Access (if available).
  4. 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 modelSupport for selective accessSide 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).

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:

  1. Open the standard gallery (not Google Photos!).
  2. Slip on three dots in the upper right corner β†’ Settings.
  3. Select folder management (or hidden folders in older versions).
  4. Find the WhatsApp folder and uncheck it.
  5. 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:

  1. Turn on the developer mode on your phone: go to Settings β†’ About phone and 7 times tap on the MIUI version.
  2. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  3. 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.
  4. 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.

Frequent Questions (FAQ)

After the auto-save shutdown, the stickers stopped coming. How do we fix this?
Stickers and animated images are processed separately from conventional media. To make them work but not saved to the gallery: Enable autosave back in WhatsApp settings. Create.nomedia only in the WhatsApp/Media/WhatsApp Stickers folder. Reboot your phone. So stickers will download but won't get to the gallery.
I turned off the auto-save, but the photos still show up in the gallery every other day.
This is a typical MIUI 13/14 problem. The reason is background gallery synchronization. Solutions: Turn off autosynchronization in gallery settings (Settings β†’ Cloud and Synchronization). Set up an alternative gallery (e.g. Simple Gallery) and set up exceptions in it. Clear the gallery cache (Settings β†’ Apps β†’ Gallery β†’ Storage β†’ Clear cache).
Can auto-save be disabled for certain chats only?
Yes, but not through WhatsApp settings. Use this workaround: Open the desired chat and tap on the interlocutor's avatar. Select Notifications β†’ User Notifications. Turn off Display Notifications β€” this will also block auto-save media from this chat. Minus: you will not see notifications from this contact.
How to return deleted photos from WhatsApp if they are missing from the gallery?
If you have deleted your photos from the gallery, but you still have them in the WhatsApp/Media folder: Open the file manager and go to WhatsApp/Media/WhatsApp Images. Find the photo you want and copy it to the DCIM/Camera folder. Reboot your phone, the photo will appear in the gallery. If the files are removed from the WhatsApp folder, you can only restore them through a backup (Google Drive or local) or programs like DiskDigger (before data is rewritten).
Will.nomedia work on Xiaomi with Android 13?
Most of the Xiaomi devices with Android 13 and MIUI 14.nomedia file is ignored for system folders (including WhatsApp).Solutions: Use an alternative gallery (Google Photos, Simple Gallery). ADB-command to block access (Method 5). Move the WhatsApp folder to SD-card (if supported).