yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] flick0416:
Need help!

Going through this process now, and I don't think I've installed the drivers correctly. When I run the "fastboot devices" in Command prompt, it says 'fastboot' is not recognized as an internal or external command, operable program or batch file. I downloaded the ZIP file that 1wayjonny posted for the Universal_Naked_driver_0.73, but when I extracted the files, I didn't see any executable. Is there anything else I need to do to install the necessary driver?

Edit: Found the step-by-step instructions for installing the drivers.

2nd Edit: But now the Device Manager is showing "Google Nexus 4 BootLoader interface." Is that accurate?

3rd Edit: Turns out that was OK. When I ran the "fastboot devices" command, my phone showed up just fine. However, how do I copy the SuperSU ZIP onto the phone? My phone isn't showing up in My Computer. Is there some other way?

4th Edit: Alright, I think this is it. I realized that I had the phone connected to my computer in the bootloader. When I turned the phone off and turned it back on in the normal display, I was able to connect and copy the SuperSU file over. I flashed it successfully and seem to be OK right now. I've rebooted the phone and begun re-installing apps. I see the SuperSU app in there...am I right in thinking that I've just successfully unlocked and rooted my phone?
[Nexus 5 General] mattcoz:
Thanks. :silly:

---------- Post added at 09:43 PM ---------- Previous post was at 09:39 PM ----------

Yes, but you have to unlock the bootloader in order to root. Oh well, getting everything back up and running now. Didn't lose anything critical, just progress in some games and my text messages from the last week.
[Nexus 5 General] galaxys:
Ok getting "no SD card" when trying to download SuperUser or anything else. Also the Playstore keeps saying it has "stopped"!

Bootloader is unlocked and I can boot into TWRP recovery and see my internal storage folders (mostly empty). Furthermore my pc doesn't see anything in internal storage or let me copy to it...

Any ideas? Corrupt?
[Nexus 5 General] abaaaabbbb63:
Not really. It's probably a ROM fault. Try installing a custom ROM using adb sideload from recovery.
[Nexus 5 General] kasalamite:
[MENTION=482227]galaxys[/MENTION], i had the same problem, couldn't access sd card, play store always FC. please check if you have maybe messed around in menu mount. no items should be checked. then after i unchecked all boxes - data was highlighted - i wiped data and cache and everything went fine and back was my sd card and goolge play store didn't fc anymore.
[Nexus 5 General] vermaekansh:
Can you let me know the instructions to install the drivers. :( facing the same issue.
[Nexus 5 General] Kortxero:
Go back one page and check my message. Others have been documenting it earlier in the thread as well.
[Nexus 5 General] vermaekansh:
Many Thanks :)..:good::good:

it would be good if we have this link in the OP for other like me.:D:D

Installation of divers
[Nexus 5 General] baguitos:
I was going to look for a toolkit, but after this...

We've decided to try this way. :)

Thanks for the post.
[Nexus 5 General] sil3nt_trill:
no matter what i do windows keeps installing the drivers for my nexus 5 automatically. i have it disabled but it still does it. it shows up in portable devices>nexus 5.

i'm running windows 7. please how do i make it stop??
[Nexus 5 General] galaxys:
Same here on Win7 64...have not found a resolution.
[Nexus 5 General] Chromium:
Whats wrong with that?
[Nexus 5 General] sil3nt_trill:
it won't let me update the drivers to root
[Nexus 5 General] Chromium:
Oh. Try unchecking MTP.
[Nexus 5 General] sil3nt_trill:
it doesn't show up when i do that
[Nexus 5 General] Kortxero:
The driver is built-in the device, so it will install every time you plug in the N5. Here's what I did (Win 7 64)...

1) Download Universal_Naked_Driver_0.73

2) Plug your N5 to your PC and uninstall its drivers from Device Manager (right-click on "Nexus 5" under "Mobile devices", then click "Uninstall").

3) Unplug your N5, enable "USB Debugging" in "Developer Options" on the N5 and make sure MTP is enabled ("Settings", "Storage", 3-dot menu in the top right corner, "USB connection to PC").

4) Plug your N5 back to your PC and go to Device Manager.

5) In Device Manager, you should see "Nexus 5" under "Other devices". Right-click on "Nexus 5", click "Update driver software", "Browse my computer for driver software" and select the correct folder (Universal_Naked_Driver_0.73).

6) Allow Windows to update your drivers.

7) Once the operation has finished, you should see "Google Nexus 4 ADB Interface" under "SAMSUNG Android Phone".

