Formatting SD-Maps on Xiaomi smartphones (including Redmi models, POCO, Black Shark is a procedure that every user will encounter sooner or later, and it may be necessary at the first settings of a new drive, to eliminate read errors, before using the card as internal memory or after infection with viruses. However, improper formatting can lead to data loss, reduced speed or even card failure.
In this article, we will analyze all the current methods of formatting - from standard tools. MIUI Up to hidden Recovery Mode features and commands through ADB. You will learn how to choose the best file system (FAT32, exFAT or NTFS), Why Xiaomi sometimes โdoesnโt seeโ a map after formatting on a PC, and how to recover data if something goes wrong. MIUI to work with drives of more than 256 GB โ this information is not in the official documentation.
1. When to format SD-map
Formatting is not always a mandatory procedure, but in some cases it is necessary. Here are the key situations where it is really necessary:
- ๐ฑ First connection of a new card. MIUI may require the storage device to be formatted before use, especially if it has been previously used in other devices (photo cameras, recorders).
- โ ๏ธ Read/write errors. Messages like "SD-Card damaged" or "Impossible to mount drive" are often solved by full formatting.
- ๐ Change the file system, for example, if you want to use the card as internal memory (Adoptable Storage function), you will need to change the file system. ext4 or f2fs.
- ๐ฆ Viral Infection: Some malware creates hidden files that cannot be deleted by standard methods.
- ๐ข Speed reduction: Over time, the file system fragments, causing "brakes" when writing/reading.
However, there are cases where formatting wonโt help or even hurt:
- ๐ซ The card is physically damaged (cracks, chips, traces of oxidation of contacts).
- ๐ซ The memory controller is out of order (the card is defined as "0 MB" or "Unknown device").
- ๐ซ The drive is locked with a password (for example, after use in Nintendo Switch).
โ ๏ธ Note: If the card was previously used as internal memory (Adoptable Storage function), formatting it via a PC or standard Android tools will lead to an error, in which case you need to completely reset your phone settings or work through Fastboot.
Preparation for formatting: 5 mandatory steps
Before proceeding with the procedure, follow these steps to avoid data loss and failures:
Create a backup copy of important files|Check the card for errors through the PC|Make sure the phone has a sufficient charge level (minimum 50%)|Remove the card from the adapter (if used)|Disable the functions "Secure folder" and "Blacklist" in MIUI-->
1. Data backup. Even if the card is โemptyโ, it may contain hidden application files or cache.
- ๐ Built-in Conductor MIUI (folder SD Card).
- ๐ฅ๏ธ Connecting the phone to the PC in the file transfer mode (MTP).
- โ๏ธ Cloud services (Google Drive, Mi Cloud, Yandex Disk).
2. Check the card for errors. If the drive is detected but is unstable, perform a diagnosis on the PC:
- Connect the card through the card reader.
- Open the Command Prompt on behalf of the administrator.
- Enter the command: chkdsk X: /f /r where X is the letter of your disk SD-map.
3. File system selection: compatibility and performance depend on this:
| File system | Max. File size. | Max. Map size. | Compatibility with Xiaomi | When to use |
|---|---|---|---|---|
| FAT32 | 4GB | 32GB | Yes. | For cards up to 32 GB, if you need compatibility with other devices (cameras, game consoles). |
| exFAT | 16 EB | 128 PB | Yes (starting with MIUI 9) | Optimal choice for 64-512 GB cards. Supports files >4GB. |
| NTFS | 16 EB | 16 EB | Partially (for reading without root only) | Not recommended for Xiaomi without superuser rights. |
| ext4/f2fs | 16 TB | 1 EB | Yes (for Adoptable Storage only) | It is used to configure the card as internal memory. |
โ ๏ธ Note: Xiaomi smartphones based on Android 10 and later automatically format cards in size >32GB in exFAT. If you need it, FAT32 (For example, for the registrar, format the card on the PC.
3. Method 1: Formatting through Xiaomi settings (the easiest)
This method is suitable for most users and does not require additional tools. MIUI 12/13/14:
- Put it in. SD-card to the phone slot (on hybrid slot models, such as the Redmi Note 11, you may need to choose between the second slot and the second slot). SIM microSD).
- Open the Settings app โ Memory (or Warehouse).
- Tap on point. SD-Card (may be called External Drive or Memory Card).
- In the upper right corner, press three dots (โฎ) and select Storage Settings.
- Tap to format. โ Clean and format.
- Confirm the action, wait until the completion (usually takes 1-3 minutes).
If the Format item is inactive or absent:
- ๐ Remove and re-insert the map.
- ๐ Reboot the phone.
- ๐ ๏ธ Check the card on another device โ it may be locked or damaged.
๐ก
If the card is not determined after formatting, try to disable the โFast Bootโ function in the battery settings (Settings) โ Battery โ Fast booting. Sometimes it conflicts with external drive initialization.
Method 2: Using Recovery Mode (for power users)
This method will be useful if:
- ๐ต Phone is not turned on, but the card is determined in Recovery.
- ๐ง You need to format the card configured as an internal memory (Adoptable Storage).
- ๐ก๏ธ Standard methods give the error "Team is not available".
Instructions for Xiaomi with MIUI Recovery (not to be confused with Recovery) TWRP!):
- Turn off the phone.
- Press Volume Up + Power before the Mi logo appears.
- In the Recovery menu, select the language (volume buttons for navigation, power for confirmation).
- Go to Wipe & Reset โ Wipe SD Card.
- Confirm the action, wait for the completion.
- Select Reboot to reboot.
โ ๏ธ Attention: B MIUI Recovery does not have the option to select a file system โ the map will be formatted into a file system. FAT32 (For cards up to 32GB or exFAT (for cards over 32GB).If you need a different file system, use the file system. TWRP PC.
What to do if Recovery can't see SD-map?
5. Method 3: Formatting via PC (Windows, macOS, Linux)
Sometimes it is more convenient to format a card on a computer, for example, if the phone does not recognize the drive or you need to choose a specific file system (NTFS videotape 4K).
For Windows:
- Connect the card through the card reader.
- Open this computer (My computer), find a removable disk.
- Right-click. โ Format.
- Select the file system: FAT32 โ For cards up to 32 GB. exFAT โ for cards 64-512 GB (recommended for Xiaomi). NTFS โ Only if you are sure that the phone supports reading/write (on most Xiaomi models) NTFS It works only with reading).
Size of unit of distribution
32768
65536
Start.
For macOS:
- Connect the card through the adapter.
- Open the Disk Utility (Applications โ Utilities)
- Select the map in the left menu โ the tab to erase.
- Format: exFAT or MS-DOS (FAT) (card up to 32 GB).
- Scheme: Partition scheme GUID.
- Press erase.
Important nuances:
- ๐ฅ๏ธ On Windows for maps >32GB in FAT32 You will need a third-party utility (for example, fat32format or Rufus, as staff funds are limited.
- ๐ MacOS is not supported on macOS. NTFS For recording without additional software (Paragon) NTFS Tuxera NTFS).
- ๐ง On Linux, use the command: sudo mkfs.exfat -n "MI_SD" /dev/sdX1 where sdX1 โ Your device (check out via lsblk).
๐ก
If you're formatting it on a PC, you can't see the card, try formatting it directly on your smartphone. MIUI Sometimes he does not like markup created by external tools, especially if non-standard cluster sizes were used.
Method 4: Formatting as an internal memory (Adoptable Storage)
Adoptable Storage allows you to use the SD-This is useful for devices with a small amount of internal storage (for example, Redmi). 9A However, the method has serious limitations:
- โ Pluses: ๐ Increased Available Memory for Applications. ๐ Automatically moving part of data to the map.
- โ Cons: ๐ The card cannot be removed, it is tied to the phone. ๐ข Speed is lower than that of internal memory (especially on cheap Class 10 cards). ๐ซ You can not format the card with standard methods without resetting the phone.
How to set up:
- Put it in. SD-map (recommended) UHS-I Class 10 or higher).
- When the notice โNewโ appears SD-"map" tap it.
- Select "Use as an internal memory".
- Confirm the formatting warning (the map will be formatted in the ext4 or f2fs).
- Wait for the data transfer to be completed (it can take up to 10-15 minutes).
How to cancel (return the card to normal mode):
- Go to Settings. โ Memory. โ SD-map.
- Put three points on it (โฎ) โ Storage settings.
- Select Format as a portable drive.
- Warning: This operation will reset the map to factory settings and delete all data, including the ported applications!
7. Method 5: Command Prompt and ADB (for advanced users)
If standard methods do not work, you can format the card through ADB (Android Debug Bridge. This is relevant for you:
- ๐ ๏ธ Recovering cards that are "not seen" in MIUI.
- ๐ง Formatting to non-standard file systems (e.g, f2fs).
- ๐ฑ Automation of the process (e.g. for mass formatting of maps).
Step-by-step:
- Install. ADB and drivers for Xiaomi (instructions on the official Android website).
- Turn on USB Debugging on your phone: Settings โ About Phone โ MIUI Version (Tap 7 times) Settings โ Additional โ For Developers โ Debugging on USB
- Connect your phone to your PC and execute commands: adb shell sm list-disks Remember the card ID (for example, remember the card ID, disk:179,64).
- Format the map (example for the FAT32): sm partition disk:179,64 private or for exFAT: sm partition disk:179,64 mixed 50
โ ๏ธ Attention: Misuse of the right ADB SM partition commands are designed for power users! If you are not sure, use standard formatting methods.
8. Frequent errors and their solutions
Even if you follow the instructions correctly, you can have problems, and let's look at the typical mistakes and how to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Command unavailable or gray item Format | The card is used as internal memory or locked. | Reset your phone settings or retrieve the card and format on PC. |
| SD-The card is damaged. Try formatting it. | The file system is damaged or the card is fake. | Check the card on PC with chkdsk or H2testw (authenticate). |
| Phone doesn't see card after formatting on PC | Incompatible file system (NTFS) cluster-size. | Format the map in exFAT with the size of the cluster 32K. |
| Insufficient memory when trying to use internal | The map is too slow (class below) UHS-I Class 10). | Buy a card with a higher speed class (recommended) U3 or A2). |
| The card is defined as โ0 MBโ or โUnknown deviceโ. | Controller or contacts are damaged. | Try to clean the contacts with a smoothie. If it doesn't work, the card is faulty. |
Additional advice:
- ๐ If a SanDisk or Samsung card is not identified, check it for authenticity using the official utilities: SanDisk: Memory Card Test Tool Samsung: Magician Software
- ๐ If the recording speed has dropped after formatting, try erasing it completely. SD Formatter (official utility from the SD Association).
- ๐ Xiaomi cards (yes, the brand also makes drives!) sometimes have a recording protection. ADB: adb shell sm set-force-adoptable true