EXTSD write permission fix

Forum to discuss the Rikomagic MK802 Mini PC

Moderators: KEgg, twjordo, tatubias

EXTSD write permission fix

Postby KEgg » Fri Jun 29, 2012 5:01 pm

After noticing that the likes of AppMonster, ES File Explorer and Ttorrent were not writing/deleting to n from the external SD card.. Did a little digging around to see how permission are set.

Here's how to the fix external sd card write permission for all apps ::

Using Root Explorer navigate to /system/etc/permissions/
make sure filesystem is set to rw
Open up platform.xml in the text editor
look for the permission 'WRITE_EXTERNAL_STORAGE'
there will already be a permission group "sdcard_rw" but we'll create a new group under that one.. so add
<group gid="media_rw" />
save the file
reboot MK802

all should be fixed and apps like Ttorrent will be able to write to the extsd

if you're using something other than root explorer, make sure the 'platform.xml' permissions are set to the way they were before editing... don't want anyone getting locked in a loop.
Last edited by KEgg on Fri Jun 29, 2012 10:46 pm, edited 1 time in total.
KEgg
 
Posts: 126
Joined: Wed Jun 27, 2012 12:12 pm
Location: United Kingdom

Re: EXTSD write permission fix

Postby chesterx » Fri Jun 29, 2012 6:10 pm

It works, Thanks
chesterx
 
Posts: 90
Joined: Thu Jun 21, 2012 10:51 pm

Re: EXTSD write permission fix

Postby KEgg » Fri Jun 29, 2012 6:58 pm

chesterx wrote:It works, Thanks


you're welcome ;)
KEgg
 
Posts: 126
Joined: Wed Jun 27, 2012 12:12 pm
Location: United Kingdom

Re: EXTSD write permission fix

Postby tr3s » Sun Jul 22, 2012 11:48 am

Hmmm interesting... maybe this is the reason why i can't install zips from CWM!
Will try that ASAP!

(Off topic)
KEgg, what are the changes that you do to the uinput module? Would like to have droidmote working on this FW.
tr3s
 
Posts: 14
Joined: Fri Jul 20, 2012 8:56 am

Re: EXTSD write permission fix

Postby tr3s » Sun Jul 22, 2012 2:32 pm

Well, after applying this "patch" to my permissions.xml. Copied gapps-xx-xxx-x.zip to my external sd-card and rebooted into recovery... They are installing ATM! :D
Thanks KEgg! Also found this (regarding my off topic question):
reply by Zulu99
http://forum.xda-developers.com/showthr ... 27&page=50
tr3s
 
Posts: 14
Joined: Fri Jul 20, 2012 8:56 am

Re: EXTSD write permission fix

Postby KEgg » Sun Jul 22, 2012 2:54 pm

tr3s wrote:Thanks KEgg! Also found this (regarding my off topic question):
reply by Zulu99
http://forum.xda-developers.com/showthr ... 27&page=50


Cool... you found the xda forum about droidmote.. would of pointed you to that exact spot ;)

What gapps are you using and where did you download it from? Goo.im?? Any adverse effects?
KEgg
 
Posts: 126
Joined: Wed Jun 27, 2012 12:12 pm
Location: United Kingdom

Re: EXTSD write permission fix

Postby tr3s » Sun Jul 22, 2012 4:14 pm

Yep, downloaded them with goo.im. No adverse effects atm, using talk without problems! ;)
tr3s
 
Posts: 14
Joined: Fri Jul 20, 2012 8:56 am

Re: EXTSD write permission fix

Postby llamedo » Mon Jul 30, 2012 9:21 pm

I have a problem that might be related. When I use tTorrent and try to download to my external USB drive, the torrent completes to 0,7% and then goes back to 0,2%. I also noticed that I can't move a file from the internal storage to my USB drive.

Is there a fix like the external SD but to the USB drive?
llamedo
 
Posts: 5
Joined: Sun Jul 29, 2012 8:51 am

Re: EXTSD write permission fix

Postby KEgg » Tue Jul 31, 2012 9:14 am

llamedo wrote:Is there a fix like the external SD but to the USB drive?


Sounds like the same issue.. but not experiencing any problems this end copying to USB Hard disk.
KEgg
 
Posts: 126
Joined: Wed Jun 27, 2012 12:12 pm
Location: United Kingdom

Re: EXTSD write permission fix

Postby fenyx » Tue Jul 31, 2012 9:22 am

llamedo wrote:I have a problem that might be related. When I use tTorrent and try to download to my external USB drive, the torrent completes to 0,7% and then goes back to 0,2%. I also noticed that I can't move a file from the internal storage to my USB drive.

Is there a fix like the external SD but to the USB drive?


i have the same issue. plus i can't extract files on usb drive. i think it's related to write permissions. i tried chmod via busybox with no luck. strange cose in system folder busybox worked.

EDIT: Just want to add that making a file or deleting it is possible.
fenyx
 
Posts: 28
Joined: Fri Jul 27, 2012 8:30 am

Next

Return to Rikomagic MK802 Forum

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests