FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

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

15 posts
Thanks Meter: 1
 
By Odlanyer22, Junior Member on 8th July 2014, 01:45 PM
Post Reply Subscribe to Thread Email Thread
9th July 2014, 08:06 PM |#21  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by EarlyMon

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"
 
 
10th July 2014, 03:12 AM |#22  
EarlyMon's Avatar
Senior Member
Thanks Meter: 589
 
More
Quote:
Originally Posted by biatche

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.
Last edited by EarlyMon; 10th July 2014 at 03:20 AM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes