Formatting a memory card in a Xiaomi smartphone: a complete instruction for beginners and experienced users

Why Xiaomi Memory Card Formatting Needs a Special Approach

The microSD cards in Xiaomi smartphones are not just an extra storage, but a full-fledged tool to enhance the device’s capabilities. However, many users face problems ranging from reading errors to inability to write files. The reason is often due to improper formatting or file system incompatibility. Unlike computers where formatting is done in a couple of clicks, in MIUI, this process has nuances related to the features of firmware and hardware.

The main difficulty is to choose between two modes of using the card: as a removable drive (for transferring files between devices) or as internal storage (for installing applications). The second option requires mandatory formatting in ext4, a file system that neither Windows nor macOS recognizes. This means that after such formatting, the card will not be read on a PC without additional software. In addition, Xiaomi imposes restrictions on the amount of memory cards: models with MIUI 12 and newer support microSD up to 2 TB, but for stable operation it is recommended to use cards of A2 or UHS-I class.

Another important thing is data safety. Formatting erases all information without the ability to recover it with standard means. Even if you used the card as a removable disk, after formatting in Xiaomi, files can not be restored with Recuva or PhotoRec, because of the way the memory controller works in mobile devices, so it is critical to make a backup before starting the procedure.

Preparing for Formatting: What to Do in Advance

Before you start formatting, make sure your memory card is device-compatible. Xiaomi officially supports microSD, microSDHC (up to 32 GB) and microSDXC (64 GB to 2 TB). However, even if the card is physically inserted into the slot, this does not guarantee its correct operation. For example, cheap cards without UHS-I certification can cause hangings when recording video in 4K or installing applications.

Here is a checklist of mandatory actions before formatting:

Back up all data from the card to PC or cloud | Check the card for errors through your computer (Chkdsk utility in Windows) | Make sure the card is not protected from writing (switch on the adapter in the unlock position) | Charge your smartphone at least 50% – the process can take up to 10 minutes | Disable antivirus applications that can block access to the file system-->

Pay special attention to checking for errors. If the card has been used in other devices (for example, in a camera or DVR), its file system may have damaged, in which case the formatting via a smartphone can end in error. To avoid this, connect the card to a computer and follow the command:

chkdsk [disc letter]: /f /r

Where [the drive letter] is the card's letter ID in the system (e.g., E:) This command will fix the logic errors and tag the broken sectors, which will increase the chances of successful formatting in Xiaomi.

πŸ’‘

If a card is defined as β€œdamaged” even after checking, try formatting it on a 32KB cluster PC on a FAT32 PC – this often solves MIUI compatibility issues.

Methods of formatting memory cards in Xiaomi: step-by-step instructions

There are three main ways to format a memory card in MIUI: through standard settings, like internal storage, or through MI File Manager, each has its own characteristics and is suitable for different scenarios. Let's take a look at them in detail.

Method 1: Formatting as a removable disk (FAT32/exFAT)

This is a good way to use the card to store media files, documents or transfer data between devices.FAT32 or exFAT file system will ensure compatibility with most gadgets, but will not allow you to install applications on the map.

Instructions:

  1. Insert the memory card into the smartphone slot.
  2. Go to Settings β†’ Memory β†’ Memory Map.
  3. Click on the three dots in the top right corner and select Storage Settings.
  4. Tap it by formatting. β†’ Format like a removable disk.
  5. Select the file system: πŸ“ FAT32 β€” for cards up to 32 GB (maximum compatibility). πŸ“ exFAT – for cards from 64 GB (supports files) >4GB).

Confirm the action and wait until the completion (usually 1-3 minutes).

What to do if the settings do not include the "Format"?
If the storage settings menu does not have a formatting option, this can mean: 1. the card is protected from writing (check the physical switch on the adapter). 2. the card is damaged (try formatting it on the PC). 3. Your Xiaomi model uses a hybrid slot (e.g., in the Redmi Note 10 Pro) and the system recognizes the card as a second one. SIM-In this case, formatting is possible only through MI File Manager

Method 2: Formatting as an internal storage (ext4)

This option allows you to use a memory card to install applications, but has a number of limitations: After formatting in ext4, the card will not be read on a computer without specialized software (for example, Linux Reader or Ext4Fsd).

Instructions:

  1. Go to Settings β†’ Memory β†’ Memory Map.
  2. Click on three dots β†’ Storage settings β†’ Format as internal.
  3. Read the data erasure warning and click Clear and Format.
  4. Wait for the process to be completed (it can take up to 10 minutes depending on the size of the card).
  5. Once formatted, the system will suggest moving data from the internal memory to the map, a step that is optional but is recommended to free up space.

⚠️ Note: If you retrieve a card formatted as internal storage without first "safe retrieval" (Settings) β†’ Memory. β†’ Extract, and this can cause the applications installed on it to fail. MIUI even blocks the device from starting until the card is re-inserted.

Method 3: Formatting with MI File Manager

MI File Manager is the standard file management app in Xiaomi that offers more options than system settings, such as selecting the size of the cluster or forcibly formatting the card if it is defined as β€œdamaged”.

Instructions:

  1. Open the Files app (the folder icon on the desktop).
  2. Go to the Warehouse section β†’ Memory map.
  3. Click on the three dots in the upper right corner β†’ Settings β†’ Format.
  4. Select the file system and cluster size (optimally 32 KB for FAT32 or 128 KB for exFAT).
  5. Confirm the action.
File systemMax. Map size.Max. File size.CompatibilityRecommendations
FAT3232GB4GBAll devices.For music, photos, documents
exFAT2 TBup to 16 EBWindows, macOS, AndroidFor 4K video, large archives
ext42 TBup to 16 TBAndroid only (with limitations)For the installation of applications

FAT32|exFAT|ext4 (internal storage)|I don't know what to choose-->

Frequent Formatting Mistakes and How to Avoid Them

Even when following instructions, users often encounter problems, and let's look at the most common mistakes and how to fix them.

Error 1: "The card is protected from writing"

Reasons:

  • πŸ”’ The physical switch on the card adapter is in the Lock position.
  • πŸ›‘οΈ The map is formatted in NTFS (not supported by Android).
  • πŸ”§ The file system is corrupted (for example, after being extracted during recording).

Solution: Check the switch, format the card on your PC in FAT32 or exFAT, or use the SD Formatter utility from the SD Association.

Error 2: β€œI failed to format the map”

This error occurs if:

  • πŸ“‰ The card is fake or of low quality (check with the help of the H2testw).
  • πŸ”Œ The memory card slot is contaminated or damaged (try inserting the card into another device).
  • πŸ“± Firmware MIUI Bugs (update the system to the latest version).

Solution: Try formatting the card on another device, and if the error repeats, the card is faulty.

Error 3: The card is not detected after formatting in ext4

If you formatted the card as an internal storage, but it stopped showing up in the system, it may be due to:

  • πŸ”„ Incorrectly extract the card (always use Safe Retrieval).
  • πŸ› οΈ Work failure MIUI (reboot the device).
  • πŸ“› Partition damage (only full formatting on PC will help).

Solution: Connect your smartphone to your PC and use ADB to execute the command:

adb shell sm list-volumes

If the card appears in the list as private but is not mounted, try resetting the storage settings in Settings β†’ System β†’ Resetting β†’ Resetting the storage settings.

⚠️ Note: If you format the card as an internal storage device and then retrieve it without safely shutting it down, MIUI It can block the launch of some applications, in which case only a complete reset of the smartphone settings (Wipe Data in Recovery Mode) will help).

How to Recover Data After Accidental Formatting

If you format a memory card by mistake, not all data is lost forever. The chances of recovery depend on the file system and the time since formatting. For example, FAT32 and exFAT allow you to recover up to 80% of files with the right approach, while ext4 leaves almost no chances without specialized hardware.

Algorithm of action:

  1. Stop using the card immediately – any new data recording reduces the chances of recovery.
  2. Connect the card to your computer via a card reader (don’t use your smartphone!).
  3. Use Recovery Programs to Recover: πŸ–₯️ Recuva (free, suitable for use) FAT32/exFAT). πŸ–₯️ PhotoRec (working with the ext4, requires skill). πŸ–₯️ DiskDrill (paid but with high recovery percentage).

ext4

dd

Important: Don't save the recovered files to the same card, because it can overwrite the data that hasn't been recovered. Use a different drive.

πŸ’‘

If the card has been formatted as an internal storage (ext4), standard recovery programs will not help, in which case the only chance is to contact the data recovery laboratory, but the cost of the service may exceed the cost of the card itself.

Optimizing the memory card after formatting

To make a memory card work quickly and smoothly, it's not enough to just format it.

1. Caching setup

In MIUI, you can enable data caching to the card, which will speed up the operation of some applications:

  1. Go to Settings β†’ Applications β†’ All applications.
  2. Select an app (such as Gallery or Music).
  3. Click Warehouse β†’ Change β†’ Memory Map.

2. Transfer of applications to the map

If the card is formatted as an internal storage, you can transfer some applications to it:

  1. Open Settings β†’ Applications β†’ All applications.
  2. Select the application β†’ Storage β†’ Change β†’ Memory Map.
  3. Confirm the transfer (some system applications cannot be moved).

3. Clearing the cache

Clean the cache of apps that actively use the memory card (such as Google Maps or Spotify) regularly:

  1. Go to Settings β†’ Memory β†’ Memory Map.
  2. Press Clear cache.

4. Monitoring of card status

Use a health card diagnostic application like SD Card Tester or A1 SD Bench, which will check read/write speeds and identify broken sectors. Normal scores for an A2 card:

  • πŸ“Š Reading speed: > 80 MB/s.
  • πŸ“Š Recording speed: > 30 MB/s.
  • πŸ“Š Time for random access: < 10ms.

Xiaomi Memory Card Comparison: What to Choose in 2026

Not all memory cards work equally well in Xiaomi smartphones. For stable performance, it is recommended to choose models with A2 certification (optimized for installing applications) or UHS-I U3 (for recording video in 4K).

ModelVolume.Class speedPrice (2026)Best for you.Cons
SanDisk Extreme A2128GBA2, UHS-I U3~1 500 β‚½Annexes, 4K-videoHeated during long recording
Samsung EVO Select256GBA2, UHS-I U3~2 200 β‚½Multimedia, gamesPrice above average
Kingston Canvas Go! Plus512GBA2, UHS-I U3~3 500 β‚½Large collections of photos/videoSlower than competitors on small files
Silicon Power Superior64GBA1, UHS-I U1~800 β‚½Budget Solution for MusicNot suitable for applications

For most Xiaomi users, the best choice is the 128GB or 256GB SanDisk Extreme A2. These cards provide a stable write speed even when multitasking and support App Performance Class A2, which is critical for installing applications.

If you need a card to shoot video in 8K or 4K@60fps, look for models with V30 or V60 certification, such as the Lexar Professional 1066x. These are more expensive, but guarantee no lags when recording.

πŸ’‘

Before buying a memory card, check it for authenticity with the SD Insight (Android) application or the Flash ID (Windows) utility. Fake cards often have an understated real capacity and speed.

Can you format your memory card as internal storage on all Xiaomi models?
No, not all. The feature is only available on devices with a clean memory slot (not a hybrid SIM+microSD). For example, in the Redmi Note 12 Pro+ or Xiaomi 13 Ultra, this option is available, but in the POCO X5 Pro (with a hybrid slot) – not. Check the specifications of your model on the official Xiaomi website.
What happens if you extract a card formatted as an internal storage device without safely shutting down?
The system can block access to apps installed on the card, or even stop downloading. At best, you will have to restart your smartphone, at worst, reset to factory settings. Always use the Safe Retrieval option in Settings β†’ Memory.
What cluster size should you choose when formatting in FAT32?
The optimal cluster size for cards up to 32 GB is 32 KB. For cards over 64 GB (formatted in exFAT), you can choose 128 KB. A smaller cluster size increases fragmentation, and a larger one reduces the efficiency of using space for small files.
Can I use a memory card formatted in NTFS in Xiaomi?
Android doesn't technically support NTFS out of the box. However, some MIUI firmware (like the Xiaomi Pad 6) have NTFS drivers, but writing can still be unstable. For full operation, format the map in exFAT.
Why, after formatting the map as an internal storage, some applications are not installed on it?
Some applications (such as WhatsApp, Google Pay, or Netflix) block installation on removable drives for security reasons. MIUI may also restrict transfer of system applications. Check the list of compatible applications in Settings β†’ Apps β†’ All Apps β†’ [select app] β†’ Storage.