How to Flash and Root Nexus 5 to MMB29S Android 6.0.1 Marshmallow
Google has just released Android 6.0.1 MMB29S Marshmallow for Nexus 5 and other Nexus devices. This latest update brings some critical security patches among the usual performance enhancements. You can choose to install the update OTA when it becomes available or flash it manually. Follow this guide to manually update Nexus 5 to Android 6.0.1 Marshmallow. You can then also root your device and install ClockworkMod custom recovery tool on your Nexus 5 following these steps.
Prerequisites to update and root Nexus 5 on Android 6.0.1 MMB29S Marshmallow:
- Create a backup of all important data on your Nexus 5 device.
- Download and install USB drivers for Nexus 5 in your computer.
- Enable USB debugging option by pressing Menu > Settings > Applications. Navigate and tap on Developer Options to ensure that USB Debugging is enabled.
- Ensure that your Nexus 5 carries more than 80% of charge.
Note: Rooting your device voids its warranty; please proceed at your own risk.
Flash Nexus 5 on Android 6.0.1 MMB29S Marshmallow:
Required files: download Android 6.0.1 MMB29S for Nexus 5 factory images from here on your PC.
Step 1: Connect your Nexus 5 using a USB cable and turn it off.
Step 2: Start the device in Fastboot mode: turn on the phone while pressing and holding the Volume Up + Volume Down + Power keys until you see the Fastboot menu and START text on top.
Step 3: Extract the downloaded Android 6.0.1 file anywhere in your PC. Go to hammerhead-MMB29S folder and copy/paste all the files to your Fastboot directory (which often is the platform-tools folder inside Android SDK directory).
Step 4: Open the folder containing the Android Marshmallow factory images downloaded and extracted. In the address bar, type cmd, then type the command written below and press enter.
- On Windows: Run flash-all.bat
- On Mac: Run flash-all.sh using Terminal
- On Linux: Run flash-all.sh
Once the script finishes running, your Nexus device will reboot. Once you are done, you can follow the instructions below to root your Nexus 5 on Android 6.0.1 MMB29S Marshmallow.
How to root Nexus 5 on MMB29S Android 6.0.1 Marshmallow:
Required files: download Android SDK and install it. Set it up with platform-tools and USB drivers package in SDK. Download SuperSU v2.66 for Nexus 5 on your PC. Download CWM 220.127.116.11.5 or TWRP recovery tool and save it to the android-sdk-windows\platform-tools directory on your computer.
Finally, download Fastboot from the following links, depending on your OS:
Step 1: Extract the downloaded Fastboot file in android-sdk-windows\platform-tools directory on your PC (should be under C:\Android). Create directory if not already there.
Step 2: Connect your Nexus 5 to your computer via USB.
Step 3: Copy and paste SuperSU-v2.66 zip file to your device’s SD card root folder.
Step 4: Turn your Nexus 5 off.
Step 5: Enter the Bootloader mode: turn your Nexus 5 on while pressing and holding Volume Down + Power keys.
Step 6: Go to android-sdk-windows\platform-tools directory on your computer and open Command Prompt (Shift + Right-click > Open Command Prompt) and type the following command.
- fastboot flash recovery recovery-clockwork-touch-18.104.22.168.5-hammerhead.img
Step 7: Once done, enter recovery mode by choosing Recovery from the Fastboot menu.
Step 8: In the recovery mode (CWM or TWRP), scroll down to flash zip from SD card > choose zip from sdcard.
Step 9: Using the volume keys, locate the SuperSU-v2.66.zip file and select it. Confirm the installation process.
Step 10: After installation is completed, go to +++++Go Back and reboot your Nexus 5. First boot may take a few minutes so please be patient.
That’s it! Your Nexus 5 is now rooted on Android 6.0.1 MMB29S Marshmallow. To confirm the root access, use any Root Checker app to verify the root.