Have you accidentally hidden important photos on Xiaomi Redmi 8 and can’t find them? Or suspect someone hid them in secure folders on your smartphone? In this article, we’ll look at all the possible methods for accessing hidden images, from standard MIUI features to advanced technical techniques using ADB and file manager.
Xiaomi’s MIUI-based smartphones offer multiple levels of content hiding, from simple deletion from the gallery to encryption through Private Safe (formerly Second Space). However, even “invisible” files remain in the device’s memory – you just need to search for them correctly. It’s important to understand that some methods require root rights or can lead to resetting settings if you do not do it correctly, so follow the instructions carefully.
If you're looking for photos that aren't hidden by you, please note that accessing someone else's protected data may violate privacy law. This article is intended to recover your lost files.
1. Search through the standard MIUI gallery
To start with, it's possible that photos aren't deleted, but simply hidden from the main stream. MIUI 10-14 (relevant to Redmi 8) has a built-in album hiding feature that doesn't physically delete files, but only eliminates them from the general list.
To bring back these pictures:
- Open the Gallery app (an icon with colored squares).
- Slip on three dots in the upper right corner → select Albums.
- Scroll down to Hidden Albums (may be called Private or Protected).
- Click on the album and hold your finger in the photo → choose Show or Remove from the hidden ones.
If there is no Hidden Albums section, then the photos are hidden in another way (for example, through Private Safe or third-party apps).
⚠️ Attention: In some firmware MIUI Hidden albums only show up after you have entered your password or fingerprint, even if you haven't set them. Try standard combinations (e.g., 1234 or 0000) - sometimes they work due to system failures.
2. Access to Private Safe (Secure Storage)
Private Safe is a secure folder in MIUI where you can move encrypted files, and if you've previously configured this partition but you've forgotten your password, it's going to be harder to restore access.
Steps to enter:
- 🔓 Open the Settings. → Privacy → Private Safe.
- 📱 Enter the password, PIN Use biometrics (if configured).
- 🖼️ View the files inside – they are sorted by type (photos, videos, documents).
If you don’t remember the password, the options are limited:
- 🔄 Try resetting your password through Mi Account (requires a tied Xiaomi account).
- 📱 Reset your phone to factory settings (delete all data, including hidden photos!).
- 🛠️ Use it. ADB (I will explain below, but this will only work if the encryption is disabled.
⚠️ Attention: In the firmware MIUI 12+ Private Safe files are encrypted with a hardware key, and without a password or reset, it's almost impossible to restore them -- even through a computer. TWRP or ADB You will only see encrypted binary files.
What happens if Private Safe does not open?
3. View hidden folders through the file manager
Photos hidden through third-party apps (such as GalleryVault or Hide It Pro) are often stored in system folders with a dot at the beginning of the name (such as.nomedia or.hidefolder).
Instructions:
- Install a file manager with hidden file support (e.g. Solid Explorer, FX File Explorer, or standard MIUI Explorer with option enabled).
- In the manager settings, activate the display of hidden folders (usually in the View or Settings section).
- Go to the root directory (/storage/emulated/0/) and look for folders with names:.nomedia (excludes files from gallery scanning).hide,.secret,.private Android/data/[application name ] (e.g. com.gau.go.launcherex.themes for Hide It Pro)
DCIM/Camera
If there are no folders, check the external memory card (/storage/XXXX-XXXX/, where XXXX — ID SD-Some applications hide files there.
Enable the display of hidden folders
Check the root catalog (/storage/emulated/0/)
Search for folders with a dot at the beginning (.nomedia,.hide)
View application directories (/Android/data/)
Check the outside SD-card (if any)-->
| Folder/File | Appointment | How to recover a photo |
|---|---|---|
| .nomedia | Excludes files from scanning by media player | Move files to another folder or delete.nomedia |
| MIUI/PrivateSafe | Storage of protected MIUI files | Password or reset via Mi Account is required |
| Android/data/com.xxx.hide | Third-party application folders for concealment | Transfer files to DCIM or change the extension |
| .thumbdata | Gallery miniature cache (sometimes containing previews) | Use Hex editor to extract (difficult) |
4.Use ADB to access system files
If standard methods don’t work, you can try Android Debug Bridge (ADB), a low-level file system access tool that is suitable for users with command line experience.
Preconditions:
- 🖥️ Computer with installed ADB-driver.
- 📱 Redmi 8 includes Debugging on USB (Settings → The phone. → Version. MIUI → 7 times tap to unlock the developer's settings → set up USB).
- 🔌 USB-cable (preferably original).
Step-by-step:
- Connect Redmi 8 to your PC and confirm the debugging permission on your phone.
- Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
- Enter the commands in turn: adb devices (should display your device) adb shell (go to the phone shell) su (root rights request if the phone is rooted) ls /storage/emulated/0/ | grep "^\." (search for hidden folders)
- If you find suspicious folders (e.g..hideapp), copy their contents: cp -r /storage/emulated/0/.hideapp/* /storage/emulated/0/DCIM/
Without root rights, you will only see files in the /sdcard/ (external memory. For access to /data/data/ (where the application data is stored) you need a root.
1. Reinstall drivers (use the Mi Flash Tool).
2. Change. USB-cable (cheap cables often do not support data transmission).
3. Enable the debugging option in the developer settings USB (security parameters) and Allow debugging (factory unlocking) OEM) (if).-->
5. Recover deleted or hidden photos through specialized programs
If files were not just hidden but deleted (e.g., through a gallery cleanup), you can try to recover them using recovering software. Note: the odds depend on how long it has been since the deletion and how actively the phone memory was used.
Top.-3 recovery:
| Programme | Xiaomi support | Need root? | Reference |
|---|---|---|---|
| DiskDigger | Yes (including MIUI) | No (baseline mode) | Google Play |
| EaseUS MobiSaver | Yes. | For deep scanning, yes. | Official website |
| Recuva (for PC) | Only when connected as a storage device | No. | Download |
Instructions for DiskDigger:
- Install the app from Google Play.
- Start and select Basic Scan (without root).
- Wait until the process is completed (it can take 10–30 minutes).
- Tag the photos found and click Restore (save to the cloud or PC).
Important: Don’t save the recovered files back to your phone – this can overwrite the remaining data!
⚠️ Note: Programs like Dr.Fone or Tenorshare UltData are often touted as “magic solutions,” but in practice they only recover a fraction of files (especially on the Internet). MIUI Don't pay for premium versions without testing the free scan!
6.Alternative methods: from renaming extensions to Hex editors
If photos are hidden by changing the extension (for example, from.jpg to.txt), they can be returned manually:
How it works:
- 📁 Open the file manager and find files with non-standard extensions (for example, file manager, photo123.txt file DCIM).
- 🔄 Rename the extension back to.jpg,.png or.jpeg.
- 🖼️ Check the file in the gallery – if the image doesn’t open, it may be corrupted.
For advanced users, if the photos were hidden through steganography (embedding in other files), you will need specialized tools like StegExpose or Binwalk. However, this is rare - usually enough to check through a Hex editor (for example, HxD), where you start. JPG-files marked with signature FF D8 FF.
💡
Renaming extensions is the easiest way to return hidden photos, but it only works if files have not been encrypted or moved to secure folders.
7. When nothing helps: extreme measures
If all of the above methods fail, there are radical options:
- 🔧 Factory Reset: Deletes all data, including hidden photos in Private Safe, but can help if the problem is a crash MIUI. Backup is mandatory!
- 📥 Fastboot Flashing: Sometimes helps with damage to system partitions, but requires skill and can void warranty.
- 🛠️ Contacting the service center: if photos are critical (such as documents), Xiaomi specialists can extract data through the service center. EDL-mode (confirmation of possession of the device is required).
Before resetting, try backing up via Mi PC Suite or ADB Backup:
adb backup -f backup.ab -apk -obb -shared -allThis will save some of the data, but not the files from Private Safe.