OnePlus 2
How to root OnePlus 2 running Oxygen OS and install TWRP OnePlus

Chinese smartphone brand OnePlus recently released its OnePlus 2 smartphone that is available for purchase only via invites. However, for those who have already purchased the smartphone, rooting of the handset is much easier than purchasing one.

Rooting and installation of TWRP recovery within OnePlus 2 running Oxygen OS is quite simple and can be done as follows:

Pre-requisites before rooting and installation of TWRP

Ensure that you have in place the following software before beginning rooting:

SuperSU

TWRP

ADB installer files

OnePlus 2 Windows drivers

How to root OnePlus2 , running Oxygen OS

Step 1: Install ADB by following on-screen instructions. Extract and place the ADB folder, SuperSU and TWRP on the desktop of your computer. Rename these folders

Step 2: After installation of ADB file in Step 1, navigate to Settings within your OnePlus 2 smartphone. Here, locate Developer Options. To enable developer options, click the Build Number Seven times. The Build Number can be found within About Phone

Step 3: In developer Options, select Allow OEM Unlock and Advanced Reboot options

Step 4: Reboot the OnePlus 2 into Bootloader mode. If Advanced Reboot is selected in Step 3 then you can hold down the power button and select reboot to directly enter Bootloader, and then Bootloader. For users who have not selected Advanced Reboot, power off the handset and hold down volume Up

Step 5: After entering the Bootloader mode, interface the OnePlus 2 through the Type-C USB cable

Step 6: After interfacing, navigate to the renamed ADB folder. Launch a new Terminal Window

Step 7: In the terminal window, type the following commands:

fastboot devices

Observe your device's ID number being displayed after you enter the command

Step 8: Enter the following command to unlock the bootlaoder:

fastboot oem unlock

Step 9: Reboot the OnePlus 2 smartphone, after execution of Step 9

Step 10: After rebooting, Once your device has rebooted, navigate to where you stored the SuperSU download on the desktop and move this file to your smartphone's internal storage. Reboot again into fastboot. Ensure that the handset continues to remain connected to the computer.

Step 11: After Rebooting, navigate to Bootloader mode, launch a new terminal window and key-in the following commands:

fastboot flash recovery recovery.img

This command completes installation of TWRP within your OnePlus 2. To enter TWRP mode, enter the following command:

fastboot boot recovery.img

Step 12: After TWRP competes loading, click Install and navigate to the SuperSU zip location and complete installation.

Step 13: After completion of installation, clear cache memory and reboot the smartphone by making use of the reboot function within the TWRP page. Completion of Step 13 should render your OnePlus 2 rooted.

[Source: Android Headlines].