How to format a memory card in a Xiaomi phone: 5 proven ways

Formatting a memory card in Xiaomi smartphones is a procedure that every user sooner or later encounters. SD-Before selling a device, fixing read errors or preparing a drive for use as internal memory (Adoptable Storage function), it is important to do it correctly. Incorrect formatting can cause data loss, file system damage, or even card failure.

In this article, we’ll look at all the current formatting methods for Xiaomi, Redmi and POCO phones, from the standard tools in the settings menu to advanced methods through Recovery and the computer. We’ll focus on formatting the map as internal storage (for Android 9 and later), as this process has nuances that are not mentioned anywhere, and you’ll learn how to avoid typical errors and what to do if the phone doesn’t see the map after formatting.

Preparation for formatting: what to do before the start

Before you start formatting, follow a few critical steps that will save you from data loss and possible crashes.

  • πŸ“± Backup. Copy all important files (photos, videos, documents) from the card to your computer or cloud storage. Formatting will delete everything forever.
  • πŸ”‹ Charge the phone. Make sure the battery level is at least 50.
  • πŸ” Check the card for errors. If the card is detected intermittently, try reading it on another device.
  • πŸ“Œ File system, please. For cards up to 32 GB, it's fine. FAT32, for large volumes, exFAT or NTFS (The latter is not supported by all Xiaomi models).

If you plan to use the card as an internal memory, consider:

  • ⚠️ After formatting in this mode, the card will not be removed without resetting the phone to the factory settings.
  • ⚠️ Not all apps support Adoptable Storage. System updates can reset settings.
πŸ“Š Why you are formatting a memory card?
Cleaning before sale
Correction of errors
Use as an internal memory
Preparation for a new phone
Other

2. Method 1: Formatting through phone settings (the easiest method)

This is a basic method that is suitable for most users: it allows you to format the card as a portable storage (for files) or as internal memory (for installing applications).

Instructions for MIUI 12/13/14:

  1. Put the card in your phone and wait for it to be determined.
  2. Go to Settings. β†’ Memory. β†’ Memory card (or Warehouse) β†’ SD-map depending on the firmware version).
  3. Click Format (or Configure to use as internal memory).
  4. Select formatting type: Portable storage – the card will be used for files (photos, music, etc.) Internal memory – the card will become part of the system (applications can be installed on it).

Confirm the action and wait until it is completed (may take up to 10 minutes).

If the option is not available, internal memory means:

  • πŸ“΅ Your Xiaomi model does not support Adoptable Storage (relevant for Android 10 devices)+ limited-capability).
  • πŸ”„ The card has already been formatted in this mode on another phone (it must first be cleaned via PC).

β˜‘οΈ Preparing for formatting through settings

Done: 0 / 4

Method 2: Formatting as an internal memory (Adoptable Storage)

This method allows you to expand the internal memory of the phone with a memory card, but it has limitations.

  • πŸ”’ The map will be encrypted and tied to the device, and on another phone it will not be able to read without resetting.
  • ⚑ The speed of the card affects performance. Class cards are recommended for this mode. A1/A2 or UHS-I/UHS-II.
  • πŸ“‰ Some apps (such as WhatsApp or banking) may not work with such a card.

Step-by-step instructions for MIUI:

  1. Put the card in the phone.
  2. Go to Settings β†’ Memory β†’ Memory Map β†’ Set up.
  3. Choose Internal Memory.
  4. Read the warning and click Clean and format.
  5. Wait until the process is completed (the process can take up to 20 minutes depending on the size of the card).
  6. Once you restart, the phone will suggest you transfer the data to the map, and you can do it manually later.

If there is no option, try:

  • πŸ”„ Update the firmware to the latest version (in new versions) MIUI function may be concealed).
  • πŸ› οΈ Use it. ADB for compulsory inclusion (instruction in the following section).
What if the phone doesn’t see the card after formatting?
If the card is not identified, try: 1. Reboot the phone. 2. Remove and paste the card again. 3. Check the card on another device (possibly damaged). 4. Format it on a PC in FAT32/exFAT format and paste it back.

Method 3: Formatting with Recovery Mode (for power users)

This method will come in handy if the phone doesn't boot or the card isn't formatted through standard settings. Recovery Mode is a service mode that allows you to perform low-level operations.

Instructions:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English).
  4. Go to Advanced β†’ Format SD Card (or Wipe β†’ Format Data if you need to clear your internal memory).
  5. Confirm the action and wait for the completion.
  6. Reboot your phone (Reboot β†’ System)

Warnings:

⚠️ Note: In some versions MIUI Recovery may not be the option to format a map. Don't confuse it with Wipe Data, which is a factory reset of your phone!

⚠️ Note: If you format the card as internal memory through Recovery, you may need to reset the phone after the reboot.

If your Recovery doesn’t have a map formatting option, use ADB (see next section) or format via your computer.

5. Method 4: Computer formatting (Windows/macOS/Linux)

If the phone refuses to format the card, you can do it via a PC, which is also useful if the card is defined as "unformatted" or has an unknown file system.

Instructions for Windows:

  1. Connect the card to the computer through the card reader.
  2. Open this computer (My computer), find a removable disk (map).
  3. Right-click on the mouse button β†’ Format.
  4. Choose the file system: FAT32 - for cards up to 32 GB (maximum compatibility); exFAT - for cards from 64 GB (supported by all modern Xiaomi); NTFS - not recommended (may not be readable on the phone).

Start.

For macOS:

  1. Connect the map.
  2. Open the Disk Utility (Applications β†’ Utilities)
  3. Select the map in the left menu β†’ click Erase.
  4. Specify the format of MS-DOS (FAT) (for FAT32) or ExFAT.
  5. Press Erase and confirm.

If the card is not formatted (the error "Windows failed to complete the formatting"), use the SD Formatter utility from the SD Association:

  1. Download the program from the official website: sdcard.org.
  2. Install and run the SD Formatter.
  3. Select the card β†’ press Option β†’ set FULL (Erase).
  4. Press Format and wait until it is completed.
File systemMax. Map size.Compatibility with XiaomiAdvantagesDeficiencies
FAT3232GBComplete.Maximum compatibility, low wear of the cardFile size limit (4 GB)
exFAT64GBComplete (MIUI 9+)No restrictions on file size, high speedNot supported by older devices
NTFSanyonePartial (requires root)Journaling, reliabilityHigh wear of the map, can not be read without root

Method 5: Formatting via ADB (for advanced users)

If standard methods don’t work, you can use ADB (Android Debug Bridge), which allows you to format the card as internal memory even if the option is hidden in MIUI.

What you need:

  • πŸ–₯️ Computer with drivers installed ADB.
  • πŸ“± Included debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”— Cable USB (preferably original).

Instructions:

  1. Connect the phone to the PC and allow debugging.
  2. Open the command line (Win + R β†’ cmd) and type:
adb shell


sm list-disks

  1. You will see a list of disks (e.g., disk:179.64).
  2. Enter the command to format as internal memory (replace disk:179.64 with your identifier):
sm partition disk:179,64 private
  1. Wait until the phone is finished (the phone can restart).
  2. After the reboot, the card will be available as internal memory.

If you need to format your card as a portable storage, use:

sm partition disk:179,64 public

⚠️ Attention: Misuse of the right ADB This may cause data loss or system failure. Make sure you provide the correct disk ID!

πŸ’‘

If the card is not determined after formatting through ADB, try sm set-force-adoptable true before Partition. This will force Adoptable Storage mode to be activated.

7.Typical errors and their solutions

Even if you follow the instructions correctly, there can be problems.

  • 🚫 Map is not formatted ("Formatting error"): Try formatting it on PC with the help of SD Formatter. Check the card for physical damage (scratches, chips). If the card is old, it may be worn out (check with the help of the card). H2testw).
  • πŸ”„ Phone doesn't see card after formatting: Reboot device. Try inserting card into another slot (if any). Update phone firmware (in newer versions) MIUI Errors of working with storage devices can be corrected).
  • πŸ“‰ The card runs slowly after formatting as internal memory: Use the class card A2 or UHS-I. Don't put heavy games on it, they'll slow you down. Only map light apps (messengers, social media).

If the card is identified as damaged, but you are sure of its serviceability, try:

  1. Format it in FAT32 via PC.
  2. Check for viruses (sometimes they block access).
  3. DiskPart utility in Windows: diskpart list disk select disk X (where X is your card number) clean create partition primary format fs=fat32 quick

πŸ’‘

If the card is no longer defined as internal memory after formatting, the only way to return it to its original state is to reset the phone to factory settings or format via a PC.

8.How to check the card after formatting

After formatting, it is recommended to make sure that the map works correctly.

  • πŸ“Š Speed Check: Use the App A1 SD Bench (available on Google Play) Write/read speed should match the card class.
  • πŸ” Error Check: Open Disk Properties in Windows β†’ Service β†’ Check it out.
  • πŸ“ Write/read test: Copy a large file (such as a movie) onto a map and delete it and check if any errors have occurred.
  • πŸ›‘οΈ Authentication Check: Utility H2testw will help to identify fake cards (the claimed volume does not correspond to the real one).

If you use the card as an internal memory, check:

  • βœ… Can I install applications on it (Settings) β†’ Annexes β†’ Select an application β†’ Warehouse β†’ Change).
  • βœ… Are files (photos, videos) saved to the card by default.
  • βœ… Are there any lags when you start applications from the map.

If the card is unstable (for example, disappears after a reboot), this may indicate:

  • πŸ”‹ Problems with slot contacts (clean them with alcohol).
  • πŸ”§ File system incompatibility (try exFAT instead of file system incompatibility) NTFS).
  • 🚨 Hardware wear of the card (replace it).

FAQ: Frequent questions about map formatting in Xiaomi

Can you format the card as internal memory on Xiaomi with Android 11/12?
In recent versions of MIUI (based on Android 10+), Adoptable Storage is often hidden or disabled, but it can be activated via ADB (see Method 5). Note that on some models (for example, the Xiaomi 12/13 series), this feature can be blocked at the firmware level.
Why did the map become slower after formatting?
This is a typical problem when using a card as internal memory, because Xiaomi encrypts such cards, which adds a load to the processor. Solutions: Use A2 cards (they are optimized for installing applications); Do not install heavy games or applications that actively work with memory (for example, video editors); Turn off encryption (root is required).
How to return the card to its original state if it was formatted as an internal memory?
There are two ways: Reset your phone to factory settings (Settings β†’ Additional β†’ Reset), then the card becomes portable, but all the data from the phone will be deleted. Format the card on your PC in FAT32/exFAT format. To do this, remove it from your phone and connect it through a card reader.
Can I use a card formatted as internal memory on another phone?
No. The card that's formatted in Adoptable Storage is attached to the device and encrypted. On another phone, it'll be identified as damaged or not visible at all. To use it again, you need to: Format the card on your PC. Or reset the original phone to factory settings (the card will become portable).
Which memory card is best to buy for Xiaomi to use as internal memory?
Recommended characteristics: πŸ”Ή Class speed: A2 or UHS-I U3 (Minimum recording speed – 30 MB/s). πŸ”Ή Size: From 64 GB (on smaller cards, there is no point in using Adoptable Storage). πŸ”Ή Brand: SanDisk Ultra, Samsung EVO Plus, Kingston Canvas Go! Plus (avoid no-name cards). πŸ”Ή File system: exFAT (optimum for cards from 64 GB). Examples of models: SanDisk Extreme A2 (128GB is the best choice for games and apps. Samsung EVO Plus (256 GB) – reliability and high speed.