yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Dunkamo:
-Drivers seemed to install okay

-TWRP is accessible just fine

-I was prompted to install superSU but it went so quick Im not certain it was successful, then it went into the endless color dots splash screen.

I have tried redoing steps in the toolkit including the restore to stock but there is no response from the device. All of the wipe options within TWRP always fail. The Restore option in TWRP is empty.

So my device just sticks at the flash screen unless I power it up into recovery or fastboot but Im not sure what else I can try at either of those?

Thanks in advance for any further help.
[Nexus 5 Android Development] Ricky Divjakovski:
i dont understand why this is happening? ive gone over the files alot, i cant seem to find a problem...

anyways, ive put together an update and added a "root options" menu, fixed a few errors and added echoed all processes so if you get stuck, you will know exactly what your getting stuck at

link will be up in a few!
[Nexus 5 Android Development] Vondis:
Looks like a wipe in twrp fixes it. I didn't need to restore with the other toolkit. Only reason I tried it was because nothing was working and I forgot to try wiping data when I was stuck on the boot loop
[Nexus 5 Android Development] Dunkamo:
I used Kwongs "Out of the Box restore option from fastboot and it went through all its steps successfully. After it finished it still was stuck in the splash screen but I was able to power into stock recovery and factory reset/wipe user data. Now the device is booting okay (after about 2 minutes).

I guess I will wait for these toolkits to go through a bit more testing and updates. I really do love toolkits so please keep up the awesome developments.
[Nexus 5 Android Development] Ricky Divjakovski:
try now, i just updated it?

also both toolkits cant do any real damage unless you unplug your device halfway through a flash of recovery..
[Nexus 5 Android Development] Dunkamo:
I just reran all the steps individually and everything is good now. I have root access and superuser is working perfect.

Thanks so much for the update.
[Nexus 5 Android Development] Ricky Divjakovski:
Great! :)
[Nexus 5 Android Development] mugenga:
I'm having a weird issue. I installed the device drivers, but when I connect to my computer in ADB mode, the toolkit can't see it. I tried booting into fastboot again and tried reconnecting my device, but I get an error message saying that some device driver failed to install.

Also, I tried running the bootloader unlocker from the within android with USB debug mode, but the phone just restarts and goes directly back into android. The tool just says waiting for device.
[Nexus 5 Android Development] Ricky Divjakovski:
you must have the drivers installed, try removing all old drivers from you pc then installing fresh!

this device is quite problematic...
[Nexus 5 Android Development] Ricky Divjakovski:
including CWM recovery soon
[Nexus 5 Android Development] mugenga:
I tried uninstalling and reinstalling the drivers. Is it appropriate for the Nexus 5 to show up as a Samsung Mobile device? I uninstalled all the drivers and tried reinstalling them.

I booted into fast boot to see if there would be any indicator on the device that it sees my computer, but I don't see anything. My computer sees that the device is connected, but my device isn't showing any signs. Even when I try CF-Auto-Root it doesn't detect my device (this is in fastboot mode in this case).
[Nexus 5 Android Development] Ricky Divjakovski:
theres your problem, you must have samsung drivers installed? correct?
[Nexus 5 Android Development] mugenga:
Correct. I went into control panel and uninstalled the Samsung USB drivers. I also went into device manager and did an uninstall of the Samsung device there, but when I reconnect with USB debugging and install the nexus 5 drivers; device manager pops up with Samsung Android Phone.

Edit: The device driver keeps being attributed to Clockwork Mod.
[Nexus 5 Android Development] trikar21b:
My device is going to arrive tomorrow in the mail. Thanks for all the work and I can't wait to get this going. I have two questions before I do this though:

1. If I keep the stock ROM and only root it and put on TWRP how will OTA Updates be affected?

2. Can/Should this be done before initial setup since it resets the phone anyways?
[Nexus 5 Android Development] mugenga:
I'm getting QHSUSB_BULK driver install failure when I try to run your driver installed and boot into fastboot mode on step 8 (my screen also goes black permanently unless I close the cmd prompt and rehold power and volume keys for awhile). Is this root method only working for the stock rom? I did install an OTA when I first booted up my phone.
[Nexus 5 Android Development] rhys100:
I did a full restore on my device cos i think i flashed another rom that was faulty and my wifi wouldnt connect haha.

However when it flashes the ROM part that is 400mb or whatever it doesnt do it.. it just skips that part of the restore.
[Nexus 5 Android Development] Ricky Divjakovski:
nope, you need to setup in order to enable usb debugging! :( sorry

once you unlock your bootloader your phone is unable to recieve ota's without a third party app

i will look into it, new version going up in a second!
[Nexus 5 Android Development] mugenga:
My boot loader is still locked. I was never able to get it unlocked due to the issues I've previously stated.
[Nexus 5 Android Development] Ricky Divjakovski:
you will have to unlock your bootloader!

GUYS V3.0 IS UP WITH CWM AND UPDATED TWRP!! :D :highfive:
[Nexus 5 Android Development] Ricky Divjakovski:
try now, has been updated!
[Nexus 5 Android Development] rhys100:
na sorry yours doesnt work either sorry. still fails
[Nexus 5 Android Development] Ricky Divjakovski:
hmmm, it has been confirmed working, try unpacking all the .img files and manually flashing them..?

could be a registry problem with your pc...?
[Nexus 5 Android Development] rhys100:
tried a few times. I dont think it has to do with my pc.
[Nexus 5 Android Development] Ricky Divjakovski:
well i can confirm it has nothing to do with the tool?
[Nexus 5 Android Development] rhys100:
how do i try to flash normally?
[Nexus 5 Android Development] Ricky Divjakovski:
this is officially put together by google https://dl.google.com/dl/android/aosp/hammerhead-krt16m-factory-bd9c39de.tgz extract it with winrar or 7zip then run the .bat file

if this doesnt work it is your pc...
[Nexus 5 Android Development] rhys100:
ok i tired that. Still getting error. Any ideas what could be wrong? :(

http://i.imgur.com/pjLnHP5.png

---------- Post added at 05:07 PM ---------- Previous post was at 05:04 PM ----------

I rebooted computer and it worked. teeheeeheee. DOH
[Nexus 5 Android Development] Ricky Divjakovski:
Told you! :p anyways glad you got it up and running!
[Nexus 5 Android Development] wizard7926:
Mine is attempting to install as a Samsung device as well!

I have gone and ridded my system of all the Samsung and other mobile drivers I can find.. I was hoping to root this tonight but I'm not happy that it's attempting to install it as Samsung..
[Nexus 5 Android Development] Ricky Divjakovski:
Have you removed kies from your pc?
[Nexus 5 Android Development] wizard7926:
I can't seem to find an instance of it on my PC.

Could it be bundled into my old Galaxy Nexus toolkits somehow? So frustrating.
[Nexus 5 Android Development] tintin1892:
I have already rooted my phone using chain fires root. Can I still use ur kit to install recovery please
[Nexus 5 Android Development] Ricky Divjakovski:
Ofcoarse!:)
[Nexus 5 Android Development] Muuhmann:
First of all, thanks for making this tool, and now, here are my experiences with this tool:

1. Never actually rebooted into bootloader automatically. Had to do it manually.

2. I thought I had chosen TWRP but it installed CWM. Don't know if I maybe pressed the wrong button.

3. A lot of manual reboots, or confirmations were necessary. Like after installing recovery, it booted into recovery and I had to process manually.

4. Stuck in Bootloop after installing recovery.

5. ...
[Nexus 5 Android Development] Ricky Divjakovski:
hmm, the bootloader im not sure what happened there, second you would have pressed the wrong button, if you press any other by default it will flash CWM, the confirmations are neccesary for a safe root method and did you wipe data/factory reset after flashing superuser?
[Nexus 5 Android Development] timvdlinde:
Just got my nexus and now I wanna root but doens't seem it works good?
[Nexus 5 Android Development] Ricky Divjakovski:
try and see for yourself, nothing can completely destroy your device, also some people get it done okay, others face problems, read correctly and you will be fine!
[Nexus 5 Android Development] timvdlinde:
Gonna do it know. ill report back.
[Nexus 5 Android Development] Ricky Divjakovski:
great! all problems are reversable!!
[Nexus 5 Android Development] timvdlinde:
When installing drivers step 8 is. Hold up + down and then press the power button. When I do this when my device is on nothings happens, should I do this when its off?
[Nexus 5 Android Development] Ricky Divjakovski:
try holding vol up + power for a while if not try vol down + power, you need to reboot into bootloader!
[Nexus 5 Android Development] moskito-hd2:
simple answer :) yes ...
[Nexus 5 Android Development] i860:
Some help pls

I can not flash any rec or kernel.I put my n5 in fastboot but still nothing. I root my n5 with cf first.
[Nexus 5 Android Development] timvdlinde:
I unlocked the bootloader, flashed TWRP, but now when i boot into recovery I get a green android with a red triangle.
[Nexus 5 Android Development] Ricky Divjakovski:
keep re-flashing the recovery until you get it to stick, look everywhere and i guarantee you will have the same error, flash a few times until it sticks!
[Nexus 5 Android Development] timvdlinde:
I think it worked

