[XDA Assist] RizveeImran:
Android 6.0 Marshmallow

Android Marshmallow is as sweet as it sounds . I have been using Android M dev Preview for quite some time . I finally got my hands on the final Android M 6.0 Built Yesterday and it looks very much similar to Android L with some amazing Key features .

Key Features

Now On tap : Now on tap gives you information about thing on your screen quickly . Like you are listening to a song on Spotify and you want to know more about the song . Luckily you don’t have go back and write down the name of the song on your google search bar anymore , just long press the home button and it will give you just about all the info about the song you need . Sounds cool isn’t it ? It actually scans whatever is on your screen and gives you more info about it . I love this feature .

Doze Mode : With Doze mode you will get about 30 % extended battery life . When your device is at rest, Doze automatically puts it into a sleep state. So your phone can still set off your alarm in the morning even if you forgot to charge it .

App permission : Your apps will no longer have access to all the features in your device anymore without your permission .

Now that we are done with features lets talk about installing it manually . Well this actually quite easier than it looks . Follow the instructions below

This works with nexus phones and nexus phone only . If you are Samm**** user go away

Part 1

1. Download and Install Nexus Toolkit , make sure its updated . ( http://www.wugfresh.com/nrt/)

2. Download the Android 6.0 official final Build factory image for your device (https://developers.google.com/android/nexus/images?hl=en)

3. Now Plug your Nexus device to your computer . Make sure all the drivers are installed .

4. If your phones bootloader is locked , you will have to unlock the bootloader via nexus root toolkit .

Part 2 :Now its about time to flash the factory image

1. Find flash Stock + Unroot option on your nexus root toolkit (Below Restore /Upgrade/downgrade) and click it .

2. Press OK to continue

3. Below your Device information there are two options select “Other/Browse .. for use with any factory image package and below that select I downloaded a factory image myself that i would like to use instead ( tick on that )

4. Find and select the Android 6.0 factory image that you downloaded earlier

5,. Select it , skip hashtag option or whatever u find

6. Nexus toolkit will do the rest for you .. Cheers

Installing Custom Recovery :

If you want to install a custom recovery , follow the instructions below again sam**** user go away .

1. Plug your device to your computer

2. Open Nexus Root Toolkit , Make sure its updated .

3. Select Launch option Below Advanced Utilities Option

4. Find Recovery Options Below Fastboot flash option ( 2nd row)

5. Select TWRP and press okay .. Nexus Toolkit will do the rest for you .

CAUTION : DO NOT INSTALL THE ROOT FILES FROM TWRP . YOU WILL SURELY FACE BOOTLOOP . YOU NEED A CUSTOM DESPAIR KERNEL TO ROOT ANDROID MARSHMALLOW

Rooting Android M :

1. Download SuperSU Beta 2.49 and put in on your phone storage (

https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip

)

2. Also download Despair Kernel and put in on your phone storage

(http://xdaforums.com/google-nexus-5/orig-development/kernel-despair-kernel-t3123747)

3. Turn off your device .

4. Press power button + Plus Volume key and navigate to recovery mode ( use volume key to change options and press power button to select Noob )

5. Once you are in Twrp Recovery , Select Install and find the SuperSU 2.49 Beta , select it , then select add more Zips .. Find and select Despair Kernel this time .

6. Swipe to flash , Twrp will do the rest for you .

7. Press Reboot System after you are done

8 . Hoah your Android Marshmallow is rooted

PS : Don’t eat too many Marshmallows , you might get sick .

And you are welcome

Rizvee Imran