How to put a password on a folder in Xiaomi: from built-in features to hidden features MIUI

Protecting personal data on Xiaomi’s smartphone is a challenge that has become increasingly urgent with the rise of cyber threats, with many users storing sensitive documents, photos or videos in a gallery or file manager that they would like to restrict access to. However, the standard Android file system does not provide a built-in β€œpassword folder” function – instead, manufacturers (including Xiaomi) offer alternative solutions: from hidden albums in the gallery to full encryption through the Internet. MIUI Security.

In this article, we will discuss all working ways to create a secure folder on Xiaomi, Redmi and other devices. POCO β€” like with native tools MIUI 14/15, And also through third-party applications. We'll focus on the hidden functions. MIUI, We'll also compare the reliability of each method and give you recommendations for choosing according to your needs: whether it's protection from prying eyes or serious encryption from hacker attacks.

The easiest way to hide photos and videos is to use the built-in hidden album in the standard Gallery app. MIUI 12 and newer, including the Redmi Note 12, POCO X5 The main advantage of the method is that you do not need to install additional programs, and access to hidden files is protected by a password or fingerprint.

To activate the hidden album:

  1. Open the Gallery app.
  2. Select the photos or videos you want to hide (click on the file and mark the rest).
  3. Click on three dots in the upper right corner β†’ Move it to a hidden album.
  4. When you first use the system will suggest setting a password or linking a biometric.

After that, the files will disappear from the main gallery to be seen.

  • πŸ” Go to the gallery. β†’ Albums. β†’ Hidden album.
  • πŸ” Enter a password or use a fingerprint.
  • πŸ“ Files can be returned or deleted directly from the hidden album.

⚠️ Note: The Hidden Album in MIUI It doesn't encrypt files at the system level. MTP or when using a file manager (e.g. Total Commander) hidden files can be found in a folder /storage/emulated/0/Pictures/.hidden. For full protection, use the methods in the following sections.

πŸ“Š What File Protection Method You Use on Xiaomi?
Hidden album at the Gallery
Third-party applications (e.g. File Lock)
Encryption through MIUI Security
Don't protect files.

2. Protection of folders through β€œSecurity" (MIUI Security)

Annex Security (or) MIUI Security on global firmware offers a more secure way of protecting folders with a password, unlike a hidden album, it works with any type of file (documents, APK, archives) and encrypts them at the file system level.The feature is available on all modern Xiaomi devices, including Redmi 10, POCO F4 newer.

Instructions for setting:

  1. Open the Settings. β†’ Annexes β†’ Security (or find the Security icon in the app menu).
  2. Go to the Privacy section β†’ Application protection (on some firmware, the path may be different: Privacy β†’ File protection).
  3. Select Add folder and specify the directory you want to protect (e.g, /storage/emulated/0/Download/Secret).
  4. Set a password or a pattern lock (it is recommended to use a combination of 8).+ symbolism).

After activation:

  • πŸ”’ The folder will be hidden from the standard file manager.
  • πŸ“± Access to files is possible only through MIUI Security after entering a password.
  • πŸ”„ When you try to open a folder through Explorer or Total Commander, the system will ask for a password.
MethodLevel of protectionFile typesDeficiencies
Hidden albumLow.Photo/video onlyFiles are visible through a PC or file manager
MIUI SecurityMedium.Any files.Requires a password for each access
Third-party annexesHigh-pitchedAny files.Risk of data leakage when using unreliable programs

⚠️ Note: If you reset your phone to the factory (Hard Reset), all protected folders in the MIUI Security will be permanently deleted. Before reset, be sure to transfer important files to an unsecured directory.

3. Use of third-party encryption applications

If the built-in functions MIUI Not enough, you can use third-party software:

  • πŸ” File Lock by DoMobile Lab – supports encryption of folders, photos and videos with the ability to mask under the calculator.
  • πŸ“ Andrognito 2 – creates β€œsecret storage” with password protection and self-destruct function when incorrectly entering the code.
  • πŸ”’ KEEPSAFE β€” Specializes in photo/video protection, offers cloud backup.

