Google Recently Announced Android M and its readily available for Nexus 5 users . Nexus 5 users can update their Smartphone's with Android M developer preview images .
As Android 5.0 Lollipop was very hard to root , but somehow many of the developers found a way to root Devices running on Android 5.0 Lollipop . But with the upgrading version of Android , its getting harder to Root the devices on latest Android .
But , This time also Android M developer preview is root able and Here is how you can root your Nexus 5 running on Android M developer preview .
Note - We are not responsible for any damage caused to your smartphone , do all steps with care .
How to root Nexus 5 on Android M dev preview -
Step 1. Download Superuser and Despair kernel from below .
Step 2. Boot to recovery mode ( any Twrp , Cwm )
Step 3. Flash the kernel ( Despair kernel ) which you downloaded following step 1.
Step 4. Now again Flash the Superuser zip file which you downloaded following step 1.