How to hide a folder on Xiaomi: all the ways from standard to advanced

Hiding folders on Xiaomi, Redmi or POCO smartphones is a challenge that users face for a variety of reasons, from wanting to remove personal photos from the gallery to having to hide working documents from prying eyes. Unlike iOS, where functionality is limited, MIUI firmware offers several built-in tools for this purpose. However, not all of them are obvious, and some require knowledge of the hidden capabilities of the system.

In this article, we will discuss 5 Proven ways to hide a folder on Xiaomi – from basic (available even to a beginner) to advanced (using the use of the newcomer) ADB We will pay special attention to the nuances of working on the latest versions. MIUI 14/15 Android 13/14, You will also learn how to return hidden folders back and what to do if they disappear after the system update.

Before proceeding to the instructions, it is important to understand: concealment β‰  Even if the folder is not visible in a standard conductor, it can be detected through a file. ADB, Connecting your phone to a PC or using special utilities. To fully protect sensitive data, consider additional encryption (for example, through Mi Secure Folder or third-party applications like Cryptomator).

πŸ“Š Why do you want to hide a folder on Xiaomi?
To hide personal photos/videos
To protect working documents
To remove garbage files from view
Other

1. Hiding a folder through the standard MIUI file manager

The easiest way to work on all Xiaomi devices without additional applications is to use the built-in MIUI Explorer (Files by Xiaomi), which is suitable for hiding folders with photos, videos or documents, but has a limitation: hidden folders will remain accessible through other file managers (for example, Solid Explorer or FX File Manager).

To hide the folder:

  1. Open the Files app (the icon with the folder on the desktop).
  2. Go to Categories β†’ Local Storage (or Device in newer versions of MIUI).
  3. Find the folder you want to hide and hold your finger on the name until the context menu appears.
  4. Select Rename and add a dot at the beginning of the title, for example, the Work folder should become.Work.
  5. Confirm the change. The folder will disappear from the standard conductor.

⚠️ Note: This method only works for folders in the root directory of internal memory (e.g, /storage/emulated/0/). If the folder is inside another folder (for example, /Download/Media/), Also note that some system applications (such as Gallery) may ignore this trick and continue to display media files from the hidden folder.

β˜‘οΈ What to check before hiding the folder through the Explorer

Done: 0 / 4

2.Using the "Private folder" function in MIUI

Starting with MIUI 12, Xiaomi added a built-in β€œPrivate folder” feature (in some regions – Mi Private Folder), which allows you not only to hide files, but also to block access to them by password or fingerprint, which is more reliable than the previous one, since hidden data is not displayed even when you connect your phone to a PC.

How to set up a private folder:

  • πŸ“± Open the Settings. β†’ Privacy β†’ Private folder.
  • πŸ”’ If the function is disabled, click Enable and set the password (or use biometrics).
  • πŸ“ Return to Files, find the folder you want, hold it, and select Move to a Private folder.
  • πŸ”„ To return files back, go to the Private folder in the settings, select files and click Restore.

⚠️ Note: If you forget the password from the Private folder, it will be impossible to restore access to files - even through resetting settings or ADB. Xiaomi does not provide official tools to circumvent this protection. Also note that the feature may not be available on some models for the European market (for example, the Redmi Note 11 with global firmware).

What to do if there is no β€œPrivate folder” in the settings?
If your MIUI version doesn’t have this section, try upgrading to the latest version or installing Mi Private Folder from Google Play (not available for all regions), the alternative is to use third-party apps like Hide Something or Vaulty, but they require additional permissions.

3. Hiding through a root-enabled file manager (for advanced ones)

If your Xiaomi smartphone has an unlocked bootloader and root rights, you can hide the folder more securely by changing its attributes through a su-enabled file manager (such as Root Explorer or FX File Manager), which makes the folder invisible even for system processes, but requires caution: improper actions can cause applications to crash.

Instructions:

  1. Install a root-enabled file manager (e.g., Solid Explorer with Root Access plugin).
  2. Open the manager, grant superuser rights when requested.
  3. Go to the folder (for example, /sdcard/DCIM/Camera).
  4. Hold the folder, select Properties β†’ Permissions.
  5. Uncheck Reading and Writing for Others and Groups.
  6. Save the changes. The folder will become invisible to most applications.

⚠️ Note: Modifying the permissions of system folders (e.g, /data/data/) It can cause app crashes or bootloops. Never edit the attributes of folders that start with names that start with a loop:

  • com.android.
  • miui.
  • system or vendor.

adb pull /sdcard/YourDad C:\Backup\

This will allow you to recover data if something goes wrong.-->

4. Hiding a folder through ADB (no root)

If you don't have root rights, but you have access to debugging over USB, you can hide the folder using ADB commands. This method works on all versions of MIUI and doesn't require additional applications to be installed. However, it's temporary: after you reboot your phone or update your system, the folder can become visible again.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. Click 7 times on MIUI Version until you become a developer.

USB debugging

Settings β†’ Additional β†’ For Developers

ADB-driver

cmd

Terminal

adb devices

The name of your device should appear.

ADB

adb shell mv /sdcard/NameFolders /sdcard/.NameFolders

For example, to hide the Secret folder, use:

adb shell mv /sdcard/Secret /sdcard/.Secret

To return the folder back, use a similar command, but without a dot:

adb shell mv /sdcard/.Folders /sdcard/NameFolders

πŸ’‘

Hiding through ADB does not encrypt data – the folder remains accessible via adb shell ls /sdcard/. For full protection, combine this method with encryption (for example, ZIP with a password).

5. Alternative methods: password archiving and third-party applications

If you don't like the built-in MIUI methods, consider alternatives, which are suitable for users who need to not just hide the folder, but completely block access to its content.

Ways:

  • πŸ” Password Archive: Condense the folder into ZIP or RAR with encryption (for example, via WinRAR or 7-Zip Move the archive to your phone and delete the original folder.
  • πŸ“± Third-party applications: Utilities like Hide It Pro (Audio Manager), GalleryVault or KeepSafe create secure storage with the help of a computer. PIN-Some of them are disguised as harmless applications (e.g. calculator).
  • ☁️ Private cloud storage: Upload files to Google Drive, Mega or Proton Drive by setting a link restriction. Delete local copies. Risk: data is stored on third-party servers.

⚠️ Note: When using third-party applications to hide folders:

  • Check reviews and rankings on Google Play – some utilities contain advertising software.
  • Avoid applications that request administrator rights or Accessibility Service without an explicit need.
  • Some apps (like Vaulty) can save thumbnails of hidden photos in cache, which negates all secrecy.

MethodRoot is required.Visibility on PCPassword protectionDifficulty
Rename the dot❌ No.βœ… Seen.❌ No.⭐ Very simple.
MIUI's private folder❌ No.❌ Hidden.βœ… Yes.⭐⭐ Just
Change of permits (root)βœ… Yes.❌ Hidden.❌ No.⭐⭐⭐ Middle-Average
ADB-team❌ No.βœ… Seen.❌ No.⭐⭐⭐ Middle-Average
Third-party annexes❌ No.❌ Hidden.βœ… Yes.⭐⭐ The complexity depends on the application

What to do if the hidden folder disappeared after the MIUI update

One of the common consequences of a MIUI update is that folders that were previously hidden disappear, which is due to a reset of file attributes or a change in the logic of how the explorer works.

  1. Check through PC: Connect your phone to your computer in File Transfer mode and use Windows/macOS Explorer to find the folder. Often it just becomes visible again.
  2. Restore with ADB: If the folder is renamed (e.g. from.Secret to Secret), return the point with the command: adb shell mv /sdcard/Secret /sdcard/.Secret
  3. Check the Recycle Bin: In MIUI 14+, remote folders can be accessed in Files β†’ Recycle Bin (stored for up to 30 days).
  4. Use Data Recovery: If the folder is permanently deleted, try utilities like DiskDigger or Recuva (requires root for deep scanning).

⚠️ Note: If the folder was hidden through a private folder MIUI And when you update, the Private folder disappeared from your settings, which could mean resetting your security settings, and you can't recover it, and it's encrypted by linking to your Mi Account and the firmware version.

FAQ: Frequent questions about hiding folders on Xiaomi

Can you hide the folder so that it does not appear even when you connect to the PC?
Yes, but that requires root rights or using the MIUI Private folder (if supported by your model) without root, the hidden folder will be visible through the PC, but its name will start from a dot (like.Secret), and you can archive the folder with the password and delete the original.
Why is it still visible in the Gallery after hiding the folder through a dot?
The Gallery app in MIUI scans media files regardless of folder attributes. To hide photos/videos: Move them to a Private folder (if available). Or add a point to the beginning of a file name (for example,.photo.jpg). Or use a.nomedia file β€” create an empty text file with that name and put it in a folder.
How to hide a folder on a memory card (microSD)?
The methods of hiding folders on microSD are similar to internal memory, but with reservations: πŸ“Œ Rename the dot works, but some file managers (such as Total Commander) show such folders. πŸ”’ Private folder MIUI does not support the storage of data SD-map. πŸ› οΈ For root users: Change folder attributes through Root Explorer, removing the read rights for everyone except the owner.
Will folder hiding work on Xiaomi with custom firmware (like LineageOS)?
On custom firmware (not MIUI), built-in features like Private Folder are not available. However, you can: Use ADB or renaming with a dot. Install applications to hide files (such as Hide Something); Set up.nomedia to hide media from the gallery; Root firmware also allows you to change folder resolutions.
Can I hide system folders (for example, DCIM or Download)?
🚫 It is not recommended to hide or change system folders (for example, /DCIM/, /Download/, /Android/). This can lead to: Camera or gallery errors, inability to download files from your browser, app failures (e.g. WhatsApp can't save media), if you need to hide the contents of those folders, you better move the files to another directory and hide it.