Update and Root Nexus 6P and Nexus 5X on MMB29P Android 6.0.1
Google has released MMB29P Android 6.0.1 Marshmallow for Nexus 6P and Nexus 5X handsets. While the update brings usual bug fixes and performance enhancements, it also carries some important security patches making it a mandatory update. Do not expect any major changes from this January 2016 Google update, but it will hopefully improve the overall experience while fixing the security loopholes. Following are the links and steps to update Nexus 6P and Nexus 5X to Android 6.0.1 based MMB29P update.
Prerequisites to update and root Nexus 6P and Nexus 5X on MMB29P Android 6.0.1:
- Create a backup of all important data on your Nexus device.
- Download and install USB drivers for Nexus in your computer.
- The Nexus 6P bootloader should be unlocked.
- Enable USB debugging option by pressing Menu > Settings > Applications. Navigate and tap on Developer Options to ensure that USB Debugging is enabled.
- If you are going to root, make sure to have a custom recovery tool like CWM, or TWRP (download link).
- Ensure that your Nexus 6P or Nexus 5X carries more than 70% of charge.
Steps to update Nexus 6P and Nexus 5X to MMB29P Android 6.0.1:
Step 1: Connect your Nexus device using a USB cable and turn it off.
Step 2: Now, 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 the START text on top.
Step 3: Extract the downloaded Android 6.0.1 file anywhere in your PC. Go to hammerhead-MMB29P folder and copy/paste all the files to your Fastboot directory (which often is the platform-tools folder inside Android SDK directory).
Step 4: This step involves flashing the desired factory image to your Nexus device. Open the folder containing the Android Marshmallow factory image downloaded and extracted. In the address bar, type cmd and 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. First boot may take up to 5 minutes, so don't be worried if it takes your device longer than usual to boot up.
Your device is now updated to the very latest MMB29P Android 6.0.1 Marshmallow. Once you are done, you can follow the instructions below to root your Nexus 6P or Nexus 5X on Android 6.0.1 Marshmallow.
How to root Nexus 6P and Nexus 5X on MMB29P Android 6.0.1:
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 6P on your PC. Also, download Fastboot from the following links, depending on your OS:
While the above links work for both the Nexus 6P and Nexus 5X, following links are specific to the devices:
- Download TWRP 220.127.116.11 for Nexus 6P; save it to the android-sdk-windows\platform-tools directory on your computer.
- Download TWRP for Nexus 5X; and save it to the android-sdk-windows\platform-tools directory on your computer.
Step 1: Extract the downloaded Fastboot file in android-sdk-windows\platform-tools directory on your PC. Create directory if not already there.
Step 2: Connect your Nexus 6P or Nexus 5X to your computer via USB.
Step 3: Copy and paste SuperSu file to your device's SD card root folder.
Step 4: Turn your Nexus off.
Step 5: Enter the Bootloader mode: power your Nexus on while pressing and holding Volume Down + Power keys.
Step 6: Go to android-sdk-windows\platform-tools directory and open Command Prompt (Shift + Right-click > Open Command Prompt) and type the following command:
- fastboot flash recovery twrp-18.104.22.168-angler.img (replace with twrp-22.214.171.124-bullhead.img for Nexus 5X)
Step 7: Once done, enter recovery mode by choosing Recovery from the Fastboot menu.
Step 8: In the recovery mode (CWM or TWRP), scroll to flash zip from SD card > choose zip from sdcard.
Step 9: Using the volume keys, locate SuperSU zip file and select it. Confirm the installation process.
Step 10: After installation is completed, go to +++++Go Back and reboot your Nexus device. First boot may take a few minutes.
Ta da! Your Nexus devices are now rooted on MMB29P Android 6.0.1 Marshmallow. You can verify the root with any Root Checker app.