Owners of smartphones on Android often encounter a problem: the phone does not allow writing files to SD card, producing errors like โNo accessโ, โMemory is write protectedโ or "Not enough rights." The reasons may lie both in the operating system settings and in physical malfunctions of the drive. In this article, we will analyze all the current solutions - from basic checks to advanced methods using ADB and root access.
The peculiarity of the problem is that it manifests itself in different ways: for some users, applications (for example, a camera or a file manager) cannot save data on the card, for others - Android automatically mounts SD as internal memory, blocking access for the PC. We will look at solutions for both cases, and also explain why modern versions Android (starting from 10th) limit work with external drives.
Before proceeding with the settings, make sure that your data-i="42">defective. Try inserting it into another device (phone, tablet, card reader) - if the error persists, the problem is in the card itself. Also check to see if the physical switch microSD OK. Try inserting it into another device (phone, tablet, card reader) - if the error persists, the problem is in the card itself. Also check if the physical switch is activated Lock on the adapter (if there is one) is activated.
1. Basic checks: why Android blocks writing to SD
Start with basic actions - they help in 40% of cases:
- ๐ Reboot the device. Sometimes system failures when mounting a card can be resolved by a simple reboot.
- ๐ฑ Check compatibility. Make sure that your smartphone supports the card capacity (for example, it works with up to 1 TB, and budget models only support up to 256 GB). Check compatibility. Remove the card, wipe its contacts and the slot in the phone with a dry cloth (no alcohol!). Dust or oxidation may cause reading errors. Samsung Galaxy A52 works with
microSDXCup to 1 TB, and budget models - only up to 256 GB). - ๐ Clean the contacts. Remove the card, wipe its contacts and the slot in the phone with a dry cloth (no alcohol!). Dust or oxidation may cause reading errors.
- ๐ ๏ธ Check the file system. Cards of format
exFATorNTFSmay not be supported by older versions of Android (up to 9th). The best option isFAT32.
If after these manipulations the record is still blocked, proceed to software methods. Please note: on devices with Android 11+ manufacturers (for example, Xiaomi, Samsung, Realme) often introduce additional restrictions on access to SD through third-party applications. This is due to the policy Scoped Storage โa mechanism that separates application rights to files.
2. Formatting an SD card as internal or external memory
Android offers two modes of operation with microSD:
- External memory โthe card is used as a removable storage device (files can be transferred to a PC, but some applications will not be able to write data to it).
- Internal memory โthe card becomes part of the system (applications can save data to it, but access from the PC will be limited).
To change the mode:
- Go to
Settings โ Storage(orMemory). - Click on the name of your SD card (for example,
SanDisk 128GB). - Select
Settings(or three dots in the upper right corner) โFormat as internal memory. - Confirm the action. Attention: all data on the card will be deleted!
After formatting as internal memory, some applications (for example, WhatsApp or Google Photos) will be able to save data to SD. However, please note:
If you format the card as internal memory, it cannot be read on another device without completely erasing the data! Back up important files in advance!
| Mode | Pros | Cons |
|---|---|---|
| External memory | Access from PC, compatibility with other devices | Limited recording for applications |
| Internal memory | Full access for applications, transferable data | Unreadable on other devices, difficulties with backup |
On some devices (for example, Samsung Galaxy S22 or OnePlus 10 Pro) the option to format as internal memory may not be available. This is due to the manufacturer's policy.
3. Allow recording through application settings
WITH Android 10 Google has tightened control over access to storage. Many applications (especially file managers and galleries) require explicit permission to work with the SD card. To grant it:
- Open
Settings โ Applications. - Select the application that you want to allow recording (for example, ES Explorer or Solid Explorer).
- Go to
PermissionsโStorage. - Activate the switches
Access to multimediaandManage all files(names may vary).
If the option Manage all files is not present, then the application does not support working with SD. Try alternative file managers, for example:
- ๐ FX File Explorer - supports root access and work with external drives.
- ๐ Mixplorer โhas a built-in FTP server to bypass restrictions.
- ๐๏ธ Total Commander โallows you to configure access rights manually.
On devices Xiaomi (MIUI) may additionally be required:
- Open
Settings โ Accessibility. - Activate
MIUI optimizationโ disable it. - Restart the phone.
Open application settings
Check the "Storage" permission
Activate "Manage all files"
Restart application-->
4. Using ADB to reset permissions (without root)
If the previous methods did not work, try resetting SD access rights via Android Debug Bridge (ADB). This method does not require root access, but you will need a computer.
Instructions:
- Download ADB Tools (part Android SDK) and unpack the archive.
- Activate on your phone
Developer mode(click onBuild number7 times toSettings โ About phone). - Enable
USB DebugginginSettings โ System โ For Developers. - Connect the phone to the PC and in the command line (in the folder with ADB) run:
adb shell sm set-force-adoptable true
This command forces the system to consider SD card as adoptable storage (adaptive storage), which can allow recording. After execution:
- Reboot the phone.
- Format the card as internal memory (see section 2).
If the command does not worked, try the alternative:
adb shell sm partition disk:179,64 private
โ ๏ธ Attention: Replace179,64with the current parameters of your card. You can find them with the commandadb shell ls /dev/block | grep -i mmcblk. Incorrect values can lead to data loss!
5. Editing the platform.xml file (root required)
On devices with root access you can manually edit the system file platform.xmlthat controls write permissions. This method works on most firmwares, including LineageOS i Pixel Experience.
Instructions:
- Install any root explorer (for example, Root Explorer or FX File Explorer with root plugin).
- Navigate to path
/system/etc/permissions/platform.xml. - Find the line:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" ><group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
- Add after it:
<permission name="android.permission.WRITE_MEDIA_STORAGE" ><group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
- Save the file and restart the device.
After this, all applications will have full access to the SD card. If the file platform.xml is missing, look for it in /vendor/etc/permissions/ or /system/usr/idc/ (depending on the firmware).
What to do if you do not have root access?
If you do not have root, but need to edit system files, you can try temporary root through applications like KingRoot or Magisk (on some devices). However, this is risky: an unstable root can lead to bootloop (boot loop). An alternative is to use ADB to grant permissions to specific applications (see section 4).
6. Alternative methods: FTP server and OTG
If none of the methods worked, there are workarounds:
- ๐ FTP server on your phone. Install the application FX File Explorer or Solid Explorer, activate the FTP server in it and connect to the phone from a PC via the local network. This way you can transfer files bypassing Android restrictions.
- ๐ USB OTG + card reader. Connect to a phone USB hub with a card reader and work with SD as an external drive. The downside is that not all applications will see the card in this mode.
- โ๏ธ Cloud storage. Upload files to Google Drive, Dropbox or Yandex Disk, and then download them directly to SD via a browser (some services allow you to choose the saving path).
For FTP servers:
- Open FX File Explorer โ
Network โ FTP server. - Click
Runand write down the address (for example,ftp://192.168.1.100:2221). - On your PC, connect via FileZilla or Windows Explorer (enter the address in the address bar).
FTP transfer speed is lower than with direct recording, but this method is reliable and even works on Android 14.
7. Diagnosis of SD card faults
If none of the methods helped, the problem may be in the memory card itself. Carry out diagnostics:
- ๐ Authenticity check. data-i="222">with AliExpress) often have a smaller actual volume and block the recording when filled. You can check it using the utility
SanDiskorSamsungfrom AliExpress) often have a smaller actual volume and block recording when full. You can check it with the utility H2testw (Windows) or F3 (Linux/macOS). - ๐ฉบ Error testInsert the card into the PC and run the check via
Properties โ Service โ Check(Windows) ordiskutil verifyVolume(macOS). - ๐ฅ Checking for overheating. If the card gets very hot during use, this is a sign of wear on the controller.
Average service life microSD โ3-5 years with intensive use. If the card is more than 5 years old, there is a high probability of hardware failure. In this case, the only solution is replacement.
โ ๏ธ Attention: Some phones (for example, Huawei or Honor) block recording to SD due to policy HMS (alternative Google Mobile Services). In this case, only firmware with support GMS or using workarounds (FTP/OTG) will help. data-i="239">Attention
FAQ: Frequently asked questions about recording to SD in Android
Is it possible to allow recording to SD without formatting?
Yes, but not in all cases. If the card is formatted as external, try:
- Issue. allow the application manually (section 3).
- Use
ADBto reset permissions (section 4). - Connect via FTP or OTG (section 6).
Format is required only if the file system of the card is incompatible with Android (for example, NTFS).
Why did SD recording stop working after updating Android?
Most likely, the policy Scoped Storageintroduced in Android 10is to blame. Manufacturers also add their own restrictions. Solutions:
- Roll back to the previous firmware version (if there is a backup).
- Use
ADBor root to bypass restrictions. - Transfer critical data to internal memory.
How to transfer applications to SD if recording blocked?
Starting from Android 9, transferring applications to SD is very limited. Alternatives:
- Format the card as internal memory (section 2).
- Use applications like App2SD (requires root).
- Install Lite versions applications (they weigh less).
On some devices (for example, Samsung) you can transfer only part of the application data, and not the APK itself.
What to do if the phone does not see the SD card at all?
The problem may be:
- Card slot โtry inserting another microSD.
- Firmware โupdate Android to the latest version.
- Contacts โclean the slot from dust with alcohol (carefully!).
If the card is not detected on any device, it is most likely out of order.
Is it possible to recover data from a locked SD card?
Yes, but success depends on the reason for the blocking:
- If the card write protectedbut is readable - copy the data to the PC.
- If the card is is not formatted, use utilities like TestDisk or PhotoRec (only for FAT32/exFAT).
- If the card physically damaged, contact a data recovery laboratory.
Do not write new files to the card before recovery - this will reduce the chances of success!
If none of the methods worked, check the card on another device. In 60% of cases, the problem lies in the microSD itself, and not in the Android settings.