Xiaomiβs MIUI-based smartphones offer several built-in ways to hide personal photos and videos from outsiders. However, many users donβt know that the galleryβs standard Hidden Album feature is far from the only option. In this article, weβll look at all the working methods, from standard tools to file manager hiding and even system settings.
The MIUI feature is that some features depend on the firmware version and the device model. For example, on the Redmi Note 12 with MIUI 14, the file hiding algorithm may differ from the Poco X5 Pro with MIUI 13. We took these nuances into account and collected universal instructions that work on most of the brandβs devices, including the Black Shark and Xiaomi Pad.
It is important to understand: hiding files β Even after using these methods, photos will remain accessible through a file manager or when connected to a PC. To fully protect sensitive data, we recommend using encrypted archives or specialized applications like KeepSafe.
1.Hidden album in the standard MIUI gallery
The easiest way to do this is to use the built-in Hidden Album feature in the Gallery app, which works on all Xiaomi, Redmi and Poco devices with MIUI 12 and later, but has a limitation: hidden files will be visible in some system applications (for example, Files or Security).
To hide a photo or video:
- Open the Gallery app.
- Select the desired files with a long press (a tick will appear).
- Click on the three dots in the upper right corner β Hide.
- Confirm the action with a password or fingerprint (if the lock is configured).
To view hidden files:
- π Come to the gallery. β Albums. β Hidden album.
- π Enter a password or use biometrics.
- π€ To return the files back, select them. β three-point β Show me.
β οΈ Warning: If you reset your phone to factory settings, all hidden files will become visible. They are not deleted, but lose their status as "hidden files".
2. Hiding through the file manager (no root)
If you want to hide files from not only the gallery, but also other applications, you can use the standard File Manager, which works by adding a dot to the beginning of the file name (for example,.photo.jpg), which makes it "invisible" for most programs, but the files will remain accessible through Files or when you connect to a PC.
Instructions:
- Open the Files app.
- Go to DCIM β Camera (or another folder where your files are stored).
- Long press on file β Rename.
- Add a point to the beginning of the name (for example,.IMG_2023.jpg).
- Confirm the change.
To regain visibility:
- π Go to the files. β Settings β Show hidden files (enable the option).
- π Find the file with the dot at the beginning and rename it back (remove the dot).
- π Turn off the display of hidden files in the settings.
Make a backup of important files
Make sure the file name is no more than 255 characters.
Check that the dot is added to the beginning, not the end of the name.
Disable the display of hidden files after renaming
-->
This is a way to temporarily hide files, but it doesn't provide strong protection, for example, if someone connects your phone to a computer, they can see all files, including those that start from a point if the hidden elements are enabled in the Explorer settings.
3.Using the.nomedia folder
The.nomedia method is one of the most reliable methods for hiding media files from the gallery and most applications. The way it works is that Android ignores the folders that have the file in them when it scans the library. It works without root rights and is suitable for all versions of MIUI.
How to hide the folder with the photo:
- Open Files and go to the folder you want to hide (for example, DCIM β Secret).
- Click Create β File.
- Enter the name.nomedia (just like that, no extension!) and save it.
- Restart your phone or update the data in the gallery (pull down for an update).
What's important to know:
- π The folder will be invisible to the gallery, but will remain accessible through the Files.
- π To return visibility, simply delete the.nomedia file.
- π± Some apps (like Google Photos) may ignore.nomedia.
| Method | Gallery visibility | Visibility in the Files | Password required | Works after discharge |
|---|---|---|---|---|
| Hidden album | β No. | β Yes. | β Yes. | β No. |
| Rename (point) | β No. | β οΈ Only if you include hidden files | β No. | β Yes. |
| File.nomedia | β No. | β Yes. | β No. | β Yes. |
| Password archive | β No. | β No (only archives are visible) | β Yes. | β Yes. |
β οΈ Note: If you use Google Photos to back up, files from.nomedia folders may not sync. Before using this method, check your backup settings.
4 Encryption of files to archive (maximum protection)
If you need to protect your files, not just hide them, the best option is to pack them into a password-enabled archive, which works on all Xiaomi devices and ensures that no one can view your data without a password.
Instructions:
- Install an archiver (such as RAR or ZArchiver from Google Play).
- Open the app and select the files you want to hide.
- Click Add to Archive (or similar option).
- Select the ZIP or RAR format and set a password.
- Delete the original files after you have created the archive.
Security advice:
- π Use a password at least 12 characters long with numbers and special characters.
- π± Do not keep your password in notes or SMS same phone.
- π Regularly update the archive by adding new files.
π‘
If youβre afraid to forget your password, write it down on paper and store it in a safe place (not on your phone!). You can use a password manager like Bitwarden or KeePass for additional protection.
The advantage of this method is that even if someone gets access to your phone or SD-It can't retrieve files without a password, but remember, if you forget the password, it's impossible to recover the data.
5. Hiding through Second Space (Dual Account)
The MIUIβs Second Space feature allows you to create a separate user profile with your own apps, files and settings, ideal if you want to completely isolate personal data, and in the second space you can store a separate gallery, messages and even link another Google account.
How to set up Second Space:
- Go to Settings. β Second Space.
- Click Create Second Space and follow the instructions.
- Set a password or fingerprint to enter.
- Once created, switch the second space through the notification panel.
- Copy the files to the second space gallery.
Features of the work:
- π Switching between spaces occurs via swipe down the notification panel.
- π± The second space has separate settings, applications and files.
- π You can set different passwords for the main and second spaces.
What happens if you remove Second Space?
Second Space is one of the most reliable ways to hide data, but it's not available on all models, for example, on some budget Redmis (for example, Redmi 9A), this feature may not be available.
6. Hiding through Security Settings (MIUI 14+)
The latest versions of MIUI 14 and MIUI 15 have introduced a "Private Mode" feature that allows you to hide not only files, but also applications, notifications and even call history, which combines convenience and high level of protection.
How to turn on the Private Mode:
- Go to Settings β Privacy β Private mode.
- Activate the function and set the password.
- Select Hidden Albums and add the files you want.
- If you need to hide applications, go to Hidden Applications.
Advantages of the Private Regime:
- π Password or biometric protection.
- π± Hiding not only files, but also applications (for example, messengers).
- π Quickly switching through the notification panel.
π‘
Private mode in MIUI 14+ is the most versatile way to hide data, as it works at the system level and is independent of individual applications.
Note that if you upgrade to HyperOS (the new shell from Xiaomi), the location of your Private Mode settings may change. In this case, look for it in Settings β Security.