{MOD}{KitKat}Add Init'd & Write to SD Card ((EASY)) - AT&T Samsung Galaxy S 4 General

I haven't seen anyone yet post how to add init'd and write to external Sd Card.So I thought I would share. I've made the mods already for i537.While I'm fairly sure the files needed to be altered are identical on both devices . Instead of posting what I've already made for the i537. I decided to just give you guys easy instructions.
1.init.qcom.post_boot.sh Location system/etc. Add Init'd support by adding this line to the bottom of the script be sure there is a blank space between this line and the bottom of the script.---->>> busybox run-parts /system/etc/init.d/ >>>
2.platform.xml Location system/etc/permissions Add's write to External SdCard
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE">
<group gid="sdcard_r"/>
<group gid="sdcard_rw"/>
<group gid="sdcard_all"/> <--- add this line. thats it.
</permission>
If you enjoy my work Please give thanks.
For the sake of keeping file system integrity if you post the above files. I will alter and wrap them up in a flashable zip for you. Set permissions as shown. chmod755 rwx, rx, rx

This sounds great! Would this allow apps2sd?

Yes to the external sd.
Sent from my SAMSUNG-SGH-I537 using Tapatalk

Related

[FIX]Fix external SD Card permissions (updated 2012-02-05)

NOTE: Please see the following post for the original modification (as far as I'm aware) and the manual method of doing the same thing: http://forum.xda-developers.com/showpost.php?p=20869996&postcount=7
This "update.zip" style installer simply automates the process of modifying /system/etc/permissions/platform.xml to make the tablet permissions act the same as previous versions of android.
In particular, programs with the WRITE_EXTERNAL_STORAGE permission will be able to write to the removable storage card. (Honeycomb changes this to require WRITE_MEDIA_STORAGE which very few, if any, 3rd party programs use.)
If you are having issues with programs writing to your storage card, this might fix it.
This uses 'sed' to make the edits. If this is installed twice, it won't re-modifying the file. (However, if you have manually edited the platform.xml file, and then run this script, it might make create duplicate, but harmless, <group> entries. Before making the modification to platform.xml, it will create a backup of the file (called platform.xml.backup) in the /system/etc/permissions directory (if the backup doesn't already exist.)
Instructions:
Download the file, and place on your sdcard. Reboot into recovery and install .zip from sdcard. Choose this file. Done..
(I've tested this with my CWM based recovery and it works. It _should_ work with the factory recovery as well, but I haven't tested... Please reply with your results.)
Support:
None. If you aren't familiar with using recovery to install updates, you should research the topic before continuing.
More info:
If you are curious, here is the sed command I'm sending, using busybox compiled from the cyanogenmod sources:
Code:
sed -e '/WRITE_EXTERNAL_STORAGE" >$/N;s/\n\(\([ \t]*\)<group gid="sdcard_rw".*$\)/\n\2<group gid="media_rw" \/>\n\1/' -i /system/etc/permissions/platform.xml
What that means is: do an "in-place" edit on /system/etc/permissions/platform.xml, and find the line containing "WRITE_EXTERNAL_STORAGE >", then if the next line contains some whitespace followed by "<group gid="sdcard_rw" />", replace that sdcard_rw line with two new lines, the first being "<group gid="media_rw" />" and the second being the exact line that contained "sdcard_rw". I purposely put the media_rw line before the sdcard_rw line to prevent this same sed command from finding the same match again. In other words, if you run this sed command 50 times on the same file, it'll only make the change the first time.
(I'm not fluent with sed, so if someone knows a better way to do that, please feel free to educate me.)
File is attached below...
UPDATED Feb 5th, 2012: the script will change the filesystem permissions of the platform.xml file before attempting to edit it. This MAY overcome issues people have been having with non-rooted devices, but I'm unable to test so I don't know. Okay, well, it appears that this won't work for a device that doesn't have CWM Recovery installed. Not sure why, but at least I've repeated it.
Take care
Gary
I assume this is for the 6210, but will it work for all versions?
Sent from my Galaxy Tab 7 Plus
Sweet, thinking about flashing this. Will it work on non-root systems?
ringnutz said:
I assume this is for the 6210, but will it work for all versions?
Click to expand...
Click to collapse
It should, but I have no way to test. I can tell you that it won't cause any harm. Go ahead and install it, and then (using adb or a file explorer tool) copy the /system/etc/permissions/platform.xml (and platform.xml.backup) files and compare them (or send them to me and I'll compare them) to verify.
pacmanftw said:
Sweet, thinking about flashing this. Will it work on non-root systems?
Click to expand...
Click to collapse
It should, but I haven't tested it. It shouldn't cause any harm, however, so feel free to try it.
garyd9 said:
It should, but I have no way to test. I can tell you that it won't cause any harm. Go ahead and install it, and then (using adb or a file explorer tool) copy the /system/etc/permissions/platform.xml (and platform.xml.backup) files and compare them (or send them to me and I'll compare them) to verify.
Click to expand...
Click to collapse
I have the 6210 as well, just wanted to clarify to cut down on the inevitable questions that would follow. Thanks again
Sent from my Galaxy Tab 7 Plus
Worked perfectly for me.
Absolutely fine here. Before I couldn't move files to the SD card using AirDroid now I can
Yup... its working fine with my plus...
Sent from my GT-P6200 using xda premium
Thanks for this. I started to script a fix for this but then I found yours. Thanks again!a
It's work for P6200
thank you gary it worked for me!!!
Still the same hier, it worked for me
P6200
Tested! It works for galaxy tab 7.0 Plus P6200,
nice work garyd9
Sent from my GT-P6200 using xda premium
garyd9 said:
It should, but I haven't tested it. It shouldn't cause any harm, however, so feel free to try it.
Click to expand...
Click to collapse
It does not work on non-root P6210.
Brightxda said:
It does not work on non-root P6210.
Click to expand...
Click to collapse
That doesn't make sense. What leads you to believe that it didn't work? Which program/option isn't working how you expect (and how do you expect it to work?) (sorry for all the questions, but if I can't repeat exactly what you are experiencing, I can't really help you.)
Do you have some kind of file explorer installed? If so, please browse to /system/etc/permissions and view the "platform.xml" file. Scroll down to find the line with "WRITE_EXTERNAL_STORAGE". There should be two lines below that that start with "<group gid". One should have the string "media_rw" and the other "sdcard_rw". If so, then the fix DID apply properly.
"root" shouldn't matter for this...
There is no change to the "platform.xml" after I installed the .zip under the recovery though it shows install completed. I even repeated it twice. It fails when I use ES file explorer to create a folder in ext. SD Card.
Then I rooted the device and manually modified the "platform.xml" (added the <group gid="media_rw" />), and it works now.
Yes I done the same after root, but I have to change the attribut ( sorry I' french) of "platform.xml" with Root explorer to write before (long press on the name), then I access to "platform.xml" with es file explorer to add the code line, save the file and reboot. and it works now (for model 6210)
"platform.xml" is at system/etc/permissions/
add
</permission name=android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="media_rw" />
</permission>
Okay, if the attributes of the file aren't allowing writing, then I'm obviously not allowing for that in the package. It seemed like a reasonable assumption that the file was writable, being that it worked for so many people...
I wonder why samsung isn't being consistant with the file permissions. Well, that's something I can probably fix in an update. Not a big deal to change perms on a file.
(It's also not a high priority, as this is working for the majority of people without me tinkering with file permissions.)
take care
Gary
I have a P6200, no root and using stock recovery as of this writing.
I had a P6210 and I was able to fix External SD Card writing on it manually.
I tried the .zip in this thread and it didn't work on my P6200.
I am thinking it didn't because my device is either rooted, or using stock recovery.
I will root and perhaps install CWM, and test further.
My test was using ES Explorer to create a new directory in the SD card. It couldn't, so I'm pretty sure the fix didn't work with my particular configuration.
garyd9 said:
That doesn't make sense. What leads you to believe that it didn't work? Which program/option isn't working how you expect (and how do you expect it to work?) (sorry for all the questions, but if I can't repeat exactly what you are experiencing, I can't really help you.)
Do you have some kind of file explorer installed? If so, please browse to /system/etc/permissions and view the "platform.xml" file. Scroll down to find the line with "WRITE_EXTERNAL_STORAGE". There should be two lines below that that start with "<group gid". One should have the string "media_rw" and the other "sdcard_rw". If so, then the fix DID apply properly.
"root" shouldn't matter for this...
Click to expand...
Click to collapse
Wait... how can you get into /system/etc/permissions if you haven't rooted the device? I was of the impression that you can only access that directory if you are rooted. I certainly can't get there.
I was able to on my P6210 when it was rooted.

[Fix][i9500,i9505,i9505G,i9506][ExtSdCard Write Issue][Kitkat 4.4.2][NB3] - Rooted

Hi everybody this will solves TB Backup Problem and 5 other issues which is in KiKat Ver Rom's official ones too, works on both all S4 Versions i950.........
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
or download the file and flash it via recovery
plus set 744 permission on folder mnt/media_rw [You have to set up permission on every boot ???]using root explorer manually
thx
best regards:good:
Im in the folder in root explirer how i set 744 permission on it??
Sent from my GT-I9500 using Tapatalk
rotemkk said:
Im in the folder in root explirer how i set 744 permission on it??
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Check Pictures how to do it.
Best regards.:angel:
+1 work
Is this mean that I have to flash and set up permission on every boot ???
How to check if it's working or not ?
I have Sygic installed but it still failed to access sd card ( SD Card access dienied )
pRo_lama said:
Is this mean that I have to flash and set up permission on every boot ???
Click to expand...
Click to collapse
yes.. but true blame it GOOGLE.
Xajel said:
How to check if it's working or not ?
I have Sygic installed but it still failed to access sd card ( SD Card access dienied )
Click to expand...
Click to collapse
Did you set permmissions on "media_rw" folder
itsme_4ucz said:
yes.. but true blame it GOOGLE.
Click to expand...
Click to collapse
Was it purposely or not ???
itsme_4ucz said:
yes.. but true blame it GOOGLE.
Did you set permmissions on folder
Click to expand...
Click to collapse
Yes I did, and tried to restart then again set the permissions after rebooting but the same error again... ES File Explorer is working normally I can move and copy to and from the external microSD very normally...
Another Way To Fix The Sdcard Permissions
INSTALL FOLDER MOUNT FROM PLAYSTORE AND APPLY THE SUGGEST FIX ,REDTART AND VOILA THE SD CARD IS NOW FULLY ACCESSIBLE
HIT THANKS BUTTON IF HELPED
pRo_lama said:
Was it purposely or not ???
Click to expand...
Click to collapse
yes so people can use only internal sd cards or internal storage like iphone.
Thanks @ameshiya, that fixed my problem after two restarts... Sygic is working normally now
Xajel said:
Thanks @ameshiya, that fixed my problem after two restarts... Sygic is working normally now
Click to expand...
Click to collapse
I Was Going Crazy For This BuT Now Its Over
itsme_4ucz said:
yes so people can use only internal sd cards or internal storage like iphone.
Click to expand...
Click to collapse
I'm starting to dig a grave for Samsung. First KNOX, now this. What will be next?
pRo_lama said:
I'm starting to dig a grave for Samsung. First KNOX, now this. What will be next?
Click to expand...
Click to collapse
It's actually a KitKat security thing, but Samsung didn't play enough to change the default behavior of it...
But Knox alone is enough, last Samsung for me...
ameshiya said:
Another Way To Fix The Sdcard Permissions
INSTALL FOLDER MOUNT FROM PLAYSTORE AND APPLY THE SUGGEST FIX ,REDTART AND VOILA THE SD CARD IS NOW FULLY ACCESSIBLE
HIT THANKS BUTTON IF HELPED
Click to expand...
Click to collapse
It is taken from here - http://forum.xda-developers.com/showthread.php?p=50542136
Sent from my GT-I9500 using XDA Premium 4 mobile app
a9402169 said:
It is taken from here - http://forum.xda-developers.com/showthread.php?p=50542136
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, what is written is different than what is needed...
I didn't have to mount any folder to anywhere, just started the app, it shows a message that there's something wrong and the app might not work it asked me to apply a fix and restart... after restart I started the app again and it shows me another similar message.. I tapped fix and after restart it was working okay and Sygic worked normally...
itsme_4ucz said:
Hi everybody this will solves TB Backup Problem and 5 other issues which is in KiKat Ver Rom's official ones too, works on both all S4 Versions i950.........
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
or download the file and flash it via recovery
plus set 744 permission on folder mnt/media_rw [You have to set up permission on every boot ???]using root explorer manually
thx
best regards:good:
Click to expand...
Click to collapse
Can I use this fix on the Note 3 N9005?
Thanks
teslax said:
Can I use this fix on the Note 3 N9005?
Thanks
Click to expand...
Click to collapse
Give it a try. May work on Note3 as well
Sent from my GT-I9500 using Tapatalk
working for me S4 I9505XXUFNAD (Android 4.4) - Open Europe (OXX) [17-02-14]

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

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

Symlinked folder is treated as a file instead of a folder

Hello, using KatKiss 4.4.4 #35 i'm unable to get a symlink to work correctly from /storade/sdcard1/Android/data/<name of a package> (source) to /data/media/0/Android/data/<package name>.
The symlink do works from the path "/data/media/0/Android/data/<package name>" with a file explorer, but the reflected view on "/sdcard/Android/data/<package name>" is treated as a file by every applications, including the file manager that doesn't know what to do with that file (but correctly recognize this is a symlink and not a folder physically created here) and the software that require that folder (crash because it reconize it as a file and not a folder, as it use the "/sdcard" path and not the "/data/media/0/")
This is not a permission problem on the source folder side, changed to 777 it still doesn't work.
The problem is not specific to KatKiss, but i'm giving the information in case someone have a workaround that works only on a specific fork.
The only working workaround i found is using XPosed, redirecting the calls to the /storage/sdcard1 directly, but this solution is too aggressive, i'm unable to move only a subfolder of that package's folder, i'm forced to move everything.
The mountpoint workaround is dirty, i'd rather not use that if possible.
Regards, Magissia

[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

Categories

Resources