How to grant permission access to read SD card in Lollipop Samsung

Last Updated on December 14, 2020

grant permission access to read SD card
SD card (permission needed) / ©ChuksGuide

Google added a restriction limit on how apps interact with external storage from Android lollipop. If you have upgraded your Android version to 5 or later on Samsung, you should have encountered “failed to copy” or “permission needed” when copying files onto SD card.

I write this post to explain to you how I bypassed permission needed on my Samsung S4 running Android 5. My apps and game data were not able to be saved on my SD card, Downloaded files cannot be moved to SD card and so many related issues.

In order to grant  permission access to read SD card to your device, it will require us to edit Android system file called “platform.xml“. This file contains permission access handlers (_rw, _r, _w) and other Android permissions. It is always required to make a backup of platform.xml before editing. We are going to edit two permissions;

  1. <permission name=”android.permission.WRITE_EXTERNAL_STORAGE” ></permission>
  2. <permission name=”android.permission.WRITE_MEDIA_STORAGE” ></permission>

Don’t be scared! It is very simple.

In this post, we will require the following ;

Note: Before continuing, make sure that you have met the listed requirements above
Warning message : ChuksGuide would not be held responsible when things go wrong. You are on your full responsibility. Be careful when dealing with root directories and files.

How to grant permission access to read SD card in Lollipop / Android

grant permission access to read SD card in Lollipop
Editing platform.xml / ©ChuksGuide

  1. Open your Root File Manager (ES Explorer, Root Explorer, Solid Explorer,…). If you have downloaded Es Explorer, you have to enable root access through the menu.
  2. Tap on “Root” to access root directory. 
  3. Navigate to /system/etc/permissions/
  4. Locate platform.xml, then tap on it to open
  5. Make a back of “platform.xml by copying it to a safer space in your internal memory
  6. Choose any of your downloaded text editor (DroidEdit, Textedit,…) to open it.
  7. Depending on your device configurations, I would want you to update the two permissions as seen below. Locate them and update them.

    <permission name=”android.permission. WRITE_EXTERNAL_STORAGE”>
    <group gid=” sdcard_r “>
    <group gid=” sdcard_rw”>
    <group gid=” media_rw”>

    <permission name=”android.permission.WRITE_MEDIA_STORAGE”>
    <group gid=”sdcard_rw”>
    <group gid=”media_rw”>

  8. Save. If it fails to save, then save as to another location in your internal memory. Then move it to permissions folder as platform.xml. It should replace the existing one.
  9. Restart your device.
 grant permission access to read SD card in Lollipop
After granting access to SDcard   / ©ChuksGuide
Just follow the steps one after the other. It is quite easy. This guide does not only work in Samsung phones, it works on most phones. Give it a try today.
, ,

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.