I currently use the run-as command through adb to be able to access the data folder of an app that I am developing directly on my phone using AIDE.
When connecting to the phone locally, using connectbot, I can find the run-as command in /system/bin/
but it has no executable permission. There are other programs/scripts in that folder that do have executable permissions and I can run them.
My question is this. If I root my phone, I can change the executable permissions of run-as. If I then remove the root, will these permissions remain?
I'm not totally averse to rooting my phone permanently but if I don't need to, I'd rather not.
This is on a Galaxy Nexus.
I'm aware if I leave run-as executable then I'm possibly allowing myself wide open for security risks. But I am willing to risk it, even just to see if its possible.
Any ideas where I can get this 'proper' un-rooting method. Googling doesn't really filter on the word 'proper'
– Russ Wheeler Sep 12 '12 at 13:43su
binary, SuperUser.apk etc & seal off any exploits. For one-click rooting & unrooting Galaxy Nexus, I have found only one software viz. Wug's Nexus Root Toolkit and looks like you are out of luck. It unroots by flashing whole original firmware. Its not proper way. – iOS Sep 12 '12 at 14:39I'm very keen not to wipe any data though. If that's the case, I'd rather not root and keep plugging my phone in to get the db off it :)
– Russ Wheeler Sep 12 '12 at 15:26