FORUMS
Remove All Ads from XDA

unable to write files to external sd card

122 posts
Thanks Meter: 16
 
By Mr Dasher, Senior Member on 27th December 2011, 11:12 PM
Post Reply Email Thread
3rd January 2012, 09:40 AM |#11  
Member
Thanks Meter: 3
 
More
Please someone provide me more details or give me the picture of the edited .xml thanks.

Sent from my GT-P6200L using Tapatalk
3rd January 2012, 11:54 AM |#12  
miksumortti's Avatar
Senior Member
Thanks Meter: 115
 
More
Quote:
Originally Posted by boonhim

Please someone provide me more details or give me the picture of the edited .xml thanks.

Sent from my GT-P6200L using Tapatalk

Here is a screenshot of the edited .xml

Sent from my GT-P6210
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1325588016149.jpg
Views:	5242
Size:	27.1 KB
ID:	840475  
The Following 6 Users Say Thank You to miksumortti For This Useful Post: [ View ] Gift miksumortti Ad-Free
3rd January 2012, 08:14 PM |#13  
kzoodroid's Avatar
Senior Member
Flag Kalamazoo
Thanks Meter: 266
 
More
Quote:
Originally Posted by StingerDog

@thaloneus:

Thanks for finding and posting that procedure. Was having that excact problem and after making the edit to permissions I am now able to write to the external sd card. ES file explorer now allows writing to the external sd as well as Titanium Backup.

Interesting note: Titanium was backing up to the internal sd. Once the external became available to write to I was able to create a backup folder there and ran another batch of backups.

From what Ive found you need superuser access to the external sdcard to write to it. I've always been able to access the external sdcard with Titanium Backup as the location of the backup was the first thing I changed in its settings when I installed it. Root Explorer can write to it too. The only programs that can't are the ones without superuser access, ES File Explorer is one I have that I can't get its root explorer working, its not requesting superuser access, so it can't write to the sdcard.

Not sure if this has anything to do with the sdcard mounting to a pc as an MTP device instead of MSC or not but really irritated by that protocol. Not sure if this (MTP) is native to Honeycomb or if Samsung wanted the external storage accessed in this way.
5th January 2012, 08:33 AM |#14  
Member
Thanks Meter: 3
 
More
Thank so much.

Sent from my GT-P6200L using Tapatalk
5th January 2012, 11:32 AM |#15  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by kzoodroid

From what Ive found you need superuser access to the external sdcard to write to it. I've always been able to access the external sdcard with Titanium Backup as the location of the backup was the first thing I changed in its settings when I installed it. Root Explorer can write to it too. The only programs that can't are the ones without superuser access, ES File Explorer is one I have that I can't get its root explorer working, its not requesting superuser access, so it can't write to the sdcard.

Not sure if this has anything to do with the sdcard mounting to a pc as an MTP device instead of MSC or not but really irritated by that protocol. Not sure if this (MTP) is native to Honeycomb or if Samsung wanted the external storage accessed in this way.

If you're still having trouble with apps not writing to the external sd, you might want to edit that .xml file thaloneus had mentioned.

Once I did that I had full access to write to that card from any app. Took me all of like five minutes to edit and test it out.
5th January 2012, 10:56 PM |#16  
Senior Member
Flag Manila
Thanks Meter: 0
 
More
I'm having some trouble with this procedure. Like everyone else, I couldn't write to my external SD card using ES Explorer or what not, although the stock Samsung My Files explorer could (and strangely, if I use a Samba mount I could write to it from my Win7 PC).

Anyway I've rooted everything, and was about to edit platform.xml, but I can't save it. I don't have the ability to write to the system folder.

I think I've done the Mount rw thing, ES File Explorer's option to do it was disabled, but on File Expert it was available. For good measure, I also used the app "mount /system (rw /ro)" but even with all these tools, I still can't write to the system directory.

I'm at my wits end, any ideas?
5th January 2012, 11:19 PM |#17  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by Mochan

I'm having some trouble with this procedure. Like everyone else, I couldn't write to my external SD card using ES Explorer or what not, although the stock Samsung My Files explorer could (and strangely, if I use a Samba mount I could write to it from my Win7 PC).

Anyway I've rooted everything, and was about to edit platform.xml, but I can't save it. I don't have the ability to write to the system folder.

I think I've done the Mount rw thing, ES File Explorer's option to do it was disabled, but on File Expert it was available. For good measure, I also used the app "mount /system (rw /ro)" but even with all these tools, I still can't write to the system directory.

I'm at my wits end, any ideas?

What are you using to edit the .xml file? It may not have root explorer functions.

I used the Root Browser from ROM Toolbox to make and save the edit.
7th January 2012, 02:51 AM |#18  
Junior Member
Flag Phoenix
Thanks Meter: 6
 
More
Worked for me with Root Explorer. I have tried most of the free file managers, and Root Explorer is worth every penny to me. It is the only app I have paid for.
7th January 2012, 03:29 AM |#19  
Junior Member
Thanks Meter: 54
 
More
Quote:
Originally Posted by StingerDog

What are you using to edit the .xml file? It may not have root explorer functions.

I used the Root Browser from ROM Toolbox to make and save the edit.

i used the free Astro File Manager to navigate to /system/etc/permissions/platform.xml. When I tapped on the platform.xml file I was given a choice of text editors to open it with. When I finished I was offered the option to save the file.
The Following User Says Thank You to thaloneus For This Useful Post: [ View ] Gift thaloneus Ad-Free
7th January 2012, 03:52 AM |#20  
Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by thaloneus

i used the free Astro File Manager to navigate to /system/etc/permissions/platform.xml. When I tapped on the platform.xml file I was given a choice of text editors to open it with. When I finished I was offered the option to save the file.

There you are thaloneus!

You made the one post that helped me fix that issue, then you disappeared. Glad to see you're back.

Thanks again!
10th January 2012, 12:35 AM |#21  
Member
Flag Philly PA
Thanks Meter: 10
 
More
Quote:
Originally Posted by thaloneus

I can't post a link to the original post on another forum that worked for me so I will quote it:

Simple solution for external sdcard write access on Android 3.2...if you're rooted

I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.

The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.

After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.

Good Stuff - worked for me. Thanks.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes