yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] enzosly:
Not sure what I'm doing wrong. I'm in download /fastboot mode and I have cf auto root up and i hit enter and all it says is waiting for device. Nothing is going on with the phone its just sitting in fast boot mode. The computer recognizes the n5 so what am I doing wrong??
[Nexus 5 Original Android Development] Philthy82:
Quoting for those wondering why their root hangs at "waiting for device" - this worked for me.
[Nexus 5 Original Android Development] pittnuma:
Use Adaway, IMHO better than adblock plus

Just waiting for an official Custom Recovery, tried some of the unofficial but I get a red triangle.
[Nexus 5 Original Android Development] adrman:
Download Adfree from bigtincan's site. I've used it on several devices and it doesn't seem to affect the battery.
[Nexus 5 Original Android Development] shogun160:
Great Tool! Thanks a lot. Took me 2min to root after unboxing my N5.

Only the command for Mac OSX is not right.

You have to type "sh root.mac.sh" instead of "run root.mac.sh"
[Nexus 5 Original Android Development] justinverschoor:
I use AdAway and as far as i can see its do not affect my battery at all. Unfortunately its only hide ads in the the chrome browser and not inside an app.

EdIt:

it's seems like its working properly right now. I can't see any annoying advertising anymore!
[Nexus 5 Original Android Development] Rufufu:
It worked well on my end! I was a little scary when I press enter the last time before the phone reboot and the command windows closed, but now I am happy.

If I am understanding well, when an OTA update will come, I will be able to install it because I keep stock recovery using this tool, but I will loose root.

If there is no big changes in the OTA, will I be able to use this tool again to root after OTA update?
[Nexus 5 Original Android Development] nitrogen618:
After using this to root, may I use goomanager to install twrp?
[Nexus 5 Original Android Development] xtothec:
thank you, worked perfect!
[Nexus 5 Original Android Development] nitrogen618:
Also, do I need to install USB drivers before using this?
[Nexus 5 Original Android Development] Primokorn:
Yes: http://www.theandroidsoul.com/nexus-5-driver-adb-fastboot-installation-guide/
[Nexus 5 Original Android Development] aaron.bufc:
As always Chainfire, works perfectly. Piece of cake. Thanks.
[Nexus 5 Original Android Development] xdaywalkerx:
i have to return my device becaus of some hardware issues but my device is already rooted with cf-tools - how do i went back to a closed bootloader respectively to a stock state?

thx in advance

EDIT: shame on me and thx to the user Primokorn below.
[Nexus 5 Original Android Development] Primokorn:
http://xdaforums.com/showthread.php?t=2513701

CF Auto Root applied. Thanks again Chainfire :cool:
[Nexus 5 Original Android Development] Willz:
On mac:

- downloaded files and extract onto desktop

- I enable USB debugging

- put phone in fastboot

- open terminal

- type: chmod +x root-mac.sh

no such file or directory

Can someone please help, with very specific details for mac??

---------- Post added at 04:23 PM ---------- Previous post was at 04:04 PM ----------

This still does not work for me.

I drag the file from the desktop into the terminal, then hit enter?

Then I type sh root-mac.sh

It still just then says "no such file or directory"

Can some PLEASE list very very detailed steps... I am not understanding exactly what I am suppose to type and when...
[Nexus 5 Original Android Development] LexLuth0r:
Since installing whenver I go into Recovery mode I can see a dead android with a explanation mark on his stomach which errors 'no command' is this normal?
[Nexus 5 Original Android Development] nelsonator1982:
The root doesn't install recovery.......use and or flashify......and if u did u must boot into it right away or stock recovery will flash itself back over twrp
[Nexus 5 Original Android Development] wwjoshdew:
I made a video on how to root the Nexus 5, and it's VERY easy thanks to [MENTION=631273]Chainfire[/MENTION]!

http://www.youtube.com/watch?v=w3beFx-3Ic4&
[Nexus 5 Original Android Development] bryanus:
Make sure you are actually IN the directory first, before running the sh command.

First, open Terminal and type 'sudo su -' (without tick marks). This will make you the root user.

Then type 'cd', and then drag in the extracted CF-Auto-Root folder into Terminal and hit Enter key.

Now type 'chmod +x root-mac.sh'

Get your phone in Fastboot mode and connected by USB.

Now run the command 'sh root-mac.sh'
[Nexus 5 Original Android Development] LexLuth0r:
Is flashify safe on the n5? Don't wanna brick my device. I don't care about going into recovery at the moment just didn't know if was corrupted!
[Nexus 5 Original Android Development] nelsonator1982:
I used flashify for my twrp recovery worked great look in the twrp thread me and other people had multiple posts about it working.....
[Nexus 5 Original Android Development] Deggy:
Just flashed twrp recovery via flashify and confirming it works and no issues.
[Nexus 5 Original Android Development] nelsonator1982:
Try to help people can't even get a thumbs up or thanks kids these days lol
[Nexus 5 Original Android Development] SeanBlader:
After much consternation as to why windows 7 or 8.1 were not detecting the n5m I finally switched to the cable that came with it and it worked.

*sigh*
[Nexus 5 Original Android Development] ix3u:
Has anyone else notification LED stopped working properly after using this? It's literally the only thing I've done to my phone since I got it. I don't get a light on when charging and Iv'e only seen it light up 2 or 3 times since rooting (and yes, I have gotten more than 2 or 3 notification worthy things :p). So just curious as to if anyone else has noticed
[Nexus 5 Original Android Development] fireboypr:
Does Adaway works on your nexus 5? I tried it but it gives me an error while applying new hosts...
[Nexus 5 Original Android Development] torana355:
You need to be in the directory that you extracted the cf root files to first.

To do this

1 move your cf root folder to the desktop

2 open terminal

3 type in cd with a space after it

3 drag the folder from the desktop into the terminal window

4 press enter

5 then type in su root-mac.sh NOTE: NO need to chmod the script doing it my way.

6 press enter.
[Nexus 5 Original Android Development] scottp05156:
thank you x100000000000000000 this was driving me crazy!!!
[Nexus 5 Original Android Development] .jond:
Thanks chainfire!

Worked well. I bought the full version of your SU app as a thank you.

Note to others:

I first made sure to get the drivers updated(to the naked ones), which on XP, you have to browse to the driver file manually.

If you try to let XP find the driver inside a folder, it won't because the driver isn't signed.

.
[Nexus 5 Original Android Development] AndroidUzer:
CF-Auto-Root & retaining data?

In the OP:

"Note that if your device had not been unlocked before, this procedure will wipe all your data!"

To me this implies that if you unlock in fastboot prior to performing CF-Auto-Root the data will be retained?

Can anyone confirm this?

Thanks
[Nexus 5 Original Android Development] Andrew025:
That is correct.
[Nexus 5 Original Android Development] Treshy:
Can confirm this, I just did exactly what you said and I have not lost any data.
[Nexus 5 Original Android Development] Primokorn:
AFAIK we unlock the bootloader via fastboot / not adb (HERE) and unlocking the BL wipes user data.
[Nexus 5 Original Android Development] AndroidUzer:
my mistake

That is what I meant to type...

So running fastboot oem unlock in fastboot will wipe my data no matter what?

To word it differently, there is no way for me to run CF-Auto-Root and retain my data?

Thanks!
[Nexus 5 Original Android Development] Primokorn:
Not with Android 4.4 bootloader. It was possible on 4.2.2 but not on our N5.
[Nexus 5 Original Android Development] deolarte:
So best bet would be to install app monster pro which is free today btw on amazon app store. Back up all apps, transfer to computer. Unlock then transfer files back and then restore. (off course with out app data, and not having to transfer old phone tb back folder, too much sense crap)

Or is there any place in the phone storage where we could store these files and not having them erased. Sorry first phone with out microsd card. Ever, and that includes the Sprint Blade flip phone.
[Nexus 5 Original Android Development] Primokorn:
No everything will be wiped including /sdcard so backup your personal data on your computer or Cloud.

