root and unlock bootloader - Nexus 7 (2013) Q&A

TaintedByte said:
FAQs - Massive Question Round Up Thread for Flo
Q: What is the difference between root and an unlocked bootloader?
A: An unlocked bootloader allows you to write protected partitions such as system or recovery. This lets you flash custom ROMs (un-official non-stock operating systems that have more functionality such as CyanogenMod, AOKP, ParanoidAndroid, etc.). Root does not mess with partitions, instead it grants you complete control over the OS (Android) itself. It will let you write and edit any file you wish. This lets you run apps like Titanium Backup and Adblock that need to either access or edit system files.
[/LIST]​
Click to expand...
Click to collapse
i have questions..is it possible to root device without unlock bootloader..or i need to do both of them..and also vice versa..anothing thing,can we flash kernel(example elementalx) with only root..thanks in advance..i'm new with this nexus 7 2013 LTE..sorry for my english
Sent from my Nexus 7 using Tapatalk​

Rooting your device requires an unlocked bootloader so that you can flash a superuser .zip. You can, however root and relock your bootloader. There is also the wugfesh toolkit which will run root commands automatically when you press a button. It can also relock your bootloader as well. I'm not sure that if you run root without running unlock that it will unlock the bootloader but I believe it will. So I guess try the wugfresh toolkit.
Sent from my Nexus 7 using XDA Premium 4 mobile app

mugzylol said:
Rooting your device requires an unlocked bootloader so that you can flash a superuser .zip. You can, however root and relock your bootloader. There is also the wugfesh toolkit which will run root commands automatically when you press a button. It can also relock your bootloader as well. I'm not sure that if you run root without running unlock that it will unlock the bootloader but I believe it will. So I guess try the wugfresh toolkit.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Rooting your device does not require unlocking the bootloader... I rooted with towelroot, flashed custom recovery (twrp), then flashed a custom ROM from recovery, all while the bootloader was still locked...

Related

Qick noob root question

