The situation when a smartphone refuses to format a memory card is familiar to many users. You insert the drive, see a notification about the need for configuration, press a button in the menu, but the system gives an error or the process freezes. This causes panic, since the media may contain important photos, documents, or backup copies of applications.
The reasons for this system behavior can vary from a banal software failure to a physical failure of the memory controller. Android has strict requirements for the file system and the state of the media. If the card is damaged, write-protected, or has an incompatible layout, the operating system blocks any write operations to prevent data loss or further damage.
In this article, we will examine in detail all possible format failure scenarios. We will look at methods for restoring performance through standard settings, using a personal computer and advanced tools like ADB. Understanding the nature of the error is the first step to successfully solving the problem without losing valuable information.
Software failures and logical errors in the file system
Most often, the problem lies not in the hardware, but in a violation of the logical structure of the data. File system FAT32 or exFAT, which Android uses, may become damaged due to incorrect removal of the card. If you remove the card while a file is being written or an application is running, the file allocation table (MFT) may have become corrupted.
In this case, the phone sees the physical device, but cannot mount the file system for writing. The Android security system blocks formatting because it cannot guarantee the integrity of the process. The error is often accompanied by the message “SD card is damaged” or a constant cycle of notifications about connecting and disconnecting.
Sometimes the culprit is the cache of system services responsible for storing data. A process failure android.process.media may prevent the correct initialization of external drives. In such cases, simply rebooting the device does not always help; a deeper cleaning or resetting the storage settings is required.
Try to simply restart the phone in safe mode first. If the card is formatted in this mode, then the problem is caused by a third-party application that blocks access to files.
To diagnose logical errors, you can use the built-in diagnostic tools, if they are available in your firmware. However, a connection to a PC is often required to carry out a superficial check of sectors. CHKDSK Windows is able to correct many logical errors that Android cannot handle on its own.
Physical write protection and mechanical damage
One of the most common reasons why the media cannot be formatted is the activated mechanical switch_lock_. On full-size cards SD (not microSD) there is a small lever on the left. If it is moved down, the card goes into read-only mode.
In the case of adapters for microSD, this mechanism often breaks or the contacts inside the adapter oxidize. The phone reads the security signal and blocks any commands to change data, including formatting. This is hardware protection that cannot be bypassed programmatically at the Android OS level.
⚠️ Attention: If the lever on the card is broken or stuck, try carefully securing it with tape in the “unlocked” position. However, it is better to replace the adapter with a new one, since poor contact can lead to data loss in the future.
In addition to the switch, there is physical damage to the contacts themselves or the memory controller. Dropping the phone, exposure to moisture or static electricity can damage the control chip. In this case, the card may be detected as a device with zero capacity or may not appear at all in the list of drives.
If the card heats up during operation or the phone quickly discharges when the drive is inserted, this is a sure sign of a short circuit inside the controller. Operating such a device is dangerous for the smartphone itself, since power surges can damage the card reading slot on the motherboard.
Incompatibility of format and memory size
Memory card standards are evolving, and older devices do not always support new formats. A 512 GB or 1 TB card formatted with the exFAT file system on a computer may not be accepted by an older smartphone. Android requires specific partitioning to work in internal storage mode.
The problem occurs when the card was formatted on a PC with a cluster size other than the standard, or in a file system NTFSthat Android does not natively support for writing without root access. The system sees the media, but cannot execute the format command into the format it needs due to a driver conflict or controller limitations.
| Card Type | Max. volume (standard) | File system | Android compatibility |
|---|---|---|---|
| SDSC | up to 2 GB | FAT16 | Full (legacy) |
| SDHC | up to 32 GB | FAT32 | Full |
| SDXC | up to 2 TB | exFAT | Android 6.0+ |
| SDUC | up to 128 TB | exFAT | New flagships |
It is also worth considering that some budget smartphones have a limit on the maximum size of the supported card, specified in the specifications. An attempt to use a larger drive may lead to read errors and the impossibility of formatting.
Why don’t older phones see 128 GB cards?
It’s a matter of sector addressing. Old controllers use 32-bit addressing, which physically cannot access sectors on large cards that require 64-bit LBA addressing.
Format method through the Android settings menu
The first and most obvious way to solve the problem is to use the standard system interface. However, it is important to follow the correct sequence of actions, since simply clicking the “Format” button does not always work if there are errors.
You need to go to the storage settings section. The path may differ depending on the manufacturer's shell, but usually it looks like this: Settings → Storage → SD card. If the card is detected as “Portable Storage”, try first selecting the “Change” option and switching the usage type, and then changing it back.
If the standard format button is grayed out or gives an error, try to force stop the media server process. To do this, go to Settings → Applications → Show system processes → Storage (or Media Storage) and click “Stop” or “Clear data”. After that, reboot the phone and try again.
☑️ Algorithm of actions in the settings
In some cases, changing the formatting type helps. Android offers two options: Portable Storage (for photos and files) and Internal Storage (for installing apps). Try choosing an option different from the current one to initiate a complete re-creation of the partitions.
Recovery through a computer and third-party utilities
When the built-in tools of a smartphone are powerless, a personal computer comes to the rescue. Connecting a card via a card reader allows you to use powerful diagnostic tools that are not available in the mobile OS. This is the most effective method for correcting logical errors.
Use the official utility SD Memory Card Formatter from the SD Association. It performs low-level formatting, following all the standards of the SD specification, which often solves problems that standard Windows formatting ignores.
You can also use the Windows command line. Launch the terminal as administrator and use the utility diskpart. This tool allows you to completely delete all partitions on the card and create a new, clean volume, ignoring file system errors.
diskpartlist disk
select disk X (where X is your card number)
clean
create partition primary
format fs=fat32 quick
⚠️ Attention: Be extremely careful when selecting the disk number in the diskpart utility. An error in one digit can lead to complete deletion of data from your computer’s hard drive, and not from the memory card.
If even these methods do not help, try using specialized recovery software, such as HDD Low Level Format Tool. It performs a bit-by-bit memory reset, which eliminates software bad blocks, but this process takes a lot of time.
Formatting via PC using the SD Association utility restores card compatibility in 90% of cases of software failures.
Advanced method: formatting via ADB
For For users familiar with USB debugging, there is a formatting method via the console ADB (Android Debug Bridge). This method gives superuser rights to execute commands directly in the Android system, bypassing some graphical limitations of the interface.
You will need to enable USB debugging in the developer menu and connect the phone to the PC. After installing the drivers and connecting, run the command to enter shell mode. Next, you need to find the disk ID using the command sm list-disks.
Having received the disk ID (for example, disk:179,64), you can initiate formatting. The command sm partition allows you to split the disk into parts or format it completely. This is a powerful tool, but it requires precision in entering commands.
adb shellsm list-disks
sm partition disk:XXX,YY private (or mix)
Using ADB is especially effective when the system's graphical interface freezes when trying to access the card, but the system core continues to work correctly. This allows you to “reach” the memory controller directly.
When it’s time to throw away the card: signs of the death of the controller
Sometimes all software methods are powerless, and the reason lies in irreversible physical wear. Flash memory has a limited resource of rewrite cycles. When the resource is exhausted, the controller blocks writing forever, putting the device into eternal read mode to save data.
If the card is defined as a 0-byte device, or its actual volume is radically different from the declared one (for example, instead of 32 GB it shows 16 MB), this is a sign of a fake or the death of the controller. Such cards cannot be restored.
Another alarming symptom is the appearance of dead pixels in photos saved to the card, or spontaneous disappearance of files immediately after recording. This indicates degradation of memory cells. You cannot continue to use such a drive, as you risk losing important data at any moment.
Is it possible to recover data from a dead card?
At home, no. If the controller has blocked recording, the data can only be read in the laboratory using programmers and resoldering of memory chips, which is expensive.
Why does the phone write “SD card is damaged”, but the files open?
This means that the file system has logical errors in service records, but the data clusters themselves are intact. The phone sees a checksum mismatch and blocks writing so as not to aggravate the situation, but reading is still possible. Copy the data immediately and format the card.
Is it safe to format the card as internal memory?
Yes, it is safe, but with reservations. In this case, the card is encrypted and tied to a specific device. You won't be able to read it on another phone or computer without a hard reset. In addition, the operating speed may be lower than that of the built-in memory.
What to do if the “Format” button simply cannot be pressed?
Try to remove the card, restart the phone and insert it again. If it doesn’t help, check if any application is open that uses files from the card (gallery, file manager, player). Close all applications and try again.
Can a virus on Android block card formatting?
Theoretically, yes. Malware can create hidden files with read-only attributes or block access to storage drivers. In this case, only a full antivirus scan or resetting the phone to factory settings before formatting will help.
How to distinguish a fake memory card from an original one?
Fake cards often have a lower real capacity. Use the utility H2testw on a PC: it will write data to the entire volume of the card and try to read it. If read errors appear at the end of the test, the card is fake and its controller will be flashed to a false volume.