Have you ever given your Xiaomi smartphone to friends or colleagues and worried they'd accidentally see personal photos? Or maybe your gallery holds important documents in the form of screenshots that shouldn't fall into the wrong hands?
Fortunately, the manufacturer has provided several ways to restrict access to the gallery. But there are pitfalls: not all methods are equally reliable, and some can be reset after the MIUI update. In this article, we will discuss 5 working ways to password the gallery on any Xiaomi, Redmi or POCO device, from standard functions to hidden system features, you will learn how to configure protection through biometrics, create a โsecret albumโ, and what to do if the password suddenly stops working.
Method 1: Built-in locking of the gallery through "Secure Albums"
The simplest and most official method is to use the Protected Albums feature, which is available in the Gallery app on all smartphones with MIUI 12 and later, which requires no third-party software installation and is integrated into Xiaomiโs security system.
To activate the protection:
- Open the Gallery app on your smartphone.
- Slip on three dots in the top right corner and select Protected Albums.
- Click Add Album and select the photo/video you want to hide.
- The system will prompt you to set a password, fingerprint or facial recognition.
Once set up, the secure files will disappear from the main gallery and will only be available after authentication. Importantly, if you use a Mi Account, these albums sync between Xiaomi devices under one account.
Make sure that MIUI upgraded to 12+|Check the space (protected files are duplicated)|Remember your password (you can only recover it through your Mi Account)|Turn off autosynchronization with the cloud if you donโt need to.-->
๐ก
If the gallery menu does not have the option โSecure Albumsโ, update the app via Google Play or clear its cache in the settings.
Method 2: Locking through Second Space (second desktop)
Second Space allows you to create a completely isolated environment with your own applications, files and settings, not just gallery protection, but a full-fledged "secret mode" for the entire smartphone, suitable for users who need to hide not only photos, but also correspondence, applications or call history.
How to set up:
- ๐ง Go to Settings. โ Special facilities โ Second Space.
- ๐ฑ Click Create Second Space and follow the instructions (you need to set a separate password).
- ๐ After creating, restart your phone and select the desired profile when you turn on.
- ๐ท In the second space, install a gallery and transfer your personal files there.
The advantage of this method is that the second desktop is not visible without entering a password when you start the phone, but there are also disadvantages: the feature is not available on all models (for example, it is not available on some budget Redmi), and also takes up additional disk space.
โ ๏ธ Note: Second Space does not automatically sync files in the main and second spaces, and if you delete a photo in one profile, it will remain in the other.
Method 3: Third-party applications for gallery protection
If Xiaomiโs standard features donโt suit you, you can use specialized apps from Google Play, which offer advanced features: file encryption, fake password, automatic hiding when you connect to certain Wi-Fi networks, and even remote data erasure.
Top.-3 tested applications:
| Annex | Features | Cons |
|---|---|---|
| KeepSafe | Encryption AES-256, Cloud backup, fake backup PIN-code | Advertising in the free version requires a lot of rights |
| GalleryVault | Invisible icon, screenshot protection, built-in viewer | The interface is overloaded, sometimes slows down. |
| Hide Something | Masking for the calculator, protection from deletion, password to folders | Paid functions, no Russian language |
Check reviews and ratings before installing โ some gallery defenders may collect your data themselves, and note permissions: if an app requests access to SMS or calls without an obvious reason, this is a reason to be wary.
Built-in functions MIUI|Third-party annexes|Second Space|Hidden folders in the file manager|Not defending.-->
Method 4: Hidden folders through file manager
Few people know, but Xiaomi can create a hidden folder right in the standard Explore file manager. This method does not require a password, but files will be unavailable without knowing the exact path.
Instructions:
- Open the Files (or Explore)
- Go to the Internal Memory section.
- Create a new folder with a name starting with a dot, such as.secretphotos.
- Move the files there.
- Return to the root directory and update the list โ the folder will disappear from view.
To see the hidden folder again, you need to turn on the hidden files display (Three dots โ Settings โ Show hidden files) in the file manager settings. This method does not protect against targeted search, but saves from accidental viewing.
How to return a hidden folder if you forget the way?
Method 5: Password Archive (for maximum security)
If you need to encrypt photos, the best option is to pack them into an archive with a password, which is suitable for backups or transferring files over unprotected channels (for example, via messengers).
How to do this:
- ๐ Select a photo in the gallery, click Share โ Save it in the Files.
- ๐๏ธ Open Files, find saved images and highlight them.
- ๐ Press More. โ Squeeze and select the format ZIP password-wise.
- ๐ Set a complex password (at least 12 characters with numbers and special signs).
Now your photos are protected by military encryption (MIUI uses the ZIP-Crypto or AES-256 algorithm depending on the version). To view files, you will need to unpack the archive every time.
โ ๏ธ Note: If you forget your password ZIP-It will be impossible to restore access to files, even through the Xiaomi service center.
What to do if the gallery password doesnโt work?
Sometimes users are faced with a situation where a previously set password is no longer accepted by the system, this can happen after an update to MIUI, reset settings or a failure in the Gallery application.
1.Rebooting the phone โ often helps with temporary crashes.
2. Clearing gallery cache:
Settings โ Applications โ Application Management โ Gallery โ Storage โ Clear cacheThis wonโt delete your files, but it can reset temporary authentication errors.
3. Reset password through Mi Account:
Open Settings โ Xiaomi account.
- Find the Security section โ Device management.
- Select your smartphone and click Reset application password.
If nothing works, youโll have to use a hard reset, but it will delete all the data from your phone. Before you do that, try connecting the device to your PC and copy files from the folder via ADB:
/storage/emulated/0/DCIM/.hidden/(This is the standard way for protected albums in MIUI).
๐ก
Always link Mi Account to your phone, which is the only way to restore access to secure albums without losing data.