How to give Xiaomi Gallery access to the SD-map: all ways 2026

You've installed SD-a map to a Xiaomi smartphone, but the gallery stubbornly refuses to see the photos on it? MIUI Is the problem of accessing an external drive one of the most common among owners of Redmi devices, POCO The reason lies in the security policy of Android and features of the shell MIUI, which restrict the operation of applications with external media.

In this article, we will discuss all the current ways to grant permissions to a gallery on Xiaomi, from standard settings to hidden MIUI functions and manual mounting through ADB. Particular attention will be paid to solutions for the latest firmware versions (MIUI 14/13 based on Android 13/12), where the algorithm has changed, and you will learn why some methods stopped working after the updates and how to circumvent new restrictions.

Problem with access to SD-Xiaomi Maps Are Combined Due to Three Factors:

  • ๐Ÿ”’ Android Policy: Starting with Android 11, Google has tightened its rules for working with external media: apps are forbidden to read files freely outside their folders without the explicit permission of the user.
  • ๐Ÿ›ก๏ธ Limitations MIUI: Xiaomi shell adds its layer of protection, blocking access to the /storage/ For third-party apps, even if they have Android permissions.
  • ๐Ÿ“ Formatting the map: If SD-The card is formatted as an internal memory (Adoptable Storage), the system can restrict access to it for individual applications.

Users are most often faced with the following errors:

  • โŒ ยซNo access to SD-map" in the gallery Xiaomi.
  • โŒ Files on the map are displayed, but they cannot be edited or deleted.
  • โŒ com.miui.gallery gives an error: โ€œImpossible to read the mediaยป.

Before you move on to solutions, check the basics:

Format. SD-map FAT32/exFAT (if she's new)

Make sure the card is inserted correctly into the slot

Reboot your smartphone after installing the card

Check the card on another device (laptop, other phone)

-->

Method 1: Provide permission through MIUI settings

The easiest method is to use the built-in MIUI tools, which works on most Xiaomi, Redmi and POCO devices with MIUI 12-14 firmware.

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find the Gallery app (or com.miui.gallery) and tap it.
  3. Go to the Permissions section โ†’ Memory (or Files and Multimedia).
  4. Activate the "Allow File Access" switch.
  5. In the window that appears, select ยซSD-map and confirm access.

If Memory is not on the permission list, try an alternative path:

  1. Open Settings โ†’ Privacy โ†’ Permissions โ†’ Permissions Management.
  2. Choose a Memory (or Warehouse)
  3. Find the Gallery in the list and enable access.

๐Ÿ’ก

If the gallery still doesnโ€™t see files after granting permissions, try clearing its cache: Settings โ†’ Apps โ†’ Gallery โ†’ Storage โ†’ Clear the cache.

Some devices (such as the POCO X3 Pro or Redmi Note 11) may require an additional step:

  1. Open the Gallery and go to the Albums section.
  2. Slip on the three dots in the upper right corner and select Settings.
  3. Activate the option โ€œShow files withโ€ SD-mapยป.

Method 2: Setup SD-maps as internal storage

If you use SD-The card, as an extension of the internal memory (Adoptable Storage), the gallery and other applications will have full access to it:

  • โš ๏ธ The card will be encrypted and will not be read on other devices.
  • โš ๏ธ After the map is extracted, some applications may stop working.
  • โš ๏ธ The speed of the card should not be lower than Class. 10/UHS-I, Otherwise, the system will refuse to format it.

Instructions for setting:

  1. Put it in. SD-smartphone-card.
  2. Open the Settings. โ†’ Memory (or Warehouse).
  3. Tap your name on it. SD-map โ†’ Configure (or format as internal memory).
  4. Confirm the formatting (all data will be deleted!).
  5. After the process is complete, restart the device.

If there is no option to format as internal memory, this means that:

  • ๐Ÿ”น Your card has already been formatted as an internal card.
  • ๐Ÿ”น The card is not supported (too slow or damaged).
  • ๐Ÿ”น The manufacturer (Xiaomi) has disabled this feature for your model (relevant for devices with a computer). MIUI 13+).
What if the option โ€œFormat as internal memoryโ€ is not available?
On some Xiaomi devices (e.g. Redmi Note 10 Pro or POCO F4) Adoptable Storage is hidden, and you can use it to get it back. ADB-command: adb shell sm set-force-adoptable true After that, the option will appear in the settings.Warning: this method requires an unlocked bootloader and can cause crashes!

Method 3: Using a file manager for manual access

If the gallery still doesnโ€™t see files, but other applications (like Google Photos) work fine, you can use a file manager to transfer media files to internal memory.

Instructions:

  1. Open a standard Files (com.mi.android.globalFileexplorer) or install a third-party manager (such as Solid Explorer).
  2. Go to section. SD-map external_sd).
  3. Find a folder with photos (usually DCIM or Pictures).
  4. Select the files you need and click Copy (or Cut).
  5. Move to the internal memory โ†’ DCIM/Camera And put the files in.

This method does not solve the access problem, but it allows you to bypass the restrictions by transferring files to a section where the gallery has full rights.

To automate the process, you can use the FolderSync or MacroDroid application, which will synchronize files with the SD-cards in internal memory on a schedule.

The standard "Files" from Xiaomi

Solid Explorer

FX File Explorer

Total Commander

Other-->

Method 4: Permissions through ADB (power-user)

If standard methods do not work, you can manually provide the gallery with access to the SD-Map from Android Debug Bridge (ADB). This method requires a computer connection and basic command line knowledge.

Step-by-step:

  1. Turn on Developer Mode: Open Settings โ†’ About Phone. Tap 7 times on MIUI Version. Return to Settings โ†’ Additional โ†’ Developer. Activate USB Debugging.

Connect your smartphone to your PC and confirm access via USB.

command-line

Terminal

adb shell pm grant com.miui.gallery android.permission.WRITE_EXTERNAL_STORAGE


adb shell pm grant com.miui.gallery android.permission.READ_EXTERNAL_STORAGE

MIUI 13/14

adb shell appops set com.miui.gallery android:legacy_storage allow

Reset the device.

On Android 11+ and MIUI 12.5+ devices, the standard ADB commands may not work due to new restrictions.

adb shell


su




chmod 777 /storage/XXXX-XXXX # (replace with ID your SD- card)




exit




exit

To find out ID yours SD-Maps, enter the adb shell command:

ls -l /storage/

๐Ÿ’ก

Using ADB is the most reliable way, but it requires an unlocked bootloader on some Xiaomi models (such as the Mi 11 or POCO F3).

Method 5: Alternative Galleries with Support SD-map

If none of the methods worked, consider using third-party galleries that bypass MIUI restrictions.

AnnexSupport SD-mapFeaturesCons
Google Photoโœ… Yes (with manual folder selection)Automatic backup, search by contentRestriction on free storage (15 GB)
Simple Gallery Proโœ… Full supportOpen source, no advertising, album encryptionPaid version (โ‰ˆ300 rubles)
QuickPicโœ… Yes.Easy, fast, support for cloud servicesAdvertising in the free version
A+ Galleryโœ… Yes, including exFAT)Minimalist interface, support for RAWNo Russian language

To set up access to Google Photos:

  1. Open the app and tap on the avatar in the upper right corner.
  2. Select Photo Settings โ†’ Backup and Synchronization.
  3. Turn off backup (if not necessary).
  4. Return to the main menu and tap the Device โ†’ folders from the device.
  5. Find it. SD-map in the list and enable the display of files.

For Simple Gallery Pro:

  1. At the first start, allow access to all files.
  2. Go to Settings โ†’ Folders.
  3. Add Add a folder and select SD-map.

๐Ÿ’ก

If you use Google Photos to view files from SD-Disable automatic synchronization in mobile data to avoid unnecessary traffic.

Solving problems after MIUI update

Updates MIUI They often reset permits or impose new restrictions, if after upgrading the firmware, the gallery stopped seeing. SD-map, follow the following steps:

  1. Reset permissions: Open Settings โ†’ Applications โ†’ Application Management โ†’ Gallery โ†’ Permissions. Turn off all permissions, then turn them back on.
  2. Clear the gallery data: Go to Settings โ†’ Apps โ†’ Gallery โ†’ Storage. Click Clear Data (not cache!) Attention: this will delete all the app settings, but will not affect the photos themselves.
  3. Rewire it. SD-Map: Remove the map, reboot the phone. Put the card back in and wait for the definition.

MIUI 14 has a new feature called Privacy Protection, which can block access to files, to turn it off:

  1. Open Settings โ†’ Privacy โ†’ Special access.
  2. Select Access to all files.
  3. Find the Gallery in the list and turn on the switch.

If the problem persists, check if MIUI Dual Apps are activated, which can create conflicts with external media access. Turn it off in Settings โ†’ Applications โ†’ Second Space.

๐Ÿ’ก

After major upgrades (e.g., from MIUI 13 to MIUI 14), it can sometimes help to reset to factory settings.

Frequent mistakes and their solutions

Letโ€™s analyze the typical situations faced by Xiaomi users when working with the company. SD-map.

โš ๏ธ Attention: If after connection SD-The smartphone starts to overheat or brake, which may indicate a problem card. Check it on another device or format it.

Mistake.Possible causeDecision
ยซSD-map damagedยปThe file system of the card is broken or incompatibleFormat your map in FAT32 via PC
No access in the gallery, but files are visible in the explorerMIUI Limitations for a Specific ApplicationUse an ADB or third-party gallery
Map is defined, but files are not displayedHidden files or unsupported formatCheck the settings for displaying hidden files in Explorer
ยซInsufficient memory when transferring files to SD-mapThe map is formatted as internal but filledClear the place or transfer files to another device

If you SD-The card is not defined at all, try it:

  • ๐Ÿ”Œ Reboot the phone with the card inserted.
  • ๐Ÿ”ง Wipe the contacts of the card with a soft cloth (possible oxidation).
  • ๐Ÿ–ฅ๏ธ Check the card on PC through the card reader.
  • ๐Ÿ“ฑ Insert the card into another slot (if there is, for example, in the POCO F4 GT).

On some models (Redmi Note 9 Pro, Mi) 10T) It occurs when a bug occurs SD-The card is determined only after a full reboot (not a quick restart).To perform a full reboot, hold the power button until the menu appears and select Reboot.

Can I use it? SD-The card as internal memory on all smartphones Xiaomi?
No, not all. Starting with MIUI 12.5 and Android 11, Xiaomi has disabled this feature for most models. It can only be available on budget devices (e.g. Redmi 9A or POCO M3). Flagships (Mi 11, Xiaomi 12) and most mid-budget models (Redmi Note 10 Pro, POCO X3 GT) are not available.
Why After Updating MIUI gallery stopped seeing SD-map?
This is due to the tightening of security policies in new versions of MIUI, with applications starting with MIUI 13 being banned by default from accessing the root of external media (/storage/XXXX-XXXX), the solution being to use ADB or third-party galleries that request extended permissions.
How to transfer applications to SD-map?
Most modern Xiaomi devices port applications to SD-This is due to the limitations of Android 9.+, where Google has banned this feature for security purposes. SD-card as internal memory (if available) or install applications on the card via ADB: adb shell pm set-install-location 2 Attention: This method can cause malfunctions in applications!
Can I format it? SD-map NTFS Xiaomi?
Technically yes, but not recommended. Android does not support NTFS at the kernel level, so it will require: Install third-party software (such as Paragon NTFS). Get root access and implement the driver. Better use exFAT - it is supported by all modern Xiaomi smartphones and allows you to work with files larger than 4 GB.
What to do if SD-The map works, but the gallery doesn't see all the files?
This can happen for several reasons: Files are hidden: Enable hidden files to be displayed in Explorer (Settings โ†’ Show hidden files). Unsupported format: MIUI Gallery may not display.HEIC,.RAW or.WEB. Use third-party applications (such as Simple Gallery). Damaged files: Check the card on PC using chkdsk (Windows) or fsck (Linux/Mac). Folder restrictions: Some folders (such as Android/data) are hidden from the gallery by default.