[Guide][How-To]Fix (Eaccess) Permission Denied error when writing data on sd card - Android General

..

Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Click to expand...
Click to collapse
ive tried this fix a few times a few different ways but it wont let me overwrite the platform.xml with the corrected version..... what the heck am i doing wrong, im a total noob to this

southsamurai said:
ive tried this fix a few times a few different ways but it wont let me overwrite the platform.xml with the corrected version..... what the heck am i doing wrong, im a total noob to this
Click to expand...
Click to collapse
I'm with you southsamurai - I'm not a complete noob but this one has me stumped, my guess is our situation has nothing to do with the contents of platform.xml because even with root access I can't save changes to it...
But I may be wrong... Did you fix your issue somehow?

Write protection 802w uk
jbainesy said:
I'm with you southsamurai - I'm not a complete noob but this one has me stumped, my guess is our situation has nothing to do with the contents of platform.xml because even with root access I can't save changes to it...
But I may be wrong... Did you fix your issue somehow?
Click to expand...
Click to collapse
Hi guys
I just have my second 802w, this one is coming from UK , it is Kitkat 4.4 + sense 6.
I rooted it and recovery is twrp 2.7
The bootloader says "tampered" + "unlocked"
No way to change Platform.xml even by flashing through recovery usig a zip. It says succeed but same old file after reboot.
If I use the nexapp sdfix, it crashes after "continue" and reboot.
Same if I use a es explorer or total commander, when I push save, black screen + reboot.
It seems there is an additionnal protection on those last updated uk 802w
Anybody has a clue?

Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Click to expand...
Click to collapse
I tried this on my nexus 5 and still get the error...
To anyone not getting the change to stick, make sure in ES file explorer you turn root explorer on in the menu on the left hand side. You then need to tap root explorer in order to switch the file path /system to rw before making your changes in the text editor.
If you manage to get further than I did, please write back with any tips!

Hi guys,
I got an opposite error..i can't copy my files from sd card to my system storage thru root explorer..can someone help me? Thnks

HELP ME
I reboot my phone and now bluetooth sharing doesn't worl anymore and I can't download media on whatsapp
PLEASE TELL ME HOW TO FIX THIS !!!!

thank you
Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Click to expand...
Click to collapse
I used Total Commander instead of Root Explorer and I was able to save the file after I made the changes...and it worked fine
I would like to thank also Stuart D
"Use Total Commander (with 'root' enabled in options).
Edit the file using the built-in editor "Totalcmd-Editor"
When you save, it will ask to remount drive; press OK.
Remember to reboot afterwards."
from How To Fix KitKat SD Card Write Restriction By Philipp Greitsch

Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Click to expand...
Click to collapse
sir thank you so much..
this one works on asus zenfone 4..

Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Use this fix at your own risk
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Edit: Note that I didn't come up with this solution myself, I found it on a forum (can't remember which one), so thanks to the user who found the solution to this problem.
Click to expand...
Click to collapse
Thank you very much! It worked on my Note 3 Dual Sim N9002 with Android 5.0.

Hi :
I have z2 d6502 running 5.0.2 build 23.1.a.1.28
I buy SD card with it since 2 weeks
And when I try to write on SD like copy/past in file browser like cabinet
Appear this message
Error
Field to copy this file:/storage /sdcard1.........: open field: EACCES (permission denied)
And by the way my device unrooted
I hope you help me to fix this issue and tell me What is the cause of this problem
<<Thank you>>

Still unsuccessful.
jackalPPC said:
Thank you very much! It worked on my Note 3 Dual Sim N9002 with Android 5.0.
Click to expand...
Click to collapse
i have es explorer and root explorer is enabled and i have edited and save xml file too.Despite it prompts operation failed/can't delete (means not writable).What to do now?:crying:
---------- Post added at 06:40 AM ---------- Previous post was at 06:27 AM ----------
Ap0rd said:
Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.
Use this fix at your own risk
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Edit: Note that I didn't come up with this solution myself, I found it on a forum (can't remember which one), so thanks to the user who found the solution to this problem.
Click to expand...
Click to collapse
i have es explorer and root explorer is enabled and i have edited and save xml file too.Despite it prompts operation failed/can't delete (means not writable).What to do now?

..

Ap0rd said:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Click to expand...
Click to collapse
Thank you for sharing this solution with us. It worked perfectly on my LG G2 Mini D618 running Android 4.4.2 :victory:

thanks you very much. it worked fine on my galaxy tab 3 GT 5210 ! after using diskdiggerpro app, it found 500 deleted photos but i could'nt save them on ext sd card ! and now, no problem ! thumbs up my friend !!!

