Confidential photos, screenshots of bank transfers or personal documents - all this is often stored in the smartphone gallery, but it is not always necessary for them to be visible. Creating a hidden folder in the gallery Android solves the problem, but not everyone knows how to do it correctly. Unlike iOSwhere the hiding function is built into the system, on Android everything depends on the firmware version, brand (Samsung, Xiaomi, Google Pixel) and even the device model.
In this article you will find 5 working methods hide a folder in gallery - from standard tools to using third-party applications. We'll look at why some methods don't work on all devices, how to bypass manufacturer restrictions, and what to do if hidden files suddenly become visible. And you will also find out which applications for hiding folders can steal your data instead of protecting it.
Why standard methods of hiding folders do not always work
Many users try to simply add a dot in front of the folder name (for example, .Secret), but this method does not work on all devices. The fact is that modern versions Android (starting from Android 11) and proprietary shells (One UI, MIUI, ColorOS) ignore this approach. The gallery continues to scan folders, even if they are โhiddenโ through a dot.
The second problem is gallery cache. Even if you hide a folder correctly, its thumbnails may remain in the cache and appear in search or recommendations. For example, on Samsung Galaxy s One UI 5.0+ you will have to additionally clear the application cache Gallery or Google Photos, otherwise hidden files will be leaked.
- ๐ฑ Samsung (One UI): ignores folders with a dot, but there is a built-in function
Private Mode. - ๐ฑ Xiaomi/Redmi/Poco (MIUI): supports hiding via
Second SpaceorPrivate Folder. - ๐ฑ Google Pixel (Stock Android): no built-in hiding, only through the file manager.
- ๐ฑ Huawei/Honor (EMUI): yes
PrivateSafe, but requires a password from your Huawei account.
โ ๏ธ Attention: On devices with Android 13+ some manufacturers block access to system folders even throughADB. If your smartphone was updated over the air (OTA), check the sectionFor developers- there may be disabled access toAndroid/dataandAndroid/obb.
Method 1: Hiding a folder via a dot (works on 30% of devices)
This is the simplest method, but it only works on โcleanโ Android (for example, Google Pixel, Nokia) or outdated firmware versions (up to Android 10). The bottom line is that folders whose names begin with a dot are not displayed by default in most file managers and galleries.
Instructions:
- Open any file manager (for example, Files by Google, Solid Explorer).
- Go to the folder where you want to create a hidden directory (usually
DCIMorPictures). - Click
Create folderand name it, adding a dot at the beginning:.MySecrets. - Move the necessary files into it.
To make the folder visible again, simply rename it by removing the dot. On some devices (Samsung, Xiaomi), the folder will still be displayed in the gallery - this means that the method did not work.
Is the mode for displaying hidden files in the file folder enabled? manager?
Did the folder disappear from the gallery after renaming?
Gallery cache cleared (Settings โ Applications โ Gallery โ Memory โ Clear cache)?
Have you tried rebooting the device?
-->
Method 2: Built-in tools from manufacturers (Samsung, Xiaomi, Huawei)
Many brands add special functions to their shells (One UI, MIUI, EMUI) They are more reliable than the dot method, but require configuration.
| Brand | Function | How to enable | Restrictions |
|---|---|---|---|
| Samsung | Private Mode |
Settings โ Biometrics and security โ Private Mode |
Requires PIN/password, does not work on models below Galaxy S8 |
| Xiaomi/Redmi | Private Folder or Second Space |
Settings โ Accessibility โ Private Folder |
Second Space creates a separate profile, which is not always convenient |
| Huawei/Honor | PrivateSafe |
Gallery โ Albums โ PrivateSafe |
Requires a Huawei account, volume limitation (up to 50 MB in the free version) |
| Oppo/Realme | Private Safe |
Settings โ Privacy โ Private Safe |
Does not support video, only photos and documents |
For example, on Samsung Galaxy S23 s One UI 6.0 the algorithm is as follows:
- Open
Settings โ Biometrics and security โ Private Mode. - Create a PIN code or use a fingerprint.
- Enable
Private Modein the notification panel. - Open
Gallery, select the files and clickMove to Private.
โ ๏ธ Warning: The Xiaomi function may conflict withPrivate Foldermay conflict withSecond Space. If you use both tools, files from one hidden folder may become visible in the other. Before setting up, make a backup copy. data-i="121">Other-->
Samsung
Xiaomi/Redmi/Poco
Google Pixel
Huawei/Honor
Oppo/Realme/OnePlus
Other-->
Method 3: Using a file manager with a hiding function
If your device does not have built-in tools, you can use third-party file managers that can hide folders. The best options:
- ๐ Solid Explorer โ supports password for folders, encryption, integration with. clouds.
- ๐ FX File Explorer โ there is a function
Hide Files, it works without root access. - ๐ File Manager+ โ a simple interface, but hides only individual files, not folders.
Example setup in Solid Explorer:
- Install the application from Google Play.
- Open the folder you want to hide and hold its name.
- From the menu, select
Hide(Hide). - Set a password or PIN for access.
Disadvantage of the method: if you uninstall the application, hidden folders may become visible again. In addition, some managers (for example, ES File Explorer) are known for security problems - they can send data about your files to the developer's servers.
Before installing a file manager, check its reputation on the forums (for example, 4PDA or XDA-Developers). less than 100,000 installations and a low rating often contain adware or spyware.
Method 4: Archiving a folder with a password (for advanced users)
If you need to not only hide a folder, but also protect it from prying eyes, you can archive it with a password. Applications are suitable for this. like RAR, ZArchiver or 7Z. The advantage of the method: even if someone finds the archive, it cannot be opened without a password.
Instructions:
- Install ZArchiver from Google Play.
- Open the application and find the folder you want to hide.
- Click on it, select
Add to archive. - Specify format
ZIPor7z, put check markEncryptand create a password. - After creating the archive, delete the original folder.
To return files:
- Open the archive in ZArchiver.
- Enter the password.
- Click
Extractand specify the path.
โ ๏ธ Attention: If you forget the archive password, it will be impossible to restore access to the files. copies of important data.
What to do if the archive is damaged?
If the archive does not open, try:
1. Use another archiver (for example, WinRAR on a PC).
2. file via Settings โ Archive check to ZArchiver.
3. Restore the archive using the utility Unzip Recovery Tool (only for ZIP).
4. If the archive was on a memory card, check it for errors via chkdsk on a PC.
Method 5: Hiding via ADB (for experienced users)
If you are ready to work with Android Debug Bridge (ADB), you can hide the folder at the system level. This method is suitable for devices with an unlocked bootloader or root access, but it also works on some smartphones without them. Important: incorrect commands can damage the system!
Instructions:
- Install ADB on PC (download Platform Tools from the site Google).
- Enable on smartphone
USB Debugging(Settings โ About phone โ Build numberโ tap 7 times, then return toSettings โ System โ For Developers). - Connect your phone to the PC and enter in the command line:
adb shellmv /sdcard/DCIM/MyFolder /sdcard/DCIM/.MyFolder - Reboot the device.
To return the folder back, use command:
mv /sdcard/DCIM/.MyFolder /sdcard/DCIM/MyFolder
On some devices (Xiaomi, Oppo) access to system folders via ADB requires an additional command:
adb shell sm set-disable-verity
โ ๏ธ Warning: UsingADBmay reset the warranty on the Samsung i Xiaomidevices. Before executing commands, create a backup viaadb backupor manually copy important files to PC.
The ADB method is the most reliable, but also the most risky. It is suitable for devices without built-in hiding functions, but requires caution. If you are not confident in your skills, use methods 1โ3.
What to do if a hidden folder becomes visible again
Sometimes hidden folders suddenly appear. appear in the gallery. This happens for several reasons:
- ๐ The firmware update reset the hiding settings.
- ๐ฑ Resetting the gallery cache or reinstalling it.
- ๐ The file manager or antivirus scanned the system folders.
- โ๏ธ Synchronization with Google Photos or another cloud.
Solutions:
- Check if it's disconnected
Private Mode(on Samsung) orSecond Space(on Xiaomi). - Clear the gallery cache:
Settings โ Applications โ Gallery โ Storage โ Clear cache. - If you used a period in the folder name, rename it again (for example,
.Secretโ..Hidden). - Disable synchronization with clouds in the gallery settings.
On devices with Android 12+ disabling the function may help Media Provider for a specific folder. To do this:
- Set FX File Explorer.
- Find the hidden folder, hold its name.
- Select
Properties โ Exclude from media scanning.
FAQ: Frequently asked questions about hidden folders in the Android gallery
Is it possible to hide a folder without third-party applications?
Yes, but only on devices with "clean" Android (for example, Google Pixel) or outdated versions firmware. Use the method with a dot in the folder name (.Secret). Samsung, Xiaomi and other brands have built-in tools (Private Mode, Second Space).
Why is a hidden folder visible in Google Photos?
Google Photos scans all media files on the device, including hidden ones. To do this fix:
- Open Google Photos โ
Settings โ Backup and synchronizationโ disable the option. - Clear the application cache.
- Exclude the folder from scanning through the file manager (for example, FX File Explorer).
How to hide a folder on a memory card (SD-card)?
On memory cards, the dot method works worse, since many galleries (for example, Google Photos) ignore this rule. Better:
- Use built-in tools (
Private Modeon Samsung). - Zip the folder with a password (via ZArchiver).
- Transfer files to the internal memory and hide them there.
On Android 11+ access to memory cards is limited, so some methods may not work.
Is it safe to use applications to hide folders?
Not all popular applications like GalleryVault or Hide It Pro often collect user data. Before installing, check:
- ๐ Reviews on 4PDA or Reddit.
- ๐ Permissions that the application requests (if it asks for access to contacts or SMS - this is suspicious).
- ๐ก๏ธ Availability of open source code (for example, Simple Gallery Pro).
The safest option is the manufacturerโs built-in tools or archiving with a password.
Is it possible to hide a folder so that even someone who knows about hiding methods will not find it?
Yes, but this requires root access or ADB. The most reliable ways:
- Move the folder to
/data/data(requires root). - Encrypt the folder via VeraCrypt (there is a version for Android).
- Use
ADBto change file attributes (chmod).
Without root, maximum protection - archive with a password + storage on an encrypted cloud (for example, Cryptomator + Google Drive).