yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] jjhiza:
You should be able to run this again without issue, or you could just flash Chainfire's SuperSU zip, and accomplish the same thing. :thumbup:
[Nexus 5 Original Android Development] jtrentha:
Thanks. Yeah, I tried flashing the superSU update zip from recovery (I'm on TWRP 2.6.3.4) several times and it kept failing, hence looking for an alternative solution. Couldn't figure out why... A different recovery maybe??? It seems others have reported similar experiences.
[Nexus 5 Original Android Development] jjhiza:
Hmm, strange... I rooted manually, and flashed SuperSU 1.80 from this thread - http://xdaforums.com/showthread.php?t=2507905 - and didn't have any issues with TWRP.

Hopefully someone who's had and solved this same problem, can help you out. Did you try dirty flashing your ROM, kernel, and the SU zip again? That's worked for me on my Galaxy Nexus.
[Nexus 5 Original Android Development] Samsunginfuser96:
For the galaxy s3, Just boot into download mode or is it different?
[Nexus 5 Original Android Development] jjhiza:
Is this method even viable on the S3? I have zero knowledge with that device, but I wouldn't suggest using this (this is the Nexus 5 thread after all) unless you're 100% certain that it will work. I was under the impression that Samsung devices required Odin or Heimdall...am I wrong?
[Nexus 5 Original Android Development] jtrentha:
Dirty flashed full ROM, gapps and supersu update zip to no avail. Curious..... I've been wanting to try Cataclysm ROM so at this point I'll just let my anal side kick in and go back to stock, root again and install cataclysm.
[Nexus 5 Original Android Development] aheeejd:
I have downloaded twice now, watched a couple videos (qbking77) extracted files, double click windows exe, the black box shows up, I plug phone in, hit any key to continue & it just sits there, on the PC screen it says waiting for device. Just got phone a few hours ago, anything anyone can think of. Tia

Edit - Never mind, it was the drivers needed updating, after I did that, this worked flawlessly. Thank you so very much chainfire
[Nexus 5 Original Android Development] Maxx247:
can i root my nexus on 4.4.2 version of android using this method ?
[Nexus 5 Original Android Development] remixkilla:
Yes
[Nexus 5 Original Android Development] andreas_h92:
i don't know if anyone asked it again, but once root my nexus 5 with cf-root i could make some gamma adjustments? with the Nexus 5 gamma reverse engineering App that posted somewhere else in xda forums

thanks and appreciate your work. i was cf-rooted on my galaxy before :)
[Nexus 5 Original Android Development] :
Hi,

Yes... But you need a custom kernel that supports these settings if you want to use the app...

:)
[Nexus 5 Original Android Development] KuChar_:
How should i install franco kernel without installing custom recovery?

I have already root
[Nexus 5 Original Android Development] Primokorn:
Use fastboot command with the .img file of Franco kernel:

fastboot devices
fastboot flash boot name.img
[Nexus 5 Original Android Development] Chronzy:
Thanks Chainfire!

7RD35591WH690172G
[Nexus 5 Original Android Development] roddem:
does this also unlock the bootloader?
[Nexus 5 Original Android Development] Laurentyu1995:
Yes
[Nexus 5 Original Android Development] azlan96:
There is 52 pages for me to read, I dont have the time, so sorry for asking this question but...

If I use this tool to root and unlock bootloader, can I still receive the OTA and update the phone like normal?

Because on my Galaxy Nexus, Unlocking the bootloader, I can still apply the OTA and update, rooting, nope... no OTA's
[Nexus 5 Original Android Development] Laurentyu1995:
If you only root (also this will unlock your bootloader) with thia method and you will not install another kernel/recovery/mod or delete something from system you can receive OTA and update the phone like normal ( but after update you'll need to reinstall SuperSu or even run again CF-Autoroot). Correct me if i'm wrong
[Nexus 5 Original Android Development] VincibleStatue4:
Hey, I did this and it says "waiting for device" even in Boot loader. Why is this and how can I fix it? Thanks.
[Nexus 5 Original Android Development] david279:
Fix your drivers
[Nexus 5 Original Android Development] VincibleStatue4:
How do I do that? I have tried looking in "device manager"
[Nexus 5 Original Android Development] david279:
Google n5 drivers or search here
[Nexus 5 Original Android Development] VincibleStatue4:
No luck

I tried to download the drivers from here

http://www.theandroidsoul.com/nexus-5-driver-adb-fastboot-installation-guide/
[Nexus 5 Original Android Development] david279:
Use the universal driver. Uninstall old drivers before you start.
[Nexus 5 Original Android Development] jjhiza:
Correct me if I'm wrong here guys (because I run Linux), but doesn't Windows automatically install device drivers, the first time the device is plugged into a USB socket?

I ran Windows for years, prior to switching to Linux, and I've never had an issue installing the correct drivers. The devices in question, that I used with Windows are as follows - Galaxy Nexus (Toro), Acer A500, Droid 3, OG Galaxy Tab 7" (SCH-i800), and the Motorola Droid.

I've used Odin, Heimdall, and the SDK to install drivers, and I've never had a problem, so I'm slightly confused by all the issues people are having, installing Nexus 5 drivers.

I also feel that honestly, if you're going to spend all of this time to install drivers, why not increase your Android education, and root manually (adb and fastboot)? Toolkits are supposed to save time, not make things more frustrating.

I'm clearly biased, since I'm a staunch proponent of manual rooting, but I'm amazed that so many people are having issues, doing something that *should* be fairly routine.
[Nexus 5 Original Android Development] VincibleStatue4:
For the most part, yes but my system is being a bit funny. I first got an error in installing the drivers then it seemed fine but it wouldn't work.
[Nexus 5 Original Android Development] jjhiza:
Have you tried simply clearing out the extra drivers that Windows already has installed. I remember having a slight issue with my Galaxy Tab, and cleaning up my driver cache worked.
[Nexus 5 Original Android Development] VincibleStatue4:
I am going to try on a laptop see if that works. If not I'll just go though all the drivers and stuff.
[Nexus 5 Original Android Development] zof9i6:
Im having issues too. My 1st time with nexus phone.

I've root before with Htc1, s3, s4, note2 and 3.

Evrytime i root it was always success on 1st try. But with nexus 5 I'm having problem driver installed but not complete to do the rooting.

Tried on 3 different computers and on linux, win8 and win7. None worked for me
[Nexus 5 Original Android Development] Primokorn:
Does your phone in fastboot mode? Do u have fastboot drivers on your PC?
[Nexus 5 Original Android Development] zof9i6:
Finally got root. I use the wug nexus root toolkit to unlocked it first but that took some time to get it to recognize device.

Then I use CF to root it

Thanks
[Nexus 5 Original Android Development] SynchroDrive:
I used this last night, thanks man! Everything works fine.
[Nexus 5 Original Android Development] dannyella:
I always opt for manual rooting.. I don't trust all these 'one click root' and all..plus it gives me opportunity to learn new stuff..
[Nexus 5 Original Android Development] renaud:
Crappy stuff, it wiped the device............................ :eek:

Even if the phone was already unlocked, the wipe is in the kernel you boot with fastboot....

DO NOT TRY WITH AN ENCRYPTED PHONE, YOU WILL LOSE EVERYTHING... It doesn't verify anything or asks you your password, it justs wipe if it's encrypted.
[Nexus 5 Original Android Development] mrcreativity:
Thanks for this. As always, chainfire, you sir, rock. Locked the bootloader and changed the tampered state using bootunlocker.
[Nexus 5 Original Android Development] renaud:
I repeat, and it should be written on the main page: DO NOT ATTEMPT TO USE THIS IF YOU ARE ENCRYPTED

It's actually worse than it looked, if you use this when encrypted, it will wipe your data, but also if you encrypt again, you are good to flash a factory image as the phone won't boot anymore.
[Nexus 5 Original Android Development] Hoyos:
i might be doing something wrong, but its not working for me, i downloaded, ran the file, my phone is in fastboot mode, and nothing. the program is running but nothing, can i get some help. should usb debugging be on? things like that, i even tried to root it on a Mac
[Nexus 5 Original Android Development] Primokorn:
Yes check usb debugging. Did u install fastboot drivers?

Enter this command in cmd: fastboot devices (to see if your device is recognized)
[Nexus 5 Original Android Development] Hoyos:
That cmd is for the Mac correct?

Edit: Ok i got it to work, thank you for your help, much appreciated, if i could give you thanks twice i would
[Nexus 5 Original Android Development] Randomacts:
nvm
[Nexus 5 Original Android Development] r_tarandus:
My phone keeps "losing" root. It'll work for a few days, then all of a sudden SuperSU will say that "There is no SU binary installed, and SuperSU cannot install it." I just plug it right back in and go through the rooting process described in OP to regain root. I feel like something is wrong and this is abnormal, though. What gives?
[Nexus 5 Original Android Development] Primokorn:
You probably did something wrong to lose your su binary. If you have a custom recovery you can flash the SuperSU zip file to regain root.
[Nexus 5 Original Android Development] Blario:
I've been in driver hell for over a week with this device. I assume LG can be blamed for this. You can tell from the number of problems everyone is having that the driver it requires is as rate as a unicorn.

You have to love all the "install the driver" replies. As if finding a unicorn was that easy, wouldn't everyone be riding one by now???

I saw David say install the universal driver. Anyone care to explain what that is? If he means the LG electronics package, I installed that and it didn't work.

In car it isn't obvious, the problem everyone seems to be having is the fastboot driver. **Explicitly**, what fastboot driver actually works??
[Nexus 5 Original Android Development] torcator:
Guys, sorry for the dumb question...

is there any way to root the nexus 5 from a mac?

unfortunately my windows computer is not working property right now..
[Nexus 5 Original Android Development] educk:
Well, that's not possible unless you read the OP...
[Nexus 5 Original Android Development] torcator:
thanks for the quick response...

what's the OP?
[Nexus 5 Original Android Development] habitformer:
O.P ='s "O"original "P"ost or "P"oster depending who you ask.It refers to the person who started the thread (I.e 1st post in the thread)(normally where all info about the thread topic can be found)

I replied because I couldn't tell of you were being sarcastic.reading has a tendency to make people misinterpret.
[Nexus 5 Original Android Development] EPayne123:
Or LACK of reading lol
[Nexus 5 Original Android Development] Blario:
3 different macs and not one sees this devices in fastboot mode. clearly installing the android sdk isn't doing the trick. anyone care to confirm how their mac saw the n5 in fastboot mode. all i see is "install the sdk" but that isn't working. anywhere. so what's the trick?
[Nexus 5 Original Android Development] lferrin:
I used the wugfresh toolkit to unlock boot loader, root, and install recovery. Works like a charme
[Nexus 5 Original Android Development] Primokorn:
So why do u post here? :D
[Nexus 5 Original Android Development] lferrin:
I had issues like a few people here after using cf auto root. I lost root and my recovery got messed up some how. I used wugfresh and it fixed both. I was just stating because it looks like a few other people had issues. Didn't mean any disrespect or anything. Just putting it out there.
[Nexus 5 Original Android Development] Blario:
For the first time today, the Mac (mavericks btw) saw the n5 in fastboot mode. I quickly ran the cf-auto-root and finally the device is usable. Very strange.... I actually wonder if Little Snitch had anything to do with it. It just happened to be off by accident this morning. That's the only thing I can think of....
[Nexus 5 Original Android Development] PMamba:
Here's what I did to resolve the waiting for device issue that I was having because of the driver on Windows:

Download the Google USB Driver zip file from here

Extract the zip file

Plug your Nexus into the computer while it's in Fastboot mode

Then follow the instructions on here where it says "To install the Android USB driver on Windows for the first time" (the Windows 7 section will work for Windows 8)

Try CF Auto Root again and it should work
[Nexus 5 Original Android Development] grifta67:
Just double checking that nothing's changed since the last time I looked into unlocking/rooting my N5. There's still no way to get unlocked, and therefore root, without having the phone get wiped in the process, correct?

Thanks
[Nexus 5 Original Android Development] jd1639:
Unlocking will wipe your device

Sent from my Nexus 5
[Nexus 5 Original Android Development] Metaception:
Will this work with a Canadian Nexus bought from the Play Store?

EDIT: Works like a charm, so much easier then my One X :)
[Nexus 5 Original Android Development] Not too sure:
This worked for my driver issue

Following this Youtube video fixed my driver issues quickly after a couple of hours of trying different things. If it's been posted in here somewhere I apologize, but it looks like people are still having issues with drivers so I thought I'd share what worked for me:

https://www.youtube.com/watch?v=maLWScgXflk
[Nexus 5 Original Android Development] Fuegeaux:
This fixed my issue as well.
[Nexus 5 Original Android Development] laurochristian:
Works on Nexus 5 with Android 4.4.2 (KOT49H)?
[Nexus 5 Original Android Development] gilliardmelo:
Surely.
[Nexus 5 Original Android Development] Primokorn:
Of course it works.
[Nexus 5 Original Android Development] Sh0rty007:
Hi,

I'm on stock ROM with custom recovery. Had root and installed something through custom recovery. Now, my root is gone. Still have unlocked boot loader I think.

What is the best way to go to get root again?

I know with sgs3 you could just run cf_root in custom recovery but I'm new with nexus :)
[Nexus 5 Original Android Development] jd1639:
Flash supersu zip in your recovery

Edit http://download.chainfire.eu/396/SuperSU/UPDATE-SuperSU-v1.94.zip

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sh0rty007:
Do you have a link please before I make a mistake. Just all new now to me :)

And why did I lost root in the first place? Because I run stock rom ?

Edit: found it!.

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] jd1639:
Don't have a link. Just download supersu.zip to your phone. Boot into recovery and flash it. That's all you need to do

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sh0rty007:
Don't get it. Already flashed it twice but don't get root access.

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Nexus 5 Original Android Development] jd1639:
How do you know you're not rooted?

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sh0rty007:
Because I installed helium for backing up my apps and it won't get root access. So I downloaded a root checker from the play store and it says no root. Also super su is suddenly not on my phone anymore. Weird....

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] jd1639:
Try downloading super su from the play store. Then have it update the binaries. I think that will solve it

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sh0rty007:
And that solved it! Thank you :)

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Nexus 5 Original Android Development] jd1639:
You're welcome

Sent from my Nexus 5
[Nexus 5 Original Android Development] Smerks:
Worked excellent on my brand spanking new Nexus 5. Now if someone can come up with something that reminds me to not set up my phone so quick that I forget itll get wiped when I unlock the bootloader. :P

Thank you for your efforts sir!
[Nexus 5 Original Android Development] puccaso:
plz help.... su hang.. :(

i downloaded an arm version of fastboot

and processed the contents of the script manually

it did the fastboot oem

and unlocked

then i did the img upload, and i saw the red android,

though i had to do them seperatly,

and now - although the device is unlocked, and su is installed

it doesnt work?

in term when i type su it just hangs

and supersu says my binary needs to be updated but also hangs#

any ideas?

plz help :(
[Nexus 5 Original Android Development] vijaysivakula:
How to unroot

HI,

I bought a Nexus 5 last night and rooted using this tool. Today morning I was told that if i root the Nexus I would not get any updates from Google. Would it be possible to remove the root? Or is there any toggle for the Root?

I have not touched the bootloader or the recovery. I am trying to keep it as stock as possible with just simple root for apps like TItanium to work.
[Nexus 5 Original Android Development] :
Hi,

You are rooted without "touched" the Bootloader... :eek:, your Bootloader is unlocked now.

To read about updates: [INFO] Nexus 5 OTA Help-Desk.

Maybe also useful: [TUTORIAL] How to flash a factory image | Return to stock | Unroot.

:)
[Nexus 5 Original Android Development] vijaysivakula:
HI,

Will i get updates from Google after using this tool to root my Nexus 5? Also what will happen if I do a factory reset? Will that work normally and remove all the apps and data or will that brick my device? I have never had a nexus before and feel like a newbie when it comes to this device now. Please help. Thanks in advance.
[Nexus 5 Original Android Development] jd1639:
You won't brick you're device if you do a factory reset and you'll probably get the ota, but you will lose root

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sh0rty007:
I think a factory reset won't lock your device or does it? Don't you need to follow up the unroot process?

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Nexus 5 Original Android Development] vijaysivakula:
Chainfire - Please help!

Hey Chainfire.

You have been so good to give us this easy rooting tool. I request you to also help us with an Unrooting tool that is as easy.Coming from you would make it more authentic and useful instead of us running from page to page and thread to thread trying to make sense if they would work with this thread or not. HELP!!!
[Nexus 5 Original Android Development] laviazovi:
is there a way to root my nexus5 without wipe my device?

or a temporery root?:D
[Nexus 5 Original Android Development] jd1639:
If the bootloader is locked, no, you're device will be wiped when it's unlocked
[Nexus 5 Original Android Development] vijaysivakula:
what next for me?

HI Guys,

If i cant go back to stock what do i do next? Now that this is rooted and boot unlocked do i have to install a custom recovery? can i follow step 3 mentioned in this link - http://xdaforums.com/google-nexus-5/general/guide-nexus-5-how-to-unlock-bootloader-t2507905 ?

I would like to install Cyanogenmod or Paranoid Android and can i do that now?

Regards
[Nexus 5 Original Android Development] blady-jack:
Chainfire, thank you very much for your work.

Small donate: 2EF23904L36771749

:)
[Nexus 5 Original Android Development] nad4321:
I get an error, it says:

The system cannot find the specified root

The system cannot find the specified root

Any ideas?

EDIT: now it says <waiting for device>

and thats it...
[Nexus 5 Original Android Development] dusanzk:
If we root using this method what happens when an OTA comes out, can we simply install the update or does the bootloader need to be relocked, apply OTA and then root again ?
[Nexus 5 Original Android Development] theorioles33:
Yeah you should be a millionaire by now man!! My Nexus 5 is coming Monday and I will be throwing more money at you! :)
[Nexus 5 Original Android Development] Khaiyan:
Ermm, not sure why everyone here is saying no custom recovery is available. An unofficial CWM has been ported over.

http://xdaforums.com/showthread.php?p=47020495#post47020495
[Nexus 5 Original Android Development] Haeretik:
Nicely done :) Great work as every time ^^
[Nexus 5 Original Android Development] Michealtbh:
Are you in fastboot mode?
[Nexus 5 Original Android Development] nad4321:
Yeah i press the down volume and the power...
[Nexus 5 Original Android Development] JCreazy:
Maybe because that was just posted?
[Nexus 5 Original Android Development] sewer56lol:
There was none earlier
[Nexus 5 Original Android Development] timvdlinde:
Do I need to flash a custom recovery like CWM or can I just root and then install a kernel with like the Franco Kernel Updater.

Thanks
[Nexus 5 Original Android Development] sewer56lol:
Now as an alternative method you can flash a recovery then SuperSU through it. However it needs unlocked boot loader so you can't do anything without wiping your data

We don't have kernels yet.
[Nexus 5 Original Android Development] :
Thanks Chainfire! Two beers on their way!

Confirmation number: 73U33427VG498950J
[Nexus 5 Original Android Development] Kristi-Tech:
You are a GOD! Thanks :good: :laugh:
[Nexus 5 Original Android Development] steezc:
damn you're fast :victory::good:
[Nexus 5 Original Android Development] finesse:
Thanks!

I am using the stock ROM and I have managed to root the device. However, how do I install Busybox?
[Nexus 5 Original Android Development] marinierb:
https://play.google.com/store/search?q=busybox
[Nexus 5 Original Android Development] Lucke:
holy crap... that was a lot faster than i thought... thanks :good:
[Nexus 5 Original Android Development] leomd333:
Thanks man! shall root as soon as i get my N5 :D
[Nexus 5 Original Android Development] dlinktm:
Great and super!
[Nexus 5 Original Android Development] jd1639:
You need a custom recovery to flash a custom rom. I would also recommend a custom rom if you're rooted so that you can make backups before you change things. It always good to have a nandriod backup just in case bad things happen

Follow the link you posted
[Nexus 5 Original Android Development] laurentiudll:
can i receive 4.4.3 future update on my nexus 5 ?

can i receive 4.4.3 future update if i root and unlock my nexus 5 ?
[Nexus 5 Original Android Development] jd1639:
Yes
[Nexus 5 Original Android Development] sucro:
Right now rooted my N5 purchased from USA GooglePlay, and it worked like a charm ;)! Tnx chainfire for great work like always ;)! For fast boot drivers, not necessary install whole AndSDK, just use small app created by snoop in thread bellow,

http://xdaforums.com/showthread.php?t=2588979

and it will install correct drivers for Win 7 x64, in my case...

Cheerzz ;)!
[Nexus 5 Original Android Development] Notechis:
Is there a way to remove inbuild superuser, script e.g. For CM I found an Option at SuperSu Menu for example?
[Nexus 5 Original Android Development] Primokorn:
SuperSU manages root access after flashing SuperSU.zip. no need to remove SuperUser.
[Nexus 5 Original Android Development] Notechis:
There is for sure a need, at least a clean setup and look ...CM manages this good in combination with SuperSu
[Nexus 5 Original Android Development] matt.adid78:
Delete
[Nexus 5 Original Android Development] jd1639:
Chain fire makes an auto root method for a number of devices. The root method is dependent on the device so you can't use the same auto root across devices