View Single Post
Old December 4th, 2011, 07:42 PM   #29 (permalink)
scary alien
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,471
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,071
Thanked 15,048 Times in 7,386 Posts
Default

Quote:
Originally Posted by John Markley View Post
Is there some advantage to having the SuperUser.apk in /system/app, or would it be equally effective to gain root by running

adb root (restart adbd daemon with root permissions)
adb remount (remount /system partion in read/write mode)
adb push su /system/bin (copy su program to the phone)
adb shell chmod 06755 /system/bin/su (re-secure w/root permission/access)

and then installing the current SuperUser.apk from Android market after reboot?
John,

First, welcome to the AndroidForums and glad you signed-up .

LOL, I don't think I've ever done it separately, but I'd think you'd need to install it (the Superuser.apk app) like in the above so that the app is owned (and will therefore execute) as root.

The version of Superuser.apk that I have installed on my Droid X is owned by root vs. system like regular apps are:

Code:
# ls -a -l Super*
-rw-r--r-- root     root               196521 2010-12-18 16:58 SuperUser.apk
Hope that helps.

Cheers!
scary alien is offline  
Reply With Quote
The Following 2 Users Say Thank You to scary alien For This Useful Post:
GalaxyNexus (December 19th, 2011), John Markley (December 4th, 2011)