Every day, millions of photos are passed through WhatsApp from funny memes to important documents. But not all of these files should be stored in the smartphoneโs memory. Automatic saving of images from chats clogs up your gallery, takes up precious gigabytes and creates chaos in your personal photos. This is especially annoying when WhatsApp saves pictures to the gallery without asking even those that you just viewed or received in a mass mailing.
The problem is aggravated by the fact that Android by default it indexes all media files from the messenger folders, putting them on public display in standard applications like Google Photos or Samsung Gallery. Fortunately, there are several ways to fix this - from basic settings in WhatsApp to fine-tuning the file system. In this article we will analyze all the current methods, including those that work even on old versions Android (up to 10th inclusive) and new ones (13+).
Important: Some solutions require administrator rights or access to hidden folders. If you are unsure of what you should do, first back up your important data. Now let's move on to practice.
1. Disabling autosave in WhatsApp settings
The most obvious and safest way is to use the built-in messenger options. WhatsApp allows you to flexibly configure the saving of media files both for all chats and selectively. Here's how to do it:
- Open WhatsApp and tap on three dots in the upper right corner.
- Go to
Settings โ Chat โ Save to gallery. - Disable the slider next to the item
Save incoming media.
This option blocks automatic saving all new photos, videos and GIFs. However, previously downloaded files will remain in the device memory. To clear them, you will have to manually delete the folder WhatsApp/Media through the file manager.
If you want to save media files only from certain chats, long-press a message with a photo โ click on the three dots โ select Do not save to gallery. This will only work for a specific file.
Please note: on some firmware (for example, MIUI from Xiaomi or ColorOS from Oppo) the path The settings may vary slightly. If you do not find the item Saving to gallery, try updating the application to the latest version via Google Play.
โ ๏ธ Attention: Disabling autosave does not delete files that have already been downloaded previously. They will remain in the folder /storage/emulated/0/WhatsApp/Media/ and will be displayed in the gallery until you delete them manually.
2. Hiding WhatsApp folder from gallery using file manager
Even if WhatsApp stopped saving new photos, old files can still be displayed in the gallery. The solution is to hide the media folder from scanning by the system. To do this:
- ๐ Open any file manager (for example, Files by Google or Solid Explorer).
- ๐ Follow the path
/storage/emulated/0/WhatsApp/. - ๐ Find the folder
Mediaand rename it to.Media(add a dot at the beginning). - ๐ Reboot the device.
After the reboot Android will stop indexing the contents of this folder, and the files will disappear from the gallery Disadvantage of the method: some messengers (for example, Telegram) can. stop seeing media files in chats. Also, this method does not work on devices with Android 11+, where access to folders is limited.
Why does a dot at the beginning of a folder name hide it?
In Unix-like systems (including Android), files and folders whose names begin with a dot are considered hidden and are not displayed in standard managers without enabling the option. "Show hidden files."
An alternative option is to create an empty file in the folder Media . This is a special marker that says .nomedia. This is a special marker that says Android: "Do not scan this directory. You can do this through the same file manager:
- Open the folder
WhatsApp/Media. - Click
Create file(orNew File). - Enter the name
.nomedia(without extension!). - Save and restart the phone.
3. Using special applications to block media
If manual methods seem complicated, you can use third-party utilities. They automate the process and offer additional functions, such as selective hiding of files or password protection. Here are the top 3 tested applications:
| Application | Functions | Cons | Link |
|---|---|---|---|
| Hide it Pro (Audio Manager) | Hides folders, encrypts files, imitates an audio player | Advertising in the free version | Google Play |
| File Hide Expert | Password for folders, exclusion from gallery, cloud reservation | Paid after 7 days | Google Play |
| Gallery Lock | Blocking of individual photos/videos, fake error when trying to access | Complex interface | Google Play |
Example of working with Hide it Pro:
- Install and open application.
- Enter your password (remember it!).
- Go to the section
Hide Files. - Select a folder
WhatsApp/Mediaand clickHide.
These apps not only hide files from the gallery, but also protect them from accidental deletion. However, be careful: if you forget your password, it will be extremely difficult to restore access to hidden data.
4. Setting up synchronization with Google Photos
Many users are unaware that Google Photos can automatically backup all media files, including those that come through WhatsApp. To avoid this:
- ๐ฑ Open Google Photos and tap on your account avatar.
- โ๏ธ Go to
Settings โ Backup and synchronization. - ๐ Find the section
Backup device folders. - โ Uncheck from folder
WhatsApp Media(orWhatsApp Images).
This will prevent unnecessary photos from being uploaded to the cloud, but will not delete already uploaded files. To clear them:
- In Google Photos click on search (magnifying glass).
- Enter a query
WhatsApp. - Select all files and click
Delete.
Disable backup of WhatsApp folder in Google Photos saves not only space on the device, but also traffic (especially important for users with limited Internet).
On some devices (for example, Samsung s One UI) instead of Google Photos the proprietary one is used. In this case, the path will be different: Samsung Gallery. In this case the path will be different: Gallery settings โ Cloud and accounts โ Synchronization with Samsung Cloud โ disable synchronization for WhatsApp.
5. Changing WhatsApp folder permissions (for advanced users)
If you're willing to get into the technical details, you can limit folder permissions WhatsApp so that the gallery can't read it. This method requires root access or use ADB (Android Debug Bridge).
Method with ADB (without root):
- Enable
USB debuggingin the developer settings (Settings โ About phone โ Build numberโ tap 7 times, then return toSystem โ For developers). - Connect your phone to the PC and open the command line (Windows) or terminal (Mac/Linux).
- Enter the command:
adb shell pm revoke com.android.gallery3d android.permission.READ_EXTERNAL_STORAGE(for Google Photos replace
com.android.gallery3dwithcom.google.android.apps.photos). - Reboot your device.
This command revokes the gallery's permission to read external storage, but may cause display problems. all photos, not just from WhatsApp. A more accurate method is to change folder permissions through Terminal Emulator:
su
chmod 700 /storage/emulated/0/WhatsApp/Media
โ ๏ธ Attention: Incorrect use of ADB or root access may disrupt the system. If you are not sure of your actions, skip this section or contact a specialist.
Make sure that USB debugging is enabled on your phone
Install ADB drivers on PC
Download Android platform tools SDK
Make a backup copy of important data
-->
6. Alternative messengers with flexible media settings
If fighting autosave in WhatsApp seems too difficult, consider switching to instant messengers where media file management is better implemented. For example:
- ๐ฑ Telegram: allows you to disable autosave for each file type separately (
Settings โ Data and memory โ Autoload media). - ๐ฌ Signal: by default does not save media to the gallery, but makes it possible to enable it manually for specific chats.
- ๐ Session: a decentralized messenger where all files are stored in encrypted form and are not indexed by the system.
In Telegram, for example, you can configure auto-upload so that photos are saved only when connected to Wi-Fi, and videos are never saved. This saves both space and traffic. The main disadvantage: not all of your contacts can use alternative ones. messengers.
Important: When switching to another messenger, do not forget to export important chats from WhatsApp (Settings โ Chat โ Chat history โ Export chat). Without this, the data will be lost.
Common errors and how to do them avoid
When setting up autosave, users often encounter typical problems. Here are the most common ones and ways to solve them:
- Photos continue to be saved despite the settings being disabled:
Check whether additional modules are installed for WhatsApp (for example, GBWhatsApp or FMWhatsApp). They may ignore the default settings. Also update the application to the latest version.
- Folder
.nomediadoes not work:Make sure that the file is created without an extension (not
.nomedia.txt!). On some firmware (for example EMUI from Huawei), you also need to clear the gallery cache (Settings โ Applications โ Gallery โ Storage โ Clear cache). - After updating Android settings reset:
This is typical for major updates (for example, from
Android 11to12). After the update, you will have to re-create the file.nomediaor reconfigure access rights.
Another common error is - deleting the folder manually. This will cause new media files to stop loading in chats, and old ones will appear as broken. Instead, it is better to use specialized cleaning utilities, for example, WhatsApp/Media manually. This will cause new media files to stop loading in chats, and old ones will appear as broken. Instead, it is better to use specialized cleaning utilities, such as SD Maid or Files by Google (section Cleaning).
FAQ: Answers to popular questions
Is it possible to disable autosaving only for certain chats?
Yes, but not through settings WhatsAppYou need:
- Open the desired chat.
- Tap on the avatar or contact/group name.
- Select
NotificationsโUse default settings(disable). - Go back and select
Media visualizationโ disableSave to gallery.
This method does not work on all versions WhatsApp and may disappear after the update.
Why did photos start to be saved again after reinstalling WhatsApp?
When you reinstall the application, all its settings are reset, including autosave settings. You need to:
- Disable again
Save to galleryin settings WhatsApp. - Re-create file
.nomediain folderMedia(if you used this method). - Check if the firmware has been updated Android - sometimes this resets access rights.
How to get back accidentally hidden photos from WhatsApp?
If you have hidden a folder by renaming or .nomedia, return everything back:
- Delete the file
.nomediafrom the folderWhatsApp/Media. - If you renamed the folder, return it to its original name (remove the dot at the beginning).
- Reboot phone.
- If the photos do not appear, clear the gallery cache (
Settings โ Applications โ Gallery โ Storage โ Clear cache).
If you used third-party applications (for example, Hide it Pro), open them and find the section UnHide or Recover files.
Will it work .nomedia on Android 13?
Yes, but with reservations. data-i="267">, Google has tightened the rules for accessing storage, and some applications (for example, Android 11, Google has tightened its storage access rules, and some apps (e.g. Google Photos) may ignore .nomedia for individual folders. In this case:
- Use hiding via renaming (dot at the beginning of the folder name).
- Or configure exceptions directly in the gallery application (if such an option exists).
On Android 13+ You can also use the new function App-Specific Storage, but this will require ADB commands.
How to prevent saving photos from WhatsApp to a memory card?
If WhatsApp saves media to SD card, the algorithm of actions is the same, but the path to the folder will be different: /storage/XXXX-XXXX/WhatsApp/Media (where XXXX-XXXX is the identifier of your card).
Features:
- On Android 11+ applications are prohibited from creating files on removable media without the user's explicit permission. You will have to manually confirm access WhatsApp to the SD card the first time you save.
- File
.nomediaon the memory card may not work if the gallery has permission to read all files (adjust this in application permissions).