This is what I've done:

USB debugging on

Install drivers

Unlock bootloader

USB debugging on (it's off because of the wipe)

Flash Recovery (got the dead android logo, so I flashed TWRP with fastboot commands)

Made backup with TWRP, afterwards it asked me to reboot I said yes and then it asked to install root.

Is this okay?

Don't need to root with your tool now?

Thanks
[Nexus 5 Android Development] Ricky Divjakovski:
did you make the backup in recovery? also yes its fine to root your device then wipe data factory reset
[Nexus 5 Android Development] timvdlinde:
Yeah I made the backup in recovery, and now I copied the backup to my pc.
[Nexus 5 Android Development] Ricky Divjakovski:
keep the backup on device! incase anything ever happens, no matter what you will be able to fix ANY problem by restoring in recovery!!

and yes! proceed to root!
[Nexus 5 Android Development] timvdlinde:
Sorry I mean I have it on the device and on my pc, it's rooted now :D

Thanks a lot
[Nexus 5 Android Development] Ricky Divjakovski:
no worries, i dont get why some people get errors, its step by step.. :p
[Nexus 5 Android Development] timvdlinde:
I think most of them forget to enable usb debugging after unlocking bootloader. I almost did:cyclops:
[Nexus 5 Android Development] Ricky Divjakovski:
was gonna see, ive reviewed the tool hundreds of times, no errors.. :p thanks for using :D
[Nexus 5 Android Development] timvdlinde:
Sorry, you are limited to 8 thanks per day

THANKS
[Nexus 5 Android Development] Ricky Divjakovski:
ill thank you instead! :)
[Nexus 5 Android Development] Ricky Divjakovski:
would anyone like to make a video?
[Nexus 5 Android Development] ItzMar:
Ive tried to install TWRP around 12times, still no luck.. :(
[Nexus 5 Android Development] t0ph0id:
Thanks for this tool, but I'm still having issues.

I succesfully unlocked the bootloader, but cannotflash a custom recovery. I keep getting the 'the system cannot find the path specified'

I have got to device manager, portable devices > Nexus 5, uninstalled the driver. Scan for new hardware and it just reinstalls the same thing.

The device also show up device manager under Android Device > Android Composite ADB Interface

I have tried just dissabling the Nexus 5 drive under portable devices, still no luck.

I've done this sort of thing on all my previous devices but this is really proving to be a pain!
[Nexus 5 Android Development] wizard7926:
I can't seem to get drivers to stick.

Tried a different computer, and it stopped giving me the Samsung errors (surprise), but I go to try fastboot at the end of the unlock steps and the screen just goes black. How long should it take to get into fastboot once you hold the buttons down? I don't remember it ever taking that long. Eventually I can get it to boot up normally, but..
[Nexus 5 Android Development] mugenga:
I have the same exact issue lol. I'm going to try and do a fresh driver install on a computer that doesn't have any existing android drivers or ADB stuff. Probably won't be able to get to doing that for several hours though.

Edit: Nvm, I was able to get my bootloader unlocked. I needed to updated my sdk and I had to force my device manager to install drivers as a composite USB. My computer was always seeing my device as purely an MTP device without picking up as an ADB device. The above changes fixed that. I just manually ran fastboot oem unlock. I'll try and fastboot flash TWRP then root that way.
[Nexus 5 Android Development] incredulous:
Just use Chainfires Auto-Root and then flash TWRP manually via fastboot. Simples.
[Nexus 5 Android Development] Ricky Divjakovski:
make sure you remove all drivers, and follow instructions correctly, this tool cannot brick your device but follow instructions properly and you will get where you wanna!

the only problem is the flashing recovery issue that google will hopefully patch in their bootloader in their next update, i will report to google!
[Nexus 5 Android Development] killer946:
For the love of god don't use this program to unlock bootloader, flash recovery and then root all in one go. It doesn't let the device reboot before flashing recovery and rooting. It just ends in tears. Do it one by one.
[Nexus 5 Android Development] Ricky Divjakovski:
i had someone yesterday try 21 times -.- google has really pissed people off this time, hope they fix it in the next update, in the mean time, keep flashing! you will get there!
[Nexus 5 Android Development] spotdog14:
I for the life of me cannot get recovery to flash. I have tried CWM at least 12 times and TWRP maybe 4.

---------- Post added at 10:55 AM ---------- Previous post was at 10:49 AM ----------

I tried it CMW 2 more times and it finally worked!

---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------

I tried it CMW 2 more times and it finally worked!
[Nexus 5 Android Development] 75markus:
just unboxed my N5, unlocked, rooted & flashed CWM. loving it !

BTW, rooting with your toolkit didn´t work for me, so i used chainfires CFAuto Root ...
[Nexus 5 Android Development] Ricky Divjakovski:
i think the nexus 5 was released a little pre maturely... i cant get adb to run as root sometimes, theres the reboot error sometimes and the recovery not writing to the mountpoint...
[Nexus 5 Android Development] joqsan:
Guys i cant get this to run at all. I installed the drivers, made sure my USB debugging was on. push 1 to root unlock bootloader etc.. push walk me through it and it doesnt do anything....

EDIT: it says to hold down Volume up + Volume down and push the power button but my phone just turns off? Im super confused

---------- Post added at 12:53 PM ---------- Previous post was at 12:40 PM ----------

I cannot get my phone into fastboot mode

---------- Post added at 12:53 PM ---------- Previous post was at 12:53 PM ----------

i cant get my phone into fastboot mode
[Nexus 5 Android Development] spotdog14:
I had to put my phone into fastboot mode most of the time. Hold volume down + power button to get into fastboot mode.
[Nexus 5 Android Development] joqsan:
now im stuck on the boot screen.... wow this root method sucks
[Nexus 5 Android Development] spotdog14:
Can you still boot into fastboot? If so just try redoing whatever it was you were originally trying to do.
[Nexus 5 Android Development] joqsan:
guys someone help me please! i followed the steps and now im stuck in a bootloop! seriously it was easier to root my LG G2 than my nexus 5 wtf

---------- Post added at 01:23 PM ---------- Previous post was at 01:14 PM ----------

after it is rooted does it take a while for it to reboot?
[Nexus 5 Android Development] abdielol:
Just to make sure, can I restore to "stock" from the fastboot menu? Accidentally wiped ROM in TWRP and now I can't boot.
[Nexus 5 Android Development] spotdog14:
I'm not sure, but you should be able to still download a ROM and put it onto your N5 to be able to then flash that and boot.
[Nexus 5 Android Development] joqsan:
can someone answer my question please? When i run this it says my phone is rooted but it wont boot up just gets stuck on bootloop. Any idea's i tried reverting to stock it said it finished but still says its rooted

---------- Post added at 02:26 PM ---------- Previous post was at 02:15 PM ----------

I think I officially messed up my phone. I can still get into fastboot and i tried to revert to stock it said the process had finished but still wont boot up

can someone that knows what they're doing help me please.... please i just got my phone today
[Nexus 5 Android Development] Deggy:
Judging by the comments, I'm staying away from this toolkit.
[Nexus 5 Android Development] jjaacckk94:
Can i run this on a ubuntu machine? If not, where i can find a working tool on that?

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 5 Android Development] Triversity:
I did have the same problem as joqsan.

