Google has already released Android M developers preview for Google Nexus 5,6 and 9.If you have installed Android Marshmallow on your Nexus device and want to root it then you are in the right place.Here I share a very simple step by step guide on How to Root Android M Preview in 5mins. Important: Make sure there is at least 80% battery left on your smartphone before begin rooting your device.This is only for Android M preview not newly released stable builds Warning: rootmygalaxy.net will not be held responsible for any kind of damage occurred to your Nexus device while following this tutorial.Do it at your own risk. Remember Before rooting:

Rooting your phone can void your warranty After rooting, you can tweak your phone You can unroot it if you want You can overclock or underclock your CPU to make your phone faster Make sure you have unlocked the bootloader

How to Root Android M Preview in 5mins

Pre-Requirements:

Backup your device completely in case anything goes wrong you can restore to previous ROM Charge your device to sufficient battery level.More than 50% is recommended Enable USB debugging Install Android SDK for ADB and fast boot. Or download the Android tools package and move its content to the directory where you’re going to work.

Downloads

Download TWRP image: Nexus 5 | Nexus 6 Download these files and transfer them to internal memory of your device SuperSU root package: BETA-SuperSU-v2.49.zip | Mirror blu_spark custom kernel: Nexus 5 | Nexus 6

How To Install TWRP Recovery On Nexus Running Android M

How to Root Android M Preview in 5mins

DONE!!!!You have successfully rooted your Nexus 5 or Nexus 6 running Android M. To verify the root status install Root Checker.

 Root  How to Install TWRP   Root Android M Preview - 28