Wednesday, 6 November 2013

How to Root Nexus 5, Here’s How to Do It

The Nexus 5 was officially released late last week, and those who bought the device are just now receiving them in the mail, with the first batch of Nexus 5 units arriving yesterday for many buyers. About as quickly as a dropped banana hits the floor, the Nexus 5 root is complete, and infamous Android developer Chainfire is the user behind it all.
Chainfire released released CF-Auto-Root, which he says is the “root for rooting beginners,” as well as those who want to stay as close to stock as possible, while still enjoying the benefits of a rooted device. CF-Auto-Root for the Nexus 5 supports Windows, Linux and Mac, so pretty much anyone can use it no matter what computer they’re using.


If you’re familiar with rooting Android devices, the process is pretty simple, but if you’re new to rooting, we’ll try to explain it all in an easy-to-understand fashion, but we suggest learning more about rooting (if you haven’t already done so) before you dive deep into your Nexus 5.

HOW TO ROOT NEXUS 5
Follow the step-by-step guide below to root your new Nexus 5. Please be aware that you do this at your own risk. Also, this method will completely wipe all of your data, so be sure to back everything up if you’ve already set up your Nexus 5.
  1. Download the Nexus 5 root ZIP file from here.
  2. Extract the ZIP file.
  3. Turn off your Nexus 5, and boot it in bootloader/fastboot mode by holding Volume Up, Volume Down and Power at the same time until the device turns on.
  4. You’ll see a screen that says Start at the top; DON’T DO ANYTHING.
  5. Connect your device to your computer with a USB cable.

This is where the procedure changes based on what computer operating system you’re running. If you’re on Windows, simply run the root-windows.bat file that’s located in the folder you just extracted. If you’re on a Mac or Linux, it’s a bit more complicated:
  1. Open up the Terminal app, type cd and enter a space, then drag-and-drop the folder you extracted into Terminal and press Enter.
  2. Next, type in chmod +x root-mac.sh and press Enter.
  3. Then, type in bash and a space, and drag-and-drop the root-mac.sh file into Terminal (or the root-linux.sh file if you’re using Linux).

If everything goes well, you should see some warnings and then a prompt that says Press ENTER to Continue. You may have to enter in your admin password and press Enter again. You’ll then be asked on your phone if you want to unlock the bootloader. Use the Volume Up button to select Yes and then press the Power button to select. A red Android figurine should appear on your phone’s screen, which indicates that the commands were successful. Your device should restart and you’ll be greeted with a rooted Nexus 5.