yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] evsnova74:
I just got done doing this and fully restoring all my personal stuff. I have one question though. On step 3, right after installing and booting into recovery (I chose CWM non-touch just because it's what I was used to on my S3), it says to turn it off and boot back into recovery. At first I thought that I should just proceed without turning it off, but it was a step listed after all so I dutifully did it, or attempted to. The only option was to reboot it, which gave me some message that it would install stock recovery again, so I tried to go back but that didn't work. It just brought me to the next alert, which was asking me if I wanted it to root for me, to which I said go back again and it effin started booting up. I thought go back meant go back but I guess not. (wtf)

Then it gave me the red triangle so I had to go back and install the recovery again. (I don't like how there's no way to just turn the device off in an emergency. Holding the power button for 10 seconds didn't turn the device off, it just rebooted every time. And of course you can't battery pull, not used to this yet) So anyway, when I finally got it back into CWM and tried to push SU to it, it kept saying device not found. Ended up booting it up and downloading it with the device, but I was just curious, what should I have done? Stayed in recovery after step 2? Is there a way to turn the device off after step 2 without going through what I went through? I'm guessing CWM touch or TWRP wouldn't have been like that, so the guide probably still might apply, but I was unable to follow the steps laid out successfully. Though I must say, as a total noob when it comes to this stuff, this guide is probably hands down THE most comprehensive guide I've ever seen on here. Most guides assume that you know way more than I do.

Oops, TL;DR: everything's fine now, just wondered if it was necessary to turn off and boot back into recovery after step 2 (when it's already booted into recovery), and if so how do you turn it off from recovery after step 2 with CWM?
[Nexus 5 General] jd1639:
Absolutely was. Don't know if you out a custom recovery on but out you did you'll be glad you did step 2

Sent from my SAMSUNG-SGH-I727
[Nexus 5 General] Blario:
I'm not seeing anything about installing mac fastboot drivers there. I happen to be stuck right now because fastboot on a mac isn't seeing the Nexus 5.
[Nexus 5 General] EpicChineseTime:
Thankss!
[Nexus 5 General] scouser_75:
Guys, what's the simplest method to Unlock Bootloader on a Mac using OS Mavericks?

Please be kind as I'm a total Android Noob.

I've done a bit of research, but I just want to make sure I don't do anything wrong.

Thanks
[Nexus 5 General] Chromium:
Setup adb using this guide. (dont follow what i said in the op about setting up adb, since thats for windows).

After thats done, just follow my guide.
[Nexus 5 General] scouser_75:
Thanks mate.

So, follow the ADB setup in above link.

Then go the the first page of this Thread and follow Part 1? Do I use the same commands on a Mac as a PC?

Also, once the Bootloader is unlocked I don't have to proceed to install a Custom ROM, do I? I can leave the phone with just the Bootloader unlocked?

Do I have to go through the Custom Recover process?

So sorry if these are really stupid questions :o
[Nexus 5 General] jd1639:
I believe on the Mac you need to use ./ in front of the commands listed ie ./fastboot oem unlock

Also, you don't have to put on a custom recovery or rom. You can boot into a custom recovery, fastboot boot recovery.img, and then root from there. Once you reboot you'll still have the stock recovery.

Sent from my Nexus 5
[Nexus 5 General] deathgame:
How can i install stock rom without losing twrp and root ?
[Nexus 5 General] Chromium:
Find a flashable zip of a prerooted stock rom, and then install it via twrp.

Here: http://xdaforums.com/showthread.php?t=2557523
[Nexus 5 General] Blario:
So in no way was I able to get the mac os x 10.9 to see the nexus 5 in fastboot mode. I'd be very interested to hear if others have seen different and how.

luckily (or cursed) I have a windows vm. after 24 hrs of fiddling with drivers i got it to see the 5 in fastboot mode ONCE. I was able to unlock the boot loader.

Now I'm trying to do the root, and now, not only does it not use a correct driver, it can't see the device at all. (doesn't even show up as having a troublesome driver). (no device shows at all). I've tried the naked driver and LG's driver package. The problem seems to be the mac can't pass the device to the vm anymore (for god knows what reason). Is there really no way to do this without windows? I literally don't have windows anywhere outside a vm

In the mac console, occasionally when connecting the device, I get:

2/26/14 8:51:14.000 AM kernel[0]: USBF: 3424.854 The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of Hub at 0x14000000)
2/26/14 8:51:14.000 AM kernel[0]: USBF: 3424.854 The IOUSBFamily was not able to enumerate a device.