Hello,
I am running stock one x rom. There is only thing that I don't get. If i root it does it mean that stock rom will become rooted or I need to flash custom rom after a root?
marijan_e said:
Hello,
I am running stock one x rom. There is only thing that I don't get. If i root it does it mean that stock rom will become rooted or I need to flash custom rom after a root?
Click to expand...
Click to collapse
when you root your stock rom is rooted. Then you can use custom one if you want.
reply
Hello, as far as im aware you can root the stock rom using the super user but you need to have it unlocked first. I just got my new phone and followed the guide from HTC Dev down in the link below and i was up and running in an hour.
1. Unlock bootloader
2. Install a custom recovery
3. Make backup through recovery
4. Root using superuser but I installed ARHD which is rooted already so therefor I didnt need to.
If you follow the guides on here you really cant go wrong just make sure you get things in the right order and dont attempt without knowing each step as it took me 4 days to persuade myself I had everything right plus just ask on here and someone will keep you on the right track.
http://forum.xda-developers.com/wiki/HTC_One_X
Regards
I am running stock one x rom. There is only thing that I don't get. If i root it does it mean that stock rom will become rooted or I need to flash custom rom after a root?[/QUOTE]
You really want to think about putting an AOSP based ROM on your phone, they're much faster
What people don't realize is that "rooting" is just putting the su binary in the bin folder. That's it. Su is a standard Linux app that supersedes the permissions level on systems - SuperUser. When someone says that they have a rooted phone all they mean is that they have su in the /bin folder and usually an .apk (SuperSu) to manage the which apps have access to is (otherwise you'd have to su open app.apk in terminal).
That said, when some mentions that they "rooted" their phone typically they mean they unlocked their bootloader or used an exploit to get around the locked bootloader. And even then unlocking the bootloader lets you to write to system partitions (pre-Android boot of course, since the files are still read only by Android).
The easiest method is to unlock via HTCDev, flash CWM with fastboot, then flash either the supersu or superuser zips.
Basically you can have a rooted stock ROM, rooted custom ROM, or even a unrooted custom ROM. To unroot, just deleted the SuperSu.apk from /system/app and su from /bin (some systems make a symlink to /xbin so look there too).
Unlocking the bootloader has nothing to do with rooting.
I have a rooted transformer prime and my bootloader is intact.
Rooting is rom specific. What rooting does is giving you administrative access to system files on your rom whether it's stock or custom and uses the su binary to control access to root files.
Unlocking the bootloader gives you the ability to do things before the system boots. These things are usually running recovery software, flashing roms, or doing backup.
Rooting and unlocking the bootloader are two separate things.
Having said that, i have to make it clear that most rooting methods on forums do unlock the bootloader and install recovery code on the phone in addition to rooting. So if u want to keep ur phone covered under warranty i suggest you look for a root method that doesn't unlock the bootloader or install any recovery.
Sent from my Transformer Prime TF201 using Tapatalk 2
The only way to root this phone is by flashing Superuser, hence the need for ClockworkMod Recovery and an unlocked boot loader.
Sent from my HTC One X using xda app-developers app
CoSaWa said:
The only way to root this phone is by flashing Superuser, hence the need for ClockworkMod Recovery and an unlocked boot loader.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I have never used the one x. What u said might be true. But it's hard to believe that the only way to root an android device is only by unlocking the bootloader. There must be another way.
Sent from my Transformer Prime TF201 using Tapatalk 2
Manar Aleryani said:
I have never used the one x. What u said might be true. But it's hard to believe that the only way to root an android device is only by unlocking the bootloader. There must be another way.
Sent from my Transformer Prime TF201 using Tapatalk 2
Click to expand...
Click to collapse
I believe people are working on it but that's the only way at the moment to my knowledge, crappy HTC forcing you to unlock your bootloader just to root, whatever next... Voiding your warranty at the same time? Oh wait....
Sent from my HTC One X using xda app-developers app

lock symbol

i just picked this up today rooted it in like 15 minutes whole 9 yards well when it boots it has a dumb little lock symbol under the word GOOGLE i was wanting to know how to get it rid of it i used triangle away for the samsung devices is there anything similar to that or is this something that im stuck with ( it looks tacky )
Unroot and relock the boot loader and you won't see that anymore.
someolddude said:
Unroot and relock the boot loader and you won't see that anymore.
Click to expand...
Click to collapse
i don't want to unroot so pretty much im stuck with it
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
mugzylol said:
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
Click to expand...
Click to collapse
so what will happen in regards to locking the bootloader will i be able to use recovery and have root
I don't think you will be able to use recovery but since superuser has already been flashed I think it would stay but I'm really not sure.
Sent from my Nexus 7 using XDA Premium 4 mobile app
I think that re-locking may wipe your device just like unlocking does; in which case you'll use root... or not?
mugzylol said:
Its not so much unrooting, but locking the bootlaoder. The little lock signifies an unlocked bootloader.
sent from my nex7 flo
Click to expand...
Click to collapse
Exactly right!
soldier1184 said:
so what will happen in regards to locking the bootloader will i be able to use recovery and have root
Click to expand...
Click to collapse
Yes.
mugzylol said:
I don't think you will be able to use recovery but since superuser has already been flashed I think it would stay but I'm really not sure.
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you lock the bootloader whatever recovery that you have installed will stay regardless if you are rooted or not and you would still be able to use that recovery.
schermvlieger said:
I think that re-locking may wipe your device just like unlocking does; in which case you'll use root... or not?
Click to expand...
Click to collapse
No. Relocking the bootloader does NOT wipe your device. A locked bootloader will prevent you from being able to fastboot flash ANY images which includes the factory image or parts thereof (system, boot, recovery, bootloader). Using the command fastboot oem unlock will always wipe your device!
If you are unlocked, rooted and use a custom recovery like TWRP you can lock (or unlock) the bootloader with BootUnlocker and still use your custom recovery. And that will also get rid of the unlocked icon. I've used BootUnlocker and it works great. After locking the bootloader and you are still rooted you might even be able to use Flashify to install a new/updated recovery or boot image, I haven't tried that so I'm not sure. I don't have BootUnlocker installed now because I have no problem with my bootloader always being unlocked and I have no idea if it will continue to work after future android updates.
Update: With a locked bootloader I just used Flashify to flash TWRP and it worked fine.

[Q] Restoring Nexus 7 rooted with Towel root, with a locked bootloader

A while ago I used towel root which doesn't unlock the boot loader. I then used the twrp manager to install custom recovery. I have tried flashing all by adb but that didn't work. I then tried flashing the boot loader but it said failed, boot loader is locked. Will i be able to unlock the boot loader then flash all then re lock the boot loader? Final question, would all of this allow me to download Android 5.0 OTA? Thank you, any help is really appreciated.
Do you have the proper drivers and the Android SDK installed and updated? Does your computer recognize the tablet? If so, yes you can unlock the bootloader. Find the guide in the Nexus 7 subforum and follow it step for step. Once you have the 4.4.4 stock image installed, you'll be able to receive the 5.0 OTA when it becomes available.
Now some questions:
1. There's no way to install a custom recovery with the bootloader locked. What makes you think TWRP Manager installed anything?
2. Why do you want to relock the bootloader?
Now a statement: Stop using toolkits. Read more before asking questions. Learn how to use adb and fasboot. If you have time to find this forum and actively post questions, you can take the time to learn the basics. I learned simply by following guides and searching for answers before attempting to do anything with any and all of my Android devices. This isn't any different from buying a car before you know how to drive.
Once rooted with towelroot or otherwise, you can unlock and relock the boot loader with an app. Bootunlocker for nexus devices, in the play store. This app method does not wipe user data.
sent by mirrorflash Morse code
You can flash TWRP with locked bootloader. I was even running 4 custom roms with MultiROM with a locked bootloader!
Press Thanks If I Helped You!
Sent from my dead Nexus 7 2013 LTE! ???

Can i root my nexus 7 2013 WIFI Without unlocking bootloader?

I want to root my nexus 7 .Its on 4.4.4 kitkat right now. I have rooted many devices before like samsung galaxy ace,s2,fit and micromax etc using one click root softwares (https://www.oneclickroot.com), through flashing a rooting file and have never encountered a problem. They needed a single click and never needed a clean wipe or unlocking bootloader. Is it possible to do something like that with my nexus.
I have come across a thread
http://forum.xda-developers.com/showthread.php?t=2233852
but i think it is for an older version of nexus 7.
is towelroot safe?
Need advice. Thank you.
Short answer: TowelRoot is safe but grants no control over root as it gives root permission to all apps that require it.
Long answer and tip: First remember that if you in future want to flash a factory image, it is required to unlock the bootloader and also if u want to update the Android version via OTA , it will fail as the system partition will be modified and OTA does not like that. When I bought my Nexus 7 2013 WiFi (a.k.a Flo) last year I have rooted using TowelRoot without unlocking the bootloader and it ran for 2 weeks flawlessly, so I say it is safe in a way. But TowelRoot does not give you any control over the apps or services that request root access as it grants them access without asking I did not like that so I have unlocked the bootloader (which completely wiped all apps, data and files from my Nexus 7 2013 as this is normal because unlocking also performs a factory reset) and flashed a new factory image of 4.4.4 just to be sure I got TowelRoot removed and rooted using Wug's Nexus Root Toolkit with SuperSU so I have control over the root granting or denying. My advice is root with TowelRoot , then backup all your apps using Titanium Backup and all your storage files that you need, to your PC, then unlock the bootloader and root with SuperSU so you have control over root, using Nexus Root Toolkit ( it has fantastic instructions and it's super easy to use and understand and install adb drivers). If you ever want to flash a custom ROM, you need an unlocked bootloader to flash TWRP recovery and the custom ROM and/or custom kernel of choice through it. Also flashing a factory image requires unlocked bootloader as I specified in the beginning of the post.
Sent from my Nexus 7 using Tapatalk
idCyber said:
Short answer: TowelRoot is safe but grants no control over root as it gives root permission to all apps that require it.
Long answer and tip: First remember that if you in future want to flash a factory image, it is required to unlock the bootloader and also if u want to update the Android version via OTA , it will fail as the system partition will be modified and OTA does not like that. When I bought my Nexus 7 2013 WiFi (a.k.a Flo) last year I have rooted using TowelRoot without unlocking the bootloader and it ran for 2 weeks flawlessly, so I say it is safe in a way. But TowelRoot does not give you any control over the apps or services that request root access as it grants them access without asking I did not like that so I have unlocked the bootloader (which completely wiped all apps, data and files from my Nexus 7 2013 as this is normal because unlocking also performs a factory reset) and flashed a new factory image of 4.4.4 just to be sure I got TowelRoot removed and rooted using Wug's Nexus Root Toolkit with SuperSU so I have control over the root granting or denying. My advice is root with TowelRoot , then backup all your apps using Titanium Backup and all your storage files that you need, to your PC, then unlock the bootloader and root with SuperSU so you have control over root, using Nexus Root Toolkit ( it has fantastic instructions and it's super easy to use and understand and install adb drivers). If you ever want to flash a custom ROM, you need an unlocked bootloader to flash TWRP recovery and the custom ROM and/or custom kernel of choice through it. Also flashing a factory image requires unlocked bootloader as I specified in the beginning of the post.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Thank you. Got just about every bit of information i needed.
and i believe i can unroot using this wug toolkit as well?

