KitKat 4.4.2 EACCES (permission denied). Solved!

Sources:

http://trendblog.net/fix-kitkat-sd-card-write-restriction/

In the last days Samsung has been pushing out Android 4.4.2 to flagship devices like the Galaxy Note III and Galaxy S4. Unfortunately, Google implemented an SD card write restriction (EACCES) in the latest Android version which can be quite annoying for users with an SD card in their phone.

The new “feature” basically restricts apps from writing to external SD cards. This can be quite annoying, because many users want to store apps on a secondary SD card instead of the main storage unit.

Luckily, fixing this problem can be easily done if you have root access. Here’s how you can do it (Please be aware that you’re performing these changes on your own risk!):

  1. Make sure that you have root access
  2. Perform a NANDROID backup to be completely safe
  3. Use a root-enabled file manager and navigate to /system/etc/permissions
  4. Edit platform.xml and find “WRITE_EXTERNAL_STORAGE“
  5. Add an additional group definition for this permission: <group gid=”media_rw” />
  6. Save the changes and restart your device
  7. You are now able to write on your external SD card again

p/s: In my case, I used Total Commander (free from Google Play) and granted the app with root permission. Edited the mentioned file and and also added  <group gid=”media_rw” /> in “READ_EXTERNAL_STORAGE”

p/s 2: Should be valid for all type of android phones.

p/s 3: In order to successfully select a backup directory via the DocumentProvider storage, you should not select the desired folder immediately after choosing the above mentioned storage.

What you should do, is to navigate to the root directory of the external SD card and then tap on Select. Next, after the Access granted popup appears, choose desired backup directory and then tap on USE THE CURRENT FOLDER.

2 thoughts on “KitKat 4.4.2 EACCES (permission denied). Solved!

  1. How can I get root access on GT-I9295, KitKat 4.4.2.?

    How can I root GT-I9295 on KitKat 4.4.2?

    Thanks and best regards

Leave a Reply