[Q] Root Nexus 5 Issue - Nexus 5 Q&A, Help & Troubleshooting

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

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

Rooting possible with a command terminal?

Just got my nexus 5. Went to get my laptop only to find out its been stolen. Is there a way to root using the command terminal in say jumpy apps?
I'd hate to have to buy a Laptop just to root this phone. The root browser seems to allow access to all the relevant files. Anyone tried this?
Thanks.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Afaik, you'll need a pc to unlock the bootloader. From there I suppose you could do the rest on the phone using dd commands to get a recovery on. But since you'll need the pc anyway you might as well use it to get the recovery on.
How do you go to get your laptop to find out its stolen? Lol
Sent from my Nexus 5 using Tapatalk
You will need a PC with working adb connection to unlock the bootloader
vin4yak said:
You will need a PC with working adb connection to unlock the bootloader
Click to expand...
Click to collapse
Actually, you'll need fastboot working, not adb. They're different
Ben36 said:
How do you go to get your laptop to find out its stolen? Lol
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Don't put up "long lost ex girlfriends, who turn up with sob stories!"
Sent from my Nexus 5 using XDA Premium 4 mobile app
Why don't you just borrow someone's pc or go to a internet cafe?
You could always try a library. All you need to do is download fastboot, run "fastboot oem unlock" and reboot. You can then do the rest on your phone. It shouldn't take you longer than 10 minutes.
ADB and Fastboot go hand and hand from my knowledge. Even a slim non full version SDK still has ADB .
Sent from my Nexus 5 using Tapatalk
jball said:
ADB and Fastboot go hand and hand from my knowledge.
Click to expand...
Click to collapse
What do you mean "hand in hand"?
They're both command line platform tools offered in the android SDK but thats about all they have in common. One is a minimalistic "linux shell" for interacting with the android kernel (adb) where as the other is a tool that manages the fastboot functions of the bootloader.
rootSU said:
What do you mean "hand in hand"?
They're both command line platform tools offered in the android SDK but thats about all they have in common. One is a minimalistic "linux shell" for interacting with the android kernel (adb) where as the other is a tool that manages the fastboot functions of the bootloader.
Click to expand...
Click to collapse
So are you saying you don't have to have ADB to use Fastboot ?
Sent from my Nexus 5 using Tapatalk
jball said:
So are you saying you don't have to have ADB to use Fastboot ?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Correct.
You will need to have USB drivers, of course to use fastboot, which are often referred to as "adb drivers" but not the adb binary/exe itself
Dakura said:
Why don't you just borrow someone's pc or go to a internet cafe?
Click to expand...
Click to collapse
Last Internet cafe closes here and pale think rooting will damage their LT! The ones I asked.
I only posted this out of desperation. Library computers are locked up so can't accept drivers.
I've been rooting since the early days and I did a Samsung g2 without a computer. The boot was open. I just put the su, etc on the card and rooted it. As it was pre owned not sure if it had been unlocked or was like that from new. I've come from the nexus 4 mainly because of 4g.
Sent from my Nexus 5 using XDA Premium 4 mobile app
howard bamber said:
Last Internet cafe closes here and pale think rooting will damage their LT! The ones I asked.
I only posted this out of desperation. Library computers are locked up so can't accept drivers.
I've been rooting since the early days and I did a Samsung g2 without a computer. The boot was open. I just put the su, etc on the card and rooted it. As it was pre owned not sure if it had been unlocked or was like that from new. I've come from the nexus 4 mainly because of 4g.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do you have another device that supports USB OTG? It can do everything the laptop can with ADB and fastboot. The ADB binary is shipped with android, you'll just need the ARM fastboot binary.
Sent from my Nexus 7 using Tapatalk
Just another mobile but it's mtk. Thought of that
Sent from my Nexus 5 using XDA Premium 4 mobile app

Rooting nexus 5 using adb

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

Unroot

