How to Flash and Root Android 6.0 Marshmallow on Nexus
As promised, Google delivered the Android 6.0 – Marshmallow Factory Images for Nexus devices. All the Nexus forums have been buzzing with threads and posts ever since the image was posted online.
Most of the queries are regarding the Flashing procedure and then how to Root Android 6.0 – Marshmallow. In this post, I will cover the flashing and rooting process for Marshmallow on Nexus 6.
The process can be broken down to 4 simple steps.
- Backup & Setup.
- Unlock Bootloader.
- Flash Factory Image.
- Root.
Here we go.
1. Backup & Setup.
Unlocking Bootloader and Flashing the Userdata in the Factory Image erases your entire device so make sure you copy everything. I mean everything from Photos to Music on your device. Keep a copy of it on your hard disk.
In order to Flash and Root, you need to setup the Android SDK (not the complete sdk) & your device drivers. So download SDK Installer or Zip from here : Android SDK Tools.
Open SDK Manager once its done, Install the Google USB Drivers from the list.
Once that is done, find a folder named platform-tools in the SDK folder. You need to keep this folder handy as we will be using it a lot.
2. Unlock Bootloader.
Step 1. Open Settings > About phone. Tap 6 times on the Build Number option, you have now enabled the Developer options.
Step 2. Open Developer Options from the Settings > Enable USB Debugging & Enable OEM Unlock. Connect your device to your computer, your device will ask if you want to allow the connection, check always allow.
Step 3. Go to the platform-tools folder and open a command prompt in the folder (hold shift right click > Open command window here). Type in
adb devices
If your device is detected in there, proceed. Else reinstall the drivers.
Step 4. Next type in this command to reboot to bootloader mode.
adb reboot bootloader
Step 5. Once you see a screen with the Android robot, type in:
fastboot oem unlock
Step 6. A bootloader unlock confirmation page will appear. Press Volume Up to highlight Yes, and Power button to select it.
Step 7. Now your phone will reboot soon and undergo Factory reset. Next time it reboots, you will see an unlock icon below the Google logo while booting up.
Flash Factory Image.
Step 1. Download the Android 6.0 – Marshmallow factory image from here : Nexus 6 Marshmallow Factory Image.
Step 2. Extract it till you get a folder named “shamu-mra58k”. You might need 7Zip to extract the TGZ image file.
Step 3. Open the platform-tools folder and copy everything from there into the “shamu-mra58k” folder.
Step 4. Reboot into fastboot mode (adb reboot bootloader) and then go to shamu folder.
Step 5. Run the batch file named : flash-all.bat
Step 6. Let the command prompt run completely and then it will reboot your phone into Marshmallow. Woot woot!
Rooting.
Rooting your Nexus 6 running Marshmallow is a bit different than previous versions because now you need to have a Custom Kernel that has disabled System Write Protection. So this is how you do it.
Step 1. Download the following:
- TWRP Recovery.
- HellsCore Kernel.
- SuperSU.
Step 2. Copy the TWRP file into platform-tools and reboot your phone into fastboot mode.
Step 3. Run the following command:
fastboot flash recovery twrp.img
followed by
fastboot reboot
Replace twrp.img with the filename of the twrp image you downloaded.
Step 4. Now copy the Hellscore kernel and Supersu zip files into your Internal Storage on your device and reboot to recovery using the following command.
adb reboot recovery
Step 5. Once in TWRP recovery, navigate to Install and find the Hellscore kernel zip file. Swipe to Confirm Flash, then do the same with the SuperSu zip file.
Step 6. Reboot to System and you are rooted.
Hope this guide worked well for you. Do visit XDA to stay updated with new updates to Kernels, Recoverys and other news.
Do share it on Facebook, Twitter and Google Plus if it worked well for you.
Continue reading here: Netflix India Review and List of All Shows & Movies
Was this article helpful?
Readers' Questions
-
ARLO1 year ago
- Reply
-
Mari1 year ago
- Reply
-
Sauli1 year ago
- Reply