Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,489 Members 45,371 Now Online
XDA Developers Android and Mobile Development Forum

[CASE CLOSED][Q] Possibility for SuperSU Pro Flashable ZIP?

Tip us?
 
biatche
Old
#21  
Junior Member
Thanks Meter 1
Posts: 14
Join Date: Jan 2014
Quote:
Originally Posted by EarlyMon View Post
Yes, exactly.

The problem is that people have adopted the term rooted to also mean access to the root of the filesystems, iow, the / directory. ("Just place this file on the root of your SD card," being the most common example of that usage.)

Anyway, with / access you can remount /system to rw instead of ro, and from there you can install the su binary (either in /system/bin or /system/xbin depending on how the dev made the installer).

The apk is simply the front end (user facing) management layer.

And then toss in the common Linux misunderstanding that's bled over to Android that su stands for super user. It doesn't, it stands for set user, but without arguments (the way most people have seen it) defaults to setting you to the root user.

As a Linux user, it might be just as well to think of the apk as your sudo access assistant, and to think of the grant/deny popup as analogous to confirming access with your password.

If you haven't already, install a good busybox (I prefer this one) -

Check out "BusyBox"

https://play.google.com/store/apps/d...ricson.busybox

And then Terminal Emulator and look around just as you would on Linux.

Your filesystem layout will make more sense one you use the df and mount commands there.

Hope this helps.

PS - Also, a thank you for taking down the pro download.

Thanks for the good info... so the apk's are often about getting the bin/xbin files to /system and having a management ui for it

what methods are employed to get the initial root access though? aka "rooting the device"
 
EarlyMon
Old
(Last edited by EarlyMon; 10th July 2014 at 03:20 AM.)
#22  
EarlyMon's Avatar
Senior Member
Thanks Meter 411
Posts: 843
Join Date: Jun 2010
Quote:
Originally Posted by biatche View Post
Thanks for the good info... so the apk's are often about getting the bin/xbin files to /system and having a management ui for it

what methods are employed to get the initial root access though? aka "rooting the device"
Manufacturer and carrier dependent.

The traditional steps have always been -

Unlock the bootloader.
Load custom recovery now that bootloader is unlocked.
Use custom recovery to flash an su package or an already-rooted (su'd) rom.
Remount /system rw at will, with su permission.

With a Nexus, you download simple tools and do just that.

With an HTC or a Sony, you get your bootloader unlock key from them. I think some Motos as well. And then carry on with the traditional method.

With some Samsungs and others, you install a maintenance tool on your PC and force an update of a rooted rom first.

And on some models, and all where the carrier made a deal to not let unlocking keys out, you have to run an app or procedure that exploits a bug to open the system long enough to either unlock the bootloader, install recovery, or install root. When they find out, they send out updates to break the root exploit - until the next one is found. Some phones never get rooted.
Bang!

Best new gun forum Ballistically Speaking
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes