How to allow access SD-Map in the gallery Xiaomi Redmi 9: all ways

Xiaomi Redmi 9 โ€” Popular smartphone with support for microSD cards 512 GB, but many users face a problem: the gallery does not display photos and videos saved on an external drive. MIUI before the system limitations of Android 10/11, In this article, we'll look at all the working ways to allow access to the device. SD-A map in the standard gallery, and consider alternative solutions for those with a problem persisting.

It is important to understand that Redmi 9 (model M2003J15SC/M2004C3LG) has the peculiarities of working with external drives due to security policy MIUI 12+. For example, by default, applications are prohibited from accessing root folders. SD-In addition, after updating the firmware, the settings can be reset and access will have to be reconfigured. We tested all methods on current versions of the software (including the ones that are not available). MIUI 14 Android-based 11) They only use those that are stable.

Before you start setting up, you should get to the root of the problem, and here are the main reasons why Xiaomi gallery can ignore files on an external drive:

  • ๐Ÿ”’ Lack of permissions for the Gallery application to access SD-card (frequent issue after resetting settings or updating) MIUI).
  • ๐Ÿ“ Incorrect folder structure: files are saved in non-standard directories (for example, in the case of a file, /Download instead /DCIM/Camera).
  • ๐Ÿ› ๏ธ Failures in operation MIUI: The cache of the gallery or file manager is damaged, which causes scanning of media files to be prevented.
  • ๐Ÿ”„ SD-The card is formatted in an inappropriate file system (e.g, NTFS instead FAT32 exFAT).
  • ๐Ÿ“ฑ The Limitations of Android 10+: Since this version, applications are prohibited from arbitrary access to external drives without the explicit permission of the user.

The problem may also be in the physical state of the memory card. SD-The card is damaged or works in read-only mode, the gallery will not be able to read the files. To rule out this option, try connecting the card to another device (for example, a computer) and check its health.

โš ๏ธ Attention: If you are using SD-The card as internal memory (Adoptable Storage function in Android), access to it through the file manager or gallery can be limited, in which case the only way out is to transfer the files to internal memory or format the card as a portable drive (with loss of data!).

The easiest and fastest method is to check and issue the necessary permits for a standard Xiaomi gallery.

  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 Storage).
  4. Activate the switches for internal memory and SD-cards (if they are disabled).
  5. Return to the main gallery settings menu and select Additional โ†’ Scan. SD-map (or similar item).

If the files are still not displayed after these actions, try clearing the gallery cache:

  • ๐Ÿงน In the same settings of the Gallery app, select Storage โ†’ Clear the cache.
  • ๐Ÿ”„ Reboot your smartphone and wait until the gallery scans the media files again (may take 1-2 minutes).

Check that the memory card is inserted correctly|Make sure there is a free space on the map (minimum 100 MB)|Turn off the energy saving mode for the gallery|Reboot your phone after the changes-->

If the gallery settings do not have the item "Scan" SD-map, so your version MIUI This is done by manually updating the media base through the file manager (see Method 3).

Method 2: Configure access via MIUI File Manager

In Xiaomi Redmi 9 for processing external drives meets the standard MIUI File Manager (or Files) If the gallery doesn't see the photo, first make sure the file manager is allowed access to the photo. SD-map and then manually update the media base.

Instructions:

  1. Open the Files app (the folder icon on the desktop).
  2. At the top of the screen, tap three points (โ‹ฎ) โ†’ Settings.
  3. Find the Additional section and activate the โ€œShow hidden filesโ€ option (this will help you see system folders).
  4. Go back to the root directory and select yours. SD-map (usually displayed as a SD card or external drive).
  5. Go to the DCIM โ†’ Camera folder (or the directory where your photos / videos are stored).
  6. Hold your finger on any file, select Allocate โ†’ More (โ‹ฎ) โ†’ Scanning media files.

If there is no Scan Media Files option, try an alternative method:

  • ๐Ÿ“‚ Go to Settings. โ†’ Warehouse โ†’ SD-map.
  • ๐Ÿ” Tap the Update or Scan button (if it is active).
  • ๐Ÿ”„ Restart the device and check the gallery.

๐Ÿ’ก

If the folder DCIM absent SD-You can create it manually through the file manager, and that's where the gallery looks for the default media files.

Method 3: Formatting SD-Maps in the correct file system

If previous methods failed, the problem may be an incompatible file system. SD-Xiaomi Redmi 9 officially supports only maps FAT32 and exFAT. if your card is formatted in NTFS or other system, the gallery will not be able to read the files.

To check and modify the file system:

  1. Connect. SD-card to the computer through the card reader.
  2. Open Disk Management (Windows) or Disk Utility (macOS).
  3. See the current file system of the card (displayed in the drive properties).
  4. If the system is not FAT32/exFAT, copy all the data to the computer, then format the card in exFAT (recommended for cards with a volume of >32 GB).
File systemMax. File size.Support for Redmi 9Recommendations
FAT324GBYes.Suitable for cards up to 32 GB. Does not support files >4 GB.
exFAT16 EBYes.Optimal choice for cards >32 GB. Supports large files.
NTFS16 EBNo.Incompatible with Android without root rights. Use only for PC.

โš ๏ธ Attention: Formatting removes all data from the card! Be sure to back up your files before the procedure. Also avoid using FAT32 map >64GB โ€“ This can lead to recording errors.

If the standard gallery MIUI They refuse to see the files on the SD-And you can use alternative applications that don't have these rigid constraints:

  • ๐Ÿ“ธ Google Photos: automatically scans all folders, including external drives. minus - requires the Internet to fully sync.
  • ๐Ÿ–ผ๏ธ Simple Gallery: Lightweight open source gallery, supports manual scanning SD-map.
  • ๐Ÿ—ƒ๏ธ QuickPic: Allows you to manually add folders for scanning, including hidden ones.
  • ๐Ÿ“ FX File Explorer: not only a file manager, but also a built-in media viewer with support SD-map.

To set up a third-party gallery:

  1. Install the selected application from Google Play.
  2. Open the application settings and find the Media Scan or Folder section.
  3. Add a manual path to SD-map (e.g., map, /storage/1234-5678/DCIM).
  4. Activate the โ€œShow hidden filesโ€ option if necessary.
  5. Restart the application and wait for the scan to finish.

Simple Gallery and QuickPic also allow you to exclude folders from the scan, which speeds up the work. SD-The card stores not only media files, but also, for example, documents or backup copies.

Standard MIUI|Google Photo|Simple Gallery|QuickPic|Other |Do not use the gallery-->

Method 5: Resetting the Media Scanner Settings (for Power Users)

If all of the above methods fail, the problem may lie in the failure of the system media scanner, an Android service that indexes all media files on the device. ADB-commands (computer and debugging required) USB).

Instructions:

  1. Turn on Developer Mode on your phone: Go to Settings โ†’ About Phone โ†’ Tap 7 times on MIUI Version. Go back to Settings โ†’ Additional โ†’ Developer. Activate Debugging over USB.

ADB-driver

Android Studio

Minimal ADB

Open the command line (Windows) or terminal (macOS/Linux) and type:

adb shell


pm clear com.android.providers.media




reboot

This command clears the cache and data of the media provider, which forces the system to rescan all the files again. After restarting the phone, wait 5-10 minutes - the gallery must update the contents. SD-map.

โš ๏ธ Attention: Use ADB-commands can cause the system to malfunction if you type the wrong command. ADB without understanding the consequences!

What if the ADB does not recognize the device?
1. Check if the debugging is included USB developer-setting. 2. Install official Xiaomi drivers from the site [en.miui.com](https://en.miui.com/). 3. Try another one. USB-cable (preferably original). 4. Restart your computer and phone. 5. If you are using Windows, run the command line on behalf of the administrator and type: adb kill-server adb start-server

Solving Common Errors in Accessing SD-map

Even after you set up access, Redmi 9 users may face additional problems, and consider the most common and ways to fix them:

Problem.Possible causeDecision
SD-The map is determined, but the files are not displayed.A damaged file system or broken sectorsFormat the card in exFAT or check for errors through chkdsk (Windows).
The gallery only sees a part of the photo.Files saved in non-standard foldersMove media to /DCIM/Camera or add a folder manually in the gallery settings.
SD-The card is displayed as โ€œdamagedยปPhysical injury or improper extractionTry connecting to your PC and recovering data via Recuva or TestDisk.
Applications are prohibited from accessing SD-mapMIUI restrictions for external drivesGive permissions manually through Settings โ†’ Applications โ†’ Permissions โ†’ Memory.

If SD-The card is not determined by the phone, try it:

  • ๐Ÿ”Œ Remove and re-insert it (make sure the contacts are clean).
  • ๐Ÿ“ฑ Reboot the phone with the card inserted.
  • ๐Ÿ”ง Check the card on another device (for example, on another smartphone or computer).

๐Ÿ’ก

If SD-The card works on other devices, but is not defined in Redmi 9, the problem may be in the memory card slot.

FAQ: Frequent questions about access to SD-map on Xiaomi Redmi 9

Can I use it? SD-Map as an internal memory for Redmi 9?
Technically yes, but not recommended.Adoptable Storage SD-Cards in internal memory) runs unstable on Xiaomi and can cause: Slowing down your phone (SD-cards slower than internal memory. MIUI (You may not see the map after the upgrade, you may lose data when you retrieve the map, if you want to try it, go to Settings. โ†’ Warehouse โ†’ SD-map โ†’ Configure it as internal memory. All data on the map will be deleted!
Why After Updating MIUI gallery stopped seeing SD-map?
This is a typical problem after major updates: Reasons: Reset permissions for applications (including gallery); changes to external drive access policies in the new version of MIUI; Media scanner errors after the update. Solution: Repeat Method 1 (gallery permissions) and Method 5 (media scanner reset via ADB).
How to transfer a photo from internal memory to SD-map?
This can be done through standard MIUI File Manager: Open the Files app. Go to Internal Memory โ†’ DCIM โ†’ Camera, select the files you need. โ†’ Copy. Go back to the root directory, select SD-map โ†’ DCIM โ†’ Camera. Click Insert. You can also use Google Photos (automatic download to the map) or ES Conductor (for packet transfer).
Can you set up automatic photo saving on SD-cell-card?
Yes, but with reservations. The standard Camera app on Redmi 9 doesn't have a direct option to save on the camera. SD-Map, but you can: Use Google Camera (GCam) with external drives; Install Open Camera from Google Play โ€” there is a save path setting; Manually transfer files after shooting (see previous question). The restriction is due to the security policy of Android 10+, which prohibits applications from writing to external drives without explicit permission.
What to do if SD-card protected from recording?
If you try to save a file to the card there is an error "Disk is protected from writing", check: ๐Ÿ”’ Physical switch on the adapter SD-maps (if used): it must be in the Unlock position. ๐Ÿ“ฑ Settings MIUI: Go to Settings. โ†’ Warehouse โ†’ SD-map โ†’ Set up โ†’ Format as a portable drive (data will be deleted!). ๐Ÿ–ฅ๏ธ PC Access Rights: If the card was previously used on Windows, check the file attributes (possibly marked as "Read Only"). If the card still does not allow recording, it is likely that it is physically damaged - replace it with a new one.