How to Make an SD Card Work on Xiaomi: The Complete Guide

Xiaomi smartphone owners often face a situation where, after installing a memory card, the device refuses to recognize it, which can manifest itself in different ways: the drive does not appear in the file manager, the system writes about a formatting error or does not respond to the insert, the problem is relevant for both old models with MIUI and new devices based on HyperOS.

The reasons for the failure can be software conflicts, the wrong file system format or physical damage to contacts. Before you bring a gadget to the service, it is worth trying a number of software solutions that in 90% of cases return the functionality of the external storage.

In this article, we will look at all stages of diagnosis, from the banal cleaning of contacts to deep formatting through the computer, you will learn how to properly configure the card as internal memory or portable storage, and what to do if the system writes "SD-map damaged".

Primary Diagnosis and Physical Examination

The first thing you need to do is eliminate hardware problems. Often, users just don't fully insert the module into the slot, so that contact group is not contacted. Remove the tray, wipe the contacts of the card with a soft dry cloth and insert it again until the characteristic click.

Notice the state of the tray and the slot itself, if dust or moisture gets inside, the oxidation of the contacts will inevitably lead to reading errors, and in some cases, careful purging of the slot with compressed air helps.

  • πŸ” Check the card on another device (camera, other phone, PC via card reader) to make sure it is working properly.
  • πŸ’Ύ Make sure that the card size is supported by your smartphone model (usually up to 256GB or 512GB).
  • πŸ“± Restart the device after installing the drive – this basic action often solves the problem of the got stuck driver.

β˜‘οΈ Physical checks

Done: 0 / 4

If the card is readable on another device, it means that it is your Xiaomi settings, and if the drive is not detected anywhere, it may have failed and needs to be replaced.

Formatting the Android system

The most common way to solve the problem is formatting. The file system of the card could be damaged if it was not extracted correctly. The smartphone will suggest formatting the drive immediately after it was discovered, but if this did not happen, you need to do it manually.

Go to Settings. β†’ The phone. β†’ Storage (or Settings) β†’ Memory. Find yours on the list. SD-If it's displayed but it's not working, click on it and select "Clear" or "Format".

⚠️ Note: Formatting will completely remove all data from the memory card. If it has important files on it, try copying them to your computer first.

The system will offer two uses: as portable storage or as internal memory, depending on your goals, for storing photos and music, you should choose the first option, for installing applications - the second one (if the function is supported).

What is the difference between work modes?
Portable mode uses a standard FAT32 or exFAT file system, which allows you to read the card on other devices. Internal mode encrypts the data and binds the card to a particular smartphone β€” on another device it will not work.

Use of internal memory (adoptable storage)

The function of memory integration allows you to expand the volume of built-in storage due to SD-This is especially true for models with 32 or 64 GB of internal memory, where the space ends very quickly.

To activate this mode, select "Use as internal storage" from the formatting menu, and the system will warn you that the card must be fast, and then all new applications and data will be saved by default to the external drive.

  • πŸš€ Write speed: Class cards are required to function as internal memory UHS-I or UHS-II high-speed.
  • πŸ”’ Binding: Once formatted, the card will be encrypted and cannot be read on a PC without re-formatting.
  • πŸ“‰ Wear: Constant recording of app cache can bring a cheap card down faster.
πŸ“Š How you use it SD-map?
Photo and video only
As an extension to applications
I don't use it, there's a cloud.
Only for music.

If the system says that "SD-The card is slow, and you'd better give up the idea of using it as internal memory, and in this mode, the phone will be delayed, and the launch of applications will slow down.

Computer Formatting (FAT32 and exFAT)

Sometimes Android's built-in tools can't handle the file system properly, in which case a PC comes to the rescue. Connect the card through the card reader to your computer and open Disk Management (press Win + R and type in diskmgmt.msc).

Find your drive in the list, delete all the partitions on it, and create a new simple volume. The key is choosing a file system. For cards up to 32 GB, the standard is FAT32, for volumes above, exFAT.

Recommended formatting parameters:


Cluster size: By default (or 32 KB)




File system: exFAT (for cards > 32 GB)




Mark of the volume: SD_CARD

File systemMax. File size.CompatibilityRecommendation
FAT324GBMaximumFor cards up to 32GB
exFAT16 TBAndroid 4.4+, Win 7+For 64GB and higher cards
NTFS16 TBOnly Windows/PCNot recommended for Android
ext4Depends.Linux/Root AndroidOnly for advanced users

After formatting on your PC, insert the card back into your smartphone. If the system requests formatting again, you'll agree that it will only create service folders for Android.

Specifics of working with HyperOS and new versions of MIUI

In the new shells from Xiaomi, the memory algorithms were changed, the system became more strict in controlling the integrity of the file system, and if you upgraded to HyperOS and the card stopped working, the access rights may have changed.

Try clearing the Media Storage app cache. Go to Settings β†’ Apps β†’ All Apps β†’ Show Systems β†’ Find Media Storage β†’ Clear. This will force the system to re-index files.

πŸ’‘

If the card is detected but the files are not visible, try switching mode. USB-Connect to the notification menu from β€œCharging” to β€œFile Transfer” and then back.

Also worth checking for firmware updates. Sometimes external drive bugs are patched with security patches. Go to Settings β†’ About the phone and check the software version is up to date.

Advanced Methods: ADB and Section Work

If standard methods don't work, you can use USB debugging, which requires connecting your smartphone to your PC and installing ADB drivers. It allows you to force the card to be formatted without any system errors.

Connect your phone, enable USB debugging, and start the command line on your PC. Enter the command to log into shell: adb shell. Next, you need to get superuser rights (Root is required) or use sm (storage manager) commands.

Example of a command for a list of disks:


sm list-disks





Example of formatting (replace the disk ID):




sm partition disk:179,64 private

⚠️ Attention: Working with ADB A mistake in the command can lead to loss of data or inability to boot the system.

For most users, the methods described in the previous sections are sufficient.Using the command line is a last resort for experienced owners when the card is physically healthy but logically locked by the system.

πŸ’‘

In 95% of cases, the problem is solved by the correct formatting in exFAT via a computer or standard means of the Xiaomi settings menu.

Frequent Questions and Answers (FAQ)

Why does the phone write "SD-The card is damaged, although it is read on the computer?
This means that the file system of the card does not meet the requirements of Android or damaged partition table, the computer can ignore minor errors, and the mobile OS requires a strict structure, you need to format with the phone.
Can I recover a photo from the damaged SD-map?
If the card is defined as a device (even with a formatting request), try a PC data recovery program like Recuva or DiskDigger before agreeing to format.
What? SD-The map is best suited for Xiaomi?
It is recommended to use SanDisk, Samsung or Kingston brand maps labeled A1 or A2 (Application Performance Class) that provide high random read speeds, which is critical for application performance.
Why you're missing SD-map MIUI?
When updating the firmware, drivers or access settings are sometimes reset. Try to retrieve the card, restart the phone, insert the card again and wait for the files to be fully indexed (this can take up to 10 minutes).