Example of File Lock configuration:

  1. Install the app from Google Play (link: File Lock).
  2. When you first start, set a master password (it is recommended to use a combination of letters, numbers and symbols).
  3. Press. + β†’ Lock the folder and select the directory to protect.
  4. Activate Hide the folder so it disappears from the file manager.

Advantages of third-party applications:

  • πŸ”§ More settings (for example, a false password for guest mode).
  • πŸ“² Cross-platform (some programs sync to PCs).
  • πŸ›‘οΈ Additional functions: encryption, compression, backup.

User reviews (rating not lower than 4.5)

Availability of the password recovery function

No requests for unnecessary permissions (e.g. access to the SMS)

Compatible with your version of Android-->

⚠️ Note: Some encryption applications (especially from unverified sources) may contain code that steals data. Install programs only from Google Play and check permissions before installing. For example, if the application for blocking folders requested access to SMS or Call Log, this is a reason to be wary.

4. Creation of an encrypted archive (without applications)

If you don’t want to install additional software, you can protect files with an encrypted archive, a method that is suitable for backing up sensitive data or transferring it over unsecured channels (for example, via messengers), and Xiaomi devices can use the standard Archivator app (or ZArchiver from Google Play).

Step-by-step:

  1. Install ZArchiver (if you don’t want to use the built-in archiver).
  2. Open the application and find the folder you want to archive.
  3. Hold it on the folder. β†’ Choose Add to the archive.
  4. In the archive settings, select the format ZIP or 7z (The latter supports more reliable encryption).
  5. Set the Encrypt box and enter the password (at least 12 characters for the code). 7z).
  6. Click OK and wait for the archive to be created.

To extract the files:

  • Open the archives at ZArchiver.
  • Enter the password when you request it.
  • Click Extract and specify the folder to unpack.

Advantages of the method:

  • πŸ” Hardware encryption (in the case of 7z and AES-256).
  • πŸ“¦ The archive can be transmitted by email or messengers without the risk of leakage.
  • πŸ”„ Compatibility with PC (archive will open on the Windows/macOS).

πŸ’‘

Use a password manager (such as Bitwarden or KeePassDX) to store passwords from archives. Never save passwords in notes or SMS!

5. Hidden opportunities MIUI: Second Space and Dual Apps

Firmware MIUI It offers two unique features that can be adapted to protect sensitive files: Second Space and Dual Apps. These tools are originally designed to separate work and personal data, but they can also be used to create secret folders.

Second Space allows you to create a completely isolated copy of the system with separate applications, files and settings. All files stored in Second Space are not visible in the main space (and vice versa).

  1. Go to Settings β†’ Special Options β†’ Second Space.
  2. Click Create Second Space and set the password.
  3. After the reboot, select Second Space when you log in.
  4. Copy sensitive files into Second Space folders (such as Downloads or Documents).

Dual Apps is useful if you want to hide files inside a particular application (like Gallery or Files).

  1. Open Settings β†’ Applications β†’ Dual Apps
  2. Select an app (like a Gallery) and create a clone of it.
  3. In the cloned application, add files you want to hide.
  4. Protect the clone with a password through Settings β†’ Security β†’ Application lockdown.

Advantages of these methods:

  • πŸ”„ Complete file isolation (even when connected to a Second Space PC is not visible).
  • πŸ“± There is no need to install third-party programs.
  • πŸ”’ You can use biometrics to switch between spaces quickly.
How to hide the Second Space icon in the app menu?
To hide the Second Space shortcut from prying eyes, go to Settings β†’ Main screen screen β†’ Hide the apps and mark Second Space, and now you need to enter the password directly on the lock screen to access it. + space-selection).

6. Backup and Restore Protected Folders

If you're using secure folders or Second Space, it's important to take care of backing up your data, and if you reset your settings or your phone breaks, you can't restore your files without a backup.

