Re-gain write permission when upgrading to ICS 4.x

Useful guides and tuts specifically for the Excel, written by mods & users.

Re-gain write permission when upgrading to ICS 4.x

Postby blueeagle69 » March 14th, 2012, 3:16 pm

Thanks to mek who posted the url.

Right then guys.
From Honeycomb onwards a new permission was set.
The owner group of the External SD card is set as media_rw.
Prior to Honeycomb 3.2, apps did not require this permission in order to write to /mnt/extsd (as it's called now).
But with Honeycomb onwards, many apps saw this owner group, and didn't recognise it. So the external memory card was mounted as read-only.
This is why, the stock file manager, is able to write to /mnt/extsd as it recognises that media_rw permission.
So, taken from that website, do the following.

Using Android Commander (as it's easier). Navigate to /system/etc/permissions, and pull or drag and copy the platform.xml to your PC (make a note of the permissions before you do-so).
Outside of Android Commander, navigate to where you copied platform.xml, and open it with Wordpad, or some other XML editor.
Find the permission WRITE_EXTERNAL_STORAGE permission, and add a new group below.
paste this
Code: Select all
<group gid="media_rw" />

Save and copy the file back to the tablet, reset the permissions (644) I believe, and lastly reboot the tablet.
I tested ES File Explorer, switched off root options, and was able to write to /mnt/extsd
Now I will try DirectoryBind again.

Now apps that did not normally need the media_rw permission should now write as normal.
Last edited by blueeagle69 on March 22nd, 2012, 1:45 pm, edited 1 time in total.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Re-gain write permssions when uprading to ICS 4.x

Postby Charlie » March 14th, 2012, 4:02 pm

@blueeagle69 Nice find, thanks for sharing. As for the permissions (644) - is that how that file was set before?
" Just because you could, doesn't mean you should. "
User avatar
Charlie
Trusted Developer
Trusted Developer
 
Posts: 2471
Joined: December 28th, 2010, 8:41 pm
Location: UK
Real Name: Charlie
Scroll Version: Moto G 16GB (4.4.2 rooted)
Nexus 7 - G1 (4.4.2 rooted)
Huawei Y300 (4.1.1 rooted - TWRP)
MK809 (4.1.1 rooted - CWM)
Raspberry Pi B (512MB)

Retired: Excel (CM10) & 1st Gen' (2.1) Tab'.

Re: Re-gain write permssions when uprading to ICS 4.x

Postby blueeagle69 » March 14th, 2012, 4:11 pm

Yes mate it was. Or at least I think it was.
Just double-check with Android Commander before you overwrite.

Thanks goes to @mek for posting the url.

I just tested DirectoryBind. And it is now able to create directories again :)
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Re-gain write permssions when uprading to ICS 4.x

Postby suggsy89 » March 14th, 2012, 5:37 pm

Camera still works using this hack?
Im testing a different version atm, and tried it, but it tells me to insert a sdcard when i already have one it in :lol:
Strange
User avatar
suggsy89
Trusted Developer
Trusted Developer
 
Posts: 971
Joined: June 28th, 2011, 4:33 pm
Real Name: John
Scroll Version: Scroll Excel - Jellybean 4.1.2
Yarvik Go Zetta - Scroll Extreme Jellybean 4.1.1

Re: Re-gain write permssions when uprading to ICS 4.x

Postby blueeagle69 » March 14th, 2012, 5:43 pm

I just tested the Camera and it seems to be fine.
I recorded a quick vid of my ugly mug, and it saved it fine etc.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Re-gain write permssions when uprading to ICS 4.x

Postby justb » March 15th, 2012, 12:38 pm

Just one question, how do I reset the permissions (644)???
Scroll Excel, Suggsys ICS 4.0
User avatar
justb
Serious Scroller
Serious Scroller
 
Posts: 79
Joined: January 5th, 2012, 10:00 am

Re: Re-gain write permssions when uprading to ICS 4.x

Postby blueeagle69 » March 15th, 2012, 3:30 pm

Use Android Commander.
When the file has been pushed back to the excel' right click the file and select proprties.
Then untick or tick boxes until you get that number.
But like I said double check what the permissions are by doing the same thing, before you overwrite it.

Sent from my Scroll Excel/Nexus S using Tapatalk.
The first step in being right is admitting that you're wrong
User avatar
blueeagle69
Scroll Genuis
Scroll Genuis
 
Posts: 582
Joined: December 12th, 2011, 1:22 am
Location: UK, South Wales
Real Name: Brian
Scroll Version: Scroll Excel, Suggsy's ICS 4.03.

Re: Re-gain write permssions when uprading to ICS 4.x

Postby justb » March 16th, 2012, 4:15 pm

Tried Android Commander, you have to install a lot of stuff and was getting nowhere.

I just downloaded ES file explorer, and enabled root and made system writeable, was able to open the permissions.xml and edit it. Saved it and changed the permissions to what they were before (rw-r--r--) and I think it's worked.

Asphalt 6 was not saving my game, every time i'd play it would go back to only 9% completed when I had got to 18%.

After changing it, just played, got to 10%, exited, rebooted, went back in, 10% complete!
Scroll Excel, Suggsys ICS 4.0
User avatar
justb
Serious Scroller
Serious Scroller
 
Posts: 79
Joined: January 5th, 2012, 10:00 am

Re: Re-gain write permssions when uprading to ICS 4.x

Postby justb » March 16th, 2012, 11:08 pm

Confirmed working, I was wondering why I was running out of space with half the apps from before...

Uninstalled and reinstalled shadowgun and it's now on the eternSD :D
Scroll Excel, Suggsys ICS 4.0
User avatar
justb
Serious Scroller
Serious Scroller
 
Posts: 79
Joined: January 5th, 2012, 10:00 am


Return to Scroll EXCEL - Guides & HOW TO Tutorials

Who is online

Users browsing this forum: No registered users and 6 guests

cron