Thank You So much bro
Last Year And This Year As well it's woked Fine You saved my life lol iwas looking for comments past 2 days bcoz same things fixed my fone last year but I forgot were it was Thank you once again
Requirements:
Device must be rooted
Root Explorer installed
Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.
Edit: Note that I didn't come up with this solution myself, I found it on a forum (can't remember which one)

It worked fine on my Redmi Note 2. Thank you so much. :fingers-crossed:

Related

Problem With ROOT EXPLORER! Please Help!

I have a problem with Root Explorer! It ocurred as:
I copy a file, and I can to paste it in System/framework, but when I try paste it the Root Explorer don´t permit me to paste and says me this message:
"The paste operation failed. Would you like to send diagnostic information to the developer to assist with fixing the problem?"
WHY?
Thx 4 all! =)
Not development related Moved
Anybody can help me? =(
Sent from my GT-I5800 using Tapatalk
fersago said:
I have a problem with Root Explorer! It ocurred as:
I copy a file, and I can to paste it in System/framework, but when I try paste it the Root Explorer don´t permit me to paste and says me this message:
"The paste operation failed. Would you like to send diagnostic information to the developer to assist with fixing the problem?"
WHY?
Thx 4 all! =)
Click to expand...
Click to collapse
It's just a guess, but maybe you need to root your phone? Don't know if it's already rooted but...
Yes! Its perfectly rooted with SuperOneClick! I too use TBackup!
Sent from my GT-I5800 using Tapatalk
Did you tried the "RW" option on the rootexplorer? Or just delete first the file, and not try to overwrite them...
You can do this over adb too...
GL!
The R/W Option is Enabled! =(
UP! UP! UP!
First make sure u are rooted and then
try remounting the system by typing in terminal:
mount -o remount,rw /dev/block/stl6 /system
NOTE: When u open Root Explorer a text should appear "Root Explorer has been granted Superuser permission"... If this doesnt appear check the su app for allowing permission to ROOT EXPLORER or u will need 2 reroot ur phone...
Go to the location where you want to paste a file or perform action.
Now click on Mount RW at the top of the screen. It will change to Mount RO.
Now you can copy files.
PS: Your need a rooted phone
jaskiratsingh said:
Go to the location where you want to paste a file or perform action.
Now click on Mount RW at the top of the screen. It will change to Mount RO.
Now you can copy files.
PS: Your need a rooted phone
Click to expand...
Click to collapse
My phone is rooted, and root explorer HAS ROOT ACCESS but clicking on the "Remount as RW" button on the top of the screen does nothing in "/system"
it works on "/sdcard" and anywhere els. But not in "/system"
Any ideas?
Edit: actually in "Superuser" the root access has been allowed but when I start "Root Explorer" there will be no notification of giving the root access ("Root Explorer has been granted Superuser permission")
acutally i got a solution for remounting to rw mode
e.savisaar said:
acutally i got a solution for remounting to rw mode
Click to expand...
Click to collapse
And how did you do it?
Got the same problem on my rooted Nexus 10 running 4.2.1 JB. Rooted it with SuperSU.zip via CWM and root seems to work fine.
Sadly I cant write anything to the system folder.
I tired to use the command "mount -o remiunt,rw /dev/block/stl6 /system" mentioned earlier in this thread but even with the use of "su" and granting SuperSU rights it wont allow me to create directories there. The mount command seems to work fine as there are no error messages but mkdir throws an error:
"mkdir: can't create directory 'test': Read-only file system"
Oh and there are no toast notifications about granting root access to the shell except the first time I typed su.
Anybody else having that problem on the Nexus 10?
fersago said:
I have a problem with Root Explorer! It ocurred as:
I copy a file, and I can to paste it in System/framework, but when I try paste it the Root Explorer don´t permit me to paste and says me this message:
"The paste operation failed. Would you like to send diagnostic information to the developer to assist with fixing the problem?"
WHY?
Thx 4 all! =)
Not development related Moved
Click to expand...
Click to collapse
Long press on the file that you want to paste in , then choose permission and press yes and ok
markus4000 said:
And how did you do it?
Got the same problem on my rooted Nexus 10 running 4.2.1 JB. Rooted it with SuperSU.zip via CWM and root seems to work fine.
Sadly I cant write anything to the system folder.
I tired to use the command "mount -o remiunt,rw /dev/block/stl6 /system" mentioned earlier in this thread but even with the use of "su" and granting SuperSU rights it wont allow me to create directories there. The mount command seems to work fine as there are no error messages but mkdir throws an error:
"mkdir: can't create directory 'test': Read-only file system"
Oh and there are no toast notifications about granting root access to the shell except the first time I typed su.
Anybody else having that problem on the Nexus 10?
Click to expand...
Click to collapse
i got a solution for this issue :
just install es explorer and turn on the root explorer mode then grant the permissions then again click on the tab root explorer and then a popup window will appear where you can allow permissions for each folder differently.
click thanks button if it worked for you.

[Q] Permissions change was not successful (root explorer)

Hello Members
I'm kinda new to rooting, i just installed ics 4.0.4 rooted it and now im having problems changing permissions in root explorer. Im trying to install Talk_with_AV_no_wifi.zip. I'm following the instructions from this post http://forum.xda-developers.com/showthread.php?t=1390818. But its not working for me.
Any help would be appreciated.
just a guess but mayybe becuase it is in the i-777 forum, it could have diff, libs or something. idk if im right or not.
It worked fine when i had gingerbread. Since ive had ics been having issues with root explorer. I got passed moving the file from sd to system/app with help from other threads but when i try to change permissions in root explorer i get the message.
OONICO81 said:
It worked fine when i had gingerbread. Since ive had ics been having issues with root explorer. I got passed moving the file from sd to system/app with help from other threads but when i try to change permissions in root explorer i get the message.
Click to expand...
Click to collapse
What's the message?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
A warning box pops up and contains this message: Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes
OONICO81 said:
A warning box pops up and contains this message: Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes
Click to expand...
Click to collapse
If its a mod from a different phone it probably won't work. I am on my phone and can't look right now.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
The mod isn't phone specific, it worked when i had gingerbread on the same phone.
Check Superuser SU for any errors. It may have denied permissions. If so, just click the button at the bottom to enable RootExplorer to make SU changes.
Please help me...!!!
when i m trying to chage the permission in root explorer its showing me...'Permissions change was not successful. Please note that some file systems(e.g SD Card) do not allow permission changes.'
plz tell me how to solv it...I have LG P698 mobile phone...its hv android 2.3.4
I've got root, SuperSU, and it won't let me change the files at all. I can't rename the files. Just says, "HotspotProvision.akp cannot be renamed because the file system is read-only". I can't find a permissions option. Do I need the pay version of Root Explorer?
What am I missing here?
The filesystem needs mounted as read write
Sent from my SGH-I727 using Tapatalk
I'm getting this I gs3. It's something to do with 4.4
Sent from my SCH-R530U using Tapatalk
The problem maybe with supersu binaries, delete these files through twrp or cwm recovery
system/etc/install-recovey.sh
system/xbin/ksud, ku.sud and su

Ota sideload error (debuggerd has unexpected contents)

hello,
i want to update my nexus 5 from 4.4.1 to 4.4.2, but i get this error "system/bin/debuggerd has unexpected contents"
can somebody give me a original depuggerd file from KOT49E
and a short explanation how i replace it
is this because of stick mount?
heartbeat.rulez said:
hello,
i want to update my nexus 5 from 4.4.1 to 4.4.2, but i get this error "system/bin/debuggerd has unexpected contents"
can somebody give me a original depuggerd file from KOT49E
and a short explanation how i replace it
is this because of stick mount?
Click to expand...
Click to collapse
I had the same issue, i used this >> https://app.box.com/s/z0a12rt18gm3dtfqqndl
I got it from stock odexed 4.4.2 rom here on xda and please check the sha1sum of the file, it should be 1A008709F0945E8EACA2166D143622EB8D94C3D0
Otherwise the updater script wont install the update, also use es file explorer or any root explorer to replace the file and set permissions to chmod 755 and shell access, more info here - http://forum.xda-developers.com/showthread.php?p=48333174#post48333174
imrock said:
I had the same issue, i used this >> https://app.box.com/s/z0a12rt18gm3dtfqqndl
I got it from stock odexed 4.4.2 rom here on xda and please check the sha1sum of the file, it should be 1A008709F0945E8EACA2166D143622EB8D94C3D0
Otherwise the updater script wont install the update, also use es file explorer or any root explorer to replace the file and set permissions to chmod 755 and shell access, more info here - http://forum.xda-developers.com/showthread.php?p=48333174#post48333174
Click to expand...
Click to collapse
i can not replace the file
efs explorer permission denied
i will push the file with wugs tool kit
im to stupid for adp
and root explorer doesn´t work
heartbeat.rulez said:
i can not replace the file
efs explorer permission denied
i will push the file with wugs tool kit
im to stupid for adp
and root explorer doesn´t work
Click to expand...
Click to collapse
Just use es file Explorer, cut the file in ur system/bin/debuggerd and take its backup on sdcard, then paste the given file, change the permissions to the one's like given in the second post here - http://forum.xda-developers.com/showthread.php?p=48353992#post48353992
You should be having root access in es file Explorer with partition mounted as r/w
imrock said:
Just use es file Explorer, cut the file in ur system/bin/debuggerd and take its backup on sdcard, then paste the given file, change the permissions to the one's like given in the second post here - http://forum.xda-developers.com/showthread.php?p=48353992#post48353992
You should be having root access in es file Explorer with partition mounted as r/w
Click to expand...
Click to collapse
this was the fault i had to delet the efs in supersu and to reactivate the root for efs.
after this i get showed up the second image, before only the switch was moved from right to left and back

