How to root nexus 5?

monday

Expert
Joined
Jun 23, 2014
Messages
1,126
Solutions
1
Reaction score
157
I'm having problems with it despite checking few different tutorials. I tried using "Nexus root toolkit" while following this tutorial: youtube video
but it says "fastboot not found" when I'm trying to "unlock" or "root". (Btw it didn't have any problems with fastboot during a successful test after completing the "Full Driver Installation Guide")
Btw for some reason this Nexus root toolkit classified my system as Windows 8.1 (in fact I have Windows 10)

The device I'm using is LG Nexus 5 (16GB) with android 6.0.1 (build MOB31E) 
There's a 'guide' (i guess it's a guide...) for it here: Link
# Download latest Android image, "hammerhead" for Nexus 5 (GSM/LTE)
https://developers.google.com/android/nexus/images#hammerhead

# Download latest TWRP
https://dl.twrp.me/hammerhead/

# Download latest SuperSu
https://download.chainfire.eu/supersu

Enable USB debugging.
Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
# Wait for boot loader to start
# Install factory ROM:
unzip hammerhead-mob31e-factory-90504514.zip
cd hammerhead-mob31e
unzip image-hammerhead-mob31e.zip
sudo fastboot flash bootloader bootloader-hammerhead-hhz20h.img
sudo fastboot reboot-bootloader #or power off/start bootloader
sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.29.img
sudo fastboot flash boot boot.img
sudo fastboot flash cache cache.img
sudo fastboot flash system system.img
# add params -S 256M if remaining memory is not enough . eg: sudo fastboot flash -S 256M system system.img
sudo fastboot flash recovery recovery.img
sudo fastboot reboot

# Wait boot to finish for application upgrade.
adb push UPDATE-SuperSU-v2.78-20160905010000.zip /sdcard/
adb reboot-bootloader

# [Wait for bootloader to start]
sudo adb start-server
sudo fastboot flash recovery twrp-3.0.2-0-hammerhead.img
sudo fastboot reboot-bootloader
# on the screen, Navigate into Recovery mode -> Install -> zip, select UPDATE-SuperSU-v2.76-20160630161323.zip -> Swipe to confirm Flash
# Reboot System

but I don't understand where should I download the mentioned applications + where to execute the commands. Do I download it on my PC? Or on the phone? Do I call these commands from a PC? Does it mean I must have a linux? Or actually execute them somehow from the "bootloader" on the phone?
 

[redsun]Akshay2

Active member
Joined
Oct 1, 2016
Messages
65
Reaction score
1
Location
USA
bro the easiest stuff is that you can use kingoroot


Preparations:
1. Free download Kingo Android Root: http://www.kingoapp.com/android-root/download.htm.
2. Install it on your computer.
3. Internet connection is required.
4. Device powered ON, 50% battery level at least.
5. Use the original USB Cable to ensure stable connection.


Step 1: Double click to launch Kingo Android Root.



Step 2: Connect your Nexus 5 to PC via USB Cable.

Kingo Android Root will automatically install device driver for your Nexus 5 if it's the first time your device being connected to your computer.



Step 3: [USER-MANUALLY] Enable USB Debugging Mode on your Nexus 5.

Go to "Settings", scroll down to the bottom and find "About Phone", scroll down to the bottom again and find "Build number", tap it for 7 times to become a developer. 



Then go back to "Settings" and find "Developer Options", enter into the menu and enable "USB Debugging".



More guide on how to enable USB Debugging mode: http://www.kingoapp.com/root-tutoria...on-android.htm


After that, there will be a prompt window appear on your device screen. Please click "OK" to authorize USB debugging from your PC, or your device will fail to connect and stay offline. 



Step 4: Read the notifications carefully before you click ROOT.

Android Rooting is, after all, the modification of the operating system, which involves risks. But if you are fully aware of its pros and cons, and decide to go on, click Root on the interface of Kingo and it will root your device for you. 

Android Rooting: http://www.kingoapp.com/help/android-rooting.htm



Step 5: Root succeeded and device rebooted.

Nexus 5 (not include firmware of Android 5.0, which is still under development) is well supported by Kingo. In most cases, you will get what you want, Nexus 5 being successfully rooted. But if you do encounter issues that lead to failure, contact its support team (support at kingoapp.com, or Kingoapp on Facebook), or leave messages down here.

P.S
It also has REMOVE ROOT function built in. You can always remove root from your device by one-click using Kingo Android Root.

 

monday

Expert
Joined
Jun 23, 2014
Messages
1,126
Solutions
1
Reaction score
157
thanks a lot for a quick reply. Btw I tried using the Nexus Root Toolkit again but using a different PC (with Windows 8.1 instead of 10) and it worked well :)
 

[redsun]Akshay2

Active member
Joined
Oct 1, 2016
Messages
65
Reaction score
1
Location
USA
monday said:
thanks a lot for a quick reply. Btw I tried using the Nexus Root Toolkit again but using a different PC (with Windows 8.1 instead of 10) and it worked well :)

ok
 
Top