Googling for that + "nexus 5" gives me absolutely 0 relevant results. So I'm seeing a problem no one else in the world has seen?

At times i don't get that. i think that's when it connects successfully (like when it isn't in fastboot mode).

Frankly this is driver hell. i finally got away from samsung to get away from trouble rooting/flashing/dev_work. Days wasted and torture are required with nexus devices also?

---------- Post added at 09:13 AM ---------- Previous post was at 09:03 AM ----------

Update:

Just now I connected in fastboot mode and didn't get the iousbfamily error. parallels detected the device and attempted to send it to the vm. then it came up with the error found on this page.

http://kb.parallels.com/en/10136

But the 5 doesn't appear in the external devices list!!!! :(:confused:
[Nexus 5 General] scouser_75:
Thanks. Are there any benefits from having non custom recovery? If so, what are they?

I'm not looking to Root straight away. Instead, I'm looking to install Xposed. I believe I need to unlock the bootloader for Xposed, right?
[Nexus 5 General] jd1639:
For xposed you need to unlock the bootloader and root. You only need the unlocked bootloader to root and you can lock it afterwards if you want. I prefer a custom recovery because you can make nandroid backups and restore them if you need to or want to. If you're not going to be flashing anything or making changes to system files you can get by with the stock recovery. But again I like the flexibility a custom recovery gives me.

Sent from my Nexus 5
[Nexus 5 General] Blario:
how does a nandroid backup differ from a titanium backup?

and what drivers actually work for fastboot mode?
[Nexus 5 General] foosion:
deleted
[Nexus 5 General] om22:
thank you for this! unlocked twrped and rooted my brandnew n5 in 5 minutes:p:good:
[Nexus 5 General] the baptizer:
Thanks, I tried that method and now it doenst show up as a nexus 5 with a warning sign but its now an adb android device. But the problem is that I still cant get past the first command ''fastboot devices''. My serial number doesnt show up. Don't know what the heck is going on
[Nexus 5 General] Chromium:
Search for the universal naked USB drivers and install those.

Sent using xda-developers app
[Nexus 5 General] the baptizer:
If I try to install those naked drivers, the device manager says that i already have the latest drivers for the android bootloader interface. So when I delete those google usb drivers to try to install the naked drivers again, it gives me the same message. I also did a factory reset because i thought maybe the correct drivers will be installed then.. but nothing happened. I have a Toshiba Sattelite Pro C850 1LN with W8 64 bit.... im really lost...
[Nexus 5 General] Chromium:
Do you have access to another PC? Sometimes drivers simply make a big mess, and its better to just start fresh on a clean PC.

Sent using xda-developers app
[Nexus 5 General] TecQuality:
http://xdaforums.com/showthread.php?p=47149241#post47149241
[Nexus 5 General] the baptizer:
Thanks for the help, but the new naked drivers also doesn't seem to work, device managers says the drivers can't be installed, i will try it tomorrow on another pc
[Nexus 5 General] Ritual82:
First time using this method, always used one click methods before this. Wish I would have done this sooner, very easy to follow and I learned something.
[Nexus 5 General] StegoStegmeier:
Thanks to you, it all worked. N5 rooted on first day. Thank you so much!
[Nexus 5 General] albertobozal:
Thanks, i going to download now!!
[Nexus 5 General] :
Hi guys,

I have already rooted and flashed TWRP. I do however need to send my NExus 5 for RMA. How can I revert to stock completely? Unroot, flash original recovery and lock bootloader?
[Nexus 5 General] NCguy:
Ouch. Hate to hear that. Have to actually abandon or nuke the pc? That seems drastic:(
[Nexus 5 General] abaaaabbbb63:
In my sig, under Google Nexus 5, there's a thread. In that thread, you'll find a guide to return to stock.
[Nexus 5 General] Chromium:
Well it can be resolved with further troubleshooting, but if he's got easy access to another PC might as well try on that one instead of going through all the trouble to get it working on the other one.
[Nexus 5 General] JaxDomino:
No go on Recovery

I tried to install TWRP 4 times and when booting into Recovery I get the dead android with a Red triangle with an exclamation point. Any ideas? Thanks in advance! I have the bootloader unlocked.
[Nexus 5 General] Chromium:
Try different USB ports.

Sent using xda-developers app
[Nexus 5 General] picard782000:
I have the same problem. :confused:

Edit: I reinstalled the drivers again and now it worked!
[Nexus 5 General] JaxDomino:
Thanks, but that didn't work either. Trying the USB cable that came with it now.
[Nexus 5 General] thegtfusion:
im not a noob, lol, but i forgot something.

if I unlock the bootloader, will my installed apps also get wiped?

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

im not a noob, lol, but i forgot something.

if I unlock the bootloader, will my installed apps also get wiped?
[Nexus 5 General] jd1639:
Nandroid backs up the whole os and apps and data. Tibu only backs up your apps and data.

For drivers Google tool adb fastboot drivers xda.

Sent from my Nexus 5
[Nexus 5 General] Chromium:
Nandroid backup creates an image of your full system. Sort of like taking a snapshot of the whole current state of your phone. When you restore a nandroid backup, your phone will return to the exact state that it was in when the backup was originally made. This includes rom, kernel, apps, data, etc.

Titanium backup is used only for backing up and restoring apps and app data.

The ones linked in the OP should work.

Edit: Aaaandd, ive been ninja'd.
[Nexus 5 General] scouser_75:
Thanks mate.

Can anyone confirm the ./ prefix for Macs? I don't want to brick my device just in case :confused:

I came across this link. In this the Boot Unlock process seem very very very easy! http://www.youtube.com/watch?v=1qTWnWnWktA

Surely there's something a miss there!?!?!?

And what are the benefits of a Custom Recovery? I don't mind doing it, so long as it's beneficial for me.

Finally, does anyone have an Idiots Guide to Rooting with a Mac?

I just can't wait to get Xposed.
[Nexus 5 General] A1ps:
After a couple of heart attacks, I am finally Boot Unlocked, Custom Recoveried and Rooted :)

NOTE TO ANY FUTURE ROOTERS: If you follow a link where the person who devised the instructions asks you to put the SuperUser file onto the phone FIRST, DO NOT FOLLOW THOSE INSTRUCTIONS!! Reason being, when you Unlock the Bootloader your phone will be wiped, therefore deleting the SuperUser file, which the nobber asked you to put on the phone first!!

But I survived this scare, and now to go and have some fun :D
[Nexus 5 General] 44-RON:
Just a quick question:

Can I hard-brick my device with this method, if the drivers are not installed correctly?

Is there a way to make 100% sure, that they are ok?

Otherwise, thank you for the nice tutorial, it seems pretty easy, even for me :)
[Nexus 5 General] Chromium:
Run "fastboot devices" while the phone is in the bootloader. If it returns your serial number, the drivers are working.
[Nexus 5 General] jd1639:
No, you can't hard brick your device. The only way to mess something up is if you flash something that is not for your device. Everything on this post is safe.
[Nexus 5 General] 44-RON:
OMG, thank you very much!

