How to Root Nexus 5 and Nexus 6 on Android 6.0 Marshmallow

Google has released the latest official Android 6.0 Marshmallow update to Nexus 5 and Nexus 6, if you are interesting in rooting your phone on Android 6.0 you should know that the old rooting methods won’t root your device since Android 6.0 Marshmallow has a different architecture, so don’t try it or your phone will just show a red triangle and says your device maybe corrupt, then the screen goes black.
You’ll need a modified kernel that allows permissive to root your device by flashing SuperSU zip file using custom recovery. Chanfire has made the hard work and released a modified kernel and SuperSU zip files which allow root with SELinux in Enforcing mode.
We are here today to learn you step by step how to root Nexus 5 ad Nexus 6 on Android 6.0 Marshmallow.