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.

requirements:

Steps:

  1. Download the kernel, recovery of your device to the PC and BETA-SuperSU-v2.52.zip to your phone.
  2. Rename kernel file to boot.img and recovery file to twrp.img then place them into adb folder.
  3. Enable USB debugging and OEM unlocking under Developer options in Settings.Nexus 5 : Enable USB Debugging
  4. Connect your device to the PC via USB cable.
  5.  Change USB connection from Charging to Transfer files.
  6. Open adb command window and type:
    adb reboot-bootloader
    reboot-bootloader
  7. Once your device rebooted into bootloader mode, type the following command to flash the kernel:
    fastboot flash boot boot.img
    Fastboot Flash boot boot.img
  8. Then type the following command to flash twrp recovery:
    fastboot flash recovery twrp.img
    Fastboot Flash Recovery TWRP.img
  9. If everything goes fine boot your phone into recovery mode by pressing Volume up/down to navigate to Recovery mode then press power key to confirm.
  10. Press Install option in TWRP recovery to flash BETA-SuperSU-v2.52.zip file.
    TWRP Install TWRP Flash SuperSU
  11. Now you are ready to reboot your device.
    TWRP Reboot System
  12. After rebooting your phone you should find SuperSU App icon on your device’s app drawer.
    SuperSU on Android M

To make sure that your device is rooted, download and install Root Checker App from Google play store.

Sources: 1

Check Also

Flash TWRP Recovery on LG G4

How Install/Flash TWRP Custom Recovery on LG G4

Installing TWRP custom recovery on your LG G4 handset is the next step after unlocking …

One comment

  1. 10/10 Works great!

Leave a Reply

Your email address will not be published. Required fields are marked *