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

A basic question: is "unlocking bootloader" the same as "rooting"?

Tip us?
 
TheKorbenDallas
Old
#1  
Member - OP
Thanks Meter 8
Posts: 82
Join Date: Dec 2010
Default A basic question: is "unlocking bootloader" the same as "rooting"?

This is in reference to the HTC's promise to make their bootloaders unlockable throgh a web tool.

What exactly does "to unlock the bootloader" mean? Is it the same thing that we also know as "rooting"? Is it just a first step towards "rooting"? Or is it something totally different?
 
Theonew
Old
#2  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1054
Posts: 3,523
Join Date: Dec 2010
Location: Wherever I am
Unlocking the bootloader is NOT the same as rooting. Unlocking the bootloader is turning off/removing the security flag of the bootloader. When the bootloader is locked, the security flag is on (S-ON) which prevents rooting easily and flashing of roms not made by the company (who made the device). When the bootloader is unlocked (S-OFF), you will be able to root easier, flash whatever you want,etc. Also, having S-OFF gives rooted devices much more access and freedom to many things. Example: some apps only require root, but others which do many more things require root + S-OFF.
The Following 8 Users Say Thank You to Theonew For This Useful Post: [ Click to Expand ]
 
TheKorbenDallas
Old
#3  
Member - OP
Thanks Meter 8
Posts: 82
Join Date: Dec 2010
Oh, I see. Thank you for the answer. So, we are talking about what is usually informally referred to as "S-OFF".
 
Theonew
Old
#4  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1054
Posts: 3,523
Join Date: Dec 2010
Location: Wherever I am
Quote:
Originally Posted by TheKorbenDallas View Post
Oh, I see. Thank you for the answer. So, we are talking about what is usually informally referred to as "S-OFF".
Yes. Exactly.
 
Product F(RED)
Old
(Last edited by Product F(RED); 13th August 2011 at 09:15 PM.)
#5  
Product F(RED)'s Avatar
Senior Member
Thanks Meter 2555
Posts: 8,804
Join Date: Sep 2010
Location: Brooklyn, NY

 
DONATE TO ME
Actually, this time the security flag was stored in the radio, not the bootloader (for the Evo 3D/Sensation), but the explanation was pretty much correct.

Root is a user/permission that grants a user or application total control over a system. It's a Unix/Linux term. The equivalent on a PC would be Administrator (or really System, but to keep it simple, Administrator). For Android, all you need to think of it as is the Superuser app and the "su" binary (a binary is an executable or command in the form of a file). Superuser can be downloaded from the Market, which is no problem. But it's useless without the "su" binary (file), which needs to be flashed/stored in the /system partition of the phone.

Well if you can't write to /system without root, and you can't get root without writing to /system, you have a bit of a problem. You see, most phones can be easily rooted with apps like Gingerbreak or SuperOneClickRoot because their bootloaders aren't locked. But HTC likes to add a second layer of protection: S-ON.

See this picture? It's a picture of the bootloader on the Evo 3D. It was pretty much the same exact thing for the Evo 4G, and is the same for the Sensation. In the top right corner, you see how it says S-ON? It stands for Security ON. S-ON is a flag in the bootloader (or in this case, radio) which disallows any non-system applications from touching the /system partition. What AlpharevX and TeamWin did was develop a tool which, through an exploit, allowed the flag to be changed to S-OFF, thereby allowing us to install a custom recovery (ClockworkMod or twrp), which now allows us to flash things (like the zip to install Superuser, and the su binary).

One last thing I left out is that most apps that require root also need busybox, which can be installed through the app from the Market, "BusyBox Installer", but it's useless without root.

Hope that helps!

HTC Evo 4G -> HTC Evo 3D/Nexus S 4G -> Galaxy S II -> iPhone 4S -> Galaxy S II -> Galaxy Nexus -> Galaxy S3 i9300 -> Galaxy Note 2 i317 -> Galaxy Note 2 T889


The Following 3 Users Say Thank You to Product F(RED) For This Useful Post: [ Click to Expand ]
 
Theonew
Old
(Last edited by Theonew; 13th August 2011 at 06:20 PM.)
#6  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1054
Posts: 3,523
Join Date: Dec 2010
Location: Wherever I am
Quote:
Originally Posted by Product F(RED) View Post
You see, most phones can be easily rooted with apps like Gingerbread...
One minor spelling error (Which can confuse someone who's just learning). It's not Gingerbread, it's Gingerbreak.
 
Product F(RED)
Old
#7  
Product F(RED)'s Avatar
Senior Member
Thanks Meter 2555
Posts: 8,804
Join Date: Sep 2010
Location: Brooklyn, NY

 
DONATE TO ME
Quote:
Originally Posted by Theonew View Post
One minor spelling error (Which can confuse someone who's just learning). It's not Gingerbread, it's Gingerbreak.
Whoops. Thanks for that!

HTC Evo 4G -> HTC Evo 3D/Nexus S 4G -> Galaxy S II -> iPhone 4S -> Galaxy S II -> Galaxy Nexus -> Galaxy S3 i9300 -> Galaxy Note 2 i317 -> Galaxy Note 2 T889



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more

Remove Unnecessary WhatsApp Elements with Xposed

In modern life, you can’t underestimate the power ofthe dark sidemessaging … more