How to view hidden files on Xiaomi: all the ways for MIUI and Android

Have you ever encountered a situation where Xiaomi, Redmi or POCO don't show important files โ€” like system configurations, backups or folders with dots at the beginning of a name? It's not a phone bug: the operating system hides the default service data so that users don't accidentally delete critical elements. But what if access to these files is necessary โ€” to edit hosts, restore deleted data or manually configure applications?

In this article, we will discuss all the current ways to display hidden files on Xiaomi devices running MIUI 14/15 and Android 13/14 โ€“ from standard Explorer settings to advanced methods using ADB and third-party file managers. Particular attention will be paid to hidden dot folders (for example,.thumbnails or.data), which are not visible even when you turn on the โ€œShow hidden filesโ€ option in some versions of MIUI. You will also learn how to avoid typical errors when working with system data and what to do if files disappear after updating the firmware.

Why Xiaomi is hiding files and when to show them

The MIUI operating system (like the standard Android) hides certain files and folders for three main reasons:

  • ๐Ÿ›ก๏ธ System Data Protection: Folders like /data/system or /system/bin contain critical files, the deletion of which can lead to a "brick" of the device (complete inoperability).
  • ๐Ÿ—ƒ๏ธ Service information: Application cache (.cache), thumbnails (.thumbnails) or temporary files (.temp) are not intended for manual management.
  • ๐Ÿ”’ Privacy: Some applications (such as instant messengers) store data in hidden folders to protect it from accidental access.

However, there are situations where access to hidden files is necessary:

  • ๐Ÿ”ง Manual configuration editing (e.g., hosts file to block ads).
  • ๐Ÿ“ Recovering deleted data through folders like /data/recovery.
  • ๐Ÿค– Debugging applications (access to logcat or /sdcard/Android/data).
  • ๐Ÿ”„ Transfer data between firmware (for example, backups) TWRP).

โš ๏ธ Note: Modifying or Deleting Files in Folders /system, /vendor or /data/data rootless can cause applications to crash or data to be lost completely.Always back up before editing.

๐Ÿ“Š Why you need to see hidden files on Xiaomi?
Removing unnecessary cache
Editing system files
Data recovery
Debugging applications
Other

Method 1: Enable the display of hidden files in a standard MIUI Explorer

The easiest method is to use the built-in MIUI Explorer (aka Files), but in recent firmware versions, this option may be hidden or not work correctly for folders with dots at the beginning of the name.

  1. Open the Files app (the folder icon on the desktop).
  2. Go to the Category tab (bottom of the screen) โ†’ press three points โ‹ฎ top-right.
  3. Select Settings โ†’ Additionally.
  4. Activate the Toggle to Show Hidden Files.

If the option is not available or does not work:

  • ๐Ÿ“ฑ Update the Files app via Google Play (sometimes Xiaomi rolls back versions with this feature).
  • ๐Ÿ”„ Restart your phone โ€“ sometimes the settings only apply after a reboot.
  • ๐Ÿ› ๏ธ Clear the Files app cache in Settings โ†’ Annexes โ†’ Application management โ†’ Files. โ†’ Clear the cache.

โš ๏ธ Attention: B MIUI 14+ A standard conductor may not show folders that start with. (dots), even when the option is turned on.

โ˜‘๏ธ Preparation for viewing hidden files

Done: 0 / 4

Method 2: Using Third-Party File Managers

If the built-in MIUI Explorer is not working, install an alternative file manager.The best options for Xiaomi are:

AnnexPlusesConsReference
Solid ExplorerShows.files, dual-panel mode, cloud synchronizationPaid version after 14 daysGoogle Play
FX File ExplorerFree, root support, built-in archiverAdvertising in the free versionGoogle Play
MiXplorerNo installation (APK) required, full access to /data rootA complex interface for beginnersXDA Developers
Root ExplorerOptimized for root devices, text editor/hexRequires root rights for full accessGoogle Play

Instructions for Solid Explorer (similar to others):

  1. Install the application and open it.
  2. Click on the icon. โ˜ฐ (menu) โ†’ Settings.
  3. Go to the Display section and activate Show hidden files.
  4. For folders with dots (.folder), you may need to additionally enable Show system files (in some versions).

Important: Even with third-party guides, you wonโ€™t see the contents of the folders /data/data or /system It's rootless. It takes a way. 4.

๐Ÿ’ก

If no hidden files appear after you turn on the option, try going to the root directory (/) and manually entering the folder name in the path bar (e.g. /sdcard/.thumbnails).

Method 3: Viewing Hidden Files via PC (MTP/ADB)

If you need to access hidden files from a computer, there are two options: MTP-mode (like a flash drive) or by ADB (wide-access).

Option A: Connecting to MTP (without root)

  1. Connect Xiaomi to your PC via USB-cable (preferably original).
  2. On your phone, select File Transfer (MTP) mode in the connection notification.
  3. On PC, open Windows Explorer (or Finder on Mac).
  4. In the address bar, type \\?\ (for Windows) or use Terminal with the command adb shell ls /sdcard (see option B).

Limitations of MTP:

  • โŒ Doesn't show the folder. /data and /system.
  • โŒ May not display files with dots at the beginning of the name.
  • โœ… It works without root, but with limited access.

Option B: Use of ADB (Extended Access)

This method will require:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB Tools.
  • ๐Ÿ“ฑ The phone's on debugging. USB (Settings โ†’ The phone. โ†’ Version. MIUI (press 7 times) โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).

Commands for viewing hidden files:

adb shell ls -la /sdcard/ # Show all files (including hidden files) on internal memory


adb shell ls -la /sdcard/.thumbnails # View specific hidden folder




adb pull /sdcard/.hiddenfile C:\# Copy hidden file on PC

Example of output (hidden files marked with a point at the beginning):

drwxrwx--x 2 root sdcard_rw 4096 2026-05-20 10:00 .thumbnails


drwxrwx--x 2 root sdcard_rw 4096 2026-05-15 08:00 .data




-rw-rw---- 1 root sdcard_rw  123 2026-05-10 12:00 .nomedia

โš ๏ธ Attention: Adb teams pull/push They may not work for folders. /data For these, use the adb shell su (requires Magisk or TWRP).

How to copy a hidden file from Xiaomi to a PC without root?
1. Put the phone on. ADB (Adb devices should show your device). 2. Use the adb pull command /sdcard/path/file C:\file. 3. If the file is in the system folder, try the adb shell cat /path/to/file > file on pc.txt (for text files).

Method 4: Getting root permissions to access ALL hidden files

If you want files from /data/data, /system, or other protected partitions, root rights are essential, but there are risks:

  • ๐Ÿšจ Loss of warranty (if the device is under warranty).
  • ๐Ÿ”ง Possibility of โ€œbrickโ€ in case of incorrect actions.
  • ๐Ÿ›ก๏ธ Security vulnerability (root opens access to system data for applications).

Instructions for obtaining root on Xiaomi:

  1. Unlock the bootloader through the official Xiaomi website (requires a Mi Account tied to the phone).
  2. Install TWRP or OrangeFox for your model (see instructions on XDA Developers).
  3. Sweat Magisk through custom recovery.
  4. Install Root Explorer or MiXplorer and give them root access.

After getting root, you can:

  • ๐Ÿ“‚ View and edit any files in the system.
  • ๐Ÿ”ง Change system configurations (e.g, /system/build.prop).
  • ๐Ÿ—‘๏ธ Recovering deleted data through /data/recovery.

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 or X-ray) POCO F5) unlocking the bootloader resets all the data. Always back up through TWRP Mi Cloud before the procedure.

๐Ÿ’ก

Root rights give you complete control of the system, but only use them if you understand the risks. For most tasks (for example, editing hosts), an ADB or third-party guide is enough.

Method 5: Recover Hidden Files After a Failure or Update

Sometimes hidden files disappear after:

  • ๐Ÿ”„ Updates MIUI (Especially a dirty update without a wipe).
  • ๐Ÿงน Cleaning the cache through Settings โ†’ Memory.
  • ๐Ÿ› ๏ธ Resetting settings (Hard Reset).

How to restore:

  1. Check the Recycle Bin: In MIUI Explorer, go to Categories โ†’ Recycle Bin (files are stored there for 30 days).
  2. Use.nomedia: If a folder with media files is missing, check if the.nomedia file appears (delete it).
  3. Restore from backup:

Lost file scanner

  • ๐Ÿ› ๏ธ DiskDigger (for photo/video).
  • ๐Ÿ“„ Undeleter (for documents).

If the files were in the system folder (e.g. /data/data/com.app), they cannot be restored without root, in which case only a backup of TWRP or Titanium Backup will help.

๐Ÿ’ก

To avoid losing hidden files when updating MIUI, copy /sdcard/.hidden to your PC or cloud before you run.

Frequent Mistakes and How to Avoid Them

When working with hidden files, Xiaomi users often face the following problems:

Mistake.Reason.Decision
Do not display folders with a dot (.folder)Limitation of MIUI or conductorUse Solid Explorer or ADB
No access to /data/dataThere are no root rights.Get root or use adb backup
โ€œInsufficient rightsโ€ in editingThe file belongs to the system userUse adb shell chmod 644 /path/to/file
Files disappeared after the updateMIUI clears cache or overwrites foldersRestore from backup or check /sdcard/MIUI/backup

Additional advice:

  • ๐Ÿ” Do not delete files with unknown extensions (e.g..odex,.apk.so).
  • ๐Ÿ”„ Donโ€™t edit system files directly โ€“ copy them to your PC first.
  • ๐Ÿ“ฑ Turn off battery optimization for file managers so they donโ€™t close in the background.

FAQ: Answers to Frequent Questions

Can I see hidden files without rooting?
Yes, but with limitations: โœ… Folders on. /sdcard (internal memory, via Solid Explorer or ADB. โŒ Folders. /data and /system โ€” For most tasks (e.g. editing hosts in the /system/etc) enough ADB with superuser rights (adb shell su).
Why did nothing change in MIUI Explorer after the โ€œShow Hidden Filesโ€ option was turned on?
Probable reasons: You're looking in the wrong folder (hidden files are often in /sdcard rather than Download). MIUI Explorer doesn't show folders with a dot at the beginning of the name (e.g..thumbnails). Explorer cache hasn't updated - try restarting the phone. Solution: Use Solid Explorer or adb shell ls -la /sdcard command.
How to hide the file back after viewing it?
To return the file to the status of "hidden", rename it by adding a dot to the beginning: Open the file manager with support for renaming (for example, FX File Explorer). Select the file โ†’ Rename. Add a dot before the name (for example, config.txt โ†’.config.txt). For folders: folder โ†’.folder.
Can I view hidden files on Xiaomi via TWRP?
Yes, TWRP (Custom recovery) provides full access to the file system, including hidden and system folders. TWRP (power + Vol Up. Select Advanced โ†’ File Manager. Go to the desired directory (for example, /data/data). To copy files to the flash drive, use Select โ†’ Copy. โš ๏ธ Note: Do not change files to /system or /vendor without backup โ€“ this can cause the phone to be unable to load.
What hidden files can be safely deleted on Xiaomi?
It can only be safely removed: ๐Ÿ—‘๏ธ Cache folders: /sdcard/Android/data/attachment/cache. ๐Ÿ–ผ๏ธ Miniatures: /sdcard/.thumbnails (Restore automatically). ๐Ÿ“‚ Empty folders called.nomedia (they hide media files from the gallery: ๐Ÿšซ Files in /system, /vendor or /data/data. ๐Ÿšซ Folders with unknown extensions (.odex,.vdex,.so). ๐Ÿšซ Files build.prop, fstab or init.rc.