I did it and it worked! :D

I'm writing this from my rooted Nexus ;)
[Nexus 5 General] blazelazydays:
sprint

will this method work for a sprint nexus 5 running 4.4.2 ? fast reply gets a thumbs up thank you! :)
[Nexus 5 General] Chromium:
Yes.
[Nexus 5 General] vickydance:
GJ

This's good guide,tks u sir.:good:
[Nexus 5 General] Blario:
I've tried the LG package, the naked driver, and pain old Google SDK. The naked driver worked for a split second, for the unlock to be completed. Nothing else has worked.

Without having uninstalled it. The naked driver no longer sees the phone in fastboot mode. In fact, is worse than when I started. Now nothing close to an android device shows up in device manager when the fastboot mode device is connected. I uninstalled the naked driver and still same problem.

So what next? I get no unknown device in device manager and no android device. What driver actually works?
[Nexus 5 General] Chromium:
Try the adb tool. It should automatically get drivers working.
[Nexus 5 General] ruabell:
hey guys... new n5 here and im about to unlock and root... just a little freaked out about bricking my baby and wondering if there are any there are any there are any changes that I should know about before I start?
[Nexus 5 General] jd1639:
Just follow the op you can't brick your device. The area that can cause you the most troubles is getting the fastboot abd adb drivers installed correctly.
[Nexus 5 General] mohansabu010:
Thanks for all details of how to root,i am going to root my phone today any suggestions..
[Nexus 5 General] Blario:
adb sees the phone fine, but only when its booted up. Neither adb nor fastboot see it when its in fastboot mode. Anyone had different success on Mac?
[Nexus 5 General] Chromium:
If you are doing this on a mac, I dont believe you need drivers.
[Nexus 5 General] euqiddis:
:good: all rooted
[Nexus 5 General] gregaste:
root and backup my new phone

