How to set a password for the Xiaomi gallery: full instructions

Xiaomi’s modern smartphones store vast amounts of personal information, from working documents to intimate photos. Device owners often wonder how to restrict access to certain media files to prevent unauthorized viewers from accessing them when the screen is unlocked. Standard unlocking a phone is not always a sufficient measure of protection, especially if the device is used by several people or if the gadget temporarily falls into the wrong hands.

MIUI and the new HyperOS have a powerful built-in tool that allows you to create an isolated storage for photos and videos. This functionality does not require the installation of third-party applications that may contain advertising modules or transfer data to third parties.

The process of activating the protection is simple and takes only a few minutes, but requires careful installation of credentials. It is important to understand that resetting the password from a hidden gallery without an attached Mi Account is almost impossible due to the company's security algorithms, so setting up should be approached responsibly, thinking ahead of time about how to restore access.

In this article, we will take a look at all the stages of setting up a private album, look at the differences in the interfaces of different versions of firmware and answer frequent questions from users, learn how to hide not only images, but also videos, and how to manage access to them in everyday use.

Preparation for setting up a private album

Before you start setting your password directly, you need to make sure that the device meets basic security requirements, especially when it comes to the Mi Account binding, which is the main recovery key in case of loss of the hidden file access code. Without authorization in the Xiaomi system service, the concealment function may be unavailable or work with restrictions.

It's also worth checking if there's any space in the memory, because the hidden files don't disappear from the drive, they just change their index and they're encrypted, but it might take a little buffer to get the security system running properly, and make sure that the date and time on the device are set correctly, because that affects the security certificates.

⚠️ Warning: Before turning on the function, be sure to write down or remember the password reliably. You will not be able to reset it through a standard Hard Reset phone settings - hidden files will remain encrypted and will be lost without a password or account.

The interface of settings may vary slightly depending on the version of Android and the shell. On new models with HyperOS, the logic of the work remains the same, but the visual design of the menu has become more concise. If you do not find an item, try searching by settings by entering the keyword β€œPrivacy”.

β˜‘οΈ Pre-activation check

Done: 0 / 4

Step-by-step: setting a password through a conductor

The fastest and most reliable way to activate gallery protection is to use the built-in system explorer, which is universal for most versions of MIUI and HyperOS, and allows you not only to set a password, but also immediately move files that you want to hide from prying eyes.

To start, open the standard File Manager app, which has a yellow icon with a folder. At the bottom of the screen you'll see a few tabs, we're interested in the Folders or Files section, but you don't have to go there. Find an item called Folder or folder icon on the top or bottom menu (depending on version).

Once you've switched to folder management, swipe down the screen, and this action activates the hidden menu of creating a private folder, and the system will prompt you to come up with a password, and you can use a pattern lock, a digital code, or a mixed password, and you should choose a pattern lock or a complex digital code for maximum protection.

Once you have entered the password, the system will ask you to re-enter it, and then you will be asked to link the Mi Account for recovery, which is a critical step, and once the folder is successfully linked, you will create the folder, and to put the photo in there, just copy or move the files to this directory through the Move menu.

πŸ“Š What type of password do you prefer?
pattern lock
Digital code
Mixed password
Fingerprint.

Users who are more likely to use the library may prefer the method of activating protection directly from the Gallery app, which is more convenient because it allows you to select photos to hide immediately during the browsing process, without switching between applications.

Open the Gallery app and go to the Albums tab. Scroll down the album list to the bottom. There you will find Hide Albums or a plus-plug button. Clicking on this item will trigger the password setting process if it hasn't been set before.

If you have already set the password, you will be taken to the hidden album interface. To add a photo here, go back to the main gallery, select the images you want, click "More" (three dots), and select "Add to Hidden Albums" option. Files will disappear from public access instantly.

Importantly, some versions of the firmware require a specific gesture to access hidden albums inside the gallery, usually pulling your finger down the album list and holding it for a second, after which a password field will appear.

⚠️ Note: When a photograph is removed from a hidden album, it is not permanently deleted, but returned to the general gallery.

Configuring biometrics and second space

Entering a password can be inconvenient every time, especially if you often access hidden files. Xiaomi's modern smartphones allow you to use biometric data for quick access. This can be a fingerprint or facial recognition.

To activate this feature, go to Settings -> Passwords and Security -> Privacy. There you will find the settings for the hidden album. Enable the option "Use fingerprint" or "Use face unlock." Now, when you try to open the hidden folder, you will need to touch the sensor or look at the screen.

