[RECOVERY] Unofficial TWRP

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,494
0
Vienna
This is an unofficial port of TWRP for the OnePlus 3

Downloads:

https://basketbuild.com/filedl/devs?dev=Grarak&dl=Grarak/oneplus3/recovery.img

Sources:

https://github.com/Grarak/android_device_oneplus_oneplus3
https://github.com/Grarak/android_kernel_oneplus_msm8996

Installation:


Download the recovery image and make sure your bootloader is unlocked
reboot into fastboot and execute

Code:
fastboot flash recovery recovery.img
Known issues:

Mouse pointer is hovering in the middle of the screen all the time, doesn't affect usability.
I am not sure if OTG works right now, last time I tried it didn't.
Everything else is working including decryption!

XDA:DevDB Information
TWRP OnePlus 3, Tool/Utility for the OnePlus 3

Contributors
Grarak

Version Information
Status: Beta

Created 2016-06-18
Last Updated 2016-06-18
 

~MaX~

Senior Member
Dec 31, 2010
220
37
58
hello, i have problems copying my old files to my new OP3 and i think it might have something to do with the encrypted storage on the new phone. (when i copy my files to the phone, the last modified date changes to the current date and i want to keep the correct timestamps)
how can i decrypt the data partition in twrp?
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,494
0
Vienna
hello, i have problems copying my old files to my new OP3 and i think it might have something to do with the encrypted storage on the new phone. (when i copy my files to the phone, the last modified date changes to the current date and i want to keep the correct timestamps)
how can i decrypt the data partition in twrp?
TWRP will either automatically decrypt your data or ask for your password.
 

ant_thomas

Senior Member
Feb 25, 2007
271
26
0
After flashing SuperSU in TWRP and doing a factory reset/wipe, how long should it take the OP3 to boot?

I feel like I've been stuck on the 1+ Powered by Android screen for far too long.
 

Planet X

Senior Member
May 10, 2008
1,468
503
0
Amersfoort
This is an unofficial port of TWRP for the OnePlus 3

I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?

Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that :)
 
Last edited:

Kiray1982

Senior Member
Dec 17, 2010
682
1,122
123
I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?
Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that :)
i have the same issue^^ after restoring any rom, my pin / my pattern isn't valid anymore.
 

Natakranta

Senior Member
Mar 19, 2013
3,192
6,137
263
Dublin
I have a problem with that recovery. Every time after I restore a backup I have made with that recovery my phone starts up and the unlock pattern is not valid anymore.
I have that now for the third time. Do you have a fix for that?

Edit: Fixed the pattern. But there is something wrong with that recovery. Please fix that :)
From Nexus 6P guide - 4. How To Make A Nandroid Backup With TWRP Recovery:
Note: If you happened to forget to remove lockscreen security (PIN/Pattern/Fingerprint) before creating your backup, and you cannot get into your OS after restoring, you can do the following to fix the issue. Boot into TWRP and use the built in file manager to delete /data/sytem/locksettings.db. This should be enough to get you into your OS again. If it isn't you can also try deleting /data/system/locksettings.db-shm and /data/system/locksettings.db-wal. If this still doesn't fix your issue you can delete /data/system/gatekeeper.password.key and /data/system/gatekeeper.pattern.key.
I had to do it few times when I was restoring nandroid with pattern secured lock screen.
 

Natakranta

Senior Member
Mar 19, 2013
3,192
6,137
263
Dublin
Did anybody try to
fastboot boot recovery.img
it?
It's not booting this way. I wanted to just boot it from PC and make a nandroid of all partitions including stock recovery.
 

Bradl79

Senior Member
May 25, 2008
3,354
4,582
263
J'Ville
i had the pattern issues too, luckily when i made the 1st initial back up of 3.1.0 i didn't have a key, b/c when i flashed 3.1.3 full zip xposed does not work, so i had restore my 3.1.0 nandroid and dirty flash the 3.1.3 after i installed xposed.

so in other words if u clean flash the 3.1.3 zip via TWRP i cannot get xposed to work
 
  • Like
Reactions: Planet X

P1f

Senior Member
Sep 20, 2010
290
136
0
Bucuresti
After updating to full OxygenOS 3.1.3 I can no longer flash this recovery does anyone have any suggestion ?
I try just like before but when I want to reboot into recovery from the OS it says "Factory device reset....rebooting"
And then it boots into OnePlus recovery :(

fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (17776 KB)...
OKAY [ 0.398s]
writing 'recovery'...
OKAY [ 0.136s]
finished. total time: 0.536s


---------- Post added at 23:12 ---------- Previous post was at 22:35 ----------

I was finally able to boot into recovery using "fastboot boot" and flash SuperSU like this but now I am still on stock recovery.

Good thing is that this way i hope to receive the next OTA so till then I will probably try and stay this way.