How to root the Nexus 5

nexus_5_rooted_headerBefore you root your device please understand that this can and most likely will void your warranty! Also keep in mind that when this procedure is complete, you will need to go through the phones initial setup process and reinstall your applications.

Steps to root your Nexus 5

 

  1. Download the ZIP click here.
  2. Extract the ZIP file.
  3. Boot your device into bootloader/fastboot mode.
    1. Power down your Nexus 5.
    2. Power on your device by holding the power button and at the exact same time volume up and volume down buttons. (Hold the volume down button first, then press and hold power)
  4. Connect your Nexus 5 to your computer using a USB cable.
  5. Run the appropriate script to automatically root your Nexus 5! Using the appropriate command line tool in your OS run the following:
    1. Windows
      1. Run root-windows.bat
    2. Linux
      1. chmod +x root-linux.sh
      2. Run root-linux.sh
    3. Mac OS X
      1. chmod +x root-mac.sh
      2. Run root-mac.sh

 

 

 

NOOB TIP: While in bootloader mode, use the volume up and volume down keys to navigate up and down the list and then use the power button to select your choice.

Script Terminal Output

When you run the script it may ask you for a password depending on your account setup on your computer. I am using OS X 10.9 Mavericks (yes, a mac).

$ cd ~/Desktop/CF-Auto-Root-hammerhead-hammerhead-nexus5
$ chmod +x root-mac.sh
$ sh root-mac.sh

----- CF-Auto-Root-hammerhead-hammerhead-nexus5 -----

Please make sure your device is in bootloader/fastboot mode before continuing.

***WARNING*** ALL YOUR DATA *MAY* BE WIPED ! ***WARNING***

We are going to run the OEM UNLOCK command on your device. If your device
was not previously unlocked, this will wipe all your data !

After the unlock, CF-Auto-Root will boot. You should see a big red Android
on your device's screen.

You may need to enter your administrator password to continue.

Press Ctrl+C to cancel !

Press ENTER to continue

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
< waiting for device >
... OKAY
Password:
downloading 'boot.img'... OKAY
booting... OKAY

It may take a minute or so for the red Android to appear. If it doesn't show up
at all, there may be a problem.

Press ENTER to continue

Donate

“CF-Root has been available for many devices and has clocked over 17.5 million downloads. This is not even counting custom ROMs that already include it. Don’t be a leech, buy me a beer (and use the “Thanks” button!). Imagine if every CF-Root user has donated me $1… “-Chainfire

Here at Phandroid, we couldn’t agree more. Please, if you can… donate to Chainfire for his awesome efforts!
Click here to donate to Chainfire

Join Us in Our Forum

If you have any questions or issues you can always find some help in our forums… please visit our Nexus 5 forum!  You will find me personallywatching the Nexus 5 activity over there. ;)

[via Chainfire on G+]

Exit mobile version