I'm RMA my nexus so I tried to flash stock thru wugfresh kit but it gets stuck and won't do it . so I remember I did a back up as soon as I rooted my phone so I restored that . I unrooted thru the superuser app its self , I went thru advance options on the root kit and flashed stock recovery and then relocked my phone.
My question is if that's enough to send it back? Will they be able to tell I rooted ? After I relocked it it said it reset the flag as well so I guess that's good .
The reason I use tool kits because its easier and I'm nervous to try it without a tool kit.
Thanks
Sent from my Nexus 5 using xda app-developers app
Not sure why it would t let me edit...
Also can I use my back up that I did with the new phone that's coming in?
Sent from my Nexus 5 using xda app-developers app
If you're on stock rom, kernel, recovery with a locked bootloader and "false" tamper flag, you're good to go!
Can't help you out with the toolkit problem as I don't use them and I feel it does more bad then good! :silly: You yourself aren't able to make out what part went wrong with wug's toolkit whereas if you have downloaded the stock factory images and did it manually, we could help you out with the error on that particular step!
g2uzer said:
Not sure why it would t let me edit...
Also can I use my back up that I did with the new phone that's coming in?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes, you can but make sure you don't restore the EFS.. If you do. Then your new phone is SCREWED! That's why I never recommend anyone restoring backups of different phones!
vin4yak said:
If you're on stock rom, kernel, recovery with a locked bootloader and "false" tamper flag, you're good to go!
Can't help you out with the toolkit problem as I don't use them and I feel it does more bad then good! :silly: You yourself aren't able to make out what part went wrong with wug's toolkit whereas if you have downloaded the stock factory images and did it manually, we could help you out with the error on that particular step!
Yes, you can but make sure you don't restore the EFS.. If you do. Then your new phone is SCREWED! That's why I never recommend anyone restoring backups of different phones!
Click to expand...
Click to collapse
I went I to recovery and it's the little android with the triangle so I'm sure that's stock correct ? And here's a pic of the phone info ,im thinking its stock also
OK I'll won't restore it just to be sure. Thanks for the help .
And yes it said something about resetting tamper flag when I relocked boot loader and now it won't show a lock when I boot up so its locked now.
Sent from my Nexus 5 using xda app-developers app
Sent from my Nexus 5 using xda app-developers app
g2uzer said:
I went I to recovery and it's the little android with the triangle so I'm sure that's stock correct ? And here's a pic of the phone info ,im thinking its stock also
OK I'll won't restore it just to be sure. Thanks for the help .
And yes it said something about resetting tamper flag when I relocked boot loader and now it won't show a lock when I boot up so its locked now.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes, everything looks peachy!
If you're not sure whether the tamper flag is reset or not.. Head over to bootloader and use this command : fastboot oem device-info
If the tamper flag is set to "true" then you haven't reset it correctly. If it's "false" then it's all good!
BTW, why are you RMA'ing the device?
vin4yak said:
Yes, everything looks peachy!
If you're not sure whether the tamper flag is reset or not.. Head over to bootloader and use this command : fastboot oem device-info
If the tamper flag is set to "true" then you haven't reset it correctly. If it's "false" then it's all good!
BTW, why are you RMA'ing the device?
Click to expand...
Click to collapse
OK I'll try that. I can do that thru the tool kit ?
Dead pixel . not a Hugh deal but still kind of annoying I'm getting tired of looking at it for the past 2 months lol
Sent from my Nexus 5 using xda app-developers app
g2uzer said:
OK I'll try that. I can do that thru the tool kit ?
Dead pixel . not a Hugh deal but still kind of annoying I'm getting tired of looking at it for the past 2 months lol
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Hey bro in the near future try not to use tookits for toying around for with these phones!! "Nexus" It's a lot easier to figure things out the fastboot way and cmds. As the other user stated they do more harm than good:silly: Good luck with ur RMA:good:
yyz71 said:
Hey bro in the near future try not to use tookits for toying around for with these phones!! "Nexus" It's a lot easier to figure things out the fastboot way and cmds. As the other user stated they do more harm than good:silly: Good luck with ur RMA:good:
Click to expand...
Click to collapse
Yeah I need to learn how to do it that way. I'm more of a visual learner so I have to look up a video on how to do it. I have read it but still nervous of trying it
Sent from my Nexus 5 using xda app-developers app
g2uzer said:
Yeah I need to learn how to do it that way. I'm more of a visual learner so I have to look up a video on how to do it. I have read it but still nervous of trying it
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Trust me when you learn this way it's a lot fun.. And in the process you come to know a lot about your phone:good: It's fun flashing things! But you need to know what your flashing and what it's doing on your phone..
g2uzer said:
Yeah I need to learn how to do it that way. I'm more of a visual learner so I have to look up a video on how to do it. I have read it but still nervous of trying it
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
And plus you feel like a hacker when doing it
Sent from my Nexus 5 using Tapatalk
So I tried to factory soft reset but for some reason it wouldn't , I tried hard resetting and it just froze , now its just I'm a bootloop , I'm able yo get in to boot loader but since my device is locked already can I still reflash stock? I tried unlocking boot loader but the computer won't recognize the phone , its saying o need to check developers option which I can't .. Any help?
Sent from my Nexus 7 using xda app-developers app
This are the errors I'm getting and it just gets stuck on this screen. I'm able to reboot in to recovery but that's about it
Finally it let me edit...
Well never mind peeps I figured it out. Thanks
Sent from my Nexus 7 using xda app-developers app

[Q] Nexus 5 Brick/Soft Brick