After rooting with Chainfire´s AutoRoot it booted again.
[Nexus 5 Android Development] magdap:
CAN YOU PLZ HELP! I have the same prob! Can you explain step by step what you mean with autoroot? where do you have it from? where did you install it?

BIG THANKS IN ADVANCE.

NEW phone already bricked.

EDIT: THIS HELPED:http://xdaforums.com/showthread.php?t=2507211
[Nexus 5 Android Development] Triversity:
Exactly that link worked for me, too.
[Nexus 5 Android Development] nitrogen618:
It'll be great for someone who successfully used to kit to make a Youtube video.
[Nexus 5 Android Development] wizard7926:
Thought I was finally set.. got it unlocked, but when I tried to flash CWM and root, I just got a red-triangle andy and spit out to the regular boot.

Can't figure out where I went wrong.
[Nexus 5 Android Development] javacody:
Backups don't work at all.
[Nexus 5 Android Development] ed33:
Tried for 3 hours, 2 different computers and recovery just won't stick.
[Nexus 5 Android Development] j0ff:
i tried five or six times. Worked eventually. Weird.
[Nexus 5 Android Development] Ricky Divjakovski:
There is no successful method to flash recovery first go... its something google has to fix it their bootloader! Just keep flashing it will eventually stick! When google releases a patched bootloader this tool will work straight away!
[Nexus 5 Android Development] daweeze02:
I ended up using the cf tool for root. I'll deal with twrp later. I just needed it for titanium backup for now.
[Nexus 5 Android Development] Ricky Divjakovski:
good news, me and kwongger are making an AIO super tool for this device!
[Nexus 5 Android Development] daweeze02:
Sweet, weird thing is I tried using goo manager for twrp this morning and after the 10 second countdown the page times out lol. Overall though I'm loving the phone over my S4