Hi..

I try some keywords to search an answer to my question, but.. no luck.

There it is :

I've Rooted my first smartphone without any pb, an HTC desire HD, it was my first android so : easy.

Soon, i gonna buy my next phone probably the N5, I want to root it. but I had a silly question :

what about my sync account? I know the root will wipe my phone, can I do it before even put my google account on the phone,

just "box-fresh"> rooting> and then connection, syncing and backup from the store, my data from titatnium and my sms from smsbackup ? and...whatever ?

thank you by advance, sorry if the question is already in the 1xx pages of the thread, and sorry for my terrible English... :/
[Nexus 5 General] yzak58:
Thanks,but...

Hi Chromium_, I really appreciate the work you have done by explaining everything in a very simple and easy manner.

But I have a small problem. My PC is really old and Windows 7 wont even run on that machine. I use Linux Mint as my primary OS and I have Windows XP installed along with it.

So, is it safe to do all these stuff on Windows XP?

Or...can I just use CF ROOT to root my phone and Install TWRP with GOO MANAGER?

[BTW, I am not a linux guru either, so please dont tell me some workaround with linux terminal and stuff]
[Nexus 5 General] jd1639:
I would suggest just unlocking the bootloader when you first get your phone. That's the only thing that wipes your phone. Rooting does not. Then you can make sure everything works on your phone before you root it.
[Nexus 5 General] gregaste:
Thank you !

It's so.. akward for me to change my phone ... I sure asking myself some weird question about "the right thing to do"

That's why my HTC is still in V2.2 by the way, the ota never intalled it self so.. haaaa f*ck it, to complex to do it manually, even with my titanium backup...:/

well again : THANK YOU.
[Nexus 5 General] Chromium:
The process should work fine on either Linux mint or XP. I would recommend doing it through Linux though, since you dont have to worry about drivers. Also the adb setup is a bit different on linux, so search to find a guide on how to do that if you choose to do it with linux.
[Nexus 5 General] yzak58:
okay thanks...I shall do it on Linux then
[Nexus 5 General] chinti:
hello, just wondering after i install the custom recovery and i wanna use the carbon rom, does that mean i dont have to install supersu and i can straight away flash carbon rom?
[Nexus 5 General] jd1639:
Yes, you don't need to flash super su each time. Most roms are already rooted.
[Nexus 5 General] karlscad:
Cannot find driver??

I have tried and tried to get my nexus to be recognized by my computer and it will not. I have downloaded the sdk and updated the driver and when I go into command prompt it tells me the phone is not recognized. Help? Anyone else having this problem?
[Nexus 5 General] jd1639:
Google tool adb fastboot drivers xda and try that

Sent from my SAMSUNG-SGH-I727
[Nexus 5 General] 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 General] reshtheory:
Hey XDA Developers. I'm a big fan of the site. Thanks for the guide. I'm running into a problem unlocking the bootloader on Nexus 5. I read through the guide and replies (sort of, it's a big guide), but i know we have to rename the inside of the folder and uninstall everything as well before hand. I'm still getting the same error message whenever I run the command prompt. Windows cannot find such and such directory. Maybe im not typing it in right. Can some one give me some help? :eek:
[Nexus 5 General] jd1639:
What command are you trying to run? Go to the folder where fastboot.exe is located and shift, right mouse click on it. It'll give you an option to open a command window there
[Nexus 5 General] reshtheory:
hey! thanks jd...

cd Desktop/android-sdk-windows/platform-tools

adb version

those are the initial command prompts i was trying to run... just to see if it was working... now, u say there is a direct way of going into command window for these prompts? thanks :D
[Nexus 5 General] jd1639:
Fyi, your missing a /in front of desktop
[Nexus 5 General] reshtheory:
ok.. so i have android-sdk-windows folder on my desktop... in it, are all the folders

now... run a command prompt from the desktop... this is what i put

cd Desktop//android-sdk-windows/platform-tools

if thats the right prompt... its giving me same error that it cannot be found.

---------- Post added at 04:12 PM ---------- Previous post was at 04:08 PM ----------

hmmm.. so my adt-bundle is also extracted to the desktop.. does that have anything to do with it?
[Nexus 5 General] Chromium:
Do you see an adb.exe or fastboot.exe file in the platform tools folder?
[Nexus 5 General] reshtheory:
yeah I see both there
[Nexus 5 General] Chromium:
Ok do this from within the platform tools folder:

-Hold shift and right click on an empty area.

-Choose "Open command window here"

-Run "adb version"
[Nexus 5 General] reshtheory:
YEAH!! i got android debug bridge version 1.0.31
[Nexus 5 General] reshtheory:
thanks jd and chromium

you guys are friggin awesome
[Nexus 5 General] Blario:
which bootloader?

Hi Guys,

So glad the phone is finally usable. XPrivacy protecting me from information stealing droid apps.

Love the device. I'm looking to make it into everything I need, and fully customer as I need it.

In that vain, I'm looking for Kernel & ROM optimizations. To do that, nandroid backups are recommended, and for that I seem to need a custom recovery. A few questions:

1) What's wrong with the default recovery? can't flash? it has a recovery mode - what's it for / how's it used?