Hey guys,
New to this forum so I hope someone can help me out with this issue.
Status: Bircked/Soft Bricked..
CM11
Running ART
TWRP installed
Rooted
Unlocked bootloader.
CM11 has been running fine for me for quite a while until i switched it over to ART. It ran for a few days and then all of a sudden..BAM... it dies and wont boot into the OS or the TWRP now. I can get into the CM11 start screen and even to the point where it says"updating apps" it boots into the phone but starts giving me phone errors and then reboots itself into the CM11 logo screen..yadda yadda yadda.
Also, I cannot boot into TWRP. I get to the TWRP screen and it freezes on the TWRP initial screen, the screen without the options.
when I run fastboot and run a "Adb devices" in the command prompt i get the "emulator-5554 offline" error.
I have tried flashing twrp and even CWM onto the nexus 5, nothing seems to happen
Im in a jam and i hope someone can help me through this.
Thanks guys
Hmm.Did it work for you?
http://androidforums.com/application-development/5398-android-help-emulator-5554-disconnected.html
Or
https://www.youtube.com/watch?v=YVS6n6HWK10
I looked at the [email protected] and was not able to download the program, keep getting a bad gateway off their site.
I also opened up Eclipse and found my emulator is offline, im still trying to figure out how to use it as we speak.
Quart77 said:
I looked at the [email protected] and was not able to download the program, keep getting a bad gateway off their site.
I also opened up Eclipse and found my emulator is offline, im still trying to figure out how to use it as we speak.
Click to expand...
Click to collapse
Try flashing the factory image in fastboot.
Also, adb commands are not going to work in the bootloader. You need fastboot commands.
Sent from my Nexus 5 using XDA Free mobile app
This is the error I get when i try and flash a new system image
Quart77 said:
This is the error I get when i try and flash a new system image
Click to expand...
Click to collapse
have you installed adb and fastboot drivers http://forum.xda-developers.com/showthread.php?t=2588979
or read this thread this may help for sure http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
and about your error https://www.youtube.com/watch?v=YVS6n6HWK10
Yah I installed the adb drivers, or at least I believe they are installed. I checked off the ones that needed to be installed. The device is showing up on Device manager as well
Quart77 said:
Yah I installed the adb drivers, or at least I believe they are installed. I checked off the ones that needed to be installed. The device is showing up on Device manager as well
Click to expand...
Click to collapse
What happens if you lock the bootloader then reboot? Does it stay locked?
Sent from my Nexus 5 using XDA Free mobile app
What command would I give in Fatboy to do that? Sorry still new to this game
Sent from my SGH-I337M using XDA Free mobile app
Quart77 said:
What command would I give in Fatboy to do that? Sorry still new to this game
Sent from my SGH-I337M using XDA Free mobile app
Click to expand...
Click to collapse
fastboot oem lock
Then reboot into the bootloader and then
fastboot oem device-info
Sent from my Nexus 5 using XDA Free mobile app
Here is what i get:
Also, when i give the lock command it locks the bootloader.
As soon as I reboot the loader, it says LOCK STATE: UNLOCKED again
Quart77 said:
Here is what i get:
Click to expand...
Click to collapse
I was afraid I'd see that. The bootloader didn't lock. That usually means you emmc flash memory is bad. You'll have to rma the device.
Sent from my Nexus 5 using XDA Free mobile app
Will they RMA a device that is modified?
Sent from my SGH-I337M using XDA Free mobile app
Quart77 said:
Will they RMA a device that is modified?
Sent from my SGH-I337M using XDA Free mobile app
Click to expand...
Click to collapse
Hopefully. Google seems to be pretty cool about it. If you have to go through LG they'll probably charge you.
Sent from my Nexus 5 using XDA Free mobile app
So I guess there is no way to unroot it at this point? I called google and they want me to unroot it to return it.
Sent from my SGH-I337M using XDA Free mobile app
Quart77 said:
So I guess there is no way to unroot it at this point? I called google and they want me to unroot it to return it.
Sent from my SGH-I337M using XDA Free mobile app
Click to expand...
Click to collapse
I don't think there is going to be a way. But I'd try this. Download the bootunlocker script from here http://forum.xda-developers.com/showthread.php?p=40409356
Also have the twrp recovery image on your PC. Then boot into the bootloader. Try
fastboot boot recovery.img. Where recovery. img is the twrp recovery image. If that works it'll boot into twrp.
If it works adb push the bootunlocker script to your device and install it in twrp
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
So just an update, they are going to RMA the device. I told them everything I did to it and they are still going to take it back. Let's hope it is that emmc flash memory, it should be covered under the warranty as a hardware defect. Well I'm assuming it is .
Thanks for the help, unfortunately nothing seemed to fix it. Ah well we tried. I will update everyone on the process, so ppl in the future know if Google will honor that warranty.
Cheers
Sent from my SGH-I337M using XDA Free mobile app
Quart77 said:
So just an update, they are going to RMA the device. I told them everything I did to it and they are still going to take it back. Let's hope it is that emmc flash memory, it should be covered under the warranty as a hardware defect. Well I'm assuming it is .
Thanks for the help, unfortunately nothing seemed to fix it. Ah well we tried. I will update everyone on the process, so ppl in the future know if Google will honor that warranty.
Cheers
Sent from my SGH-I337M using XDA Free mobile app
Click to expand...
Click to collapse
Good luck on it!
Sent from my Nexus 5 using XDA Free mobile app
So an update: Google did not charge me for the return and the new one is up and going. Amazing, this is why I will continue to buy their products.
Cheers guys
Quart77 said:
So an update: Google did not charge me for the return and the new one is up and going. Amazing, this is why I will continue to buy their products.
Cheers guys
Click to expand...
Click to collapse
Glad to hear it. Enjoy your new device!
Sent from my Nexus 5 using XDA Free mobile app

Categories

Resources