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
I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?

Thanks
28th December 2011, 12:46 PM |#2  
Senior Member
Boca Raton
Thanks Meter: 157
 
More
Quote:
Originally Posted by Mr Dasher

I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?

Thanks

I have the same issue when using any 3rd party file manager, but doing such through the built in one works. I suspect I just need to back up and format the card through the computer, try that and see how it works.
29th December 2011, 01:25 AM |#3  
Junior Member
Thanks Meter: 0
 
More
I ran into the same issue, but reformatting the external SD have no effect. Whether the system is grabbing hold of the extSD and locking out other apps is as yet unknown. Currently I am attempting to figure out how to root the unit so I can gain access with a better FileMngr than the stock one. Still waiting for the download during the reset to finish, so don't know if it will work.
30th December 2011, 07:51 PM |#4  
OP Senior Member
Thanks Meter: 16
 
More
FYI - My device is rooted and I am using ES File Manager and it still does not work.
31st December 2011, 03:25 AM |#5  
Senior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by Mr Dasher

FYI - My device is rooted and I am using ES File Manager and it still does not work.

Have you format your sd card? I've got same problem, but now it's ok with ES File manager
31st December 2011, 03:59 AM |#6  
garyd9's Avatar
Inactive Recognized Developer
Flag Pittsburgh, PA
Thanks Meter: 2,751
 
More
Quote:
Originally Posted by gacon1000

Have you format your sd card? I've got same problem, but now it's ok with ES File manager

Are you sure? Try this:

Reboot the tablet.

Before you do anything else, start ES File manager, and immediately navigate to /mnt/sdcard/extStorages/SdCard.

Menu->New->Folder (leave the default and hit 'OK')

Did it create the folder or show an error message?

(This has become a puzzle for me. Sometimes I can read/write with ES, sometimes I can't. It's damn annoying...)
31st December 2011, 09:30 AM |#7  
Junior Member
Thanks Meter: 54
 
More
Quote:
Originally Posted by Mr Dasher

I have owned a number of tablets but this is the first time I'm unable to write files to my ext. SD card. Anyone else have this issue?

Thanks

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.
The Following 53 Users Say Thank You to thaloneus For This Useful Post: [ View ] Gift thaloneus Ad-Free
31st December 2011, 12:57 PM |#8  
Senior Member
Boca Raton
Thanks Meter: 157
 
More
Interesting that it requires root to fix. You would think that even the Samsung file manager would be able to handle it, but it doesn't.

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.

31st December 2011, 01:52 PM |#9  
Member
Thanks Meter: 12
 
More
@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.
2nd January 2012, 04:26 AM |#10  
OP Senior Member
Thanks Meter: 16
 
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.

Thanks worked like a charm
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
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