FYI Helium app seems to work well for this job too. ;)
[Nexus 5 Original Android Development] deolarte:
Thanks, thats what I thought, I was hoping to not root but I think I need Greenify. I have to now reload 4 nexus 5. :(
[Nexus 5 Original Android Development] LexLuth0r:
I've only read your message and thanked you:) I need to do some reading as this is my first Nexus and don't wanna brick it but will check out Flashify as could save alot of time.
[Nexus 5 Original Android Development] nelsonator1982:
In the twrp thread I asked the op to add the flashing way to his original post trust me.....download the recovery and flashify......open flashify click flash recovery select your tarp recovery......then flash it and tell it to reboot.....make sure u select reboot or it won't stick and finally enjoy your recovery.....
[Nexus 5 Original Android Development] Treshy:
i think i misunderstood you... unlocking the bootloader always cleans your device... but if you already have unlocked, you can savely run cf autoroot and it will return something like "bootloader already unlocked" and just continue to root... you will loose your data, once...

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] NlBO:
Bricked my device...
[Nexus 5 Original Android Development] nelsonator1982:
How???
[Nexus 5 Original Android Development] CatThief:
Great video! And it's especially entertaining toward the end. :) Love your enthusiasm.
[Nexus 5 Original Android Development] 850RPM:
from what I read was supposed to reboot one or two times, my phone reboot three times, but finally works beautiful.
[Nexus 5 Original Android Development] tommy96814:
can i root without wiping? keeping bootloader locked, just to installed titanium backup, adblock and custom fonts...
[Nexus 5 Original Android Development] nelsonator1982:
No you can not
[Nexus 5 Original Android Development] NlBO:
I was doing the process, it got to where it rooted it and where it was supposed to restart my phone, now its stuck in bootloop and I cant flash it back to stock using anything. I have no idea what to do. Im stuck with a useless Nexus 5.
[Nexus 5 Original Android Development] torana355:
Can you boot into fastboot mode? If so you can flash the factory image from there.
[Nexus 5 Original Android Development] PopeJupiter:
Windows won't recognize fastboot N5

I've been trying to get my computer to recognize my brand spanking new Nexus 5 while in fastboot with no success. I downloaded the LG drivers, and it sees it just fine when the phone is booted up, but it just shows "Android" as the only connected device in the device manager, and it won't find the drivers or recognize it when I connect it while in Fastboot.

I tried downloading the SDK, but some of the files ask for a password when I go to extract them. I downloaded it directly from the Android developer's website.

Can someone point out what I'm doing wrong?

If it helps, I'm on a Windows XP machine, and it's the Sprint N5, if that matters at all.

Any help would be greatly appreciated.
[Nexus 5 Original Android Development] sylar12:
Hi all,

Just having right now a BIG problem with my all new N5. I have a mac and I just tried to unlock my bootloader. Since then, my phone looks bricked, and does not respond to the power button.

Here is exactly what I have done se far:

- downloaded the ZIP archive from the thread

- unzipped it and run : chmod +x root-mac.sh

- then ./root-mac.sh. Here is what I get:

Failed to execute process './root-mac.sh'. Reason:

exec: Exec format error

The file './root-mac.sh' is marked as an executable but could not be run by the operating system.

- So, I just ran then: sudo chmod +x tools/fastboot-mac

- And finally: sudo tools/fastboot-mac oem unlock

So, here, my phone asked me (on the screen) if I was sure to unlock the bootloader. I clicked on yes, and then :

- the screen turned off,

- I got on the shell:

... ERROR: usb_read failed with status e00002ed

FAILED (status read failed (No such file or directory))

Since, my phone does not respond to anything, the power button has no effect.

So, any idea on what has just happened? I was just unlocking the bootloader through fastboot, so no heavy tweaking here...

Any help would be buch appreciated, but I have the feeling that my N5 is now a (pretty) brick...
[Nexus 5 Original Android Development] Primokorn:
Uninstall your drivers then reboot your computer.

