TelPlaza.net

Support => Your device => Topic started by: telplaza07 on June 05, 2015, 12:48:50 AM

Title: How to Root Nexus 5 in Linux (in 5 steps)!
Post by: telplaza07 on June 05, 2015, 12:48:50 AM
(http://www.telplaza.net/img/forum/ubuntu-root.png)  (http://www.telplaza.net/img/forum/supersu-lg.png)(http://www.telplaza.net/img/forum/root-checker.png)
1. Enable Developer Mode and USB Debugging
[LIST=1]
2. Install ADB and Fastboot tools
This is how you install ADB and Fastboot in Ubuntu Linux. I'll let you figure it out for other Linux operating system.
Code: [Select]
sudo apt-get install android-tools*
After installing, you should be able to run both adb and fastboot.

3. Unlock Bootloader
First, make sure adb can see your device:
Code: [Select]
adb devices
Reboot to bootloader:
Code: [Select]
adb reboot bootloader
Then, unlock the bootloader (this may need "sudo"):
Code: [Select]
fastboot oem unlock
4. Flash Root
First, download CF-Auto_root (http://'http://download.chainfire.eu/363/CF-Root/CF-Auto-Root/CF-Auto-Root-hammerhead-hammerhead-nexus5.zip')
For N5 Download CF-Auto-Root-hammerhead-hammerhead-nexus5.zip (http://'https://download.chainfire.eu/363/CF-Root1/CF-Auto-Root-hammerhead-hammerhead-nexus5.zip?retrieve_file=1')

Then, run:
Code: [Select]
unzip CF-Auto-Root-hammerhead-hammerhead-nexus5.zip
cd image/
sudo fastboot boot CF-Auto-Root-hammerhead-hammerhead-nexus5.img

This takes about a minute or two. It will reboot on its own...

5. Done!
And that's it! When your phone reboots, it should walk you through the setup process again. To make sure if this worked, make sure the SuperSU app is intalled.







--
Ref: schier.co/blog/2013/11/09/how-to-root-nexus-5-in-linux.html