[MODIFIED][RECOVERY] TWRP 3.2.1 for OnePlus 5 [OSS Clang Kernel][Enhancements]

xdvs23

Senior Member
Apr 11, 2015
1,054
1,923
0
20
Bavaria
xdevs23.me
UNOFFICIAL TWRP 3.2.1 (modified) for OnePlus 5



If you don't know how to return back to a working state if something is broken, please think twice before flashing this.

Everything seems to be working so far, if not, please report to me!
Warning: Make sure you make a backup of all your important data manually before flashing anything, making any backups or restoring. There seems to be an issue which causes a bootloop after restoring data partition at the moment.
I'm not responsible for any data loss, bricks, or whatever went wrong on your device. I can try to help you but I won't pay your RMA just because you decided to do this to your device.

Working
  • Everything except what's not working, see below

Not working / issues
  • Restoring data partition from backups will lead to boot issues on some ROMs (including OOS) if FBE-encrypted. It's not a TWRP issue but rather a side effect on how FBE works.


Download latest working image here (twrp-3.2.1-cheeseburger-127-20180106-190542-CET)
Download previous working image here (twrp-3.1.1-cheeseburger-84-20170820-194433-CEST)


While this TWRP is now very similar to codeworkx', it's a completely different source base and is independent from him.
This variant is a bit more bleeding edge and contains changes that are not available in TWRP images built from the official repositories.
If you want ultimate stability, consider using his TWRP instead.

Supported ROMs (encryption support):
  • OxygenOS 5.0.1
  • Android 8.1 ROMs (tested: halogenOS)

Please let me know in this thread whether it works for the ROM you are using.

Logs

Code:
adb pull /tmp/recovery.log
adb pull /cache/recovery/last_log
adb shell dmesg > dmesg.txt
And send me the last_log file, recovery.log file as well as dmesg.txt

Device tree: https://github.com/xdevs23/android_device_oneplus_cheeseburger-twrp
Kernel: https://github.com/halogenOS/android_kernel_oneplus_msm8998
Source tree: https://github.com/mintwrp-extended/
 
Last edited:

matssa

Senior Member
Jan 8, 2015
1,817
1,897
153


Long story short: I am working on TWRP as well as halogenOS for the OnePlus 5.

To speed it up, I'll need a few experienced testers. PM me for more.

I'll use this thread to post a link to the working TWRP when it is done, and until TWRP for OP5 is official this thread should be kept alive (used as a placeholder for now).
Hey,

Heads up, seems that TWRP is already made in China: https://forum.xda-developers.com/on...nlock-bootloader-intall-t3626122#post72778203

Btw, placeholders aren't a big thing in XDA ;)
 

xdvs23

Senior Member
Apr 11, 2015
1,054
1,923
0
20
Bavaria
xdevs23.me

matssa

Senior Member
Jan 8, 2015
1,817
1,897
153
It's not open sourced, is it? And it's chinese.
I guess we want something working and open to anyone.

Of course this thread can be closed if anyone does it before me.
True, but I dunno maybe the .img file already had some info that could help you out :)
 

saccentekennedy

Senior Member
Nov 15, 2012
361
141
63
I installed that TWRP and when I booted straight into it, it worked. Then I just tried to reboot to recovery again, and it looks like the old recovery patched itself?! TWRP was gone
 

xdvs23

Senior Member
Apr 11, 2015
1,054
1,923
0
20
Bavaria
xdevs23.me
I installed that TWRP and when I booted straight into it, it worked. Then I just tried to reboot to recovery again, and it looks like the old recovery patched itself?! TWRP was gone
The recovery is automatically recreated from the recovery-from-boot patch which resides in your system partition. That's default behavior on stock roms.
 

santa leone

Member
Nov 12, 2016
9
5
3
HEIDELBERG
TWRP für Oneplus 5

Hallo,

ich würde das gerne machen. Ich (eigentlich die Ehefrau) habe im Augenblick ein OP3 mit TWRP und 4.16. Aktiv benutze ich ein OP3T mit Lineage (Dianlujitao) Das Oneplus 5 ist heute gekommen. Und ich will nichts damit machen, bevor ich nicht ein lauffähiges TWRP habe.

Angst vorm Brick habe ich keine, denn es läßt sich immer alles wieder hinbiegen.

Kalle
 
  • Like
Reactions: Helle8855

HatRiGt

Senior Member
May 28, 2013
968
600
123
Chennai
Hallo,

ich würde das gerne machen. Ich (eigentlich die Ehefrau) habe im Augenblick ein OP3 mit TWRP und 4.16. Aktiv benutze ich ein OP3T mit Lineage (Dianlujitao) Das Oneplus 5 ist heute gekommen. Und ich will nichts damit machen, bevor ich nicht ein lauffähiges TWRP habe.

Angst vorm Brick habe ich keine, denn es läßt sich immer alles wieder hinbiegen.

Kalle
kindly use English This is international forum bro .
Using English makes others to understand what you r saying.
 
  • Like
Reactions: xdvs23

xdvs23

Senior Member
Apr 11, 2015
1,054
1,923
0
20
Bavaria
xdevs23.me
Hallo,

ich würde das gerne machen. Ich (eigentlich die Ehefrau) habe im Augenblick ein OP3 mit TWRP und 4.16. Aktiv benutze ich ein OP3T mit Lineage (Dianlujitao) Das Oneplus 5 ist heute gekommen. Und ich will nichts damit machen, bevor ich nicht ein lauffähiges TWRP habe.

Angst vorm Brick habe ich keine, denn es läßt sich immer alles wieder hinbiegen.

Kalle
Ich bitte dich mich privat anzuschreiben damit ich dir weitere Infos geben kann.

Please message me privately so that I can give you further information.
 

rwallhtc

Senior Member
Dec 1, 2013
72
19
0
london


Long story short: I am working on TWRP as well as halogenOS for the OnePlus 5.

To speed it up, I'll need a few experienced testers. PM me for more.

I'll use this thread to post a link to the working TWRP when it is done, and until TWRP for OP5 is official this thread should be kept alive (used as a placeholder for now).
count me in. already unlocked, twrp installed and rooted.
 
  • Like
Reactions: HannibalIII