How to Root Your Google Nexus 5 on Android M Developer Preview

Note: Before you go on with this guide, please do note that rooting may cause damage to your smartphone. So, use this guide at your own risk.

Requirements:
  • For the Nexus 5, you’ll need to download Team Win’s custom recovery, TWRP, to allow some not-so-official files install to your device
  • You’ll also need to have the basic Android developer’s toolkit, to be able to use ADB and Fastboot to interact with the device and install the custom recovery
  • You’ll also need the beta version of Chainfire’s SuperSU app, version 2.49 currently, and a custom kernel, either Despair or Hell’s Core, to allow SuperSU to run at boot, which Google’s stock kernel doesn’t do
Here's all the link you need for the download and install process:

Android M HELLS Core Kernel : http://goo.gl/qHK0E1

Android M Hells Kernel Download : https://goo.gl/58HTiL

Despair Kernel Thread: http://goo.gl/alynWb

Despair Kernel Download : http://goo.gl/JDh8Ew

SuperSU 2.49 BETA thread: http://goo.gl/pL3LrU

SuperSU 2.49 BETA download Link :

https://download.chainfire.eu/740/SuperSU/

https://goo.gl/FxK9uc

How-To Root Your Google Nexus 5 on Android M Developer Preview:

1. First, on your Nexus 5, go into Settings

2. Under About Device, and tap the Build number, MPZ44Q in this case, until you get a message that says that you’re now a developer

3. Hit the back button, and go to the newly-available Developer Options, and scroll down to Debugging, and switch USB Debugging to be on, to the right

4. Next, you’ll want to move the downloaded custom kernel, in zip format, and the Super SU 2.49 zip to the phone’s internal storage, for easy access in just a bit.

5. Now, go into the device’s bootloader

6. Power the phone off, and press power and volume-down until you get the phone to a screen with an Android with his chest open

7. From there, go to your computer and, once you open a command window in the location where the ADB and Fastboot drivers are (that’s a shift + right-click, then ‘open command window here’), move your TWRP custom recovery (just Google ‘Nexus 5 twrp’ and download the latest version, which is 2.8.6.1 at time of writing, and download the .img file) file into the same folder as mentioned before.

In the command window, type:

"fastboot devices"

to test if your Nexus 5 is being detected, and if a number comes up, then you should be fine. From there, type:

“fastboot flash recovery twrp-2.8.6.1-hammerhead.img”

and let the process complete. TWRP is now the recovery installed on your device. From there, you should only need your device.

8. On the phone, use the volume up and down keys to navigate to recovery, and click the power button to select, and you’ll boot into TWRP version 2.8.6.1, which you just installed

9. From there, go to Install, and find the two files you downloaded, the custom kernel and the SuperSU 2.49 zip files

How to install custom kernel and the SuperSU 2.49 zip files:

1. First, choose the custom kernel. SuperSU is useless without a custom kernel to allow it to work, and will cause an infinite bootloop if you don’t flash the kernel first

2. Once the kernel installs, you’ll select and install the SuperSU 2.49 zip file, and let that complete.

3. From there, you’ll select Reboot, then System, to boot into the device normally.

Once you completed all the above step, then your LG Google Nexus 5 will be rooted.

Source: xda-developers

Subscribe to receive free email updates:

0 Response to "How to Root Your Google Nexus 5 on Android M Developer Preview"

Post a Comment