• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Nexus 5 Rooting Guide

Plus whatever data you have on the phone....

Is the rom and/or gapps still on your storage? Or a nandroid backup? If you didn't delete the rom and gapps immediately upon flashing the rom, there's a gigga or two right there probably...

cleared the cache and did a reset and i am still on stock just rooted and shows available only 26.76 think im going to back to fully stock and then redo it i dont know if i did something wrong.
 
Upvote 0
cleared the cache and did a reset and i am still on stock just rooted and shows available only 26.76 think im going to back to fully stock and then redo it i dont know if i did something wrong.

That's completely normal, and is the same amount it takes up on stock

Root only gives you administrator access. It doesn't change anything else. Your storage is unaffected.
 
Upvote 0
A slight nit for the manual method described at the top of this thread: There is no point in copying the SU flash image to the phone before unlocking it, since the unlock will wipe the SD card (at least that was what happened on my Nexus 7, and I assume it would be the same).
Absolutely correct. I'll make the change :thumbup:
 
Upvote 0
So why is it that flashing CF Auto Root in CWM Recovery 6.0.4.5 always results in "installation aborted" but extracting the files and running the .bat file works? I've never had a CF Auto Root fail before. :thinking:
[disclaimer] i am walking on very very thin ice. of course the gurus of this forum will correct me if i am wrong.

that being said, lets see if i understood your question correctly.
you download the cf-autoroot_blahblah.zip, boot into your CWM recovery, flash the zip, "installation aborted" happens. but if you run the batch file from your computer it works fine.

1. if you already have CWM, your bootloader is unlocked and custom recovery installed. all you need to do to gain root is download update-supersu-v1.93.zip (latest) and flash it from CWM.
2. if you run the batch file from computer, cf-autoroot

  • unlocks the bootloader.
  • temporarily boots into an insecure recovery without installing it.
  • flashes the supersu.zip to gain root.
  • reboots into android so now you have unlocked bootloader, stock recovery, root with supersu installed which by the way will allow you to take an OTA update without problem.
 
Upvote 0
This (akmsr's #1 above) did not work, even though I had already successfully unlocked the bootloader and flashed CWM recovery:
Setting up ADB & Downloading your files

3) Download Superuser file (don't unzip it!)
SuperSU Download

Flash SU file

With the phone booted normally, place the superuser files on the internal storage of your device. The location isn't important, but you'll need to know where they are and be able to navigate to them later.

Reboot into recovery mode. In recovery, flash the SU file you've downloaded earlier.
To do this, select install, then navigate to where you placed the file. Select the first file, then swipe to flash.
It gave me "installation aborted" every time.

This, on the other hand (akmsr's #2 above), did work:
4:

Navigate to the CF-Auto-Root-hammerhead-hammerhead-nexus5 folder you extracted. Open this and then run root-windows.bat. When running, this should unlock the boot loader on your Nexus 5, root it, and install the SuperSU app. You'll know it's working if you see your Nexus 5 displaying various messages as well as showing a red Android figure. Wait for this process to finish and your Nexus 5 should boot back up, rooted and ready to go.

5:

Enjoy your rooted Nexus 5!
 
Upvote 0
I'm a little confused by the question. I've never run CF autoroot, but I didn't think it was a recovery flashable file

it is not but i wanted to make sure that is what he meant. or not

This (akmsr's #1 above) did not work, even though I had already successfully unlocked the bootloader and flashed CWM recovery:It gave me "installation aborted" every time.

This, on the other hand (akmsr's #2 above), did work:

Correct, not a flashable zip. ;)
 
Upvote 0
Now I'm confused. Rexpert83's instructions seem to tell me to flash the file. What did I miss?
confusion arises because here we are talking about two different zip files both written by chainfire

  • one is flashable "update-superSUv.1.93.zip" containing supersu binary for root, should be flashed in a bootloader unlocked, custom recovery installed phone. file should be placed in the device after CWM installation.
  • the other is not-flashable one-click-toolkit "cf-autoroot-hammerhead.zip containing not only supersu binaries, also adb dll and fastboot.exe somekind of insecure recovery. and a flashall kind of script for automation of the process. files stay in your computer and "root-windows.batch run from there.
 
Upvote 0
So, a funny thing happened last week (which kept me away from here more than usual). Just as I was going out of town for the week for business, my computer hard drive on a computer that was not that old (but also not under warranty, of course) died. Completely. Dead.

So, I've replaced the hard drive and have decided to see if I can do things in the future via the fastboot method rather than by WUGs tookit. :eek: Or at least start out that way. ;)

Right now my phone is already rooted and has DU still on it so there isn't that much to do yet (I even did a DU update using my back-up Linux computer). I have already downloded the mini-SDK files from here and unzipped them.

I have two questions to start with.

1. Is there any sense of which USB drivers are best for a Nexus 5 where there are no drivers on the computer. The LG drives, the universal naked drivers or the Google Nexus 5 drivers? (My source is this page.)

2. The root guide shows how to unlock the bootloader and root using fastboot, but I don't see instructions for how to unroot and relock , restoring the factory image for 4.4.2 (which I have downloaded). It's not something I'm looking to do anytime soon, but I would like to know I can. I like the way people give instructions here, but if you know of a good guide you want to point me to, that would be great.

When I go to do various things in the future, I'll come back with more questions, I'm sure.
 
Upvote 0
So, a funny thing happened last week (which kept me away from here more than usual). Just as I was going out of town for the week for business, my computer hard drive on a computer that was not that old (but also not under warranty, of course) died. Completely. Dead.

So, I've replaced the hard drive and have decided to see if I can do things in the future via the fastboot method rather than by WUGs tookit. :eek: Or at least start out that way. ;)

Right now my phone is already rooted and has DU still on it so there isn't that much to do yet (I even did a DU update using my back-up Linux computer). I have already downloded the mini-SDK files from here and unzipped them.

I have two questions to start with.

1. Is there any sense of which USB drivers are best for a Nexus 5 where there are no drivers on the computer. The LG drives, the universal naked drivers or the Google Nexus 5 drivers? (My source is this page.)
for me i installed the google drivers first in a vista machine and adb worked fine but fastboot didn't. so i downloaded the naked drivers unzipped it in a folder on desktop (any folder of your choice), went to control panel, device manager, update driver for the hardware with exclamation mark, pointed it to the unzipped folder, done.

2. The root guide shows how to unlock the bootloader and root using fastboot, but I don't see instructions for how to unroot and relock , restoring the factory image for 4.4.2 (which I have downloaded). It's not something I'm looking to do anytime soon, but I would like to know I can. I like the way people give instructions here, but if you know of a good guide you want to point me to, that would be great.
i am glad you asked it here. at xda they would give you the link with some fine choice of words. but for their defense they do it atleast 80 times a day :D
[TUTORIAL] How to flash a factory image | Re… | Google Nexus 5 | xda-developers

When I go to do various things in the future, I'll come back with more questions, I'm sure.
the answers are in bold.
 
Upvote 0
So, a funny thing happened last week (which kept me away from here more than usual). Just as I was going out of town for the week for business, my computer hard drive on a computer that was not that old (but also not under warranty, of course) died. Completely. Dead.

So, I've replaced the hard drive and have decided to see if I can do things in the future via the fastboot method rather than by WUGs tookit. :eek: Or at least start out that way. ;)

Right now my phone is already rooted and has DU still on it so there isn't that much to do yet (I even did a DU update using my back-up Linux computer). I have already downloded the mini-SDK files from here and unzipped them.

I have two questions to start with.

1. Is there any sense of which USB drivers are best for a Nexus 5 where there are no drivers on the computer. The LG drives, the universal naked drivers or the Google Nexus 5 drivers? (My source is this page.)

2. The root guide shows how to unlock the bootloader and root using fastboot, but I don't see instructions for how to unroot and relock , restoring the factory image for 4.4.2 (which I have downloaded). It's not something I'm looking to do anytime soon, but I would like to know I can. I like the way people give instructions here, but if you know of a good guide you want to point me to, that would be great.

When I go to do various things in the future, I'll come back with more questions, I'm sure.

For me, I already had the LG drivers installed on my XP PC (my third LG phone) and the whole android SDK. Yet I still needed to install the Universal Naked drivers for it to recognize the N5 properly.
In fact, I actually ended up installing wugfresh's tool kit to remove all the drivers that were listed for the N5 and then reinstall the Universal Naked drivers and then everything worked like is should of. I do like his tool kit for the driver program. It's actually a really nice feature to have and it lists all the drivers that are installed on the PC, not just for the N5. I was able to use it to manage my other 2 LG phones as well. I was having a problem where the PC would recognize my other 2 LG phones as the same phone and it was conflicting. I was able to sort it out using wugfresh's tool kit and now the PC recognizes each phone independently.

The tutorial that akmsr posted for you is probably the best one too and the second method in the tut allows you to use fastboot for all the commands.

i am glad you asked it here. at xda they would give you the link with some fine choice of words. but for their defense they do it atleast 80 times a day
This is very true... They can get a little snippy over there about stuff like this and go on about reading the "Stickys" I'm more patient and I like to help people anyway, so little things like this don't bother me... People's poor attitudes are what bothers me and that's one of the many reasons that I really like Android Forums. All around it's a great and friendly community here. :party:
 
Upvote 0
This is very true... They can get a little snippy over there about stuff like this and go on about reading the "Stickys" I'm more patient and I like to help people anyway, so little things like this don't bother me... People's poor attitudes are what bothers me and that's one of the many reasons that I really like Android Forums. All around it's a great and friendly community here. :party:

I couldn't agree more. This is a fantastic community for learning.! :D
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones