- dotTech - https://dottech.org -

How to root Nexus 5 on Android 6.0 MRA58K Marshmallow [Guide]

Android-6.0-Marshmallow [1]These are the guidelines to root Google Nexus 5 on Android 6.0 MRA58K Marshmallow. That’s the model number of the build that comes with the official factory image; not a developer preview that we have known for the last few months. Since Google is known to frequently block these exploits on the Nexus devices, we are giving you that build number so you can be sure when this guide works. While it’s possible you can root Google Nexus 5 on Android 6.0 Marshmallow builds in the future, we cannot be sure the files in this guide will work for those future builds.




  1. Download the Despair kernel from this [3] p [3]age [3].
  2. Download the SuperSU file that’s updated to work for your smartphone from here [4].
  3. Download both of the files — Despair kernel and SuperSU — directly to the computer desktop. Do not unzip the files.
  4. Connect the Google nexus 5 to the computer.
  5. Transfer both of the files you downloaded above to the internal SD card of the Google Nexus 5 smartphone.
  6. Now follow the guide for installing a custom recovery on the Google Nexus 5 [5] running the Android 6.0 Marshmallow. You must have the custom recovery installed before you can finish the rooting guide.
  7. Once you have the custom recovery installed, boot it up and navigate to the install button from the main recovery menu.
  8. Click over the install zip from SD card.
  9. Browse the SD card for the Despair kernel first and agree to install that custom kernel.
  10. Go back to the main recovery menu again and choose the install option again.
  11. Browse the SD card again and this time upload the SuperSU file. Confirm you want to install the SuperSU file like you did the kernel.
  12. Now your Google Nexus 5 should have both the custom kernel and the SuperSU granting you the root access.
  13. All you need to do now is go back to the main recovery menu and choose the reboot system option.