[OnePlus 3] How to Unlock Bootloader, Flash TWRP, Root, Nandroid Backup and More !

vickyjusme

Senior Member
Nov 30, 2013
230
77
48
I've now reflashed using the file 'OnePlus3Oxygen_16_OTA_008_all_1606122244_e0cfc5ffc8bf411a.zip'. The device is encrypted by default, but this did not prevent me from rooting the phone using the procedure in this post.

What caused my problems is having a pin registered at boot up. This would have been set when I set lock screen PIN and checked 'Require PIN to start device'.

The fact that this wasn't set this time round solved my issues. I am informed that if you want to remove this protection, you can change the lock screen security to 'none', repeat the procedure to use a PIN, this time you decline the additional security step.

Still waiting for news regarding OP tech support. Don't need it but I'd like to unlock their stock image for everyone's benefit in case it has some nice goodies in it (stock recovery.img anyone?)
I am gonna receive a opo3 tomorrow. I don't wanna be stuck. please tell me if I can use the instructions in this thread to unlock / install twrp / root and use the stock ROM. if I do not setup any security while booting?

Sent from my Nexus 5 using Tapatalk
 

UnnamedFile

Member
Jul 19, 2015
22
4
0
Here's my report on the successful process: Before flashing TWRP, I did unlock/lock/unlock the bootloader, and only the first time I set up the fingerprint and device password, so after unlocking it the second time, there was no password set, but twrp asked me for one, so I entered the one I did use before, and it was accepted, and then I formatted userdata to decrypt it, and set up that part from scratch.

Another thing I noticed: With an unlocked bootloader, you get the "this device is unlocked" message at power on, and it asks you to press a button during a 5 second countdown to enter a menu where you can chose fastboot, recovery, power off etc. - however, selecting recovery in that menu doesn't work (at this time neither for stock recovery, nor for twrp). Instead, I have to let the 5 second countdown pass and then as soon as this screen is replaced with the 1+ logo, press the volume down button in order to enter twrp. Works every time, it's just something you have to know.

Other than that, I've been successful at flashing XPosed, installing the xposed framework installer, installing XPosed on the device, and installing XPrivacy into XPosed. Works like a charm!
(Now the fiddeling begins, what must be allowed for the intended functionality to work, while not exposing too much data about me to Google and other "Big Brethren").

The last step will be to import contacts (from vcf file or Nextcloud as soon as I get it set up) and inserting a SIM card or two into the device :)
 

Naman Bhalla

Senior Member
Jan 1, 2014
1,166
3,051
0
22
Here's my report on the successful process: Before flashing TWRP, I did unlock/lock/unlock the bootloader, and only the first time I set up the fingerprint and device password, so after unlocking it the second time, there was no password set, but twrp asked me for one, so I entered the one I did use before, and it was accepted, and then I formatted userdata to decrypt it, and set up that part from scratch.

Another thing I noticed: With an unlocked bootloader, you get the "this device is unlocked" message at power on, and it asks you to press a button during a 5 second countdown to enter a menu where you can chose fastboot, recovery, power off etc. - however, selecting recovery in that menu doesn't work (at this time neither for stock recovery, nor for twrp). Instead, I have to let the 5 second countdown pass and then as soon as this screen is replaced with the 1+ logo, press the volume down button in order to enter twrp. Works every time, it's just something you have to know.

Other than that, I've been successful at flashing XPosed, installing the xposed framework installer, installing XPosed on the device, and installing XPrivacy into XPosed. Works like a charm!
(Now the fiddeling begins, what must be allowed for the intended functionality to work, while not exposing too much data about me to Google and other "Big Brethren").

The last step will be to import contacts (from vcf file or Nextcloud as soon as I get it set up) and inserting a SIM card or two into the device :)
That 5 sec counter is secured verified boot which tells you if your device is modified in any way. There is a way to overcome it, but, that requires the factory images

Sent from my OnePlus2 using XDA Labs
 
  • Like
Reactions: flurka

iceman522

Member
Aug 2, 2012
11
1
0
Firstly big thanks to the OP for the guide, very clear and easy to follow.

Reading through the thread, I did do a factory reset before i started, didn't set any pin or fingerprint for unlocking the phone and followed this guide. Worked like a charm, phone is rooted, TWRP is working fine. Hopefully xposed next.
 
  • Like
Reactions: Joshmccullough

ironhair

New member
Nov 27, 2009
4
0
0
Here is the OxygenOS 3.1.2 Full Zip :-
Probably just clean flashing it alone might bring back stock recovery which can further be backed up.
Just clean flash it (backup apps using Titanium Backup Pro, wipe dalvik, system, data, cache and flash and then reboot and restore apps via Titanium Backup Pro)

Sent from my OnePlus2 using XDA Labs
I just got my OnePlus3 and the update message for 3.1.2 shows that it's 1606062247.
How is this different from your 1606122244?

Also, do I need to decrypt my phone to unlock the bootloader/root the phone?
I have not set up any password or fingerprint access yet.

---------- Post added at 12:09 PM ---------- Previous post was at 12:04 PM ----------

Yes. It is because of dm verity

Sent from my OnePlus2 using XDA Labs
Can you please tell how to root it without unlocking the bootloader... or after rooting it, locking it again?

I want a rooted phone, but I don't want to lose the option of having OTA updates.
 

ivAnash

Senior Member
Aug 15, 2011
465
79
0
Bangalore
Just to notice: you'll loose the stock recovery and therefore can not use any coming OTA.
I did know that.. Is there an alternative way to get updates..

Another question. How to remove the "unlocked bootloader , not safe , blah blah " screen , which shows up everytime I reboot my op3...
 
Last edited:
  • Like
Reactions: flurka

ironhair

New member
Nov 27, 2009
4
0
0
Any way to recover the stock recovery, update and then root again?

Also, yea.. I tried checking how to use dm verity. Couldn't figure it out.
 
Jan 5, 2011
27
2
0
Vermont
I was successfully able to unlock and root my op3 using this tutorial. The only issue has already been mentioned, a 5 second boot delay with a warning screen full of spelling errors. Hopefully this can be disabled soon.
 

flurka

Senior Member
Jan 4, 2011
50
11
0
Has anyone got their hands on a patched boot.img yet? Would be nice to not having to see that untrusted varning!
Unlocked my op3 with the help of this guide and it worked just fine.
I have had set a pattern code for encryption but I just swiped the unlocking pattern when I boot to twrp and it works fine to.
 

jbw716

Senior Member
Aug 31, 2014
436
161
0
Hammond
Yes. Oneplus 3 comes encrypted by default and do decrypt it, you need to fastboot format userdata

Sent from my OnePlus2 using XDA Labs
Does the OP3 come encrypted by default or does OOS for the OP3 come encrypted by default? I ask this because I am curious if reflashing OOS on the OP3 will restore the encryption or not. Thanks! :D
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone