Nexus 5 smartphone is the Google’s new flagship and it offers the most straightforward rooting experience of any modern android device.
With a rooted android smartphone you can run more advanced apps, modify the UI even install completely new builds of android with ease.
As always gaining root access is risky, and if you do not follow the instructions correctly, you can end up with an unusable phone. So, think twice before you start to root your phone. In case, if you are a noobie get a help from the persons who has experience in rooting.
Please don’t make a try unless until what it does mean exactly. If any thing happens to your Nexus 5 we would not be held responsible. So, follow the given below procedure at your own risk.
1.The given below procedure will wipe all your data’s, so take a full backup of your internal data’s using appropriate backup applications.
2.Make sure the battery percentage level of your Nexus 5 is atleast 75%, if not so then charge your Nexus 5 fully.
3.Next install the Nexus 5 drivers on your PC (just plug it in and wait for few minutes, it will install them automatically).
4.Finally, make sure you have administrator rights on the Windows (if you do not know what these are, you probably haven’t got them).
(a)Android SDK files:
Windows 32-& 64-bit
Linux 32 – & 64-bit
Mac OS X 32- & 64-bit
Note : The general procedure is same as on Windows, but the commands to use in the terminal are different on Linux and Mac. The given below tutorial is for a computer running on Windows.
A) Installing ADB and Fastboot:
1.First download the appropriate Android SDK based on your PC operating system and unzip it in a folder named “Android SDK”.
2.Next launch the “SDK-Manager.exe” and install the following packages:
Tools > Android SDK tools, Android SDK Platform-tools
Extras > Android Support Library, Google USB driver
3.Next look for the new “Platform tools” folder in the Android SDK directory. Look the given below picture for reference:
NOTE : The downloads are automatic but will take sometime.
B) Unlocking the bootloader:
1.First, turn off the Nexus 5 and boot into the bootloader/fastboot mode by holding the Volume Down button and power button.
2.Next connect your phone and the computer with the help of USB cable.
3.Open the android SDK > SDK > Platform tools directory then right-click in an empty area while holding the shift key.
4.Click “Open the command prompt here” and enter the given below command:
If you do not get a serial number, your drivers are not installed.
5.Next enter the given below command:
fastboot oem unlock
6.On your phone, confirm with “Yes”, using the Power button. Use Volume Keys to move up and down.
7.Once you confirm the process, enter the given below command:
C) Installing the custom recovery:
1.First turn off your phone and reboot into the fastboot mode.
2.Copy the custom recovery file into the Android SDK>SDK>Platform-tools directory.
3.Next, rename the file “recovery.img”. If it does not work, simply rename the file “recovery” without the “img”.
4.In the command prompt window, enter the given below command:
fastboot flash recovery recovery.img
5.Next, select the “Restart bootloader” option using the Volume buttons and press the Power button.
6.Now verify the custom recovery installation by entering “Recovery Mode”. If you arrive on the CWM screen, the recovery is all good.
D) Rooting Procedure:
1.First, reboot your phone normally and copy the rooting file to the root of your smartphone.
2.Next reboot your phone into the fastboot mode and choose the recovery mode.
3.Next select the “install zip from SD card” and “choose zip from SD card” option.
4.Next locate “SuperSu v1.65″ file and select that option by pressing “Yes”.
5.Once the installation process is finished, restart your phone by selecting the “Go back > Reboot Now” option.
6.To check whether your phone was rooted or not download the “Root Checker” app from Google Play Store and check the same.