Android "M" is the working title of an upcoming release of the Android mobile operating system. First unveiled at Google I/O on May 28, 2015, Android "M" will focus primarily on incremental improvements and other feature additions.
The Android "M" developer preview was released on May 28, 2015, for the Nexus 5 and Nexus 6 phones, the Nexus 9 tablet, and the Nexus Player set-top box, under the build number MPZ44Q. The Developer Preview 2 (MPZ79M except for Nexus Player) was released July 9, 2015 for Nexus 5, Nexus 6, Nexus 9 and Nexus Player(MPZ79N).
You can root your Nexus 5 running Android M by following the steps in this tutorial. If you have not installed the latest version of Android M on your Nexus 5 you need to do so before proceed. You can now root your Nexus 5 thanks to DespairFactor over at XDA Forums. Follow the instructions on the next pages for the guidelines.
The first thing you need to do is flash the custom kernel and then install the SuperSU package after. Take a look at the steps below to learn how to root Nexus 5 Android M. (download links provided):
- Despair kernel | File: Despair.M.HH.R1-fixed.zip
- SuperSU beta v2.49 | File: BETA-SuperSU-v2.49.zip (3.83 MB)
This version will do fine to root Nexus 5 Android M build, but you can find the latest version of the kernel on the original Nexus 5 development page.
- GOOGLE NEXUS 5, running Android M, build MPZ44Q
Make sure that Android M is running on your Nexus 5 , if not you can download and install Android M on your Nexus 5 and then return to this guide.
Get started with the recovery:
- install TWRP recovery for Nexus 5. Ignore this step if you already have it.
- Download the custom kernel and SuperSU file from above.
- Transfer both files to phone’s storage. Remember the location where you put it.
- Boot into recovery mode.
- Power off your device first.
- Then press and hold volume up + volume down + power button together until you see anything on screen. This is fastboot mode.
- Press volume down two times to reach recovery option, and then press power button to select it and boot into recovery mode.
- [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.
Proceed to the next page after you have finished this step. Root Nexus 5 Android M device now.
- Flash custom kernel first. On main menu of TWRP recovery, select Install. Navigate to and select the custom recovery file (Despair.M.HH.R1-fixed.zip) and then use ‘Swipe to Confirm Flash’ option at the bottom of the screen to flash it on the device.
- Now, flash SuperSU file the same way you flashed the custom kernel above.
- Go to back to recovery’s Main menu, select Reboot » select System.
Your device will restart and your Nexus 5 Android M build will be rooted. Thanks for reading: How to Root Nexus 5 Android M device. If this tutorial worked for you then please share the information with others who might need it.