How to open a secret folder in a Xiaomi phone: a guide

Xiaomi’s mobile devices, which run MIUI shells or the new HyperOS, offer users enhanced personalization and data protection capabilities. One of the most popular features is the ability to hide certain apps, files, or even create completely isolated spaces. However, not all smartphone owners know where these “cloaks” are located and how to access them once activated.

In this article, we will discuss in detail the various methods that allow you to open a secret folder, which will cover both the regular tools of the system, such as the Second Space and hidden folders in the gallery, and more advanced ways to work with the file system, understanding these mechanisms will help you not only secure personal data, but also better navigate the structure of your smartphone.

Before you start setting up, it’s worth noting that the menu layout may vary slightly depending on the version of the Android operating system and the firmware modification. However, the logic of the security tools remains the same for the entire brand ecosystem.

What is a secret folder in MIUI?

The term “secret folder” in the context of Xiaomi and Redmi devices is most often meant to be one of two tools: either the “Hidden folders” feature in the standard Explorer, or a full-fledged isolated environment called “Second Space.” The first option allows you to hide selected files from prying eyes in a shared gallery or file manager, making them visible only after you enter a password or fingerprint.

Second Space, which is basically a second phone inside your device, installs separate apps, creates new accounts, and stores data that is completely independent of your main profile, and is the perfect way to separate your work and personal content, or just to maximize privacy for certain files.

The system's mechanism for protecting these folders is based on encryption, so even if an attacker gets physical access to files through a computer, without authorization, they will only see a set of unreadable characters, which is why it's important to remember your login credentials.

⚠️ Note: If you forget your password or lose access to a Mi Account tied to a hidden space, data recovery may become impossible due to high levels of encryption.

Activation and Entry into Second Space

The most reliable way to create a secret zone is to use the Second Space function, which turns your smartphone into two independent devices. To activate, you need to go to the settings menu and find the appropriate section. It is usually located along the Settings path → Special Options → Second Space.

Once the feature is enabled, the system will suggest setting up a separate lock screen, so you can set a unique pattern lock or use a separate fingerprint to instantly switch between profiles, which means that by putting a certain finger on the scanner, the phone unlocks immediately in secret mode, bypassing the main desktop.

☑️ Preparation for the creation of space

Done: 0 / 4

Switching between spaces is instantaneous. In Administrator Mode (main) you can manage the second profile, delete it or restrict access to the Internet, but the content of files inside the hidden profile remains unavailable from viewing from the main mode without special authorization.

If you think it's too much to create a separate space, you can use the simpler function of hiding individual albums or folders. In the standard Xiaomi Gallery, you can create hidden albums. You can open the application, go to the Albums section, pull the list down until the lock icon appears, and set the password.

A similar mechanism works in the Explorer system application, where you can hide entire directories, and to see them, you need to swipe from the bottom up in the Explorer interface (or click on a special lock icon, depending on the version of MIUI) and enter the previously installed access code, and then a list of hidden elements will open.

It’s important to understand the difference: hidden folders in Explorer aren’t as securely encrypted as Second Space, but they do effectively hide content from a cursory glance. To move files into a hidden area, you just need to highlight them, click “More” and select “Hide.”

💡

For quick access to hidden photos in the Gallery, you can configure the fingerprint input, which greatly speeds up the process of opening secret albums.

Access setting and biometric protection

The security of secret folders depends on the complexity of the password, and it allows you to use a digital code, a pattern lock or biometric data, and it is recommended to combine these methods for maximum protection, for example, the main fingerprint input, and the backup password is a complex alphanumeric password.

Security settings (Settings → Passwords & Security → Privacy) can be customized to specify which applications or file types require additional authorization, allowing you to create a flexible system where not all data is hidden, but the most important ones are protected by a separate barrier.

Biometrics in modern Xiaomi models work very quickly, but it is worth considering that when rebooting a device, the first login to a hidden space or folder always requires a password. This is a standard security measure for Android, which protects data from being retrieved from memory when it is turned off.

Type of protectionLevel of securityUsabilityRisks.
pattern lockMedium.High.Screenprints, peeking.
Digital PINMedium.Average.Simple combinations (1234)
Fingerprint.High-pitchedVery high.You can't change biometrics.
Facial recognitionLow/MediocreHigh.It works with photos (on old models)
📊 What protection method do you use more often?
pattern lock
Digital code
Fingerprint.
Facial recognition

Working with system files through file managers

For advanced users who want to find system hidden folders (those that start from a point like.android or.miui), a standard explorer may not be enough, requiring the installation of a third-party file manager with system partition permissions or the use of ADB (Android Debug Bridge).

To see hidden system files in normal mode, you need to activate the "Show hidden files" option in the Explorer settings. It is usually located in the settings menu of the Explorer application itself. Once you turn on, you will see many folders with a dot at the beginning of the name.

Be careful when working with such directories. Deleting or modifying files in system folders can lead to unstable operating system operation or loss of application data. Always back up before making changes.

⚠️ Warning: Changing system files in root directories can cause phone malfunction and loss of warranty.

How to enable USB debugging for ADB
To work with deep system folders, you need to activate developer mode through your computer. Go to About Phone and click on MIUI Version 7 times. Then the Developer Menu will appear in Additional, where you need to turn on USB Debugging.

Addressing access problems

Users often encounter situations where the hidden folder login button is inactive or the system requires a password that is not accepted. This can occur after updating the firmware or resetting the settings. First of all, make sure that you are trying to log into the type of storage (space or folder) for which the password is set.

If the Second Space password is forgotten and the security issue has not been set up, it is almost impossible to restore access for security reasons. The only option is to delete the second space along with all the data through the main profile menu. For ordinary hidden folders in the Gallery, logging in through the Mi Account account sometimes helps if synchronization was enabled.

In some cases, the problem lies in the bugs of the shell itself. MIUI. Cleaning the cache of the Security or Gallery app can help restore the functionality of the Hidden Menu. → Annexes → All applications.

💡

Regularly synchronizing important hidden data with the Mi Cloud is the only reliable way to avoid losing information when you reset your settings or break your device.

Frequently Asked Questions (FAQ)

Can I hide a folder with photos without installing third-party applications?
Yes, Xiaomi smartphones have this feature built in by default: Use the standard Gallery or Explorer, create a hidden album, or move files to a hidden folder through the More menu.
What happens to the data in Second Space if I drop my phone before the factory settings?
When you completely reset, data from both the main and the secret spaces are deleted, and you can only recover it from a pre-created backup.
Are hidden applications visible in the installed program list?
In Second Space mode, applications are completely isolated and not visible in the main profile, but if you just hide the shortcut through the theme settings or launcher, it will still appear in the All Apps list in the system settings.
How to transfer files from a hidden folder to a regular one?
You need to open a hidden folder (by entering a password), select the desired files, select the option “Move” or “Copy” and indicate the path to the usual, visible directory on the internal drive.