For hidden albums and MIUI Security:

  • πŸ“€ Use Mi Cloud (Xiaomi Cloud), but note that files will be downloaded unencrypted.
  • πŸ’Ύ Create a local copy on the PC: connect the phone to the USB, find the folder /MIUI/SecretFolder (Or similar, and copy it to a hard drive.

For encrypted archives:

  • πŸ“ Save your archive to the cloud (Google Drive, Mega) with encryption enabled.
  • πŸ” Keep your password separate from the archive (for example, in the password manager).

For Second Space:

  • πŸ”„ V MIUI 14+ Second Space backup function appeared via Settings β†’ The phone. β†’ Backup.
  • ⚠️ When you recover from the backup, Second Space will only be available after you enter the original password.
Reservation methodSuitable forLevel of securityNotes
Mi CloudHidden album, MIUI SecurityLow (files are not encrypted)Convenient but not suitable for highly sensitive data
Local copy on PCAny secure folders.Medium.Requires disk encryption on the PC
Encrypted archive in the cloudArchives 7z/ZIPHigh-pitchedReliable but inconvenient for frequent updates

πŸ’‘

Never store passwords from secure folders or archives in cloud notes (Google Keep, Mi Notes) or SMS. Use specialized password managers with two-factor authentication.

7. Frequent mistakes and how to avoid them

When setting up secure folders on Xiaomi, users often encounter typical problems, and here are the most common mistakes and ways to solve them:

1. Forgotten password from a hidden album or MIUI Security

  • πŸ”“ If you forget the password from the Hidden Album, it can be reset via Settings. β†’ Accounts. β†’ Xiaomi β†’ Password Recovery (requires a linked Mi Account).
  • 🚫 For MIUI Security password reset is impossible – you will have to reset the phone to the factory settings (all data in the protected folders will be deleted).

2. Files are missing after update MIUI

  • πŸ”„ After major updates (e.g., with the MIUI 13 on MIUI 14) The path to hidden folders may change. /MIUI/SecretFolder and /Pictures/.hidden.
  • πŸ“‚ If no files are found, use the DiskDigger app to recover deleted data.

3. biometrics for accessing folders are not working

  • πŸ‘† Make sure your fingerprint or face is added to your settings β†’ Passwords and security β†’ Biometric data.
  • πŸ”§ Restart your phone and reset access to biometrics MIUI Security.

4.The folder is visible through the file manager

  • πŸ“ If you've used MIUI Security, but the folder is displayed in Explorer, check if the protection is disabled in the application settings.
  • πŸ” For hidden albums, use only the standard Gallery – third-party file managers can ignore the concealment settings.

πŸ’‘

Before the update MIUI Always back up your protected folders. Some updates reset your privacy settings!

Can I put a password on a folder in the file manager Xiaomi without third-party applications?
Yes, but only indirectly. MIUI It does not support folder passwords, but you can: Use MIUI Security to block access to the folder (Privacy section) Create an encrypted archive (see section 4) Move files to Second Space (section 5). Full file system password protection is only offered by third-party applications.
How to hide a folder so that it is not visible even through a PC?
The following methods are suitable for this: Second Space - folders from the second space do not appear when you connect the phone to the computer; Encrypted archive - if the archive is not unpacked, its contents are not available; Third-party applications (for example, Andrognito 2) with full concealment function. The Hidden Album in the Gallery and MIUI Security is not suitable - files can be found through MTP or ADB.
What if files from protected folders are missing after resetting the settings?
Unfortunately, the files from MIUI Security and Second Space are deleted when Hard Reset. Only recovery methods: If Mi Cloud was enabled, check backups in Settings β†’ The phone. β†’ Backup: Use data recovery software (like Dr.Fone or EaseUS MobiSaver), but the odds are low. If the files were in an encrypted archive, try to find it in the Download folder or on the memory card. In the future, always back up protected folders to external media.
Can you protect your folder with a password on Xiaomi without the Internet?
Yes, all of the described methods (except for backup in Mi Cloud) work offline: Hidden album and MIUI Security doesn't require a network connection. Third-party applications (like File Lock) also work locally. Creating an encrypted archive through ZArchiver is possible without the Internet. The Internet is only needed to download applications from Google Play or sync to the cloud.
Does Xiaomi support the Second Space feature?
Second Space is available on most devices MIUI 8 and newer, but there are exceptions: πŸ“± Supported by: Xiaomi 11/12/13, Redmi Note 10/11/12, POCO F3/F4/F5, Mi 10/11. ❌ Not supported: some budget models (e.g. Redmi) A1, POCO C40) and devices for the European market with "lightweight" firmware. πŸ” To check for the function, open Settings β†’ If Second Space is not available, use the alternative methods in this article.