You try to open photos on a Xiaomi smartphone, but the gallery stubbornly doesn't start β does the app fly out, hang on the logo or not at all? This problem is familiar to many users of devices on MIUI, and its causes can be hidden in both software failures and hardware limitations. In 2026, with the release of new versions of the firmware, the list of possible malfunctions has expanded, but the solutions have become more numerous.
In this article, we will analyze all the current reasons why the gallery may not open on Redmi, Poco, Mi and Black Shark smartphones - from banal cache to serious file system errors. You will receive step-by-step instructions for each situation, including when the application disappeared after an update or reset. MIUI 14/15 HyperOS, where the algorithms of the gallery have changed.
Before you go to radical measures (like a phone reset), check out simple solutions β often the problem is solved in 2 minutes. And if you have already tried standard methods without success, at the end of the article you will find exclusive ways for complex cases, including recovery through ADB and manual installation of APK.
1 Gallery flies out immediately after launch: causes and fast fixes
If a gallery app opens for a split second and closes immediately (or a message appears, "Gallery stopped"), one of three components is to blame: the app's cache, corrupted media data, or conflict with other services.
The first step is to clean the cache, and this method works 60 percent of the time, because MIUI is actively caching thumbnails and metadata of photos.
Settings β Applications β Application Management β Gallery β Storage β Clear cacheIf the gallery still doesn't open after cleaning the cache, try to delete the application data (the "Clear Data" button under the cache). Attention: this will delete all albums and sorting settings, but the photos on the phone will remain. Once the gallery device is rebooted, reassemble the media database - the process can take 5-15 minutes depending on the volume of the photo.
- π Rebooting your phone - sometimes helps even without clearing the cache. Hold the power button for 10 seconds for a forced reboot.
- π± Check for updates β go to Settings β The phone. β Update the system. MIUI 15 and HyperOS gallery bugs are often patched.
- π« Shutdown VPN/AdGuard β Some ad blocking apps conflict with system services MIUI.
β οΈ Warning: If the gallery doesn't start after cleaning up the data, don't create new albums manually, which can make the problem worse.
2 Gallery Disappears After MIUI Update: How to Get Back
One of the most common problems is that the gallery icon disappears after the firmware update.
- π Automatic resetting of settings (in MIUI 14+ Some applications are hidden as βunusedΒ»).
- π¦ Systemic removal APK Incorrect updates (relevant to beta versions).
- π€ Conflict with Google Photos if it is installed as a default app.
First, check if the gallery is hidden.
- Open Settings β Applications β Application Management.
- Slip on three dots in the top right corner and select "Show all apps."
- Find the Gallery in the list and turn it on.
If the gallery is not listed, then its APK has been removed.
- Download the original APK galleries for your model from the Xiaomi Firmware Updater website (select the version corresponding to your firmware).
- Install the APK manually, pre-authorizing installation from unknown sources (Settings β Privacy β Special Permits).
How to find out the MIUI version for APK download?
3. "No access to the storage" error: rights and permissions
If you open a gallery with a message like βNo File Accessβ or βPermissions Not Granted,β the problem is with the MIUI security settings. In recent versions of Xiaomi firmware, media access controls have been tightened, and sometimes permissions are reset after updates.
To fix this:
- Go to Settings β Applications β Application Management β Gallery β Permissions.
- All switches are switched on: βStorageβ, βCameraβ (for creating albums), βMicrophoneβ (for video with sound).
- Scroll down and turn on βChanging System Settingsβ (to create screenshots and edit metadata).
If the Permissions section is not available (gray), then the gallery is operating in a limited mode, this happens after manual resetting of rights through ADB or using applications such as App Ops.
Connect your phone to your PC, enable debugging over USB and execute the command:
adb shell pm grant com.miui.gallery android.permission.READ_EXTERNAL_STORAGE
adb shell pm grant com.miui.gallery android.permission.WRITE_EXTERNAL_STORAGE| Symptoms. | Probable cause | Decision |
|---|---|---|
| The gallery opens but does not show photos | No access to the DCIM folder | Check the permissions and restart the phone |
| The app flies out when scrolling | Damaged thumbnails in the cache | Cache Clearing + Delete the.thumbnails folder through the file manager |
| Gallery icon turned grey | Application disabled by the device administrator | Go to Settings β Accounts β Delete Mi Account (if not critical) |
4.The gallery does not open specific photos or folders
Sometimes the gallery is launched but refuses to display individual files, such as telegram photos, screenshots or images uploaded from the Internet.
- π Incorrect rights to folders (relevant for files downloaded through the browser).
- π Unsupported formats (e.g, HEIC or WEBp on older models).
- π Encrypting files (if photos were transferred from another device with encrypted storage).
For diagnosis:
- Open any file manager (e.g., Mi File Manager or Solid Explorer).
- Go to the problematic photo folder (usually /storage/emulated/0/DCIM/Camera).
- Try opening the file manually β if the manager shows it and the gallery doesnβt, the problem is in the gallery database.
If the files are not displayed even in the manager:
- π Move them to another folder (like Download) and check again.
- π Check the file extension β sometimes it can be changed to unreadable (e.g..jpg.enc).
- π§ Use a PC to check file integrity (programs like PhotoRec or IrfanView).
π‘
If the gallery does not show photos from the memory card, remove the photo. SD-Insert it into another phone or PC and check for file system errors (via chkdsk in Windows).
5. Conflict with Google Photos and other galleries
MIUI has a peculiarity: if multiple photo viewing apps (e.g. Google Photos, Simple Gallery) are installed on the phone, they can block each other's access to media files. This is due to the Android 11+ policy, where only one application can be a "media manager."
To resolve the conflict:
- Go to Settings β Applications β By default β Gallery.
- Choose MIUI Gallery as the default application for opening images.
- For Google Photos, we disable the option βBackup and Syncβ (it can block access).
If you prefer Google Photos but want to leave the system gallery for some features (e.g. editing), do the following:
Settings β Privacy β Special Permits β Access to Files β Google Photos β Disable Access to Images and VideosImportant: MIUI 15 and HyperOS have a dual gallery feature that allows you to use both galleries in parallel.
Settings β Additional β Special features β Double gallery (include)Hardware causes: damaged storage or memory module
If none of the software methods worked, the problem could be physical damage to the storage.
- π± Smartphones after falling or getting moisture.
- πΎ Devices with worn flash memory (especially after 3)+ years of intensive use).
- π Phones where the gallery stopped working after connecting to a PC in mode MTP.
Signs of hardware malfunction:
- The gallery doesnβt open all the photos, but other apps (like WhatsApp) can see them.
- The phone freezes periodically when trying to watch media.
- In Settings β Storage displays incorrect memory capacity (for example, -1 GB is free).
For diagnosis:
- Connect your phone to your PC and try to copy photos. If the copying is interrupted with an error, it's a sign of bad blocks.
- Run the memory test using ##6484## (on some models) or use the AIDA64 app.
- Check if the phone overheats when you try to open the gallery (this may indicate problems with the memory controller).
β οΈ Warning: If the diagnostics confirm a hardware malfunction, do not try to reflash the phone - this may aggravate the problem (eMMC/UFS). On the Redmi Note models 10/11 POCO X3/X4 frequent problem - the dump of the memory chip after the impacts.
βοΈ What to do before visiting the service center
7. Radical methods: reset, firmware, ADB
If all previous methods have failed, extreme measures remain, and should only be applied if:
- π The gallery does not open even after the flashing.
- π± The phone is making errors like βcom.miui.gallery process stoppedΒ».
- π§ You are sure that the problem is not hardware.
Method 1: Reset Gallery settings via ADB
This method will reset all the settings of the application, but will not delete the photos:
adb shell pm clear com.miui.galleryMethod 2: Installation of the global version of MIUI
On some regional firmware (e.g. MIUI China or India), the gallery may not work properly, so the solution is to flash MIUI Global through the Mi Flash Tool (instructions on the official website).
Method 3: Manually Recover Media Database
If the gallery does not see the photos, but they are physically present on the phone, you can forcibly reassemble the database:
adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///storage/emulated/0/DCIM/π‘
Before resetting or firmware, be sure to back up your photos via PC or cloud. Even if the gallery doesn't work, files can be accessed via file manager or ADB pull.