How to return a photo from a hidden album on Xiaomi: from the cart to ADB

Did you accidentally delete or lose access to photos in a hidden album on a Xiaomi smartphone? don't panic - even if the pictures are missing from a gallery or folder DCIM/.hidden, In this article, we'll look at all the working methods, from standard tools. MIUI Advanced methods with the use of ADB and third-party utilities.

Hidden albums in Xiaomi are not just a password folder, but a separate storage area that sometimes behaves unpredictably, photos can disappear after a MIUI update, reset settings, or even due to a bug in the Gallery app. We tested all methods on Redmi Note 12 Pro+, Xiaomi 13 Ultra and POCO F5 models β€” most of the ways work regardless of the firmware version.

Importantly, if you've tried to recover files and overwrite memory (e.g., take new photos or install apps), your chances of success are reduced. The faster you take action, the more likely you are to return lost images.

The first thing to do is check the built-in MIUI tools, and even if the photos aren't displayed on the main album, they might have been in the cart or left in the hidden directory.

Open the Gallery app and follow the following steps:

  • πŸ—‘οΈ Go to the Recycle Bin (basket icon in the lower right corner) and the photos are stored there for 30 days, after which they are deleted irrevocably.
  • πŸ”’ Click on three dots in the upper right corner β†’ Hidden albums, maybe the folder is just hidden from the main view.
  • πŸ” Type the file name or date of the shoot in the search – sometimes the pictures are β€œlost” due to indexing errors.

If the cart is empty and the hidden album is not displayed, try updating the gallery data:

  1. Close the application through the recent ones.
  2. Go to Settings β†’ Applications β†’ Application Management β†’ Gallery.
  3. Click Warehouse β†’ Clear the data (this will reset the gallery settings, but won’t delete the photo!).
  4. Reboot your smartphone and check the gallery again.

πŸ’‘

If a hidden album is password protected and you have forgotten it, try resetting the Gallery settings through Settings β†’ Passwords & Security β†’ Privacy β†’ Resetting the hidden album password. This will not delete the photo, but will remove the lock.

2. Search through file manager: where are hidden photos stored

Hidden albums in Xiaomi are physically stored in /storage/emulated/0/DCIM/.hidden or /storage/emulated/0/MIUI/Gallery/cloud/private folder. These directories are hidden from standard viewing, but can be accessed through a root-enabled file manager or special applications.

Instructions for Mi File Explorer (built-in manager):

  1. Open Files and go to Categories β†’ Images.
  2. Tap it on three points. β†’ Show hidden files.
  3. Manually follow the path of Internal Memory β†’ DCIM β†’.hidden.
  4. If the folder is empty, check MIUI β†’ Gallery β†’ Cloud β†’ Private.

If the built-in manager doesn’t show hidden files, use Solid Explorer or FX File Explorer:

  • πŸ“ Install the app from Google Play.
  • πŸ”“ Give access to the storage facility.
  • πŸ” Enable the display of hidden files in the settings.
  • πŸ“‚ Move to the /storage/emulated/0/DCIM And find the.hidden folder.
What to do if the.hidden folder is empty?
If the folder exists but is empty, it could mean: 1) Photos were physically deleted (not through the cart). 2) The folder has been moved or renamed (check out) /DCIM/.thumbnails or /Pictures/.nomedia). 3) The files are encrypted (starting with the MIUI 14, Hidden albums can use hardware encryption, so you can go to the methods. 3–5.

3. Restore via Google Photos (if synchronized)

If your Xiaomi has been enabled to sync with Google Photos, the chances of returning lost photos are significantly higher.Even hidden albums are sometimes reserved in the cloud, unless they were excluded from the autoload.

How to check:

  1. Open the Google Photos app or go to photos.google.com.
  2. Log in to the same account that was linked to the smartphone.
  3. Go to the Library β†’ Recycle Bin (photos are stored there for 60 days).
  4. Use a search by date or keyword (such as β€œhidden” or β€œprivate”).

If the photo is not in the cart, try:

  • πŸ”„ Press the Library. β†’ Devices β†’ [Name of your Xiaomi: Unsynchronized files may be displayed here.
  • πŸ“₯ Manually check folders DCIM/Camera or Pictures/Screenshots cloudy.
  • πŸ”§ In Google Photos settings, enable Show hidden device files (Settings section) β†’ General).

Yes, Google Photos.

Yes, Mi Cloud.

Yes, another service (Yandex, iCloud, etc.)

No, I don't.

I don't know what it is.-->

⚠️ Note: If you deleted a photo from Google Photos more than 60 days ago, it is impossible to restore it, and check if your account has been hacked or deleted, in which case the data may be lost irretrievably.

4.Use ADB to access hidden files (advanced method)

If standard methods didn’t work, you can try extracting photos through Android Debug Bridge (ADB), a method that requires connecting your smartphone to a PC and basic command line knowledge, but allows you to access even encrypted folders.

Preparation:

  1. Download ADB Tools for Windows/macOS/Linux.
  2. Turn on Developer Mode on Xiaomi: Settings β†’ About Phone β†’ MIUI version (shap 7 times).
  3. Activate Debugging by USB in Settings β†’ Additional β†’ For developers.
  4. Connect your smartphone to your PC and confirm your trust in your computer.

Commands for extracting hidden photos:

adb shell


su




ls /storage/emulated/0/DCIM/.hidden




cp -r /storage/emulated/0/DCIM/.hidden /sdcard/Download/hidden_backup




exit




adb pull /sdcard/Download/hidden_backup C:\Xiaomi_Hidden_Photos

If the.hidden folder doesn’t exist or is empty, check the alternative paths:

ls /storage/emulated/0/MIUI/Gallery/cloud/private


ls /data/media/0/DCIM/.thumbnails

Download ADB Tools from the official website

Enable the developer mode on Xiaomi

Activate debugging over USB

Connect your phone to your PC with the original cable

Unlock the smartphone screen before connecting-->

⚠️ Note: Su commands require root rights. If your Xiaomi is not rooted, use an alternative method: adb pull /storage/emulated/0/DCIM/.hidden This will copy the folder to the PC if it is not encrypted.

5. Software for Recovery of Deleted Files

If the photos were physically deleted (not through the cart), specialized data recovery utilities will help, they scan the memory of the smartphone at the file system level and can even find fragmented files.

Top.-3 Xiaomi:

ProgrammeSupport for MIUINeed root?Free version
DiskDiggerYes (including MIUI 14/15)No (basic scan)Yes (restriction on reinstatement)
EaseUS MobiSaverYes.No.Yeah (preview)
Dr.Fone (Wondershare)Yes.Desirable for deep scanningNo.
Recuva (for memory cards)Only for SD-mapNo.Yes.

Step-by-step instructions for DiskDigger:

  1. Install DiskDigger from Google Play.
  2. Start the app and select Basic Scan (without root) or Full Scan (with root).
  3. Select the Internal Storage section and click Next.
  4. Wait until the scan is finished (it can take 10–30 minutes).
  5. Tag the photos found (filter format.jpg/.png) and press Recover.
  6. Save files to your PC or cloud (not your phone!).

If the photos are not found, try:

  • πŸ”Œ Connect your smartphone to your PC and scan through the version of DiskDigger for Windows.

πŸ’‘

The faster you start recovering from deletion, the better the chances of success, and every new file recorded on your phone (photos, videos, updates) can overwrite deleted data.

6.Speaking to Xiaomi: When Nothing Helps

If all of these methods fail, the last option is to contact official Xiaomi support, which is true if:

  • πŸ“± Photos missing after update MIUI (particularly 13 on 14/15).

How to properly apply for support:

  1. Collect information: Smartphone model (Redmi Note 11 Pro+ 5G, Xiaomi 12T, etc.) MIUI version (Settings β†’ About Phone β†’ MIUI version) Approximate dates when photos were last accessed, actions after which they disappeared (update, reset, deletion of the application).
  • 🌍 On the official website (Contact Us section).
  • πŸ“§ By mail: support@xiaomi.com (in English or ru_support@xiaomi.com (Russian).
  • Point out that the problem is related to the loss of data in the hidden album, which will speed up the redirection to MIUI specialists.

The time frame for processing the request is 3 to 7 days, and in some cases, support can provide:

  • πŸ”§ Special firmware for data recovery (for old models).
  • πŸ”‘ Instructions for resetting the hidden album password via Mi Account.
  • πŸ“‚ File system logs if the problem is caused by a bug MIUI.

⚠️ Warning: Don't agree to a full Hard Reset on the recommendation of support if you don't back up! This will delete all data irrevocably. Ask for alternative diagnostic methods.

FAQ: Frequent questions about photo recovery on Xiaomi

Can I recover a photo if my phone is not turned on?
Yes, but it will require: Remove flash memory (if possible without damaging the board); connect it to another device via a card reader; scan it with Recuva or PhotoRec. If the phone doesn't work out (e.g., Xiaomi 13 Ultra with adhesive housing), contact the service center; the wizards can connect to the memory via JTAG or ISP.
Why did the hidden album disappear after the MIUI update?
This is a well-known MIUI 14/15 problem related to: folder structure change (hidden albums are transferred to /MIUI/Gallery/cloud/private); Mi Cloud Sync malfunction (cloud overwrites local data); encryption error (if a Secure Album was enabled); Solution: roll back to the previous version of MIUI via Fastboot or use ADB to extract files.
How to recover photos if they have been removed from the cart?
If photos are removed from the Gallery or Google Photos Recycle Bin, there are two options: Recovery programs (DiskDigger, EaseUS) – scan memory at a low level; Contact the laboratory (if photos are critical); Recovery costs from 5,000 β‚½. Important: Don't write new data to your phone (photos, videos, apps) until you try to recover deleted files. Each new file reduces your chances of success.
Does Xiaomi Recovery Work with Encrypted Storage?
Starting with MIUI 12.5, Hidden albums can be encrypted hardware: πŸ”“ Without root rights, restoration is impossible. πŸ“± If the phone is rooted, use it. ADB with the command: adb pull /data/media/0/DCIM/.hidden πŸ” If encryption is tied to Mi Account, contact support with proof of device ownership.
Can I recover the photo after resetting to factory settings?
After Hard Reset, chances are minimal, but there are nuances: πŸ“ If the reset was made without formatting the internal memory (Wipe Data in Recovery), try DiskDigger. ☁️ If you have synced with Mi Cloud or Google Photos enabled, check the cloud. ⚠️ If the reset is made via Fastboot (fastboot erase userdata command), the data is deleted irrevocably.