relock boot loader after rooting?

ok, this is driving me crazy. had every nexus except the 6, got the 5x. unlocked bootloader, ok. flash twrp. cool. install root files, great. set up android pay, denied due to unlocked boot loader. went to lock boot loader... wants to do a factory reset.... ok..... now it just boot loops in twrp formats cache, and phone gives errors about corrupt system, different system, blah blah. so right now im bootloader unlocked, rooted with twrp. how is everyone relocking the boot loader?
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
berndblb said:
You have to be on stock recovery to relock the bootloader. You can hardbrick this phone trying to lock it with TWRP installed. Consider yourself lucky?
Android pay is not working because of root, not the unlocked bootloader. Start reading about systemless root
Click to expand...
Click to collapse
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
PiousInquisitor said:
From the [GUIDE] Unlock/Root/Flash for Nexus 5X that you should have read before farting around with the phone:
Use the guide I linked to to flash the stock images. Then use the guide again to root the phone with systemless root.
Click to expand...
Click to collapse
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
dwreck420 said:
thanks for the link, thats one of the first things i read when i started looking but it doesnt really talk about relocking the bootloader unless going stock. im just trying to keep my systemless root and have locked bootloader. sounds like i should try reflashing stock recov after rooting and then try to relock bootloader?
Click to expand...
Click to collapse
It plainly says:
mportant: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 11 of this guide for full instructions on how to return to stock.
Click to expand...
Click to collapse
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
dwreck420 said:
yes, i flashed the systemless root on my n5x ( i have a regular nexus 5, twrp, bootloader locked, and android pay works with systemless root) so i do now about this recent development. can it be flashed in stock recovery? i just feel like im missing something?
Click to expand...
Click to collapse
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
SlimSnoopOS said:
The 5X is my first Nexus so bare with me. Why would you have TWRP installed with a locked bootloader on the OG Nexus 5? What is the benefit of that?
Click to expand...
Click to collapse
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
PiousInquisitor said:
It plainly says:
If you have rooted your phone, you are not fully stock. Therefor do not relock the bootloader.
Click to expand...
Click to collapse
does android pay work for you with unlocked bootloaders and systemless root?
dwreck420 said:
well there was an app "bootunlocker" which let you unlock it on the fly. also android pay requires a locked bootloader.
so i have locked bootloader, systemless root, and twrp on my OG nexus 5.
just cant seen to relock bootloader and somehow reroot again since NOW nexus 5x required device be WIPED when relocked
Click to expand...
Click to collapse
Oh, that sounds pretty cool actually.
I don't use Android Pay but I know you do not need a locked bootloader to get it working. Which version of SuperSU did you install? Cuz every time I see a 5X user with working Android Pay, they have systemless root and even a custom rom. I am pretty certain that I read that you just need to delete /SU/xbin_bind to get Android Pay working with systemless root.
Edit: I've seen it mentioned in the SuperSU thread I think, but it is explicitly mentioned in this Nexus 6P Android Pay thread
dwreck420 said:
does android pay work for you with unlocked bootloaders and systemless root?
Click to expand...
Click to collapse
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
PiousInquisitor said:
Yes. This is common knowledge.
Android Pay looks for changes to the system partition only. It doesn't give a rats ass if the kernel, recovery, or boot image are modified, nor does it give a flying **** if the bootloader is unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
thanks for the clarification.
dwreck420 said:
thanks for the clarification.
Click to expand...
Click to collapse
No problem. Sorry if I came across a bit hostile. I may have been up too late last night.
Android Pay is also working on some ROMs. Cataclysm for one. PureNexus will be comparable next update too.
Sent from my Nexus 5X using Tapatalk
Never mind
Sent from my Nexus 5X using Tapatalk

Categories

Resources