8) Switch off your phone and reboot in fastboot mode (Volume Down + Power). Side note: at that stage, Windows may install some other drivers for your bootloader.

9) You're good to go :)
[Nexus 5 General] sil3nt_trill:
worked perfect thank you!
[Nexus 5 General] FuMMoD:
This deserves to be in the FAQ for OP since I'm seeing a lot of issues with other users as well. I'm running Win7 64 and that is an annoying bug lol. Thank you.
[Nexus 5 General] Chromium:
Agreed, I'll add it now. Thanks.
[Nexus 5 General] andrew81:
Same here!!
[Nexus 5 General] Chromium:
Read the instructions four posts above yours.

Sent using xda-developers app
[Nexus 5 General] noobmagoob:
im new to this and when i type in fastboot devices in cmd it says " 'fastboot' is not a recognized as an internal or external command, operable program or batch file. " could someone tell me when im doing wrong?
[Nexus 5 General] Chromium:
Did you complete the ADB and Fastboot Installation part of the guide?
[Nexus 5 General] noobmagoob:
never mind i figured it out and im stupid.
[Nexus 5 General] Chromium:
And when you type "fastboot devices" into the same command prompt window that you got the Android Debug Bridge version to come up in it doesnt work?
[Nexus 5 General] noobmagoob:
Sorry i figured it out, i wasnt doing it in the same command prompt window.
[Nexus 5 General] pialletti:
hello .. I installed TWRP 2.6.3.2 .... red robot .... I tried to install stock recovery .... red robot ... solutions? thanks
[Nexus 5 General] Kortxero:
By red robot, I guess you mean a dead robot with a red triangle? If so, that means you're using the stock recovery. Have you successfully unlocked your bootloader before trying to flash a custom recovery?
[Nexus 5 General] pialletti:
you unlock ok ... I tried TWRP without success. I installed stock recovery .. and always dead red robot .. excuse my english use google trad ...
[Nexus 5 General] abaaaabbbb63:
Yes, that'a the stock recovery. Hold power button, and press Volume Up for the menu to come up.
[Nexus 5 General] pialletti:
I can do a factory data reset from the device? or another solution? however, the device works well ... thanks
[Nexus 5 General] Kortxero:
1) Have you tried to flash it several times? I have never had this problem myself, but I have seen other users reporting the same (ie, TWRP doesn't stick the first time).

2) If this doesn't work, could you please confirm you are using the right command below (make sure you're typing it correctly, small letters and spaces included)?

fastboot flash recovery recovery.img

Make sure your TWRP image is named "recovery.img", not "recovery.img.img" (or whatever), and is in your "platform-tools" folder.

Once you have flashed it (check the command output in the command window to make sure there's been no error), do not forget to select "Restart bootloader" with your volume keys (press the Power button to confirm). Once your bootloader has been rebooted, select "Recovery Mode" with your volume keys (use the Power button again to confirm your choice). You should be in TWRP now.
[Nexus 5 General] pialletti:
okay. reinstalled ... all ok thanks

---------- Post added at 12:09 PM ---------- Previous post was at 11:26 AM ----------

[QI would like to thank all the people who helped me. responding with courtesy and ability. this is a great forum made ​​by serious people and willing .. thanks again to all .. sorry my englishUOTE=pialletti;47480021]okay. reinstalled ... all ok thanks[/QUOTE]
[Nexus 5 General] Kortxero:
Prego :highfive:

On a side note, please feel free to hit the Thanks button on Chromium's first post of this thread if it has helped you :good:.

End of my off-topic ;)
[Nexus 5 General] X-Jonte-X:
It seems that could use now also superuser from koush::good:

https://plus.google.com/110558071969009568835/posts/9M3oUU5BN4Q
[Nexus 5 General] deepskydiver:
Thank you so much for this. I'm added to the list of those who have successfully followed your steps.

The only trouble I had was how to copy the zip to the phone. Perhaps the use of the adb push command could be added to the howto?

Thank you again!
[Nexus 5 General] jjjooonnn:
Can you...

Can you unlock your bootloader, install CWM, root access, then re- lock your bootloader?

I'd like to make sure if my phone is every stolen/taken that the auto-formating would wipe my personal data.

I'm planning to root but I'd like to make it as secure as possible, eg; encrypt, turn off debug, and set 9 digit pin. (anything else to add?)

:confused:
[Nexus 5 General] jd1639:
Yes you can. But remember, next time you unlock it it'll wipe everything so have backups.
[Nexus 5 General] jjjooonnn:
Yeah I'm using Titanium Backup, I figure I can back it up and re-install stuff later; my main purpose to lock it is to keep it out of the wrong hands.

:good:

Thanks for the response.

Any idea when offical CWM will drop?
[Nexus 5 General] jd1639:
No idea on cwm. You'll just have to wait and watch for it
[Nexus 5 General] Starymari:
Sorry for the newb question but is it ok to flash this with TWRP? I'm on Carbon ROM and I lost root so I'm looking for the superuser update and this is what I've found so far. Sorry again for the dumb question.

Edit: never mind, find it in this thread (of course)
[Nexus 5 General] Kortxero:
If you want to secure your device with a relocked bootloader and still be able to update it without losing your data when unlocking it, your safest bet is to use BootUnlocker (note: you need to be rooted).

This free Android app allows you to unlock and relock your bootloader as much as you want, in one click, without formatting your device (of course, you need a secure lockscreen to prevent any unauthorized person from accessing the app).

You also need to flash the stock recovery back to your device in order to prevent a potential thief from wiping your device in TWRP or CWM to get past your lockscreen.

As far for the encryption, it's your best option to safeguard your personal data, but there are some drawbacks to this approach.
[Nexus 5 General] MrFishiz:
I need help..

This happens everytime, right after I install the new CWM recovery and then enter the recovery in order to reboot so I can place the root in the sdcard, the phone get's stuck in an infinite loop.. how can I fix this?
[Nexus 5 General] Chromium:
Try a factory reset from cwm. Read the second post of this thread.

Sent using xda-developers app
[Nexus 5 General] paulkono:
I keep getting "unable to mount" from TWRP when flashing SuperSU. It says "Failure" when I try to do a factory wipe as well. Not sure what to do since I can't boot into the system either.
[Nexus 5 General] Cirkustanz:
A couple suggestions that would benefit completely new people...

So I'm no grand master, but I've been exposed to rooting/custom roms on about 4 phones now and I generally do ok with instructions... That was the same in this case here, and this being a Nexus device, it's relatively easier than on many other phones.

Having said that, I noticed a couple of things from the instructions that could be improved. This is strictly for the benefit of someone who may be doing this for the first time.

Here we go:

At the "do fastboot reboot" step

There is no mention of what happens next, other than directly after this, to turn off the phone. Well....Most people would hesitate before turning the phone off right away...I certainly did. The reason for this is that when the phone reboots, the android comes up, with the blue bar underneath him. If this was my first time rooting an Android phone I would think this would be WEIRD. Maybe some mention of precisely when the person can turn off the phone after rebooting it through adb would be great. Personally, I let it reboot all the way, until of course it came to the screen that appears the first time you load the phone after a factory reset or turning it on for the first time.

For the step where you copy the superuser zip onto the phone, most people will not know how to do this. It's a simple command really, I would think the instructions could be modified to just say "copy the superuser.zip to your phone by typing adb push superuser.zip /sdcard/
[Nexus 5 General] paulkono:
....argh. The phone is bricked essentially. I don't know how long I should wait for the system bootup logo until concluding that it won't boot into the system either.
[Nexus 5 General] abaaaabbbb63:
If it hangs for more than 15 minutes, then you can say something is wrong.
[Nexus 5 General] paulkono:
I flashed the factory images and wiped everything and it boots into the system now. I'm wondering why it wouldn't mount in TWRP though. I want to give it a go again but I don't know if mounting work this time. I cleaned the drivers and installed the Universal Naked Driver too.
[Nexus 5 General] egofreak:
Ok this may be Noobish, but motion to include backing up your EFS to this guide. I know many of you know this, but when I read that the EFS is unique to each phone and NOT replaceable, I shat a small brick. EFS backups should be in this guide. Its more important than anything. I have my EFS .img's and the flashable zip Backed up to my google drive, Box account and Drop box. It is also going on a few usb sticks too. YOUR EFS IS GOLD.
[Nexus 5 General] gee2012:
Since when is the EFS issue relevant on the Nexus `s. It used to be a Samsung issue only afaik. Thought the EFS on a Nexus is on a different partition that can not be wiped by a user`s action.
[Nexus 5 General] egofreak:
This thread explains what I am talking about.