[Q] SDfix and Z3

Hello All,
I have issue regarding Titanium Backup and my Z3.
My Z3 is rooted, Titanium has Root access but when i try to specify the Sd card as backup support i have a message telling me i don't have permissions to write on the Sd card.
I try SDfix app but the result is a failed....
I also try to edit my platform.xml file with Es File explorer but i'm unable to save the modification. (Here the modification i try to input).
<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="media_rw"/></permission>
Any idea to fix this issue ?
I'm in stock ROM with 5.0.2 Lollipop build 23.1.A.0.690
regygys said:
Hello All,
I have issue regarding Titanium Backup and my Z3.
My Z3 is rooted, Titanium has Root access but when i try to specify the Sd card as backup support i have a message telling me i don't have permissions to write on the Sd card.
I try SDfix app but the result is a failed....
I also try to edit my platform.xml file with Es File explorer but i'm unable to save the modification. (Here the modification i try to input).
<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="media_rw"/></permission>
Any idea to fix this issue ?
I'm in stock ROM with 5.0.2 Lollipop build 23.1.A.0.690
Click to expand...
Click to collapse
Have you tried reinstalling titanium/es file explorer after updating the platform.xml?
Might help as the apps permissions may not have been implemented correctly if apps didn't have write access to the SD card upon install.
ozzy lion said:
Have you tried reinstalling titanium/es file explorer after updating the platform.xml?
Might help as the apps permissions may not have been implemented correctly if apps didn't have write access to the SD card upon install.
Click to expand...
Click to collapse
Thanks for the reply.
unfortunately the issue is i cannot modify the plateform.xml manually or with the SDfix App.....
I just checked in ES File explorer and the root explorer case was not checked.
The thing is when i'm checking it it tell me that my device is not rooted (my device is rooted i have SU on it and granted ES File explorer root access from the SU menu).
As the Z3 is rooted with the root exploit of the 23.0.A.2.93 downgrade maybe it's a limitation.
Any idea ? (I try also to reinstall ES File explore with same result)
regygys said:
Thanks for the reply.
unfortunately the issue is i cannot modify the plateform.xml manually or with the SDfix App.....
Click to expand...
Click to collapse
Sorry, I misread the OP.
I'm not sure how to get around it, my suggestion was just a guess but I know google have prevented play store apps for having write access to the SD card by default.
I believe the usual way around this is to use exposed framework but I'm not sure if this is functional on Z3 running 5.x yet.
Try copying platform.xml to sdcard and copy it to computer, make modifications, and copy it back. Then use Aroma File manager in recovery, rename original platform.xml to platform.xml.bak for just in case. and copy the file from sdcard and change permissions to rw.r..r.. and you are set. Remember to mount system in recovery before starting file manager.
jassalmithu said:
Try copying platform.xml to sdcard and copy it to computer, make modifications, and copy it back. Then use Aroma File manager in recovery, rename original platform.xml to platform.xml.bak for just in case. and copy the file from sdcard and change permissions to rw.r..r.. and you are set. Remember to mount system in recovery before starting file manager.
Click to expand...
Click to collapse
Hello thank you for the reply.
It's a good idea but xperia Z3 with stock rom do not have any recovery mode. If you install any recovery partition, you void warranty (that's not a big deal) and you cannot use DRM anymore (Photo are crapy)
regygys said:
Hello thank you for the reply.
It's a good idea but xperia Z3 with stock rom do not have any recovery mode. If you install any recovery partition, you void warranty (that's not a big deal) and you cannot use DRM anymore (Photo are crapy)
Click to expand...
Click to collapse
That's completely untrue. You can install recovery WITHOUT losing warranty and WITHOUT losing DRM keys
gregbradley said:
That's completely untrue. You can install recovery WITHOUT losing warranty and WITHOUT losing DRM keys
Click to expand...
Click to collapse
Just what I was about to say, check gieroot and nut dual recovery.
I going to check "nut dual recovery" i was not aware about this trick.
My phone is already rooted.
jassalmithu said:
Try copying platform.xml to sdcard and copy it to computer, make modifications, and copy it back. Then use Aroma File manager in recovery, rename original platform.xml to platform.xml.bak for just in case. and copy the file from sdcard and change permissions to rw.r..r.. and you are set. Remember to mount system in recovery before starting file manager.
Click to expand...
Click to collapse
I try this solution and it's working now.
Thank you

root explorer permission issues

i have this message:
Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes .
what to do to fix it and can do change?
thanks

Categories

Resources