Another powerful tool is Second Space, which is actually creating a second profile on your phone that looks like a clean device, so you can set a separate password to log into the second space and store your private photos there, and switching between spaces is quick and unobtrusive to outsiders.

Using biometrics makes access much faster, but don't rely on it alone. Periodically check if the scanner is working correctly, and remember the primary password in case sensors fail or the battery is dead when the biometrics may not work.

Protection methodLevel of securityConvenienceRisks.
pattern lockHigh-pitchedAverage.Screenprints.
Fingerprint.High-pitchedVery high.False denial of access
Digital PINMedium.High.Selection of simple codes
Second spaceMaximumLow.Complexity of management

Access management and data recovery

Managing hidden files requires periodic attention, you can change the password or unlock method in the privacy settings menu at any time, and you can also change the name of the hidden album to disguise it as a system folder, for example, by calling it Weather or Cash.

If you forget your password, the only legal way to recover is your Mi Account. On the password entry screen, click "Forgot your password?" The system will send the confirmation code to the associated number or email. Once you enter the code, you will be asked to set a new password for accessing hidden files.

It is important to back up important data regularly. Although hidden files are stored on the device, there is always a risk of file system damage or failure when updating the firmware. You can periodically retrieve photos from the hidden album and transfer them to your computer or cloud storage with additional encryption.

What happens when you reset your phone?
When you completely reset your phone to factory settings, the hidden files are NOT deleted automatically, but they are not accessible without a password. They remain encrypted in memory. However, if you decide to reflash the phone and clear all partitions, the data will be lost.

Frequently encountered problems and their solution

Users sometimes experience a situation where a hidden album is lost or no longer open, often involving updating the system or cleaning the cache of the Gallery app, in which case don't panic or try to remove system applications.

Try to update the Security and Gallery apps first through GetApps or Google Play. If the problem persists, check if the privacy settings are disabled, and sometimes privacy settings may get lost after the system update.

Another common problem is that files are not hidden completely and are visible through third-party file managers, which happens if you just rename a file instead of moving it to a secure area. The present concealment changes the file format and its path, making it invisible to normal viewing.

πŸ’‘

Use the Guest mode to temporarily transfer your phone, in which hidden albums and second-space apps are completely unavailable, guaranteeing privacy.

Comparison of protection methods on different versions of MIUI

The evolution of Xiaomi’s interface has led to some changes in the layout of controls: on older versions of MIUI 10-11, hidden albums were accessed exclusively through gestures in the gallery. MIUI 12-13 shifted the focus to the Security app.

The current HyperOS is trending towards unification, with privacy settings in a separate, more visible section, and integration with the ecosystem allows you to hide files not only on the phone, but also synchronize access (with restrictions) on the brand’s tablets.

Regardless of the version, the way it works is the same: file system encryption, which means that even when you connect your phone to your computer, you can use it to connect to your computer. USB-cable, hidden files will not be displayed in the PC Explorer until they are unlocked on the smartphone itself.

Can I recover a photo if I have forgotten my password and no account is tied?
Unfortunately, there are no official ways to do this: Xiaomi’s encryption algorithm does not include backdoors; data is considered lost; there are paid data recovery services, but their effectiveness with modern Android and Xiaomi encryption is extremely low and often carries the risk of data theft.
Do hidden photos take up extra space on your phone?
No, hidden photos take up exactly the same amount of space as normal ones. They don't copy, they change their status and storage path. However, if you use cloud sync for hidden albums (if this option is available in your area), they can take up space in the Mi Cloud cloud.
Will hidden photos sync with Google Photos?
By default, files from the hidden album don't get into Google Photos cloud sync, as they're isolated from the standard media library. However, if you manually upload them there or back up the folder they're moved to (which requires root rights or complex manipulation), they can sync. The standard scenario is complete local isolation.
How to hide a video in the Xiaomi Gallery?
The process of hiding videos is identical to hiding photos: You can move a video file to a hidden album through a guide or select it from a gallery and use the Add to Hidden feature. The video in a hidden album is played only after successful authorization.
Can I set a password for individual apps, such as WhatsApp?
Yes, in the password and security settings -> application protection, you can set a separate password or fingerprint to run any selected applications, which creates a double layer of protection: you need to unlock the phone and then verify your identity to run a particular application.