http://xdaforums.com/showpost.php?p=47164660&postcount=1
[Nexus 5 General] paulkono:
Nevermind. Installed TWRP again and root went smoothly. Now to install a custom ROM! :D
[Nexus 5 General] gee2012:
Thanks for the link but i kow what you are talking about. My question is that this wasn`t a issue on the N4, so the N5 is the first Nexus where you must backup the EFS folder?
[Nexus 5 General] egofreak:
Fair enough. This is my first Nexus device but not my first Android phone, so I am still getting the hang of things around here. When I saw that thread about EFS, I had PTSD flash backs to when I was rooting my Galaxy tab and saved my own butt by having a backup of my .pit file. Things go wrong and Its always good to have backups of things! :good:
[Nexus 5 General] tranduymb:
Thanks :D
[Nexus 5 General] yldlj:
Is there a way were we dont have to go into the specified platform tools file before flashing recovery? On cwm and twrp threads they just say to fastboot flash recovery recovery.img. where would we have to put the recovery.img to do that?
[Nexus 5 General] Primokorn:
In platform-tools where you have fastboot.exe file. Open a cmd window from this folder.
[Nexus 5 General] Chromium:
Thanks for the suggestions, I'll add that stuff now.

If you want to be able to use adb/fastboot commands from any location on your pc read this guide.
[Nexus 5 General] Deiwor:
Sorry if repeated, but I could not find.

Rooting the device will decrease the speed, battery life or performance or everything else?

I'm thinking to delete some standar google apps I just want not to disable it, but I'm little afraid of that
[Nexus 5 General] Chromium:
No rooting itself wont affect battery life, speed or performance at all. If you later decide to install apps that use root access they may affect these factors.
[Nexus 5 General] gee2012:
Rooting the device will not decrease performance and/or batterylife if you do the right things. Custom kernels for instance enhance performance, batterylife, sound and color display and add some extra options like swipe to wake and knock-knock wake. Be carefull with removing system apps as most are tied together so that might mess up some apps here and there.
[Nexus 5 General] jd1639:
Rooting will not affect the performance. Why don't you just freeze the apps you don't want to make sure they don't impact anything. After some use and seeing the effects you can always delete them later.
[Nexus 5 General] Deiwor:
Thank you!!

Well, thanks for the advices. My last phone was an HTC Sensation and I had some performance problems, so this time I do not want to do the same things. I will root the next days just for making small test.

Cheers!!
[Nexus 5 General] antisoma:
Just wanted to say many thanks for this thread. I like the approach of encouraging running operations from the command prompt. Could this be extended to flashing a rom and kernel too?

First time Android user - several hours of reading and now I'm unlocked, rooted, custom recovery, rom and kernel. Awesome.
[Nexus 5 General] gee2012:
Sure, you can use almost all .img files like kernels in fastboot, .zip files need to be flashed with a custom recovery which most custom roms are.
[Nexus 5 General] FrostedFluke:
Hey, I was wondering if anyone could help me out.

I still haven't started the bootloader since I was scared I may have missed a step. I don't think my drivers have installed properly. There seems to be one which is unable to install.

Is this a big deal? I'd post a picture but since I'm the new to the forums, I'm not allowed.

I'll try to explain it though.

I went to my devices and when my Phone is plugged into my PC, I am currently shown 3 drivers.

"Nexus 5" as type "other devices" (this is the one that is unable to install)

"Nexus 5" as type "Portable device" (Installed)

"USB composite device" as type "Universal serial bus controllers" (Installed)

so the first driver was unable to install automatically and I'm not sure why. Could anyone help?
[Nexus 5 General] gee2012:
Connect the phone to the pc with usb debugging turned off and after that turned on to see if the phone is recognized. Open adb and type : adb devices to see if a serialnumber is shown. If so go into the bootloader mode (adb reboot bootloader) and type: fastboot devices (a serialnumber should pup up again in adb).
[Nexus 5 General] jd1639:
Just try adb devices from a cmd window. If your device shows up you're good to go.
[Nexus 5 General] capobilo:
helped me a lot
[Nexus 5 General] FrostedFluke:
Sorry guys, I'm a complete and total newbie when it comes to rooting and android devices. Could you please explain further? I've already downloaded and installed SDK and have done the necessary installations (or so I believe). I had thought I was ready to go into bootloader and unlock my phone but was scared since I realized one of the drivers didn't install, which is why I stopped to make sure :)
[Nexus 5 General] jd1639:
If you're that scared maybe it's better to just leave your phone stock and not mess with it. If you're a little less scared, just open a command window in Windows and with your phone plugged into the pc usb port type, adb devices. If it showes your device connected you're ok. If it doesn't, then use ctrl c then type exit. There's no way this will do anything to your phone even if drivers are installed incorrectly.
[Nexus 5 General] FrostedFluke:
I did, it just says adb is not recognized as an internal or external command.
[Nexus 5 General] jd1639:
Then you don't have adb setup correctly.
[Nexus 5 General] FrostedFluke:
Ok I got it to recognize my device. Serial number and all. I followed a fellow users method of installing Universal Naked Driver 0.73.
[Nexus 5 General] mendozaram:
I did fastboot oem unlock and DIDNT fastboot reboot...instead i flash cwm recovery , then reboot. Now my N5 get stuck on start animation :/

Nexus 4

Slimkat 4.4

AK v132
[Nexus 5 General] Chromium:
Great. That means the driver setup part is done. The rest of the process is honestly a breeze.

Lol. Why do people feel the need to skip that step despite the fact that I specifically said not to skip it right beside that part.

Anyways, read the second post. Its got some info that'll get your phone booting again.

Sent using xda-developers app
[Nexus 5 General] kasalamite:
honestly i couldn't do fastboot reboot after fastboot unlock oem. the phone automatically rebooted

[MENTION=535343]all[/MENTION], dont give up. i dont think you can really brick your phone by unlocking bootloader, if the drivers aren't installed, it will just not work to input the commands. all you have to do, download naked drivers, plug your phone into usb port, go into devices and check/update drivers which you have downloaded (naked drivers) leave it connected and power off your phone, hold volum minus and power it up, installed bootloader/fastboot driver under devices and again use naked drivers. and then run the commands in post #1. it is so easy with this device and we save a kitten not using a tool kit, plus you get some basics adb/fastboot commands which will for sure help you later on future devices.

---------- Post added at 03:19 PM ---------- Previous post was at 03:17 PM ----------
[Nexus 5 General] cape007:
boot loader

I've unlocked the boot loader and flash the CWM but now I can't boot. stuck at the "google" page. any help?
[Nexus 5 General] mendozaram:
I flashed factory image bro, everything is good now. Thx
[Nexus 5 General] abaaaabbbb63:
Do a factory reset from CWM.
[Nexus 5 General] cape007:
The problem is I can't get into CWM, it stuck at the google page

....

got it flash TWPR. They seem to be a problem with CWM. Can anyone send me another link for CWM thanks.
[Nexus 5 General] abaaaabbbb63:
Use twrp for now. Cwm just started development for this device.
[Nexus 5 General] Kick-Ass Joe:
Instead of flashing a custom recovery can I just do "fastboot boot recovery.img" so that I don't flash a custom recovery. My goal to to keep the function to be able to get ota updates. Thanks!
[Nexus 5 General] Chromium:
Yes that's fine.

Sent using xda-developers app
[Nexus 5 General] rancur3p1c:
do I have to have custom recovery to install root? Couldn't I adb push the files?

I'm noob but I seem to recall adb acesss gave you full control of the phone. ?

edit found this should work: http://xdaforums.com/showthread.php?t=2507211
[Nexus 5 General] Chromium:
Youll need a custom recovery to flash the root binaries, however you dont need to permanently install it. You can temporarily boot the recovery using the "fastboot boot recovery.img" command. After rebooting you will no longer have a custom recovery.
[Nexus 5 General] jaladhjin:
Hey friend.. I just got my Nexus 5 today & decided I wanted to learn something instead of just suck on toolkits ;) Go me right..right! lol..

Originally I was going to use CF-AutoRoot but I decided.. I'm going to try it your way :D

Anyway my question is.. I ended up installing ClockworkMod instead of TWRP.. no problem.. still flashed my rom no issues..

If I want to go to TWRP & not be lazy & let Goo Manager do it.. can I flash that recovery.img with the Fast boot setting as many times as I want.. like could I just flash TWRP no problem.. or are there things to be done when switching recoveries..

Also..are there classy apps that will install .img files saved on my SD style storage.. like a recovery.img file ?

/salute
[Nexus 5 General] Primokorn:
Flashing .img TWRP file will install the recovery instead of CWMR. Nothing will be wiped and nothing will be changed expect your recovery partition.

However I suggest you to create a new Nandroid backup.
[Nexus 5 General] NCguy:
I haven't used TWRP but it sounds like the nandroids aren't compatible between TWRP and CWM?
[Nexus 5 General] abaaaabbbb63:
No, they aren't compatible.
[Nexus 5 General] jaladhjin:
One other thing.. does naming it "recovery.img" just make it simple to type into the command prompt ?

Could I in theory leave it called whatever I want somecomplicatedthing.img

Or is there a reason it needs to be recovery.img ?
[Nexus 5 General] abaaaabbbb63:
Just for easy typing. You can name it anything, like a.img , or ifjwksb-%-#+$=€^`=€^¶®©.img.