MRA58K Marshmallow Root for Nexus 5, Nexus 6, Nexus 9, Nexus 7 2013 and Nexus Player

Root MRA58K Marshmallow update

Update: There is a new Marshmallow root method available now, from well-known developer Chainfire. You can try that too. We’ve also created a full video for that root that guides you to full process, and includes installation of TWRP on the way.

Google has begun it’s promised rollout the release of MRA58K Marshmallow update today, and it has hit all eligible devices in Nexus 5, 6, 7, 9 and Player.

But we know already that you are waiting for root access already, before updating to Android 6.0. Because, you have got your favorite apps, without which you may not be as productive as you wish. Note: Actual productivity may not necessarily mean increased productivity a work, if you are too much into customizing your Android buddy with Xposed modules and stuff.

Anyway, we though a place for Marshmallow root would be nice. And hence this page.

As of right now, the Marshmallow update with build no. MRA58K, just started rolling out. So, we gotta wait for some hours or days for developers to figure out root access, which is nothing else, could require a custom kernel with permissive property, just like on Android 5.1.1.

We would be sharing the download links of such custom kernels here as and when they come, for each of the Nexus device getting Android 6.0 Marshmallow update.

Downloads

  • Custom kernel that supports root:
    • Nexus 5Link | File: ElementalX-N5-6.00-express.zip (9.2 MB)
      The above kernel is a stock kernel with only some tweaks, and just allows root access.
      Alternate 1: You can also try the HellsCore kernel, which includes some tweaks too — Link here.
    • Nexus 6Link | File: kernel-shamu-mra58k-color-root.zip (7.9 MB)
      The above kernel is stock kernel, and allows root, plus disables warnings of any sort. It keeps encryption enabled as you may need it, but if you don’t, download this version of the kernel which disables encryption too.
      Alternate 1Link | File: ElementalX-N6-3.00.zip (9.8 MB)
      The above kernel is a stock kernel with only some tweaks, and just allows root access.
      Alternate 2: You can also try the HellsCore kernel, which includes some tweaks too — Link here.
    • Nexus 9 WiFi — Link | File: ElementalX-N9-4.00.zip (9.0 MB)
    • Nexus 9 LTE — Link | File: ElementalX-N9-4.00.zip (9.0 MB)
    • Nexus 7 2013 WiFi — Link | File: ElementalX-N7-5.00.zip (12 MB)
    • Nexus 7 2013 3G — Link | File: ElementalX-N7-5.00.zip (12 MB)
    • Nexus Player — Link | File: (not available yet)
  • SuperSU Root package — Link | File: BETA-SuperSU-v2.49.zip (3.83 MB)

Update: Links added for Nexus 5, Nexus 6, Nexus 9 and Nexus 7 (2013). In case root is still problem, let us know via comments below.

Original: Keep watching this page, as it will be updated with links to root supporting kernels as and when they come out, which shall be happening very, very soon. Once we have custom kernel for the device, you can root that device easily.

How to Root Guide

Required: Android 6.0 running on your Nexus device. If it’s on Android 5.x, then get the Marshmallow update first.

Step 1. Install TWRP recovery for your Nexus deivce

  • Nexus 5
  • Nexus 6
  • Nexus 9
  • Nexus 7 2013 (WiFi): Download the TWRP’s .img file from here, and flash using guide on Nexus 5 TWRP page above.
  • Nexus 7 2013 (3G): Download the TWRP’s .img file from here, and flash using guide on Nexus 5 TWRP page above.

Skip the below if you own nexus 5, nexus 6 or Nexus Player. It’s only for Nexus 7 and Nexus 9, which are encrypted by default. [Btw, here is an alternate link for Nexus 5 TWRP, although the one linked above is fully recommended.]

For Nexus 7 and Nexus 9 specially, be sure to boot directly into TWRP, right after flashing/installing it using fastboot command. For this, while it’s in bootloader mode, disconnect it from PC, use volume up/down button to bring up recovery menu, and then press Power button to enter recovery mode, and use TWRP. If you boot normally, TWRP would get lost.

When you will enter TWRP, it would ask for password, then just tap on Cancel button.  Then tap on Wipe, and do the swipe action at bottom to factory reset your Nexus 7/9. Everything on the device will be deleted.

Tap on Mount and enable MTP mode from there. Now you can transfer files to device again for flashing with TWRP. Or you can also use adb push <filename.zip> command to transfer kernel and SuperSU file to device. Now follow step 6 directly.

Step 2. Download the custom kernel and SuperSU file from above.

Step 3. Transfer both files to device’s storage. Remember the location where you put it.

Step 4. Boot into recovery mode.

  1. Power off your device first.
  2. Then press and hold volume up + volume down + power button together until you see anything on screen. This is fastboot mode.
  3. Press volume down two times to reach recovery option, and then press power button to select it and boot into recovery mode.

Step 5. [Optional] Make a backup. Once in TWRP recovery, take a backup of your current ROM/firmware. Select Backup, then do a “Swipe to Back Up” on the bottom of the screen. Wait for the backup to finish, it’s a time consuming process.

Step 6. Root Android Marshmallow on your Nexus device now.

  1. Flash custom kernel first. On main menu of TWRP recovery, select Install. Navigate to and select the custom kernel file. Then use ‘Swipe to Confirm Flash’ option at the bottom of the screen to flash it on the device.
  2. Now, flash SuperSU file the same way you flashed the custom kernel above. (Don’t flash SuperSU before custom kernel.)

Step 7. Go to back to recovery’s Main menu, select Reboot » select System.

Your Nexus buddy will restart and once it does, you will have root access on it. Enjoy!

That’s it. Let us know if you know any help with this.

Via ElementalX & Hells Core & gerar_f

59 Comment

  1. Nikhil says: Reply

    Can I flash SuperSU without the flashing custom kernal

    1. Krishna says: Reply

      You can flash, but it won’t be a success.

      1. nik says: Reply

        In Lollipop it can be done.
        so whats there in Android M that deny superSU without flashing a kernal

        1. Krishna says: Reply

          Actually, stock kernel doesn’t allow SuperSU to do its thing.
          So you need custom kernel, which has permissive property in it, and that allows SuperSU to do its job.
          It should be available for Nexus 5 and Nexus 6 soon, within 24 hours from now I guess.
          And, you can try flashing SuperSU, it won’t cause any harm anyway. If anything, you may need to re-flash the stock kernel.

          1. nik says:

            Thanks a lot for the help

          2. Krishna says:

            If you own either of Nexus 5 or 6, then you can try root access now.

  2. Krishna says: Reply

    Links added for Nexus 5 and Nexus 6. Check it out!

  3. nnvt says: Reply

    Created a insecure boot.img for the nexus 7 2013 flashed supersu and got a bootloop is there anything else I need to change inside the ramdisk? i changed ro.secure to 0

  4. Dylan says: Reply

    Is this just a modified stock kernel or what? I was planning on going back to stock rom/kernel but with root.

    1. Krishna says: Reply

      Kernel whose filename is starting with HC isn’t all stock, and includes some customization.
      If your device is Nexus 5, use alternate kernel provided, which is completely stock.
      I am adding a stock kernel choice for Nexus 6 now. So just wait a little bit for this post to be updated if your buddy is a Nexus 6.

  5. Dylan says: Reply

    Nexus 6. Will try and be patient. I tried using NRT before I saw this and got a “corrupt device” message. Im assuming this will fix it?

    1. Dylan says: Reply

      Also since im a little late is the StephanMc_Kernel-hammerhead the stock kernel? Sorry Just a little new to this, have only had to do this once.

      1. Krishna says: Reply

        Yes it is stock kernel. No problem. It’s easy. Just flash the Stephan kernel, you will be fine.
        It’s good to avoid HC kernel as you are new, as it includes lots of tweaks.

      2. Krishna says: Reply

        Wait, don’t flash stephan kernel. It’s of Nexus 5 it seems… by mistake.

      3. Krishna says: Reply

        Okay, corrected.
        So, you have a Nexus 6, just download this file (ElementalX-N6-1.10.zip).
        https://www.androidfilehost.com/?fid=24052804347800788

        Flash this, it’s almost stock as it contains minimal tweaks, which you opt to not select while flashing it. But I think you will like the small tweaks and might wanna keep it.
        See ya!

  6. David says: Reply

    Followed the instructions verbatim. I’m on a boot loop now. Guess I’ll wipe and try again.

  7. Calamity says: Reply

    Possible to get rid of corruption message when you boot?

  8. Krishna says: Reply

    All links were updated again only moments ago, try the ElementalX kernel now. It’s been updated for Marshmallow again. Good luck!

  9. 4nup says: Reply

    Nice article. I went ahead without reading it and my n5 got stuck in bootloop twice :p. I didnt flash custom kernel. now I know what went wrong 😉

  10. Christian says: Reply

    Is it currently possible to mount /system as writable atm? Have had no success despite setting SELinux to permissive. I’m using an unencrypted N9 Wi-Fi with ElementalX 4.00 and SuperSU 2.49. This is my first time trying Marshmallow, so I don’t know if this was possible at all with the previews.

    1. Krishna says: Reply

      Are you saying that even after flashing the ElementalX kernel and SuperSU file, you still do not have root access?
      Or are you trying to develop one?
      Or both of the above cases?

      1. Christian says: Reply

        I can run apps as root, yes – but write-access to the /system partition is not possible. Some root apps need this to work correctly, like ad-blockers. From the bits and pieces I’ve gathered so far write-access to /system is indeed currently only possible from within TWRP, and it was already like that in the previews. I hope SuperSU catches up soon.

        1. Krishna says: Reply

          Have provided a new kernel for Nexus 6, which is confirmed to work 100% alright. Try that. Here is the link again: https://goo.gl/0wQeiF
          Install this using TWRP, and your device would work perfect with root access.

  11. Jake says: Reply

    Nexus 6, rooted successfully with the elementalX kernel above and supersu reports as working, but I still get the corrupt device message on boot and access to the system ROM is denied (busybox and won’t install, adaway will not update the host file). I do appear to actually be rooted as tasker with secure settings can still change basic settings but anything to do with the system ROM like titanium backup does not actually work.

    1. Krishna says: Reply

      Which color is the corrupt device message? Red, yellow or orange?

      1. Ayush says: Reply

        I tried rooting it with nexus root tool kit, but failed ever since then I’m getting the corrupt device message in orange any idea how to fix? I didn’t do the clean wipe while flashing tho

        1. Krishna says: Reply

          Which device it is? Nexus 6? And which file did you flash via TWRP?

          1. Ayush says:

            Nexus 6 yes, I m still not rooted , any idea how to fix it? plus i would like to root it also, but not sure which files to flash, prefer flashing SuperSu tho dont mind replacing the kernel as long as its near stock with no to 0 lag

    2. Krishna says: Reply

      Can you please try and flash this file: https://www.androidfilehost.com/?fid=23991606952602503
      This will set the kernel to permissive mode.

      If this doesn’t work, then you can surely try the alternate kernel we provided above, the one which includes some tweaks. Here’s link again: http://renderserver.net/?dl=6cfdf96aff584924592e73b51f0f7629
      Try that, that should fix these system r/w issues, and disable the warnings. Let me know.

  12. works great thanx

  13. Jake says: Reply

    Same results with latest elementalX kernel.

    1. Krishna says: Reply

      Which device it is? And did you have any any other custom ROM or kernel installed prior to flashing the Marshmallow update?
      Provide more info, like, whether you received the Android 6.0 as an OTA or used a factory image?

    2. Krishna says: Reply

      Try the hells Core kernel provided as an alternative above, this should disable the warnings.
      Link: http://renderserver.net/?dl=6cfdf96aff584924592e73b51f0f7629

    3. Krishna says: Reply

      Have provided a new kernel for Nexus 6, which is confirmed to work 100% alright. Try that. Here is the link again: https://goo.gl/0wQeiF
      Install this using TWRP, and your device would work perfect with root access. Let me know.

  14. Jake says: Reply

    Excellent! This cleaned up all the problems I was having!
    Nexus 6, 64 gb, from Moto. Downloaded the factory image from Google and upgraded the LYZ28K. Had tried both versions of the ElementalX kernel flashing with superSU through TWRP as described in the directions. This most recent kernel works perfectly though!
    Thanks!

    1. Krishna says: Reply

      You’re welcome!

  15. TWRP wont flash to my Nexus 7. Just keeps stock recovery when i reboot into it.

    1. Krishna says: Reply

      Are you using fastboot boot command, or fastboot flash recovery command? You have to use the latter to permanently flash TWRP on your Nexus 7.
      Be sure to download Nexus 7’s own TWRP, and not of any other device.

      1. Filu says: Reply

        I have the same issue on neuxus 7. Im using right img file (flo) and twrp one-click-installer – keeps booting into stock recovery

        1. Krishna says: Reply

          So, your Nexus 7 is Wi-Fi only edition, right? once again make sure you download flo twrp img for N7 WiFi, while deb twrp img for N7 3G/LTE.
          You know, use the Nexus 5 guide over here: http://www.theandroidsoul.com/nexus-5-twrp-recovery-downloads-step-step-guide-45976/
          And, flash the twrp img using fastboot flash recovery twrp-recovery-image-filename-of-yours.img
          Don’t use fastboot boot twrp-recovery-image-filename-of-yours.img command. That only boots you into TWRP without actually flashing it. So, if you do use this, be sure to install the twrp using Install menu, and then selecting img file of twrp.
          Hope it helps.

  16. James Heather says: Reply

    Nexus 7 root seems to work fine, but then if you encrypt /data, it won’t boot. Is there an N7 kernel that enables encryption? And what about N9 and encryption?

    1. Krishna says: Reply

      Yet to see a that sort of kernel for N7 (2013). Will let you know once we come across it.

  17. vALA says: Reply

    y did google do this? android is all about rooting and customization. i dont understand.

  18. cadcat says: Reply

    Used “Wugs Nexus Root kit” to flash MRA58 on my Nexus 7 Wifi 2013.
    It gets the OTA from the net. Success.
    Next Step: Used the same prog to flash recovery and root.
    Twrp worked, after flashing SU = bootloop.
    Found this article. (Thank you for all the help)
    Used TRWP to flash ElementalX kernel and BETA-SuperSU-v2.49.
    Reboot success !

    1. Thanks for the info! I had the exact same situation…waiting for the boot animation to finish now. Hopefully I get the same result.

  19. haseoxth says: Reply

    Very useful article, thanks bro.

  20. Filu says: Reply

    Aby news hot to root nexus 9 wifi (volantis) ? I was trying flounder way but it left me with encrypted TWRP (default_password) does not work 🙁

    1. Krishna says: Reply

      That’s because you have encryption enabled on your device. Try the password or pin or pattern you set there. Do you see option for that?

      1. Filu says: Reply

        Thats the thing i havent set any encryption. I found some info that latest TWRP for Nexus9 does not support M encryption so it is blocked (encrypted) for /data. Unfortunatley adb sideload does not work either

    2. Krishna says: Reply

      Okay.. I updated the post, especially step 1. It’s tricky for Nexus 9. You have to boot into TWRP right after installing it, or it would get lost. Follow the step 1 again. It’s detailed out there. Good luck!
      Btw, same kernel works for WiFi and LTE variant of nexus 9, have updated download section too.

      1. Filu says: Reply

        Updated drivers – sideload worked, flashed kernel and SU. Nexus9 fully rooted 🙂 If someone have issues with encryption – just use adb sideload from twrp

  21. kernel-shamu-mra58k-color-root.zip was helpful in getting Adaway to work. By the way. I was able to disable encryption when I did a factory reset as the SDCard size was double than normal.

  22. How do I get the kernel and supersu on my phone after I m already in twrp recovery. I can’t boot onto my os anymore, it keeps rebooting, when i plug my phone onto my laptop via usb i can’t send any files to it because it doesn’t show up as a removable device. I’m stumped, please help.

    1. Krishna says: Reply

      It’s easy, if it works.
      Connect the device to PC, you should be able to transfer files.
      Make sure you ‘enable MTP’ under the mounts menu of TWRP.
      Also make sure you have driver installed, both adb and OEM. Find ADB driver here: http://www.theandroidsoul.com/how-to-install-adb-and-fastboot-with-drivers-on-windows-quickest-setup-75174/

      Alternate option:
      And, connect device to PC, and see if ADB is working. Be sure to install ADB driver first.
      After connecting to PC, open a command window, and type the command below:
      adb devices

      Do you get a serial no.?
      If yes, then adb is working. To transfer a file, issue this command:
      adb push full-filename.zip /sdcard/
      Make sure file is in the folder where command window is pointing location to, or open command window in folder where you have files, for this, open that folder, type cmd in address bar and then hit enter key.

      I hope it helps.

  23. Owen says: Reply

    I want to root a nexus player can I do it now with these instructions, I’m hoping to install openvpn installer, has anyone tried this I need to be able use vpn thank you I am new to this

  24. Danyzd says: Reply

    will this work on nexus 7 (2013) mra58v?

  25. I was able to successfully root my phone using this guide. Thanks.
    I just received an OTA update and it wouldn’t let me install; any idea on how to proceed further? I am ready to unroot and probably root all over again after the update has installed.

    1. Danyzd says: Reply

      Probably your new OTA is MRA58V like on my nexus. I currently wait for info on custom boot.img for mra58v to root mine.

  26. Marian says: Reply

    tryed to use it on my nexus 5 after going to recovery mode i press power button and it shows me the android icon with a red sign on it and below it No command, And i can’t do anything from that point. I did tryed to root my phone in the past unsuccesfull could that be a problem?

Leave a Reply