How to set a password for the Xiaomi gallery: 3 proven ways

Protecting personal photos and videos from prying eyes is a pressing task for Xiaomi smartphone owners. Even if you don’t put your phone in the wrong hands, random access to the gallery can lead to awkward situations. Fortunately, the manufacturer has built-in tools to block content, and for advanced features you can use third-party solutions.

In this article, we’ll look at all the ways you can set a password to a gallery, from standard MIUI features to reliable Google Play apps, how to hide individual files, lock an entire gallery, or create a β€œsecret album” with two-tier protection, and the instructions are suitable for Redmi Note 12, POCO X5, Xiaomi 13 and other MIUI 14/15 devices.

Important: The methods vary in security, for example, the built-in Secure Album feature is vulnerable when you reset your phone to factory settings, while third-party apps like GalleryVault offer cloud-based password backups.

Method 1: Built-in "Secure Album" in MIUI

The easiest way to hide photos is to use the standard Secure Album feature available on all Xiaomi smartphones with MIUI 12 and later, which does not require additional apps to be installed, but has a limitation: the album will be available after you enter the password from your Mi Account account.

To activate the function:

  1. Open the Gallery app.
  2. Slip on three dots in the top right corner and select Protected Album.
  3. Click Enable and confirm the action through Mi Account.
  4. Select photos/video to hide and click Add.

Now, the files will only be available after logging in, and please note that if you log out of your Mi Account or drop your phone, access to the album will be lost.

πŸ’‘

If you have forgotten your Mi Account password, restore it via account.xiaomi.com before blocking the album, otherwise the files will be permanently deleted when you reset your phone.

If you want to block access to the entire gallery, rather than individual files, use the built-in App Lock feature, which is suitable for MIUI 13/14/15 and allows you to set a password, fingerprint or pattern lock.

Instructions for setting:

  1. Go to Settings β†’ Applications β†’ Blocking applications.
  2. Activate the function by following the prompts on the screen.
  3. In the list of applications, find the Gallery and enable the lock.
  4. Select the type of protection: Password, Fingerprint or Face.

Now, every time you open a gallery, you'll be asked for a confirmation, which is more secure than the Secure Album, because the password is stored locally and not tied to the Mi Account.

Remember your password or save it in your password manager | Check that your fingerprint is added to your system | Make sure Face Unlock works in the dark | Backup important photos

-->

Method 3: Third-party applications for hiding photos

For users who want maximum privacy, we recommend installing specialized applications, which offer additional features: file encryption, calculator masking, cloud password backup.

Top.-3 apps:

  • πŸ”’ GalleryVault – supports encryption AES-256, fake PIN-masking-code.
  • πŸ“‚ Hide Something creates β€œinvisible” folders that are accessible only through a secret gesture.
  • πŸ” KeepSafe – syncs with the cloud, there is a function β€œBreak-in Alert” (notification of unsuccessful login attempts).

To hide the photos through GalleryVault:

  1. Install the app from Google Play.
  2. Set a master password (at least 8 characters).
  3. Import files from the gallery to a secure storage facility.
  4. Activate the option β€œSteganography” to mask the application as a calculator.

GalleryVault|Hide Something|KeepSafe|Embedded facilities MIUI|Don't hide the pictures.|Other-->

Each method has its pros and cons. Below is a comparison table that will help you choose the best option.

MethodLevel of securityDoes third party software need to be used?Compatibility with MIUIPost-discharge recovery
Protected albumMedium.No.MIUI 12+No (tied to Mi Account)
App LockHigh-pitchedNo.MIUI 13+Yes (password stored locally)
GalleryVaultVery tall.Yes.Any versionYes (if you have cloud backup set up)
Hide SomethingHigh-pitchedYes.Any versionPartially (depending on settings)

Important: If you use third-party apps, disable autosynchronization of the gallery with Google Photos or Mi Cloud. Otherwise, hidden files can be duplicated in the cloud and become available without a password.

Frequent Mistakes and How to Avoid Them

Many users have problems configuring gallery protection, and let's look at common mistakes and how to fix them.

⚠️ Note: If you blocked the gallery through App Lock but disabled biometric authorization, the password will be asked every time you open the app.This can drain the battery faster due to constant checks.

Common problems:

  • πŸ”„ Reset Mi Account Password – If you forget login details, restore them via account.xiaomi.com before blocking the album.
  • πŸ“± Fingerprint is not working – check if it is added to Settings β†’ Passwords and security β†’ Fingerprint.
  • πŸ”’ The application does not hide files - give it permission to access the storage in Settings β†’ Annexes β†’ Permits.
  • ☁️ Files are visible in the cloud – disable autoload in Google Photos or Mi Cloud.
What if the protected album doesn’t open?
If you lose access to a secure album after resetting your phone or leaving Mi Account, you can only recover files through a backup. Xiaomi does not provide official tools for data recovery in this case. To avoid losing files, regularly copy them to an external drive or to an encrypted cloud storage (for example, Cryptomator + Google Drive).

Additional security measures

In addition to blocking the gallery, we recommend that you take additional measures to protect your privacy:

  1. Turn off notifications from the gallery – go to Settings β†’ Notifications β†’ Gallery and deactivate the preview display on the lock screen.
  2. Set up automatic thumbnail cleaning β€” in some firmware, sketches of photos remain cached even after deleting files. Use applications like SD Maid to clean.
  3. Encrypt backups – If you copy photos on a PC, use password archivers (7-Zip, WinRAR).
  4. Check application permissions – in Settings β†’ Applications β†’ Permissions revoke storage access from unreliable programs.

πŸ’‘

The combination of MIUI (App Lock) and third-party applications (like GalleryVault) provides maximum protection, so you create two layers of security: one for random access, the other for targeted hacking.

Can I put a password on separate folders in the gallery?
In the standard MIUI gallery, there is no such feature. However, you can: Use the Secure Album for sample files, install GalleryVault and create separate encrypted folders, move files to the archive with a password (for example,.zip with AES encryption).
What to do if I forget the password from App Lock?
If you forget the password from App Lock, you can reset it through: Settings β†’ Passwords and security β†’ Application lockdown β†’ Forgot your password? (required) PIN-Phone code. Resetting the phone to factory settings (deletes all data!) MIUI 14+ You can also unlock it through your Mi Account if it has been tied.
Can I hide the gallery from searching the system?
Yes, for this: Rename the folder with photos, adding dots to the beginning (for example,.private_photos). Use a file manager (e.g. Mi File Manager) and mark the folder as β€œhidden.” In GalleryVault, activate the Hide Out option. Note that hidden folders will still be accessible through the root file manager.
Do all Xiaomi models support a secure album?
The Protected Album feature is available on all smartphones with MIUI 12 and later, including: Xiaomi 11/12/13 series, Redmi Note 10/11/12, POCO F3/F4/F5, Black Shark 4/5. On devices with MIUI 11 and older, this feature may not be available.
How to transfer hidden photos to a new phone?
If you used Secure Album: Unlock the album on your old phone. Copy files on your PC or external drive. Transfer them to your new phone and add them to the protected album again. For GalleryVault: Back up your application (Settings β†’ Backup). Restore data on the new device through the same account.