Install Android 6.0.1 MMB29K on Nexus 5X, Root and Install Custom Recovery
Got yourself the brand new LG Nexus 5X? Get ready to adorn it with the first major Marshmallow update since the release. Android 6.0.1 Marshmallow factory images are now live. You can choose to wait for the OTA update or manually flash the factory images. Follow this guide to install Android 6.0.1 Marshmallow on LG Nexus 5X, root it and install custom recovery tool on it.
Prerequisites to update and root Nexus 5X Android 6.0.1 Marshmallow:
- Create a backup of all important data on your Nexus 5X device.
- Download and install USB drivers for Nexus 5X 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 5X carries more than 80% of charge.
Note: Rooting your device voids its warranty; please proceed at your own risk.
Flash Nexus 5X Android 6.0.1 Marshmallow factory images:
Required files: download Android 6.0.1 MMB29K for Nexus 5X factory images from here on your PC.
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 START text on top.
Step 3: Extract the downloaded Android 6.0.1 file anywhere in your PC. Go to hammerhead-MMB29K 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. Once you are done, you can follow the instructions below to root your Nexus 5X on Android 6.0.1 Marshmallow.
How to root Nexus 5X on 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.60 for Nexus 5X on your PC. Download TWRP 188.8.131.52 or CWM 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 5X to your computer via USB.
Step 3: Copy and paste SuperSU-v2.60-20151205163135.zip file to your device’s SD card / internal memory root folder.
Step 4: Turn your Nexus 5X off.
Step 5: Enter the Bootloader mode: turn your Nexus 5X 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 twrp-184.108.40.206-bullhead.img
Step 7: Once done, enter recovery mode by choosing Recovery from the Fastboot menu.
Optional, but recommended: Once you have a custom recovery installed on your Nexus 5X, it is highly recommended to create a Nandroid backup of your current OS so you can easily move back to it if things don’t work out. Go to Recovery > Backup > Backup and Restore. These options are a little different depending on the recovery you are using.
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.60.zip file and select it. Confirm the installation process.
Step 11: After installation is completed, go to +++++Go Back and reboot your Nexus 5X. First boot may take a few minutes so please be patient.
Ta da! Your Nexus 5X is now rooted on Android 6.0.1 Marshmallow. To confirm the root access, use any Root Checker app to verify the root.