With the release of the third dev preview, the upcoming Android version comes one step closer to the public release. With the recent release, the root king – Chainfire, brought an update to the infamous SuperSU to support and easily root Android O Developer Preview. And so we are here to guide you through the complete process.
If you have already tried to root Android O Developer Preview with the previous versions of SuperSU, you would have probably failed. According to Chainfire, 2 lines of code related to SELinux policy change needed to be reworked in order to get things back in flow and root Android O Developer Preview 3 (Also 1 & 2). So, within 24 hours of the Dev Preview 3, a new update of SuperSU labeled 2.82 SR1 was released to the public.
Also, if you have previously faced incompatibility issues with Huawei devices, then this build will sort out things for you, even on the latest firmware. Since it is a BETA version, you may expect some bugs. There are several improvements, and more detailed information on the changes are available on Chainfire’s Google+.
Talk’s over, now let us hop on to how you can easily root Android O Developer Preview using the latest SuperSU BETA update.
How to Root Android O Developer Preview
In order to root Android O Developer Preview on supported devices – Nexus 5X, Nexus 6P, Pixel, and Pixel XL, you will first need to have an unlocked bootloader. If you haven’t done it yet, browse through our database to find your device-specific guide.
Further, the instructions will vary for the Nexus and Pixel devices.
» Nexus 5X & 6P
You can root these devices using the old-school TWRP flashing method. If you still haven’t installed TWRP, make sure to look for your device-specific guide in our database.
- Download the SuperSU 2.82 SR1 (BETA) flashable zip – SR1-SuperSU-v2.82-SR1-20170608224931.zip
- Transfer the file to your phone’s internal storage.
- Power off your Nexus device completely.
- Press and hold the Volume Down and Power keys altogether until you see the bootloader mode.
- Tap the volume button a few times until you see “Recovery mode” on the screen and press the power button to enter TWRP recovery.
- In the main TWRP screen, press the “Install” button and browse the internal storage for the file you transferred earlier. Select the file and swipe the button on the bottom to start the flashing process.
- It shouldn’t take more than a few seconds. When it’s done, tap on the “Reboot System” button.
» For Pixel and Pixel XL
Chainfire has provided special instructions for those running these devices. According to his notes, you do not need to flash the provided file using TWRP. Rather, you will only have to boot the image file using fastboot.
You will need to have ADB and fastboot setup on your PC. If you have it setup already, skip step #3.
- Download your device specific SuperSU root package for your Pixel/Pixel XL – Link
- Extract the downloaded zip, so you will have the “boot-to-root.img” file.
- Next, download the ADB and Fastboot standalone package and extract its content to the same folder where the “boot-to-root.img” file is present.
- Power off the device. Press and hold the Volume Down and Power button to enter bootloader mode.
- Connect your device to the PC using USB cable while it is in bootloader mode.
- Go to the folder where the root file is present. Press the SHIFT key and right-click on an empty space inside that folder. Select “Open command window here” from the pop-up menu.
- Enter the following command to root your Pixel device:
fastboot boot boot-to-root.img
- Once you enter the command, the root process will begin and your device will reboot, may be twice or more.
- Finally, it will boot into rooted Android O.
The first boot might take some time and your device may reboot a few times, so stay back and let it get through with the setup. That’s how easy it is to root Android O Developer Preview using SuperSU. Now that you have root, you can enjoy root applications and mods.
Source: XDA Blog
More for you: