Technology with attitude

Nexus 5 Android M Root Guide and Updates – What Comes New?


The upcoming Android M is the upcoming mobile OS that Google is planning to launch in a few months. The company already released a developer preview that allows you to install and run it on your Nexus 5 (along with other Nexus devices such as Nexus 6 – the phablet, Nexus 9 – the tablet etc).

This will give the developers and users a chance to test out the new features that will be found on the upcoming Android M. In case you want to root your device while running Android M, it’s good to know that Google doesn’t offer any tools that do that.

However, we’re going to tell you all the steps that you need to take in order to root your Nexus 5 while running on Android M.

First of all, download the Minimal SDK to your computer from ericgaebel xda-developer forum post and unzip it. After that, connect your Nexus 5 to the computer using an USB cable and make sure that you have the USB debugging enabled from Settings->Development.

After that, open a command window and head to the Minimal SDK/Library folder. While you’re here, type “adb devices” and make sure that your device is connected (in case it is connected you should see it in the list). Then, type “adb reboot bootloader” in order to reboot your Nexus 5 in fastboot mode.

After the device has finished rebooting, type “fastboot flash twrp-” command. Using this command, you will flash the TWRP custom recovery. Keep in mind that you can also use ClockworkMod recovery tools.

Now, type “fastboot reboot” in order to reboot your Android M on your Nexus 5. After the OS has finished loading, you will need to type “adb reboot recovery” in order to reboot into TWRP. After TWRP has loaded, use the file manager browser from your computer to copy the and files into your Nexus 5 microSD storage. We suggest you to put it in the root directory of your microSD card (in /sdcard folder).

However, you can save the files wherever you want, but keep in mind that you will need to access them later.

Now, head to your Nexus 5 device and tap on the “install” button and scroll down to the /sdcard folder (or where you’ve saved the files) and find the files. Select one of the two files and, after that, select “Add More Zips” and add the second file. Now swipe the slider at the bottom of the screen until you reach “Swipe to Confirm Flash”.

Once you finish doing this, you will need to reboot the Nexus 5 and install BusyBox. You can do that by using the “adb sideload” command, but you can also copy the busybox.apk file into your Nexus 5 microSD card, reboot the Nexus 5 and use a the file manager application to locate and install the APK file. (make sure that Unknown Sources feature is enabled by heading to Settings->Security and checking the box in front of the feature).

That’s it, now you should have root access on your Nexus 5 running on Android M. Enjoy!