goo is showing invalid md5 actually
[Nexus 5 Android Development] Ricky Divjakovski:
hmm, wierd, contact goo about that, sounds like the wrong files been uploaded or its been infected by a virus?
[Nexus 5 Android Development] P.Mobile:
hello this wont work for me.. my driver are installed... i want to unlock the bootloader.. when i choose unlock bootloader.. it just reboots into the OS not the bootloader??? i tryied 3 times... cant i just go into fastboot on my pc.. put the phone in bootloader then type something to unlock it??? thanks
[Nexus 5 Android Development] Ricky Divjakovski:
try manually rebooting into bootloader then using the unlock bootloader
[Nexus 5 Android Development] PDP///M:
I had a hard time installing twrp as many in here have. What has worked for me perfect on two n5 phones and this tool kit is... After installing drivers, restart computer, open tool kit, volume down and power when phone is off, then plug USB into computer and unlock bootloader. Then unplug phone, restart computer, open tool kit, volume down and power, then plug into computer and flash twrp. I had tried many times with no luck till I did this on my 2 phones. Hope it helps someone.
[Nexus 5 Android Development] mZimm:
I'm stumped here...I've never had this much trouble with any Android device, much less a Nexus one.

I am stuck in the boot animation as many others that I've seen in this thread. I followed the previous instructions and selected to "Out of Box Restore". The Toolkit says this works fine, and I then go back into bootloader, flash TWRP, and then boot into TWRP to wipe before rebooting. However, when I select to perform the "Factory Data Reset", the reset fails, and the script indicates that mounting /system causes an error each time.

Any help would be appreciated. :good:

EDIT for anyone else who may encounter this issue:

My problem was solved by restoring to "Out-Of-Box" and instead of then installing CWM/TWRP recovery, going directly into the stock recovery and doing a factory reset there. After that completed, I was able to boot into android and proceed to once again reboot, install TWRP, root, and reboot once again. Happy flashing.
[Nexus 5 Android Development] KrazyAttack:
Same here, I can't get a recovery to install for the life of me tried both Kwongger and this tool.

I don't have fastboot to write the image that way, why would I not have fastboot if root was successful?

Bootloader is unlocked, it says so, if I open this tool next to main menu option 1 it says Rooted.

But no fastboot mode and if I try to go to recovery I just get the android recovery with the red triangle, tried flashing both CWM and TWRP.

GooManager is down so I can't try to install TWRP that way.
[Nexus 5 Android Development] Kwongger:
Flash the recovery and DO NOT reboot.

Navigate to recovery in the bootloader and select it. :D

Btw...

COMING SOON:
[Nexus 5 Android Development] oupavoc:
Went through the process to unlock bootloader, install recovery and root. Phone is stuck on the Nexus logo color. Not loading at all. Tried option 6 to revert to stock the process finished and still stuck at logo screen. Tool kit installed CWM instead of TWRP. Anyway to start fresh? Anyway help appreciated.
[Nexus 5 Android Development] KrazyAttack:
This tool automatically reboots after it flashes the custom recovery.
[Nexus 5 Android Development] Kwongger:
Flash manually then :D

fastboot flash recovery <recovery name here>.img

Try my toolkit http://xdaforums.com/showthread.php?t=2508817

Ricky and I are working together on a new and improved toolkit that'll be released this weekend.
[Nexus 5 Android Development] oupavoc:
Should I try unbrick/restore?

or should I just try and flash the factory image back on the device using flash-all.bat?

thanks man!
[Nexus 5 Android Development] Kwongger:
Unbrick.
[Nexus 5 Android Development] oupavoc:
I did that and this is what I'm getting? Userdata failed? is that normal?

Then it started asking is if booted or not and then a series of other questions!!!

Edit:

Trying it again! I got an error!

Edit2:

getting this fastboot issue?

Asking me to go into recovery and wipe data/factory reset!
[Nexus 5 Android Development] Jgm3590:
maybe i am doing this wrong i have never rooted a nexus but i have rooted a bunch of other devices and they all work why cant i root this one ...... when i run the tool it just says waiting for device and just stays there and i did install the sdk tool kit and i did put it into bootloader mode...... am i missing something
[Nexus 5 Android Development] oupavoc:
Ok after a fresh start, everything went ok this time around! Thanks a lot :)