How to hide files on Xiaomi phone: from standard features to secret tricks

Smartphone privacy is not paranoia, it is a necessity. Even if you don’t keep state secrets, personal photos, document scans or work files often require protection from prying eyes. Xiaomi, Redmi and POCO smartphones offer several built-in mechanisms to hide files, but not all users are aware of their existence β€” or use them incorrectly.

In this article, we’ll break down 7 working ways to hide files on Xiaomi in 2026: from standard features MIUI We'll focus on security, because a hidden file must remain hidden even after resetting or when you connect your phone to your computer. MIUI 14 and newer due to security policy changes.

1. Built-in folder "Hidden Files" in MIUI

The easiest way is to use the standard Hidden Folder feature, which is found in all Xiaomi smartphones based on MIUI 12 and above. This folder is password protected and does not appear in the gallery or file manager without special access.

To take advantage of it:

  • πŸ“ Open the Gallery app (or Files) β†’ Images).
  • πŸ”’ Select the files you want to hide and click More β†’ Hide (or additionally) β†’ Move it to a hidden folder).
  • πŸ” When you first use the system, ask PIN-code.
  • πŸ” To see hidden files, go to the Gallery β†’ Albums. β†’ Hidden folder and enter password.

Important: This folder is not system-level encrypted, so when connecting your phone to your PC via MTP, it can be found along the path /storage/emulated/0/MIUI/HiddenFolder. To completely exclude access, use additional encryption (for this, see section 4).

πŸ“Š What kind of file hiding you use more often?
Built-in MIUI folder
Third-party annexes
Password archives
Handheld folders
Don't hide files.

2. Create a hidden folder manually (without applications)

If you don’t want to use Hidden Folder or you have an older version of MIUI, you can create a hidden folder manually.This method works on all Xiaomi, including the Redmi Note 12 and POCO X5 Pro, but has a limitation: the folder will be visible in some file managers (for example, Solid Explorer) if you turn on the display of hidden files.

Instructions:

  1. Open any file manager (e.g., standard Files or MiXplorer).
  2. Go to the root directory of internal memory (/storage/emulated/0/).
  3. Create a new folder and name it so it starts with a dot, such as: /.my secrets /.private_data /.hidden_files_2026 Note: The point at the beginning of the name makes the folder hidden in most managers.
  4. Move the files to it.

To prevent the folder from showing up even when you turn on the "Show Hidden Files" option, add unprintable characters to its name.

/. my files.

(A zero-width symbol is inserted between the dot and the slash, which is not visible, but is perceived by the system as part of the name).

πŸ’‘

If you use Google Photos, hidden MIUI folders don't sync to the cloud. But files from manual hidden folders (/.hidden) can boot automatically - check your backup settings!

3. Encrypting files through the archiver

One of the most reliable ways is to pack files into a password-encrypted archive, and even if someone finds an archive, you can't open it without a password, and we recommend using 7-Zip or RAR with AES-256 encryption.

Step-by-step instructions for 7-Zip:

  • πŸ“₯ Install ZArchiver or RAR Google Play.
  • πŸ—„οΈ Select the files you want to hide and click Archive.
  • πŸ” In the archive settings, select: Format: 7z (for maximum protection; or ZIP (Compression method for compatibility: LZMA2 (Optional). Encryption: AES-256. Set a complex password (at least 12 characters with numbers and special characters).
  • πŸ—ƒοΈ Save the archive to a safe location (for example, a hidden folder from Section 2).

Advantages of the method:

  • βœ… Files are protected at the encryption level (hacking is almost impossible).
  • βœ… The archive can be moved to the PC or cloud without the risk of leakage.
  • βœ… It works even after resetting the phone to factory settings.

Disadvantages:

  • ❌ Remember password – if you lose it, the data will be lost.
  • ❌ To view files, you need to unpack the archive (inconvenient for frequent views).

Use 7z or RAR (not ZIP) format

Install AES-256 encryption

Create a password β‰₯12 characters long

Save the archive in a hidden folder

Delete original files after archiving-->

4. Applications for hiding files: top-3 decision

If the built-in MIUI features aren't enough, you can use third-party apps, and we tested dozens of programs and selected the 3 most reliable ones for Xiaomi:

AnnexRatings.FeaturesCons
GalleryVault4.8False password (double protection) Hiding from screenshotsAdvertising in the free version
Calculator Vault4.6Masking for calculator Encryption AES-256 Hiding notificationsA complex interface
KeepSafe4.5Cloud Backup Protection against ScreenshotsIN-code + fingerprintLimit the number of files in the free version

How do you choose?

  • πŸ” If you need maximum security – GalleryVault (supports false password).
  • 🎭 If masking is important – Calculator Vault (the application looks like a regular calculator).
  • ☁️ If you need backup – KeepSafe (synchronization with the cloud).

⚠️ Note: Some file hiding applications (such as AppLock) may conflict with MIUI Optimizations. If the phone starts to brake after installation, turn off optimization in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI β€” Tap 7 times, then Settings β†’ Additionally. β†’ For developers β†’ Shut down. MIUI Optimizations).

5. Hiding files via.nomedia

A.nomedia file is a simple text file that prevents multimedia scanners (like Gallery or Google Photos) from displaying the contents of a folder.This method does not encrypt files, but effectively hides them from view in standard applications.

How it works:

  1. Create a folder for hidden files (e.g. /storage/emulated/0/Private/).
  2. Move the files you want to hide there.
  3. Create an empty text file in this folder called.nomedia (no extension!).
  4. Restart your phone or update the data in the Gallery (pull down for an update).

Where it doesn't work:

  • πŸ” In the file manager (the folder will remain visible).
  • πŸ–₯️ When connecting to a PC through MTP.
  • πŸ“± In some third-party galleries (e.g. QuickPic).

Advantages:

  • ⚑ Quickly and does not require root rights.
  • πŸ“ It works on all versions. MIUI.
  • πŸ”„ Easy to cancel (remove.nomedia).
How to create.nomedia on PC and transfer it to your phone?
1. Connect your phone to your computer via USB. 2. Enable File Transfer Mode (MTP). 3. Go to the folder on your phone. 4. Right-click β†’ Create β†’ Text document. 5. Name the file.nomedia (enable extensions in Explorer!!) 6. Save and disable the phone. The folder will become invisible to the gallery.

6.Using Google's Safe Folder (for MIUI 13+)

If your Xiaomi has MIUI 13 or later installed, you can use Google’s built-in Safe Folder feature.It’s integrated into the Files app and offers an extra layer of protection.

How to set up:

  • πŸ“ Open the Google Files app (if not, install it from the Play Market).
  • πŸ”’ Go to the collections section and find the Safe Folder.
  • πŸ” Set up access by PIN-code.
  • πŸ“Ž Move the required files to the folder.

The difference from Hidden Folder in MIUI:

FunctionMIUI Hidden FolderGoogle Safe Folder
EncryptionNo (only cover-up)Yes (AES-128)
Access to PCSeen along the way /MIUI/HiddenFolderI can't see.
BiometryYes.Yes.
BackupNo.Yeah (Google Drive)

⚠️ Note: If you delete the Files app from Google, access to Safe Folder will be lost!

7 Advanced methods: encrypted containers and root access

For users who need maximum protection, advanced methods are suitable: encrypted containers (for example, VeraCrypt) or hiding files using root access, which require technical skills but provide a military level of security.

Method 1: VeraCrypt (without root)

  • πŸ“¦ Install VeraCrypt from Play Market.
  • πŸ” Create a new encrypted container (select Serpent-AES algorithm).
  • πŸ—„οΈ Transfer the required files to the container.
  • πŸ”‘ Unmount the container – files will be inaccessible without a password.

Method 2: Hiding through root (for experienced ones only)

If you have root rights, you can:

  • πŸ“‚ Move files to system folders (for example, /data/local/tmp/).
  • πŸ”§ Change the access rights (chmod 600).
  • πŸ” Hide folders from scanning with.nomedia + chattr +i (prohibition of modification).

Risks of root methods:

  • ❌ Loss of warranty on Xiaomi.
  • ❌ Possible disruptions MIUI.
  • ❌ Risk of blocking the bootloader (bootloop).

πŸ’‘

Encrypted containers (VeraCrypt) are the only way to hide files so that they cannot be recovered even through a factory reset or connection to a PC.

FAQ: Frequent questions about file hiding on Xiaomi

πŸ” Can you hide files so that they are not found even through the PC?
Yes, but it does: Pack files into an encrypted archive (7z with AES-256); Move the archive to a hidden folder (e.g. /.secret); use VeraCrypt to create an encrypted container; in this case, without a password, files cannot be extracted even through ADB or data recovery.
πŸ“± What happens to hidden files after resetting the phone to factory settings?
Depending on the method: MIUI Hidden Folder β€” files will remain, but access to them will be lost (you will need to reset the password); Safe Folder from Google β€” files will remain if you do not delete your Google account; Hidden folders (.nomedia) β€” files will remain in place and will be visible in the file manager; Encrypted archives β€” files will remain, but you need a password to access.
πŸ” How to Restore Access to a Hidden Folder if You Forgot Your Password?
Unfortunately, if you forget the password from: MIUI Hidden Folder - you can't restore access (no reset function); Safe Folder - you can reset through a Google account (if sync is enabled); Encrypted archives - you can't restore (if you used a strong password); the only way out is to remember the password or accept the loss of data.
πŸ–₯️ Are hidden files visible when you connect Xiaomi to your computer?
Yes, most methods don't protect against viewing through MTP (file transfer mode): MIUI Hidden Folder - visible along the path /MIUI/HiddenFolder/. Hidden folders (.nomedia) - visible in Windows Explorer. Safe Folder - not visible (encrypted). Encrypted archives - visible as files, but not opened without a password. For full protection use VeraCrypt or encrypted archives.
πŸ“² Can you hide files from specific applications (e.g. WhatsApp)?
Yes, but indirectly: Move files to a hidden folder (e.g. /.private). Add a.nomedia file to it, which will hide them from the Gallery and WhatsApp. For complete isolation, use Safe Folder or GalleryVault. Note that if an application has access to all files (e.g. Telegram with permissions), it will be able to scan hidden folders.