Rooting nexus 5 using adb - Nexus 5 Q&A, Help & Troubleshooting

I need to root my wife's new nexus 5 using adb and fastboot. I had done this on my own nexus 5 but no longer remember the details. I don't even remember whether I should look for Flo or grouper!
This is a new nexus 5, running Android 4.4.2 build number Kot49H
I have adb and fastboot installed on my windows 7 pc from when I booted my own nexus 5 and 7.
What do I need to update? From where?
I want to use TWRP recovery.
What do I download, from where, to where?
What are the exact steps I need to take?
Thank you.

Hi,
Read this thread carefully for step by step instructions!
http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905

Anderson2 said:
I need to root my wife's new nexus 5 using adb and fastboot. I had done this on my own nexus 5 but no longer remember the details. I don't even remember whether I should look for Flo or grouper!
This is a new nexus 5, running Android 4.4.2 build number Kot49H
I have adb and fastboot installed on my windows 7 pc from when I booted my own nexus 5 and 7.
What do I need to update? From where?
I want to use TWRP recovery.
What do I download, from where, to where?
What are the exact steps I need to take?
Thank you.
Click to expand...
Click to collapse
Read the link posted above mine, its VERY easy once you read the directions step by step. I mean easy, and I consider myself a noob.
Also, this is the Hammerhead device, not grouper or Flo, those are Nexus 7's

I just did that on my new Nexus 5 and wrote down everything I did to remind myself. Here's the web page: http://home.comcast.net/~tomhorsley/hardware/nexus5/nexus5.html#Rooting

Is it hammerhead.Img that I need?
Not Flo or grouper?

Yeah, hammerhead is the one you want.
Sent from my Nexus 5 using xda app-developers app

Whatever you do don't flash flo or grouper!
You have saved a kitten by using ADB instead of a toolkit, senior members are proud of you.

mistahseller said:
Whatever you do don't flash flo or grouper!
You have saved a kitten by using ADB instead of a toolkit, senior members are proud of you.
Click to expand...
Click to collapse
I'd be hugely impressed if he could root using adb alone
Sent from my Nexus 5 using Tapatalk

just as a sidenote.. you do not root using adb, adb isnt used at all. you root using fastboot. its not the same as adb, nor is it part of it.

I always unlock bootloader manually I find easier and saves time
Sent from my Nexus 5 using Tapatalk

simms22 said:
just as a sidenote.. you do not root using adb, adb isnt used at all. you root using fastboot. its not the same as adb, nor is it part of it.
Click to expand...
Click to collapse
noted Didn't even think about the terminology

Could not have gone any smoother.
Thank you all and a great thank you to comminus and his excellent guide!

Anderson2 said:
Could not have gone any smoother.
Thank you all and a great thank you to comminus and his excellent guide!
Click to expand...
Click to collapse
once you figure it out that first time, itll take like 4-5 minutes to root your next nexus

mistahseller said:
Whatever you do don't flash flo or grouper!
You have saved a kitten by using ADB instead of a toolkit, senior members are proud of you.
Click to expand...
Click to collapse
I've had no end of trouble when I rooted my first two devices using toolkits. It took days and tons of driver anguish before I succeeded. Then I discovered adb and fastboot and it became a quick few minutes thing to do. I really don't know why they make these toolkits. My experience with them is that they made things harder, not easier, for a newbie. The memories of the toolkit problems is what got me anxious when I had to start rooting my wife's phone.
Anyway a great thank you to all who took the time to help.

simms22 said:
just as a sidenote.. you do not root using adb, adb isnt used at all. you root using fastboot. its not the same as adb, nor is it part of it.
Click to expand...
Click to collapse
Technically, the rooting is done via recovery
But yes that was my point - although I had to put the word "alone" at the end of my sentence because you could boot into recovery and adb push the su binaries
Sent from my Nexus 5 using Tapatalk

Related

How to root AT&T Nexus S?

So a lot of people must have gotten this phone, but after searching this forum and google, I still cannot find a guide that is specific to this phone. How can I find a good method that is least likely to brick the phone?
if you manage to brick a nexus s then bravo,
as to rooting any nexus s root guide will help, however personally i suggest using borky's one click for for the nexus s
How to search?
How to read?
How to get through life without every answer handed to you?
Sent from my PC36100 using XDA Premium App
Rem3Dy said:
How to search?
How to read?
How to get through life without every answer handed to you?
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
How do you get through life being an ass all the time? Or unable to read that I have said I've used search? Now go be an ass to someone local in their face. Oh you can't? I thought so!
shabbypenguin said:
if you manage to brick a nexus s then bravo,
as to rooting any nexus s root guide will help, however personally i suggest using borky's one click for for the nexus s
Click to expand...
Click to collapse
Thanks, will give it a try
Thansk again, it worked!
For anyone looking step by step guide:
1. Download the Clockwork 3.0.2.4 file, Clockwork 4.0.1.4 did not work for me (it was able to unlock but would not detect the now unlocked phone)
2. Extract files to C drive or desktop
3. Enable USB Debugging on the phone by going to Settings->Application->Development
4. Run the PDANET installer included in the ZIP
5. Plugin the phone when asked to
6. Once drivers are installed with the phone ON, run the run.bat file included by right clicking and selecting Run As Administrator (If windows 7 or Vista)
7. Follow the prompts
Download from:
http://forum.xda-developers.com/showthread.php?t=1138755

[Q] Root Nexus 5 Issue

I am trying to root my N5 with Chainfire but when I attempt the final step it says "fastboot-windows.exe" is not recognized as a internal,external or operable program or batch file."
Phone is unlocked.
Thanks for any help.
Hi,
I would strongly suggest you to follow this guide to root your device! : http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
vin4yak said:
Hi,
I would strongly suggest you to follow this guide to root your device! : http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905
Click to expand...
Click to collapse
Thanks so much!
Cf -auto root
Hittman73 said:
I am trying to root my N5 with Chainfire but when I attempt the final step it says "fastboot-windows.exe" is not recognized as a internal,external or operable program or batch file."
Phone is unlocked.
Thanks for any help.
Click to expand...
Click to collapse
Chainfire released CF-Auto-Root ,CF-Auto-Root can be thought of as “root for rooting beginners,” as well as those who want to stay as close to stock as possible while enjoying the sweet, root-enabled goods.
CF-Auto-Root for the Nexus 5 supports Windows, Linux, and Mac, and turns the whole rooting process into an incredibly simple process. All you have to do is download the zip from the thread and extract it, boot your device into fastboot (power off, then VolUp+VolDown+Power), connect via USB, run a command on your host computer, and follow the on-screen prompts on your device and PC.:good:
And....You never learn fastboot commands and when you get into real trouble you're at a lost and it makes it real difficult for someone to try and help you
Sent from my Nexus 5
jd1639 said:
And....You never learn fastboot commands and when you get into real trouble you're at a lost and it makes it real difficult for someone to try and help you
Sent from my Nexus 5
Click to expand...
Click to collapse
Agreed. Plus, being rooted without custom recovery is not a good idea.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Agreed. Plus, being rooted without custom recovery is not a good idea.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Why not.?
Sent from my Nexus 5 using xda app-developers app
Nocturin said:
Why not.?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Because root opens up the door for you to screw things up. Recovery allows you to do backups so you can recover from these screw ups.
Sent from my Nexus 5 using Tapatalk

[Q] Cant reroot my nexus 5 (bootloader already unlocked)

Hey guys,
A few months ago I successfully rooted my Nexus 5 using the first youtube video you see after youtubing "root nexus 5" (sorry, new members cant post links).
unfortunately i had to remove root access for a short period of time. now that i try to reroot the phone using the above method (as well as a few others) It doesnt work.
when I put the phone in fastboot mode it says SECURITY BOOT: enabled and LOCK STATE: unlocked. Im assuming that means the bootloader remains unlocked. when i run the program and my nexus 5 flashes all the magic voodoo rooting screens, the phone boots back up but i still dont have root access.
what in the world can i do here?
You shouldn't be using programs. Just follow the guide we have here, linked in my signature
Sent from my Nexus 5 using Tapatalk
rootSU said:
You shouldn't be using programs. Just follow the guide we have here, linked in my signature
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
appreciate the thought but that doesnt really help where im at right now. im probably using the term "programs" incorrectly. i just installed hammerhead and ran it using this n that. Ive taken a look at several guides as well giving me the same operations (download this hammerhead thing. run the thing which then roots the phone with its usb debugging on). I would think that the majority of guides on youtube are derived directly from the guide found on xda anyway (especially the one i used, considering it was a relatively light and easy process).
No most guides use Toolkits. Our guide is proper. We cannot vouch for others.
Our guide involves flashing a recovery and then flashing root from recovery. Do that and let us know where you get stuck, otherwise we can't help
Sent from my Nexus 5 using Tapatalk
Rootsu is correct. If you want things done properly you're best using no shortcuts like Toolkits. Different OSes and drivers and cables may change how the toolkit works.
Sent from my Nexus 5 using Tapatalk

Root lost after 4.4.4 OTA update?

Hi, i updated to 4.4.3 via ota update. After that i tried to open SuperSU and it says 'There is no SU binary instanned and superSU cannot install it.'
Did i lost root? Do i need to start from the beggining ?
I was trying to flash Franco Kernel and i realized that there is a problem after i tried to enter recovery mode. My device failed to enter recovery mode showing me a dead android with a red exclamation mark.
Thanks in advance !!
1) the dead android is stock android recovery
2) yes you lost root
solution: reflash a custom recovery in fastboot and then flash the supersu zip and you're done.
there are a ton of threads about this issue and how to solve it all over the place. please search next time.
Actually he is not alone. I too updated ota to 4.4.3 and lost root. I searched and searched and I am sure the answer is buried "somewhere" but I couldn't find the answer to *my* question.
I previously rooted my Nexus 5, 4.4.2 using adb and Fastboot, but my question is which image do I use for TWRP and 4.4.3? Is 4.4.3 still called hammerhead or something else? Those names are confusing to non experts and flashing the wrong img can brick the phone.
Which TWRP recovery image do I use?
Which Supersu do I use?
And where do I find them?
Thanks.
Anderson2 said:
Actually he is not alone. I too updated ota to 4.4.3 and lost root. I searched and searched and I am sure the answer is buried "somewhere" but I couldn't find the answer to *my* question.
I previously rooted my Nexus 5, 4.4.2 using adb and Fastboot, but my question is which image do I use for TWRP and 4.4.3? Is 4.4.3 still called hammerhead or something else? Those names are confusing to non experts and flashing the wrong img can brick the phone.
Which TWRP recovery image do I use?
Which Supersu do I use?
And where do I find them?
Thanks.
Click to expand...
Click to collapse
The device is hammerhead. The latest official twrp is fine and same with super su. Don't use tool kits that way you know what to do when something like this happens.
This will take you start to finish you were rooted so im assuming your bootloader is unlocked and you can start with flashing recovery image just be sure to read it all .
http://forum.xda-developers.com/showthread.php?t=2507905
Sent from my Nexus 5 using Tapatalk
Anderson2 said:
Actually he is not alone. I too updated ota to 4.4.3 and lost root. I searched and searched and I am sure the answer is buried "somewhere" but I couldn't find the answer to *my* question.
I previously rooted my Nexus 5, 4.4.2 using adb and Fastboot, but my question is which image do I use for TWRP and 4.4.3? Is 4.4.3 still called hammerhead or something else? Those names are confusing to non experts and flashing the wrong img can brick the phone.
Which TWRP recovery image do I use?
Which Supersu do I use?
And where do I find them?
Thanks.
Click to expand...
Click to collapse
Of course you lost root, that's normal. For twrp go to goo.im. for super su Google chainfire supersu xda. Very simple, very easy
Sent from my Nexus 5 using XDA Free mobile app
Got this puppy in the mail today and fastboot unlocked the BL before I even saw a start screen. Took 4.4.3 then fastboot flashed TWRP. Installed SuperSU in recovery.
Boom! Rooted, unlocked and updated.
P.S. howdy y'all
Sent from my Nexus 5 using Tapatalk
Howdy
Sent from my Nexus 5 using Tapatalk
Just use Nexus Root Toolkit its so easy google it.:cyclops:
Lost root 4.4.4
If you (and you will) loose root after installing the zip for 4.4.4 go to http://download.chainfire.eu/446/SuperSU/ and download the zip. use recovery to install.
CliffordS
Sent from my Nexus 5 using Tapatalk[/QUOTE]
people...!
this is exactly tbe same as the very first android update ever in 2008.. if you update via ota or stock manually, YOU WILL LOSE ROOT. stock rom is not rooted by default. you can not expect to have root when updating stock! this is just silly people. the simplest search on google brings you years, yes years, of the same exact question being asked thousands of times over.. and yes, you will also lose your custom recovery.
chainsuk said:
Just use Nexus Root Toolkit its so easy google it.:cyclops:
Click to expand...
Click to collapse
Yes, easy to make you think you "bricked" your phone.
Sent from my Nexus 5
simms22 said:
people...!
this is exactly tbe same as the very first android update ever in 2008.. if you update via ota or stock manually, YOU WILL LOSE ROOT. stock rom is not rooted by default. you can not expect to have root when updating stock! this is just silly people. the simplest search on google brings you years, yes years, of the same exact question being asked thousands of times over.. and yes, you will also lose your custom recovery.
Click to expand...
Click to collapse
Oh dear. So much this.... I have but one thanks to give to this post...
It's like people are completely baffled at this when it literally happens with every freaking update...
#stayparanoid
Just use wugs nexus tool I lost root and fixed it with the root option. No messing just a few clicks its idiot proof
Sent from my Nexus 5 using xda premium
stewartk said:
Just use wugs nexus tool I lost root and fixed it with the root option. No messing just a few clicks its idiot proof
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Yes, but it also makes you look like an idiot when you post on here complaining something doesn't work because of use of a toolkit.
Rooting is just flashing a custom recovery then flashing SuperSU. If you need a toolkit to assist with something as simple as that then I suggest you revert back to stock factory images and stay away from anything regarding "root".
Sent from my Nexus 5
simms22 said:
people...!
this is exactly tbe same as the very first android update ever in 2008.. if you update via ota or stock manually, YOU WILL LOSE ROOT. stock rom is not rooted by default. you can not expect to have root when updating stock! this is just silly people. the simplest search on google brings you years, yes years, of the same exact question being asked thousands of times over.. and yes, you will also lose your custom recovery.
Click to expand...
Click to collapse
Yep, I'm surprised people still ask this question. If you know how to flash an OTA, you should know what happens after. On a side note, when I flashed the 4.4.3 OTA, I actually didn't lose the TWRP. I just used the OTA from the OTA thread. I just thought it strange.
Not true i have used it thousands of others have without a problem, i could say people have bricked their phone with fastboot NOTHING is 100% safe....
chainsuk said:
Not true i have used it thousands of others have without a problem, i could say people have bricked their phone with fastboot NOTHING is 100% safe....
Click to expand...
Click to collapse
ok, i dont know what youre talking about but ill bite.. show me one person thats bricked their phone with fastboot.
I cant show you i can only tell you what ive read on these very forums for whatever reason ppl have reported on xda that their phones have bootlooped and bricked, it my have been user error on commands or glitches i dont know,and all i was saying about Nexus root toolkit is that i have used it many times without a problem as have other ppl but im sure that some ppl have come unstuck but for me its been fine....
Lethargy said:
Yes, but it also makes you look like an idiot when you post on here complaining something doesn't work because of use of a toolkit.
Rooting is just flashing a custom recovery then flashing SuperSU. If you need a toolkit to assist with something as simple as that then I suggest you revert back to stock factory images and stay away from anything regarding "root".
Sent from my Nexus 5
Click to expand...
Click to collapse
I've never had a problem using root kits. I also know how to do it other ways. But some idiots like to do it root kit ways.
Sent from my Nexus 5 using xda premium
stewartk said:
I've never had a problem using root kits. I also know how to do it other ways. But some idiots like to do it root kit ways.
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Maybe you should talk to this guy
http://forum.xda-developers.com/showthread.php?p=53573890
Sent from my Nexus 5 using XDA Free mobile app

