You downloaded photos from WhatsApp to your Xiaomi, but they stubbornly do not appear in the standard gallery? This problem is familiar to many owners of smartphones on MIUI β from the budget Redmi Note to the flagship Xiaomi 13. The reasons can lie in the settings of the messenger itself, and in the features of the file system of Xiaomi smartphones with the firmware MIUI 12 and later.
In this article, weβll look at all possible scenarios, from banal lack of rights to hidden folders to caching errors, how to get a gallery to show media from WhatsApp without manual transfer, why some images are only visible through the file manager, and what to do if a problem occurs after the MIUI update.
Spoiler: 80 percent of the time, you just need to change 1-2 settings on the messenger or phone, but there are more complicated cases, like when files are physically saved to a secure folder /Android/media/com.whatsapp/ that is not accessible to the gallery, and then step-by-step solutions for each situation.
1. Check your media saving settings on WhatsApp
The first thing to do is make sure WhatsApp stores files in the phoneβs memory at all. By default, the messenger downloads media to internal memory, but sometimes the settings get lost after updating or reinstalling the app.
Open WhatsApp, tap three dots in the top right corner, and go to Settings β Storage and Data. Check here:
- π Autoupload media: must be enabled at least for Wi-Fi or Wi-Fi and mobile data. If disabled, photos are not automatically saved.
- π Saving to the gallery: Media visibility must be active. If not, update WhatsApp to the latest version.
- π Rescue folder: By default, this is WhatsApp/Media, Sometimes the path changes (for example, after the transfer to the SD-map).
If this is correct, but the photos are still not displayed, move to the next step. Importantly, after changing the settings, restart the phone, which will start re-scanning the media files.
2. Hidden folders and features of MIUI
MIUI firmware has a unique feature: it hides some system folders by default from being scanned by the gallery.This is done to optimize performance, but often results in photos from instant messengers (including WhatsApp) not being displayed in the standard Gallery app.
The problem lies in the /Android/media/ folder where WhatsApp saves media files, and by default MIUI removes the directory from indexing, considering it to be "systemic," and this is solved in two ways:
- Manual folder addition to the gallery: Open the gallery β Albums. β Settings (βοΈ) β Find the WhatsApp (or WhatsApp Images) folder and turn on the switch next to it. If the folder isn't on the list, tap it.
- Change the save path (if the first method didnβt work): On WhatsApp, go to Settings β Storage & Data β Storage Management. Select Change the save path and specify any folder outside /Android/media/, such as /Pictures/WhatsApp/.
Open Gallery settings β Folders
Enable the display of the WhatsApp folder
Check the Save Path on WhatsApp
Reboot your phone to update the index-->
If the photos never show up after these actions, the problem may be deeper, such as a damaged gallery cache or a conflict with a MIUI optimizer.
3.Cleaning gallery and media storage cache
The standard gallery on Xiaomi uses its own database to index media files. If this database is corrupted or outdated, new photos (including those from WhatsApp) may not be displayed despite their physical presence in the phone's memory.
To reset the media index:
- Go to Settings β Applications β Application Management.
- Find the Gallery (or Google Photos if you use it) and select the Store.
- Tap Clear Cache and Clear Data (Warning: This will remove albums and sorting settings, but not the photos themselves!).
- Reboot the phone.
After the reboot, wait until the system re-scans the media files (may take 5-15 minutes depending on the amount of memory). If the photos still don't show up, try forcefully updating the media storage:
adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///storage/emulated/0/WhatsApp/Media/This command triggers a re-scan of the WhatsApp folder through ADB. If you are not familiar with ADB, skip this step and proceed to the next section.
π‘
If, after cleaning the cache, photos are missing even from file managers, check the WhatsApp/.Trash folder β sometimes files move there when crashes.
4. Conflict with MIUI optimizer and background activity
MIUI Optimized is a system application that aggressively manages background processes to save battery, sometimes blocking new media files from being scanned, especially if they were downloaded via messenger.
To check if the optimizer is to blame:
- π Open the Settings. β Battery and productivity β Battery management.
- π± Find WhatsApp in the list and select No Limits (or No Limits in New Versions) MIUI).
- π Restart WhatsApp app and check if photos show up in gallery.
If that doesnβt work, try temporarily disabling MIUI Optimized (power users only!):
adb shell pm uninstall --user 0 com.miui.powerkeeperβ οΈ Attention: Disconnection MIUI Optimized can lead to increased battery consumption and overheating of the device. Use this method only for testing and turn the optimizer back on after checking.
Also check if WhatsApp has been added to the list of βdeep optimizationβ:
- Go to Settings β Applications β Permissions β Autorun.
- Make sure that WhatsApp is auto-starting enabled.
- In Settings β Applications β Application Management β WhatsApp β Battery, select Without Limits.
5. Problems with SD-card-share
If you use SD-Map as the main storage for WhatsApp, the problem may be in the mounting settings or map format. MIUI It does not always index media files correctly on external drives, especially if:
- πΎ The map is formatted in FAT32 (Maximum file size: 4 GB).
- π The card is connected as a portable storage (not as internal memory).
- π« WhatsAppβs settings indicate the wrong path to SD-map.
To correct:
- Move the WhatsApp folder with SD-Cards to internal memory (via file manager).
- On WhatsApp, change the way you save to internal memory (Settings β Storage & Data β Storage Management β Change the Way).
- If you use the card as internal memory, restart your phone and wait for indexing to re-index.
| Format SD-map | Max. File size. | Support for MIUI | Recommendation |
|---|---|---|---|
| FAT32 | 4GB | Yes. | Not suitable for 4K video |
| exFAT | 16 EB | Yes (with MIUI 12+) | The best choice |
| NTFS | 16 EB | Partially. | There may be reading errors |
| ext4 | 16 EB | Only for internal memory | Not suitable for SD-map |
If the photos are still not displayed, try formatting. SD-map in exFAT (with pre-data backup!) and reconfigure WhatsApp.
6. Damaged files or incompatible formats
Sometimes photos don't show up in the gallery because of the settings, but because of the files themselves.
- πΌοΈ Damaged files: If the download is interrupted, the file may be broken.
- π Non-standard formats: WhatsApp supports.jpg,.png,.webp, but gallery MIUI You can ignore.heic or.avif.
- π Secure files: Some images (e.g. screenshots from secure chats) are saved with limited rights.
To check:
- Open the file manager (such as Files or Solid Explorer) and go to /WhatsApp/Media/WhatsApp Images/.
- Try opening the problem photo manually, and if the file doesn't open, it's corrupted.
- If a file opens but doesn't appear in a gallery, check the extension. Rename it from photo.heic to photo.jpg, for example.
β οΈ Note: If photos were sent in secure WhatsApp chats (with a self-destruct timer), they are stored encrypted and will not be displayed in the gallery. To see them, open the chat and save the file manually without encryption.
For massive format conversions (e.g. HEIC β JPG), use applications like HEIC to JPG Converter or File Converter.
How to recover damaged photos?
7. Alternative solutions and radical measures
If none of the previous methods worked, the more radical methods remain:
- π Reset Gallery settings: Go to Settings β Annexes β gallery β Storage. Tap Clear the data (this will delete all the settings of the application). Reboot the phone.
Use of a third-party gallery
Install Google Photos, Simple Gallery or QuickPic β these are often better indexing files than the standard MIUI gallery.
Manual file transfer
- Through the file manager, copy photos from /WhatsApp/Media/ to /Pictures/ or /DCIM/.
- Reboot the phone.
Resetting all settings
If the problem occurs after the update MIUI, Try resetting your phone to factory settings (Settings) β The phone. β Warning: This will delete all data except files on SD-map.
If you use custom firmware (like LineageOS or Pixel Experience), the problem may be the build is flawed. Try reflashing the official MIUI via Fastboot.
π‘
In 90% of cases, the problem is solved by cleaning the cache of the gallery or changing the save path in WhatsApp. Radical measures (reset, flashing) are required only in case of system failures.