Follow this guide
[Nexus 5 Original Android Development] exzR:
this tool can go back and relock bootloader and stock phone for warranty? because i used it but now i must send to warranty and i don't want any problem because it's unlocked
[Nexus 5 Original Android Development] Primokorn:
C F A U T O R O O T so you can't go back to stock with this file... Check this out.
[Nexus 5 Original Android Development] exzR:
i do it but when i bought phone is bootloader was zzh10X and now zzh10d (other it's ok)... i dont know if for this things they can take my phone wihout warranty..do it?
[Nexus 5 Original Android Development] xeraphael:
Sorry if this sounds like a noob question, but does anyone know how to clear SuperSU's app data?

The 'Clear Data' button is greyed out for the SuperSU app. I've tried manually deleting SuperSU's data folder from /data/data, but for some reason it didn't seem to work either - SuperSU's settings are all still intact when the app is relaunched. Any help would be appreciated, thanks.
[Nexus 5 Original Android Development] Primokorn:
If you flashed all factory images and relocked the BL the warranty isn't void. I don't know what is the difference between zzh10X and zhh10d, though.
[Nexus 5 Original Android Development] stayRooted:
I don't know why I am having trouble rooting this phone. I am using the windows method. I have downloaded the zip a couple of different times to see if is was a bad download. I've extracted the zip file, put phone in fastboot mode (power button + volume down), then I Run - Windows:

--- Run root-windows.bat on my computer, connect my nexus device, press any button on computer to continue, and thats as far as I get. The windows.bat file just says "connect a device" or something along the lines of that, I don't know if those are the exact words. But anyway, I've left it plugged in for a few minutes and nothing happened. It doesn't recognize my device. Does anyone know what I may be doing wrong? Thank for you advice in advance.

Note: I am using the same usb cable provided with the nexus 5
[Nexus 5 Original Android Development] nelsonator1982:
You didn't say you put the phone in fastboot then connected did you?

---------- Post added at 04:24 PM ---------- Previous post was at 04:23 PM ----------
[Nexus 5 Original Android Development] nelsonator1982:
I did it all before then ran the .bat

---------- Post added at 04:34 PM ---------- Previous post was at 04:33 PM ----------

Edit might wanna try and reboot your computer and unplug the USB and replig in might help after the driver install
[Nexus 5 Original Android Development] stayRooted:
Alright thanks. I'll try it.
[Nexus 5 Original Android Development] sohell:
I had the same issue. Check Device Manager, and re install the driver by pointing it to the SDK folder.
[Nexus 5 Original Android Development] stayRooted:
What do you mean point the driver to the SDK folder? I have the latest android SDK for windows downloaded

Sorry for the misunderstanding on my part. This is my first Nexus device so I am not familiar with fastboot.
[Nexus 5 Original Android Development] sohell:
Sorry for being unclear

I also have the SDK installed, but the driver didn't. I had to go to device manager, and when it asked where to find the driver, I had to point it to the SDK folder. Windows then found the correct driver, and then chain fires batch file worked perfectly.
[Nexus 5 Original Android Development] stayRooted:
I see what you mean now. Thank again for your help.
[Nexus 5 Original Android Development] sylar12:
Chainfire, just a rapid question: which version of the fastboot binary have you been using in your zip archive? I downloaded the last version of the sdk (for mac), and the provided fastboot binary is not the same than yours (md5 is different). Is this normal?
[Nexus 5 Original Android Development] imjimmy:
Hi Guys - I want to keep my phone as close to stock as possible. I am thinking of rooting just for the wifi tether application (hotspot functionality). Just realized that I will have to wipe all data from my phone first. So thought I would ask a couple of questions before wiping and starting fresh:

- After Rooting, do the OTA updates work? Will I have to unroot before I install OTA updates from Google?

- It took hours to get this phone activated from Sprint. Will I need to do all that again if I wipe the data and root the phone. Also will the Google 125 mb update will need to be installed again?

Thanks in advance.
[Nexus 5 Original Android Development] gaosphappy:
I'm going to stick my neck out and say ota will work so long as you keep it stock (no new kernel/custom ROM)

Sorry think your going to have to do all the sprint stuff again?

The 125mb update won't happen or rather it didn't happen to me again.

Hope that helped. :thumbup:
[Nexus 5 Original Android Development] imjimmy:
Thanks for replying.

It's great news that I probably won't have to UNROOT to install OTA updates.

Do you know of advantages of keeping stock ROM which is rooted (no kernels/custom ROM). Right now I can think of Titanium backup, Tethering wifi and Greenify. Anything else? Thanks.
[Nexus 5 Original Android Development] gaosphappy:
apart from the possibility of ota still working you got them all m8 afaik. :good:
[Nexus 5 Original Android Development] llewelld:
Modifying your display density via build prop..
[Nexus 5 Original Android Development] Peanuts.:
Custom Recovery later

If I were to root using CF-Auto Root.

Would I be able to install a custom recovery later? And also would this wipe my device again?

(Mainly waiting for CWM)
[Nexus 5 Original Android Development] stuart0001:
Yes, No.
[Nexus 5 Original Android Development] Peanuts.:
Thanks mate. Short answer is the best answer :good:
[Nexus 5 Original Android Development] funny4life:
Not sure why, but the device feels slower and less responsive after rooting. Also wifi signal seems to have dropped.
[Nexus 5 Original Android Development] thatguy97:
Could I simply change the text in the batch file to make it flash a recovery img instead?
[Nexus 5 Original Android Development] MrBrightside:
I Have a big problem after using this tool. Everything worked fine but my device is not able to get any data connectivity. I checked the APNs an they're allgright.

I am able to do calls though.

Any ideas on this?

I am on an austrian carrier btw.
[Nexus 5 Original Android Development] Andrew025:
What else did you do besides run this tool?

Because just unlocking and rooting wouldn't do that.
[Nexus 5 Original Android Development] Bei60:
So this unlocks my bootloader AND roots my device? Should I backup EFS before or after? And how do I flash TWRP recovery after using this CF root?

Thank you.
[Nexus 5 Original Android Development] Treshy:
you could but keep in mind that the cf auto root script just boots and you want a flash... but as you seem to like things simple, just type it into your pcs cmd directly without that stupid .bat file...

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] >500:
How long is the process meant to take?

