- dotTech - https://dottech.org -

How to root Nexus 6 on Android M Developer Preview 2 (MPZ79M) [Guide]

Android M [1]The Google and Android developers out of Mountain View patched past available exploits found with Android Lollipop and now those updated to Android M as a Developer Preview must find the root access using a different and updated method.

REQUIREMENTS

BEFORE WE BEGIN

HOW TO ROOT THE GOOGLE NEXUS 6 RUNNING ANDROID M MPZ79M DEVELOPER PREVIEW 2

  1. Download the Android SDK package from the official developer’s website here [3].
  2. Set up the ADB and Fastboot [4] on a Windows computer. It’s possible to set it up on a different OS, just not using the guide we dropped in the link.
  3. Download Fastboot for Windows here [5].
  4. Download the Despair kernel here [6]. Transfer it to the root of the SD card on the Nexus.
  5. Download the SuperSU here [7]. Transfer the SuperSU from the desktop of the computer to the root of the SD card so it’s not in any folder.
  6. Download the TWRP Recovery image from here [8]. Extract the custom recovery to the same folder where you have Fastboot.
  7. Turn of the Nexus device and boot it up again in Fastboot Mode by holding the  Volume Down + Power keys together.
  8. Open the command prompt window inside the folder where you have Fastboot and the TWRP Recovery image. Right click the mouse and hold Shift on an empty space and choose to open the command window.
  9. Type your first command:
  10. fastboot flash recovery openrecovery-twrp-2.8.5.0-shamu.img
  11. Your device will now boot up in the custom recovery mode.
  12. Choose the “Install” option from the recovery menu.
  13. Browse for the Despair.R20.6.Shamu.zip on the SD card and install it.
  14. Browse the internal SD card for the SuperSu and install it.
  15. Head back to the main recovery menu and choose to reboot that system and you’re ready to rock.