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 microSDXC up 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 exFAT or NTFS may not be supported by older versions of Android (up to 9th). The best option is FAT32.

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.

๐Ÿ“Š What brand of your smartphone?
Samsung
Xiaomi/Redmi/Poco
Realme/Oppo
Honor/Huawei
Other

2. Formatting an SD card as internal or external memory

Android offers two modes of operation with microSD:

  1. 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).
  2. 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:

  1. Go to Settings โ†’ Storage (or Memory).
  2. Click on the name of your SD card (for example, SanDisk 128GB).
  3. Select Settings (or three dots in the upper right corner) โ†’ Format as internal memory.
  4. 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:

  1. Open Settings โ†’ Applications.
  2. Select the application that you want to allow recording (for example, ES Explorer or Solid Explorer).
  3. Go to Permissions โ†’ Storage.
  4. Activate the switches Access to multimedia and Manage 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:

  1. Open Settings โ†’ Accessibility.
  2. Activate MIUI optimization โ†’ disable it.
  3. 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:

  1. Download ADB Tools (part Android SDK) and unpack the archive.
  2. Activate on your phone Developer mode (click on Build number 7 times to Settings โ†’ About phone).
  3. Enable USB Debugging in Settings โ†’ System โ†’ For Developers.
  4. 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:

  1. Reboot the phone.
  2. 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: Replace 179,64 with the current parameters of your card. You can find them with the command adb 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:

  1. Install any root explorer (for example, Root Explorer or FX File Explorer with root plugin).
  2. Navigate to path /system/etc/permissions/platform.xml.
  3. Find the line:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

</permission>

  1. Add after it:
<permission name="android.permission.WRITE_MEDIA_STORAGE" >

<group gid="sdcard_r" />

<group gid="sdcard_rw" />

<group gid="media_rw" />

</permission>

  1. 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:

  1. Open FX File Explorer โ†’ Network โ†’ FTP server.
  2. Click Run and write down the address (for example, ftp://192.168.1.100:2221).
  3. 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 SanDisk or Samsung from 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) or diskutil 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:

  1. Issue. allow the application manually (section 3).
  2. Use ADB to reset permissions (section 4).
  3. 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 ADB or 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.