2) Which custom recovery to use? What's the pros/cons of each?

I'd google the issue, but I believe I'll get better information from jd & Chromium. The terse description of of nandroid versus titanium backup put me on the right track quickly.

Thanks,
[Nexus 5 General] Chromium:
1) Default recovery doesnt allow you to install custom firmware (flashable zips). It allows for more basic stuff like factory reset, wiping cache and adb updating.

2) I personally prefer TWRP over CWM. CWM is quite barebones and only offers the standard custom recovery features (flashing zips, nandroid backup/restore, wiping). On the other hand TWRP does all of this stuff along with some extra features. Its got a nice touch based UI making things a little easier. Overall it just seems more intuitive and efficient to use than CWM. In the end they both get the job done just fine. Its totally up to you to decide which one suits your needs better.
[Nexus 5 General] Blario:
Sweet! Will do. so I see both can do backups. are this "nandroid backups"? if not, can they restore nandroid backups? I have yet to find an official nandroid app or find out how they're restored...
[Nexus 5 General] Chromium:
Yes both recoveries can create and restore nandroid backups. Nandroids are done through recovery, not an app.

However, keep in mind that the nandroid backups from these two recoveries are not compatible with each other. For example, if you were to create a nandroid backup using CWM, then if you switch to TWRP you wont be able to restore the backup previously made in CWM, and vice versa.
[Nexus 5 General] ameyabirje:
Thank you for great rooting guide

Worked perfectly for me, Thank you for great rooting guide.

Faced little issue with USB driver, followed the Google USB Driver guide to install the same.
[Nexus 5 General] BrewE2:
Worked!

Thanks all - bit of an issue with the drivers... did a "search for updated drivers" from the device manager and it resolved the problem??

Anywho - TRWP & LiquidSmooth 3.0 :good:
[Nexus 5 General] BadFish79:
Great guide. Simple and easy to follow. Once adb and fast boot are setup (windows 8 made it interesting) it was smooth and flawless. Only unlocked the bootloader for now.

Thanks

Sent from my phone.
[Nexus 5 General] Baldilocks:
Does unlocking the bootloader and rooting using this method, offer any advantages over using the Nexus Root Toolkit method?
[Nexus 5 General] Chromium:
Yes, a kittens life is saved.

On a serious note though, using this guide will teach you the proper way to go about unlocking and rooting. If you use a toolkit you essentially ignore the whole process and in the future if you encounter issues you will likely not know how to fix them due to the fact that you have no experience in using adb and fastboot.
[Nexus 5 General] Baldilocks:
Oh, I have some experience doing it. Just wondering if this method offered anything new or more stable than the rootkit. :) That is all.
[Nexus 5 General] Chromium:
Oh ok. Well in that case its really up to you. I would personally do it manually to minimize any risks. With the toolkit you dont know whats happening, and I'd much rather be in control of whats going on.
[Nexus 5 General] Cyvasse:
Hi. Got my N5 today, unlocked, philz recovery & rooted in no time, stock rom. Thanks everyone. For the drivers concern i did not instal anything, i have win8 laptop which i had used till today with my lg gt540 for flashing roms. Just plugged n5 and everything luckily got recognized.
[Nexus 5 General] appb123:
Still Stuck

Hi,

As suggested i tried to flash a recovery without my n5 being unlocked and there was still no progress. I'm worried the phone is completely bricked and I'm wondering if there is any other way to unlock it?

Thanks?
[Nexus 5 General] jd1639:
You tried to flash a recovery without your device being unlocked? It won't work but it also won't brick your device. You need to unlock it first. In fastboot mode run

fastboot oem unlock. But it'll wipe your device so make sure you have a backup