How to root the Oneplus 3 (including how to unlock bootloader and flash TWRP recovery)
Rooting an android gives the user "root access" over the device, giving him/her full control of the features which require root access, and allows modifications of the android system files. This allows limitless freedom to the user such as flashing custom roms, removing system apps, changing boot animation etc. This is a tutorial on how to root the recently launched "OnePlus 3". Make sure to follow the tutorial carefully. also keep in mind that rooting your device usually voids your warranty unless the device manufacturer has stated otherwise. and finally, rooting can be a complex procedure and may lead to problem if the person doesn't know exactly what he/she is doing so remember that I am not responsible if you brick your phone, however that's unlikely to happen if you follow the tutorial properly. note: if you have your bootloader unlocked(requirement for root) skip step 3.
Step 1: Requirements
1. Mimimal adb and fastboot installed on your PC. (download setup here)
2. TWRP recovery image. (download here)
3. SuperSU flashable zip. (download here)
4. OnePlus 3 (duh)
5. Atleast 70% battery.
Step 2: Setting up
First download and install the Minimal ADB and Fastboot on your PC. Secondly, download the TWRP recovery image (rename it to recovery.img) and SuperSU.zip and place them in the directory where you installed adb and fastboot (usually c:\program files\minimal adb and fastboot\). then enable "USB debugging","OEM unlocking" and "Advanced reboot" in the developer options of your phone's settings. After that turn off your phone and boot it into fastboot mode by holding volume up + power. The phone will display "fastboot" if you're successful. then connect it to the PC via usb cable.
Step 3: Unlocking bootloader
Unlocking the bootloader will wipe everything off your phone so be sure to backup your data. Now to begin, run minimal adb and fastboot by clicking on "MAF32.exe" in the installation folder or using the shortcut provided, it would open the command window. Now type (without quotes):
This should list your device, if it isn't listed then check if you have enabled usb debugging in the developer option and if you have your phone's drivers installed on your pc. once the device pops up in fastboot devices, type:
"fastboot oem unlock"
remember this will probably wipe everything on your phone. Once it is successful, your phone has its bootloader unlocked and can be rooted. after that, type:
proceed to the next step to continue with the rooting process.
Step 4: Flashing custom recovery
Once you have had your bootloader unlocked and have rebooted, go to settings>developer options and make sure "USB debugging","OEM unlocking" and "Advanced reboot" is enabled. After that turn off your phone and boot it into fastboot mode again by holding volume up + power. also make sure the TWRP image file is present in the folder where minimal fastboot and adb is installed and the file is renamed to "recovery" with the file extension ".img" so it's "recovery.img" (not recovery.img.img). then go to the fastboot command window (that's still probably open on your pc) and type:
"fastboot flash recovery recovery.img"
Once this is successful, you have successfully flashed TWRP custom recovery on your phone. Now type:
"fastboot reboot recovery"
Your device should boot into the newly installed custom recovery. continue to the next step to install SuperSU which is the final step in rooting your device.
Step 5: Flashing SuperSU
Once your phone has booted into the twrp recovery, you need to copy the superSU.zip to your phone storage. This can be done either through the mount usb feature in twrp recovery if you're familiar with it or you could turn on your phone and copy it to your phone via usb transfer. After you have done that, go back to twrp recovery by turning off your phone and pressing volume down + power (if you had chosen the second method to transfer the supersu.zip). Now in the TWRP recovery tap "install" and locate the SuperSU.zip that you just copied to your phone, select it and install it. After it's finished, just reboot your device.
And with that we have successfully rooted your Oneplus3, check for the SuperSU app on in your phone and verify the root by using the "rootchecker" app or any app that requires root access.
Be sure to give your feedback in the comments and feel free to ask any questions, I'll be sure to respond!
And that's all for today~