Why formatting SD-Xiaomi cards require a special approach
MicroSD cards in Xiaomi smartphones are often a source of problems, from reading errors to a sudden decrease in available space. MIUI. For example, after a system update, the card may be defined as โdamagedโ although it works normally on other devices, due to Xiaomiโs own external drive mounting algorithms, which sometimes conflict with standard file systems.
Another common situation is when a user tries to use the card as internal memory (Adoptable Storage function), but after this mode is canceled, the drive ceases to be recognized, in such cases, conventional formatting via Windows or even standard Android tools does not help, either deep formatting with a change in the file system or using proprietary utilities from Xiaomi.
It is important to understand that the formatting procedure on Redmi devices, POCO And Mi has nuances depending on the version. MIUI And the smartphone model. For example, on Xiaomi 13 Pro with MIUI 14 available advanced formatting settings that are not in the budget Redmi Note 10 MIUI 12.5 It is also worth considering that some models (e.g, POCO F5) Automatically offer the optimal file system when formatting, whereas older devices have to manually choose the best file system.
Preparing for Formatting: What to Do Before Starting
Before you start formatting, make sure that the card is not important data. Even if you plan to "fast" formatting, there is a risk of file loss due to failures, especially for cards that were previously used in internal memory mode, in which case the data can be encrypted and not recoverable.
If you have valuable files on the card, follow the following steps:
- ๐ Backup on a cloud service (Google Drive, Mi Cloud or Yandex Disk).
- ๐ป Connect the card to your computer through a card reader and copy the data manually (sometimes the smartphone does not display all the files).
- ๐ Check the card for errors using the chkdsk utility in Windows (team: chkdsk E: /f, where E: is the letter of your disk).
โ ๏ธ Note: If the card was previously used as internal memory in Xiaomi, it can not simply be connected to a PC and copied data. The files are encrypted, and to extract them will require root access or specialized software like TWRP.
Also check the physical state of the card: if it heats up, makes strange sounds when connected, or is defined by the system as "read-only", formatting may not help. H2testw (Checks for fake cards or CrystalDiskInfo (shows health status).
Method 1: Formatting through Xiaomi settings (the safest method)
This method is suitable for most Xiaomi, Redmi and other models. POCO steerable MIUI 10 and newer. Its main advantage is to keep the card compatible with the device's firmware, which minimizes the risk of errors in the future.
Instructions:
- Insert the card into your smartphone and open the Settings app.
- Go to the Warehouse section (or Memory in some versions of MIUI).
- Click on your name. SD-maps, for example, SD-map: 128GB).
- In the upper right corner, tap three points (โฎ) and select Storage Settings.
- Press Format. โ Format as internal (if you need to expand memory) or format as portable (for normal use).
- Confirm the action. It takes 30 seconds to a few minutes, depending on the size of the map.
โ ๏ธ Note: If you choose formatting as internal memory, the card canโt be removed and used on other devices without being completely cleaned after the procedure, and this mode can slow down your smartphone on weak models (e.g. Redmi). 9A).
Features of the method:
- ๐ Automatically selects the optimal file system (exFAT for cards) >32GB, FAT32 smaller).
- ๐ก๏ธ Keeps compatible with Adoptable Storage (if supported by the device).
- โก Faster than formatting via PC, as it does not require a connection to a computer.
โ๏ธ Preparing for formatting through Xiaomi settings
Method 2: Formatting via PC (Windows/macOS/Linux)
If the card is not formatted via a smartphone, or if you want to use it on multiple devices, you can use a computer, which gives you more control over the process, for example, you can choose the file system manually.
For Windows:
- Connect the card to the PC through the card reader (it is not recommended to use the smartphone as a card reader). USB-accumulator).
- Open this computer (my computer) and find your computer. SD-map and click on it with the right button.
- Choose formatting...
- Specify the file system: FAT32 โ for cards up to 32 GB (maximum file size 4 GB). exFAT - for cards from 64 GB (supports files) >4GB, optimal for Xiaomi). NTFS โ not recommended for SD-Smartphone cards (may not be readable).
Start.
For macOS:
- ๐ Open the Disk Utility (Applications) โ Utilities).
- ๐ Choose yours. SD-left-hand-menu.
- ๐ฅ๏ธ Click Erase, select format MS-DOS (FAT) (for FAT32) or exfat.
- โ๏ธ Press erase and confirm.
For Linux (Ubuntu/Debian):
sudo mkfs.exfat /dev/sdX1or FAT32:
sudo mkfs.vfat -F32 /dev/sdX1Where /dev/sdX1 โ Your device (check through the lsblk command).
โ ๏ธ Note: If the card is defined as โread-onlyโ, check the physical switch on the adapter (if any) or use the command in Windows: diskpart list disk select disk X (where X is your card number) attributes disk clear readonly
๐ก
If the card is not determined by Xiaomi after formatting via PC, try formatting it back via your phone. MIUI "He doesnโt like the โshootsโ created by third-party utilities.
Method 3: Using Xiaomiโs proprietary utility (for error cards)
If standard methods don't work, you can use Xiaomi's official utility, the Mi Flash Tool, which is designed to run devices, but also contains tools for working with drives.
- ๐จ Defined as "damaged" in MIUI.
- ๐ Not formatted through standard means.
- ๐ Lost some volume (e.g., 128GB is displayed as 32GB).
Instructions:
- Download the Mi Flash Tool from the official Xiaomi website (Support section) โ Mi Phone).
- Connect your smartphone to your PC in Fastboot mode (clip Volume down + Power when your phone is off).
- Launch the utility, select Select, and specify the path to the firmware (even if you donโt plan to stitch your phone).
- In the Advanced menu, find the Format option. SD Card (not available in all versions of the utility).
- Select the file system (exFAT is recommended) and start the process.
Important: This method resets all partitions on the map, including hidden system partitions, and only use it if other methods have failed.
| Method of formatting | Suitable for | Implementation time | Risk of data loss |
|---|---|---|---|
| Through MIUI settings | Maps without critical errors | 1-5 minutes | Low. |
| Through the PC (Windows/macOS) | Any card needs flexibility in the selection of the FS | 2-10 minutes | Medium (under failure) |
| Mi Flash Tool | Damaged maps, system errors | 5-15 minutes | High (full discharge) |
| Through TWRP | Advanced Users, Root Access | 3-8 minutes | High (with incorrect actions) |
Method 4: Formatting through TWRP (for advanced users)
If your Xiaomi is unlocked and installed custom recavator TWRP, You can format the map with maximum control:
- ๐ The card is encrypted and cannot be read on other devices.
- ๐ ๏ธ You need to change the size of the cluster (for example, to optimize for small files).
- ๐ Resetting all partitions (including hidden ones).
Step-by-step:
- Boot to TWRP (Put Volume Up + Power on the phone off).
- Go to Wipe. โ Advanced Wipe.
- Check the External box. SD (memory-card).
- Press Repair or Change File System.
- Select Format and specify the file system (FAT32 exFAT).
- Confirm the action of the swipe to Format.
โ ๏ธ Attention: B TWRP There's a Resize File System option, which is worth using if the map is not showing the right amount, but it can lead to data loss even if you don't format it completely.
Advantages of the method:
- ๐ง Allows you to change the size of the cluster (for example, 4096 bytes for optimization for photos).
- ๐ Can unlock cards locked at firmware level.
- ๐ Shows detailed section information (useful for diagnosis).
What to do if TWRP see SD-map?
Method 5: Low-level formatting (for recovering dead cards)
If SD-The map is defined by the system, but it's not formatted in any of the ways listed above, it might be corrupted by its file table or checksums, and in these cases, low-level formatting -- a complete rewrite of all sectors -- will help:
- ๐ฅ๏ธ HDD Low Level Format Tool (Windows).
- ๐ง dd (Linux/macOS, Team: sudo dd if=/dev/zero of=/dev/sdX bs=1M, where sdX is your device).
- ๐ฑ SD Card Formatter from SD Association (official utility).
Warnings:
- โณ The process can take several hours (depending on the size of the card).
- ๐ Charge your laptop or use a UPS โ interrupting the process will cause permanent damage to the card.
- ๐ซ After low-level formatting, a repeated high-level formatting will be required (via the MIUI PC).
The HDD Low Level Format Tool is used:
- Connect the card to the PC.
- Launch the utility, select your device.
- Press Continue. โ LOW-LEVEL FORMAT.
- Wait until the end (the indicator will show 100%).
- After completion, format the card in the standard way (via this computer).
โ ๏ธ Attention: Low-level formatting reduces card life by overwriting all memory cells. Don't use this method more than 1-2 times a year.
๐ก
If the card doesnโt work after low-level formatting, itโs likely to be physically damaged, in which case it will cost more to recover the data than to buy a new card.
Frequent mistakes and their solutions
Even after successful formatting, Xiaomi users may face problems, and here are some of the most common mistakes and ways to fix them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| The map is not determined after formatting | Incompatible file system or damaged partitions | Format through settings MIUI or use SD Card Formatter |
| "SD-The card is damaged. Try formatting it" | File system errors or hardware failure | Check the card on PC with chkdsk or perform low-level formatting |
| The map is defined as โread-onlyโ. | Protected mode activated or damaged controller | Check the physical switch on the adapter or use the diskpart (see above) |
| The card volume is displayed incorrectly (for example, 32 GB instead of 128 GB) | Fake map or damaged partition table | Check the actual volume through H2testw or format in TWRP size-shift |
If none of these methods worked, the problem may be:
- ๐ Card slot in your smartphone (try another card or clear your contacts with alcohol).
- ๐ Firmware (update) MIUI Up to the latest version or back to stable).
- ๐ ๏ธ Hardware damage to the card (in this case, only a replacement remains).