Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
vauxhallastra
Old
#1  
Senior Member - OP
Thanks Meter 33
Posts: 210
Join Date: May 2009
Default Writing to external SD guide

Not sure if this has been covered already on the 7.7 forum, but it's a very useful guide.
This makes Titanium backup and other apps able to write to the external SD card.

Quoted from Thaloneus post on the 7+ forum.


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.



Sent from my GT-P6800 using xda premium
The Following 10 Users Say Thank You to vauxhallastra For This Useful Post: [ Click to Expand ]
 
vauxhallastra
Old
#2  
Senior Member - OP
Thanks Meter 33
Posts: 210
Join Date: May 2009
Copy or use mine at your own risk
Attached Files
File Type: zip platform.xml.zip - [Click for QR Code] (2.1 KB, 743 views)
The Following 2 Users Say Thank You to vauxhallastra For This Useful Post: [ Click to Expand ]
 
USMC44
Old
#3  
USMC44's Avatar
Member
Thanks Meter 6
Posts: 70
Join Date: Mar 2008
Location: Orlando
Has anyone else tried this? Don't wanna make a mistake.

Semper Fi!!!
Sent from GT-P6800
 
USMC44
Old
#4  
USMC44's Avatar
Member
Thanks Meter 6
Posts: 70
Join Date: Mar 2008
Location: Orlando
Worke flawlessly! Thank you!!!

Semper Fi!!!
Sent from GT-P6800
 
Yarda
Old
#5  
Yarda's Avatar
Senior Member
Thanks Meter 0
Posts: 112
Join Date: Dec 2007
how did you use it ?
just copy/paste ?
 
USMC44
Old
#6  
USMC44's Avatar
Member
Thanks Meter 6
Posts: 70
Join Date: Mar 2008
Location: Orlando
Used root explorer in rw mode, copy & paste to

/etc/permissions/platform.xml

If you're using vauxhallastra's, don't forget to unzip it first.

Semper Fi!!!
Sent from GT-P6800
The Following User Says Thank You to USMC44 For This Useful Post: [ Click to Expand ]
 
Yarda
Old
#7  
Yarda's Avatar
Senior Member
Thanks Meter 0
Posts: 112
Join Date: Dec 2007
thx

did copy/paste , but.. i'm still not able to move apps to the external sd card
must forget something

followed the steps, tab is root
must be one of those days :(
 
USMC44
Old
#8  
USMC44's Avatar
Member
Thanks Meter 6
Posts: 70
Join Date: Mar 2008
Location: Orlando
I used root explorer in RW mode. Did you do this as well as unzip the file.

Sent from my Transformer Prime TF201 using xda premium
 
haidharbbc
Old
#9  
haidharbbc's Avatar
Member
Thanks Meter 64
Posts: 94
Join Date: Feb 2012
great!!works flawlessly

Sent from my GT-P6800 using xda premium
****hit thanks if you find my post helpful...****

my device :galaxy tab 7.7 (gt-p6800)
:galaxy tab 10.1 (gt-p7500)
 
palexr
Old
#10  
Senior Member
Thanks Meter 9
Posts: 340
Join Date: Jul 2009
OK, so I have done this and all seems to be working. However, someone above mentions moving apps to the card, can someone explain how that should be done?
Nexus 4

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...