After I have plugged my nexus 5 in via USB, obviously in fastboot mode, I 'press any key' in the cmd window but nothing happens? It just says waiting for device. And nothing is happening on the device itself.

Any ideas? Or am I just missing something blatantly obvious? :p
[Nexus 5 Original Android Development] Evo_Shift:
Seems like a driver issue. Usually before I run any one clicks I will use the command "fastboot devices" to make sure it recognizes my phone.
[Nexus 5 Original Android Development] mintume:
Super, just finished the job. really easy method but the work behind this app development by developer is great. appreciate it.
[Nexus 5 Original Android Development] ryoen:
So I've ordered a Nexus 5, and I will get it soon... The first thing I want to do is to root it...

So I'm guessing I dont need to backup?
[Nexus 5 Original Android Development] Primokorn:
Yeah it definitely unlocks your BL and root your N5. To backup your EFS partition you need root acces or TWRP Recovery so you can't do it for the moment.

To flash TWRP all instructions are provided on the thread. (fastboot flash recovery recovery.img)

You can backup BUT you'll have to restore after this process.
[Nexus 5 Original Android Development] giannis_ch:
I had the same problem. The USB drivers werent properly installed by just connecting the phone to the computer. I followed the instructions on this site to install the USB drivers http://www.teamandroid.com/2012/07/30/how-to-set-up-adb-fastboot-with-android-sdk/ and then the phone was recognized normally.
[Nexus 5 Original Android Development] JT5:
So I pretty much followed what was done in the XDA Developer TV video, solved the 'waiting for device' problem with the drivers but didn't get root. Bootloader is unlocked, but no red android appeared, it just rebooted into android :( I didn't run root-windows.bat as admin, shall I try again and run it as admin? Will it attempt to unlock my bootloader again?
[Nexus 5 Original Android Development] sohell:
Try it again, one more time, as Admin. Hopefully, that should do the trick
[Nexus 5 Original Android Development] JT5:
Tried again as admin, it said cannot find the path specified or something. Then tried not as admin and it worked :)
[Nexus 5 Original Android Development] Andrew025:
Start it up and download the initial update then go ahead and unlock and root.
[Nexus 5 Original Android Development] rldstover48:
Windows vista

Hi saw earlier in post someone having problem with windows, they were asked to reinstall driver pointing to the SDK, I had similar problem so 1rst I went and installed the Google USB drivers but no change, do I need to uninstall the google drivers before I try and reinstall the drivers from the SDK, I did download the CF root zip i also downloaded the Android SDK bundle. It looks like every one hardware wise is talking to everyone I watched the one video and I not getting any thing I wait a couple minutes and then I just ctrl c out. If I haven supplied answers to what you need to answer this please advise I have rooted before been about a year but must be missing something. Should note my laptop is 64 bit.

Thanks ahead

---------- Post added at 06:53 PM ---------- Previous post was at 06:37 PM ----------

What directory should i be in to run that command fastboot devices. I seemed to change the driver now when I run the windows batch file it can't find the info it's looking for, when I downloaded did it need a specific directory to be extracted to ? Thanks again sorry so much.
[Nexus 5 Original Android Development] >500:
Managed to get it working here.

The drivers weren't installing at first. I forgot to enable USB Debugging :o so it just kept saying drivers are up to date.

Once I enabled USB Debugging, the drivers updated as they should and all went as normal from there.
[Nexus 5 Original Android Development] Andrew025:
Platform-tools