We're not certain why OnePlus, a phone manufacturing company, is teaching us how to root the OnePlus 2 but that's certainly welcome than some random hackers. OnePlus knows rooting happens so it released its own instruction video on "How to Root the OnePlus 2". Adam Krisko and Carlo Savignano presented how to do the rooting. The video features a lot of backing up, rebooting, flashing, debugging, and more.
Feel free to watch the full video below but we've listed here steps on how to root the OnePlus 2. To start, make sure you download all files from the links below. Copy to a folder and click the installer. Run all the steps. Doing this will allow the Windows computer and phone to communicate.
After installing, backup backup phone data. Go to Settings> About phone > Tap seven times on the build number > Go back and open the Developer options > Allow development settings? Click Ok > Enable USB debugging.
On the computer, open the Command Prompt then run “adb backup-all”. On phone, confirm if you want to backup data. You can setup a password if you want.
On the phone again, go to Developer options and then enable OEM unblocking then turn off phone. Disconnect the cable. Turn it on again by holding volume and power at the same time to go to Fastboot Mode. It will ask you “Unlock will erase user data, continue?”
On Command Prompt, type “fastboot oem unlock” then press enter. Hit “Yes” by using the power button. Phone will boot up and then restore backup. Power off again and remove the cable.
Flashing the new recovery
• This part will allow you to flash SuperSU, the package that gives root privileges to the phone.
• Press volume up and and power key at the same time to get your OnePlus into • Fastboot mode again. Connect cable.
• Flash the new recovery you downloadeded earlier. On the computer, type “fastboot flash recovery”, then the path ./Desktop/OP2/twrp-188.8.131.52-oneplus2.img.
Flashing recovery. Wait then reboot again by typing “fastboot reboot-bootloder”, then enter. New recovery has been installed. This means phone is rooted.
Turn off phone again. Hold volume down and power key at the same time to open in recovery. Swipe to allow modifications. Connect cable again so the phone can be recognized by Windows. Copy the SuperSU into the phone storage. Go back to the phone, choose ‘Install’, scroll down and click on the BETA SuperSU zip file, then swipe to confirm flash. Once down, tap on Wipe cache/dalvik’, swipe to wipe, then choose ‘Reboot System’. Phone is rooted.
Restore all applications and data by restarting the phone which will take a while. Once phone’s home screen is up, connect phone again to the computer, choose Settings> About phone> tap seven times on build number, go back to ‘Developer options’, allow USB debugging.
On the computer, open prompt to restore backup file of applications data. You will need to download other apps again. Run ‘adb restore backup.ab’ and click enter. Confirm as needed.
Your OnePlus phone is now rooted. Congratulations!
• SDK Main page: https://developer.android.com/sdk/index.html#Other
(Download the official Android IDE and developer tools . Download SDK Tools Only - Windows.)