Why Xiaomiβs standard photo removal is a bad idea
Have you ever tried to simply remove compromising photos from the Xiaomi gallery and then found them in the cart a month later? or worried that someone would accidentally see personal photos while scrolling through the gallery? Standard methods of deleting in MIUI do not give 100% guarantee of privacy - files remain in the cache, backups of the Mi Cloud or are restored through DCIM/.thumbnails. Even the βHidden Albumsβ function in the Xiaomi gallery has a vulnerability: when you reset or re-flash them, access is restored.
This article is not about basic deletion, but about securely hiding photos with MIUI firmware features (including versions 12-14), and we will take a look at methods from built-in tools to advanced ADB tricks that work even on locked smartphones. Importantly, some methods require unlocking the bootloader or root rights, we will warn you about this in advance.
Method 1: Built-in "Hidden Album" in the MIUI Gallery - pros and pitfalls
The most obvious method is to use the Hidden Album feature available in the standard Xiaomi gallery to activate it:
- Open the Gallery app.
- Slip on three dots in the upper right corner β Settings.
- Select Hidden Album and set a password (other than screen lock!).
Now you can move the photo to a hidden section: hold your finger in the picture β More β Move it to a hidden album.
- π Password is easy to reset through Mi Account if malicious user knows your username from Xiaomi.
- π Files physically remain in the folder /storage/emulated/0/Pictures/.HiddenAlbum β You can find them through the file manager.
- π Update MIUI Or resetting the album can become visible.
β οΈ Note: If you use Mi Cloud, hidden photos are automatically uploaded to the cloud in an unencrypted form. Turn off sync for the.HiddenAlbum folder in the cloud settings!
Method 2: Archiving photos with a password (without root)
For those who don't trust the built-in MIUI tools, create a password-enabled.zip or.7z archive with photos and delete the originals.
- Install a file manager with archiving support (e.g. Solid Explorer or FX File Explorer).
- Select the desired photo β Squeeze β Select the ZIP format with a password or 7z (AES-256).
- Enter a strong password (at least 12 characters with numbers and special signs).
- Delete the original files through the Gallery or Files.
Advantages of the method:
- π Password protects archive even when copying to another device.
- ποΈ Originals deleted β they can not be restored without an archive.
- π± It works on all versions. MIUI Xiaomi models, including Redmi Note 12, POCO X5).
| Archive format | Level of protection | Cons |
|---|---|---|
| .zip (ZipCrypto) | Weak (hacked in the hours) | Do not use critical data. |
| .zip (AES-256) | Medium. | Requires third-party applications |
| .7z (AES-256) | High-pitched | Longer to be created/unpacked |
| .rar (AES-256) | High-pitched | Paid software for creating |
β οΈ Note: If you use Google Photos or Mi Cloud, the archive can automatically upload to the cloud in an unencrypted form!
βοΈ Preparation for archiving photos
Method 3: Transfer of photos to SD-Encrypted card (for models with support)
If your Xiaomi supports microSD (like the Redmi Note 11 Pro+ or POCO X4 Pro), you can transfer the photo to the memory card and encrypt it.
- π± Smartphone with support for encryption of external drives (available in the MIUI 12+).
- πΎ Memory card class 10 or higher (cheap cards may not support encryption).
Instructions:
- Put it in. SD-smartphone-card.
- Go to Settings. β Warehouse β SD-map.
- Select Format as internal memory β Encrypt the card.
- Transfer the photo to the folder on the map through the Files or Gallery.
Pros: files are system-protected, only available after unlocking the phone. Cons: the card can not be retrieved and read on another device without losing data.
What to do if Xiaomi doesnβt see it SD-post-encryption?
Method 4: Hiding photos through the βSecure folderβ in MIUI (Chinese firmware only)
In the Chinese versions of MIUI (for example, on Xiaomi 13 Ultra for the Chinese market), there is a function of the Safe folder (Privacy Folder), which works as a separate storage with biometric protection.
- Go to Settings β Privacy β Secure folder.
- Set a password or fingerprint.
- Add photos via Add files or drag them from the gallery.
Features of the function:
- π Files are not displayed in the gallery or file managers.
- π« No access through ADB or root without unlocking.
- π It does not work on global firmware (only in China). ROM).
This method is one of the most reliable for the Chinese versions of MIUI, but requires reflashing on China ROM, which voids the warranty.
π‘
If you have global firmware but really need a Safe Folder, try installing the Chinese version of MIUI via Fastboot, but remember, it will lead to data loss and possible problems with Google Services!
Method 5: Use of third-party applications (LockMyPix, KeepSafe, Vaulty)
If the built-in MIUI methods don't suit you, look for third-party photo hiding apps.
| Annex | Features | Cons |
|---|---|---|
| LockMyPix | Encryption of AES-256, masking as a calculator | Paid version for full functionality |
| KeepSafe | Cloud backups, PIN-code | Advertising in the free version |
| Vaulty | Automatic screenshot hiding, false PIN | Some functions require rooting |
| GalleryVault | Video support, masking under the system application | A complex interface |
How to use it correctly:
- Download the app from Google Play (not from third-party sources!).
- Import the photo to the secure storage of the application.
- Delete the originals through the Gallery.
- Set up a false PIN (if there is a feature) to mask.
β οΈ Note: Some apps (like Vaulty) may upload your photos to their servers for backup!
Method 6: Advanced Hiding Through ADB and Changing File Attributes (for experienced)
If you're willing to work with ADB, you can hide photos by changing their attributes or moving them to system folders.
- π₯οΈ Computer with installed ADB Tools.
- π± Included Debugging by USB on Xiaomi (Settings) β The phone. β Version. MIUI β 7 taps β Additionally. β For developers).
- π Unlocked bootloader (for some commands).
Example of a command to hide files (moving to the system folder):
adb shell
su
mv /sdcard/DCIM/Camera/secret.jpg /data/local/tmp/.hidden/
chmod 600 /data/local/tmp/.hidden/secret.jpgWhat this team does:
- Moves the secret.jpg file to the hidden system folder.
- Changes access rights (chmod 600) to prevent the file from being displayed in the gallery.
Warning: misuse of ADB can lead to data loss or system failure.Before experimenting, back up!
π‘
The ADB method is only suitable for advanced users. For beginners, it is better to use built-in MIUI features or third-party applications with good reviews.
Method 7: Hiding photos via TWRP and encrypting /data (for root users)
The most radical way is to encrypt the entire /data partition via TWRP, which hides the photo at the file system level, but requires:
- π Unlocked loader.
- π± Established custom recaveri TWRP.
- πΎ Backup of all data (encryption erases everything!).
Step-by-step:
- Download to TWRP (Nutrition + Volume Up).
- Go to Wipe β Format Data β enter Yes.
- Select Reboot β System and wait for the reboot.
- When you first run, MIUI will offer to set a password for encryption.
After that, all photos (and other files in /data) will be encrypted.
- β οΈ When resetting the password, the data will be irretrievably lost.
- β±οΈ Slows down the smartphone by 10-15%.
- π§ Requires technical skills.
Frequent mistakes when hiding photos on Xiaomi
Even experienced Xiaomi users make mistakes that negate all efforts to hide photos.
- πΈ Forget to clean the thumbnails: even after removing the photo, their previews remain in the picture. /DCIM/.thumbnails. Delete this folder manually.
- βοΈ Do not turn off cloud sync: Mi Cloud and Google Photos can upload hidden photos to the public.
- π Use weak passwords: passwords like 123456 or date of birth are hacked in seconds.
- π Use the standard File Manager: it shows hidden folders (enable the display of hidden files in the settings).
Check yourself out: