• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

DroidViews

  • Apps
  • Downloads
    • Android Apps
    • Themes
  • Guides
    • Root
  • ROMs
  • Reviews
  • Wallpapers
  • About Us
  • Contact Us

Root Nexus 5 and Nexus 6 on Android M Developer Preview

Naveen Robsworth | 02 Jun 2015 | Google/ Guides/ Root

nexus 6 root

Android M couldn’t be simply rooted by the fabled universal root package SuperSU, once again thanks to Google for making too many changes to the Android ecosystem for security purposes. Nevertheless, Android developers and tinkerers never give up on anything that is easy just because they were bumped to the wall once. SuperSU developer Chainfire has confirmed that SuperSU is not working on Android M but there are some modified kernels which can provide access to root Android M. And today here we are with a working Android M rooting technique on Nexus 5 and 6.

If you havenโ€™t already updated to Android M, follow the below link:

  • Install Android M Developer Preview on Nexus 5, 6, 9 and Player

The credit for the custom kernels goes to DespairFactorย of XDA who developed the custom kernels that helps SuperSU to root the device on Android M developer preview. You can now root your Nexus 5/6 just by flashing the Despair kernel and the latest SuperSU 2.49 through any custom recovery. So, if you’re ready to root your Nexus on Android M, just grab the below files and follow the simple instruction given below.

Downloads

  • Despairย kernelย for Nexus 5ย 
  • Despairย kernelย for Nexusย 6
  • SuperSU beta v2.49

Warning

Warranty may be void if you follow the below procedure. You alone are responsible for any consequences that might occur during the process, we shall not be held responsible for any damage to your device.

Prerequisites

  • Charge your Nexus device above 60% battery level to avoid shutdowns during the process.
  • Backup your device storage, Contacts, SMS, etc. using Google Sync service or any third-party app as the entire device will be wiped clean.
  • Install TWRP recovery on yourย Nexus 5 | Nexus 6

Root Nexus 5 and Nexus 6 on Android M Developer Preview

  1. Downloadย the custom kernel and the SuperSU zip files from above and transfer it to your device’s storage.
  2. Boot your Nexus into recovery mode. To do this:
    1. Power off your device completely.
    2. Press and hold Volume UPย + Volume Down + Power buttons together until you enter fastboot mode.
    3. Now, press Volume Down to highlight recovery option, and then press theย Power button to select it and boot into recovery mode.
  3. Now that you’re in TWRP recovery, we recommend taking a full nandroid backup of your device for safety. You can skip this step if you’ve already taken a backup.
  4. Now flash the custom kernel downloaded from your Nexus device. To do this, simply enter the Installย menu, select the custom kernel file from the list, andย swipe to confirm flashing.
  5. Once the custom kernel was flashed, flash the SuperSU zip in a similar manner.
  6. Go back to the recovery menu and reboot the device by selectingย Reboot ยป System.

That’s it! Once the device boots up, you can download Root Checker app to check root permissions on your device.

Root Nexus 5 and nexus 6

Let us know of any issues regarding the procedure in the comments section below.

Read Next: 9 Hidden Features in Android 6 Marshmallow

Tags: Android M Google Nexus 5 Nexus 5 Nexus 6 Rooting Guides

Related Posts

Android M on Moto G 2014 with AOSParadox ROM

Install Android M on Nexus 7 2012 WiFi

Install Android M Boot Animation on Note 4

Reader Interactions

Discussion

  1. Jun 13, 2015 at 2:21 AM
    jon says:
    Reply

    is Despair kernel safe

  2. Jun 13, 2015 at 6:30 PM
    Farid Bouchareb says:
    Reply

    help plz i cant download Despair kernel for Nexus 5

  3. Jun 4, 2015 at 1:00 PM
    Chris Jones says:
    Reply

    Code Blue kernel also works, and is based on AOSP Android M kernel. I’m wondering if anyone knows of an essentially stock kernel that has been modified only for permissive and/or whatever else is required to allow root to work, and no other changes. I’d prefer to be completely stock (other than being rooted and having a custom recovery) but so far the only kernels working with root are modified more heavily than I’d like.

    • Jun 4, 2015 at 3:57 PM
      Trooper311 says:
      Reply

      Same here. Is the Code Blue kernel also for the Nexus 6?

    • Jun 4, 2015 at 4:01 PM
      Chris Jones says:
      Reply

      Further, I’m preferring Code Blue right now because I can’t find any indication that the Despair kernel is based on the Android M codebase — all indications seem to be that it’s 5.1.1. Maybe there is an M based one somewhere but at least with Code Blue I can clearly see that the one build is Android M.

Join The Discussion: Cancel reply

We never share our visitor/user details. For more info, Please read our privacy policy before submitting your comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Footer

  • Apps
  • Downloads
    • Android Apps
    • Themes
  • Guides
    • Root
  • ROMs
  • Reviews
  • Wallpapers
  • About Us
  • Contact Us

Privacy Policy | Terms & Conditions
© 2025 ยท DroidViews