Xiaomi smartphone users often face a situation where access to personal photos is limited, which occurs if the Hidden Album feature has been activated previously or the application is blocked. Sometimes the owner forgets the installed code, and sometimes just wants to simplify access to media files, refusing unnecessary checks. In any case, knowledge of the algorithm of actions is necessary to regain control over the gallery.
MIUI and the new HyperOS offer multiple layers of protection that can overlap, whether it's a pattern lock, a digital pin code, or fingerprint unlocking. Understanding what type of protection is activated is the first step to solving the problem. We'll look at all the current methods of deregulation, from standard settings to forced resets.
And it's important to note that some of the ways you do this require you to have a connected Mi Account, and this is done by developers to make your data more secure, and if you don't remember your credentials, it can get complicated, but even then there are workarounds, so let's go through each scenario in detail so you can pick the right one for your smartphone model.
Definition of the type of lock in the gallery
Before we take action, we need to identify exactly what is blocking access to images. There are two main scenarios in the Xiaomi ecosystem: blocking the Gallery app itself and protecting a particular Hidden Album. These are fundamentally different mechanisms that require excellent approaches to unlocking.
If you ask for code when you start an application, you activate the application protection, in which case you don't even see the preview of the photos, but if the application opens, but you need to enter data to view a particular folder with a lock, it's a hidden album, and the confusion in these concepts often leads to wrong actions, such as trying to clean the application data, when you just need to change the privacy settings.
- π Application lock: requires you to enter a password immediately when you start the program.
- π Hidden album: available inside the gallery but protected by a separate code or print.
- π€ Second Space: Photos can be stored in an isolated user profile.
- βοΈ Cloud Sync: Access may be limited to Mi Cloud settings.
β οΈ Warning: Trying to match a password with a pumpkin can cause the device to be temporarily locked by Android security. After a few incorrect inputs, the phone may block the ability to enter for 30 seconds or more.
It is also worth checking whether the Guest Mode feature is enabled or whether the Do Not Disturb mode with special privacy settings is activated. Sometimes users set the restrictions themselves, forgetting about it after a while, and carefully analyzing the situation before starting work will save time and avoid unnecessary data reset.
Standard disabling password through settings
If you remember your current password or unlock code, the easiest way to remove it is to use the standard system settings, which do not require third-party software and ensures that all other data on the device is safe, and you will need access to the security settings menu of your smartphone.
To start, go to the basic settings of the device, find the security and privacy section. The path may vary slightly between MIUI firmware versions, but the logic remains the same: password and access management is at the security center, and it stores the keys to all the secure elements of the system.
βοΈ Preparation for password removal
The sequence of actions is as follows:
- Open Settings and select Passwords and Security (or Application Protection).
- Enter the Privacy or Hidden Album section.
- The system will ask you to enter the current password or attach your finger to the scanner.
- Find the password switch for the hidden album and turn it off.
Once you've done this, the system will alert you that the hidden files will become visible in the shared feed. Confirm the action. If you want to just change your password to a simpler one, select the "Change Password" option instead of completely disabling, which will keep the security level but make it easier to enter data, for example, by replacing a complex graphical key with a short pin.
Resetting a forgotten password through Mi Account
The situation of a user forgetting the access code to a hidden album is one of the most common. Fortunately, the Xiaomi ecosystem provides a recovery mechanism through a linked account, which is the main and most reliable way to regain access to your data without losing photos.
It's critical to this method that you log in to Mi Account and have the Internet active on your device. If you've previously ignored the suggestion to link your account to your phone, this won't work, but for most security users, the account is already tied.
Access recovery algorithm:
1. Open the Gallery and proceed to the Hidden Album.
2 Enter the wrong password several times.
3. the message will appear "Forgot the password?".
4. Click on the link and enter the Mi Account details.What to do if your Mi Account is not tied?
| Parameter | Requirement | The result |
|---|---|---|
| Internet | Mandatory (Wi-Fi or mobile data) | Verification of data on the server |
| Mi Account | Must be active in the system | Identification of the owner |
| Time. | Anybody | Instant password reset |
Once you have successfully logged in, the system will suggest you set a new password or disable the protection completely. Resetting the password through Mi Account doesn't remove the photos from the hidden album, they stay in their places, but access to them is open, which is the most gentle method recommended by the manufacturer.
Method of cleaning the data of the Gallery application
If standard methods don't help or your account isn't tied, you can try to clear the Gallery and Security app data, which is effective for resetting access settings, but requires caution. It doesn't delete the photos stored in memory, but it can reset display settings and cache.
The idea is to force the system components of the gallery back to factory status, removing temporary files, sorting settings and, importantly for us, local keys to access hidden folders, but in modern versions of HyperOS, this method may not always work because of the increased encryption of data.
- π± Go to Settings. β Annexes β All applications.
- π Find the Gallery app (or Gallery) in the list).
- ποΈ Press Clear Clear. β Clear all data.
- π Repeat the procedure for the system application Security).
β οΈ Warning: Cleaning up the data from the Security app can reset antivirus and optimization settings. Be prepared to reconfigure exceptions for important programs.
Once you clean the device, restart it. When you first start the gallery, the system may behave like when you first turn on your phone. If the hidden album was only protected with a local key, there is a high probability that the security will be removed or request a new password to be set without the old one. However, if the album was synced to the cloud, the password may be requested again when you try to sync.
Use of a third-party file manager
Sometimes you can get around the locking of the gallery interface by going directly to the file system. Hidden albums on Xiaomi are basically regular folders, renamed by the system so that they don't appear in standard view mode. Knowing the way, you can try to access files through an advanced file manager.
The standard hidden image path is usually /MIUI/Gallery/cloud/secretAlbum or a similar path in hidden system folders. These may require superuser (Root) rights, which are not common, but some file managers, such as MT Manager or RE Manager, may have special features to work with the media base.
Try the following approach:
- Install a file manager with support for displaying hidden files.
- Enable the option βShow hidden filesβ in the manager settings.
- Go to the root directory of internal memory.
- Look for folders with names that contain.secret or.gallery.
If you can find files, you can copy them to another, open folder, and then the original hidden files can be deleted and the new ones can be easily viewed. This method is good because it bypasses the software lock of the gallery by working directly with the data. But remember that metadata (date of shooting, geolocation) can be lost when copying.
Radical measures: complete resetting of the device
When none of the sparing methods work, and access to important photos is vital, the final argument is a complete reset of the device to the factory settings (Hard Reset), which is guaranteed to remove all passwords, including locking the gallery, but high: you lose all data on the phone.
Before starting the procedure, make sure to back up all the important data that is available to you right now (contacts, documents, open photos), reset will destroy everything that is not stored in the cloud or on external media, make sure that the battery is at least 50% so that the phone does not turn off in the process.
π‘
Before reset, remove the SIM and microSD memory card, which will save them from random formatting and loss of contacts if they are stored on the SIM card.
The discharge process:
1. Turn off the smartphone completely.
2. Press the Volume Up + Power button.
3. From the Recovery menu, select the language (English/Chinese).
4. Select Wipe Data -> Wipe All Data.
5. Confirm the action and wait for the end.Once you reboot, the phone will be like a new one. The gallery passwords will disappear because the file system itself will disappear. You will have to reconfigure your Wi-Fi, accounts and apps. Use this method only as a last resort when other options are exhausted.
π‘
A complete reset is a 100% guarantee of password removal, but the price of this is a complete loss of all data on the device.