I can't get damn drivers for fastboot to work

I tried everything, and still when I get into fastboot/bootloader and when I type fastboot devices, nothing. Can somebody please give me more solutions to this lol, I want to install that damn cyanogenmod.
When I want to install google usb drivers or naked drivers it says error 10 the device cannot start.
Make sure you uninstall the drivers then follow the instructions in the adb and fastboot thread via my signature. It too relies on the naked driver. Not sure if you followed the same steps or not but try to start fresh.
Sent from my Nexus 5 using Tapatalk
Try on a linux distro. Use ubundu live cd...
Sent from my Nexus 5 using Tapatalk
rootSU said:
Make sure you uninstall the drivers then follow the instructions in the adb and fastboot thread via my signature. It too relies on the naked driver. Not sure if you followed the same steps or not but try to start fresh.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did already read your thread 10 times to see what I did wrong, but I cant find anything. Here is what happens when I enter in bootloader
http://puu.sh/c9po9/f9af382931.png
Tried different cables / USB Ports/ computers?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Tried different cables / USB Ports/ computers?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can't believe that **** actually worked, THANKS<3
No probs
Sent from my Nexus 5 using Tapatalk
Windows 8 by any chance? It's a pain in the ass.. I've kept my old XP laptop for phone flashing as I can actually trust it
Sent from my Android L Nexus 5 via Tapatalk
Ben36 said:
Windows 8 by any chance? It's a pain in the ass.. I've kept my old XP laptop for phone flashing as I can actually trust it
Sent from my Android L Nexus 5 via Tapatalk
Click to expand...
Click to collapse
Yeah, but I unlocked bootloader rooted it and installed cm with custom kernel by now, I just needed to change USB port lol
Sent from my Nexus 5 using XDA Free mobile app
Who'd thought Windows XP was good for anything?
SchmeeForce said:
Who'd thought Windows XP was good for anything?
Click to expand...
Click to collapse
Lol i know! It's just so much easier to do anything with than 8
Sent from my Android L Nexus 5 via Tapatalk
Well, I for one, never had any issues with 8 or 8.1 when it comes to flashing / setting up the drivers.
Guys facing all this might have a broken install or drivers of their previous devices conflicting..
In any case, starting afresh does the trick!
- Sent from an IceCold Hammerhead!
vin4yak said:
Well, I for one, never had any issues with 8 or 8.1 when it comes to flashing / setting up the drivers.
Guys facing all this might have a broken install or drivers of their previous devices conflicting..
In any case, starting afresh does the trick!
- Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
Personally I find linux the easy way forward, install SDK and your done!!
SchmeeForce said:
Personally I find linux the easy way forward, install SDK and your done!!
Click to expand...
Click to collapse
I do the same with Windows. Connect nexus 5, let windows 8.1 auto detect/install drivers, install sdk and done! However I have to admit, I've ran into couple of issues at times.
But no doubt, setting it up the environment on Linux is smooth without too many hassles. I ran into some root privileges issue once which was fairly easy to fix.
- Sent from an IceCold Hammerhead!
Installing the SDK is massive overkill IMHO.
15 second installer + naked USB driver gives the best compatibility and minimal waste on windows.
On Linux, drop the fastboot and adb binary in /usr/bin or use the linux / Mac installer in my adb thread. A
Sent from my Nexus 5 using Tapatalk
rootSU said:
Installing the SDK is massive overkill IMHO.
15 second installer + naked USB driver gives the best compatibility and minimal waste on windows.
On Linux, drop the fastboot and adb binary in /usr/bin or use the linux / Mac installer in my adb thread. A
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
True that. I use the Android emulator and Eclipse for some development. So, I have them installed right from the start.
But for a person who just needs fastboot to root his/her device, you're absolutely right. :good:
- Sent from an IceCold Hammerhead!

Categories

Resources