[OnePlus 5 & 5T Cross Device Development] faoliveira:
View attachment 5678087View attachment 5678089

Introduction:

Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll

XML-based GUI that allows full customization of the layout true theming!

Settings are saved to the sdcard and persist through reboots

Ability to choose which partitions to back up and which to restore

Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)

Onscreen keyboard

Easy selection of internal/external storage

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

Source Code:

GitHub - https://github.com/TeamWin/android_bootable_recovery

Gerrit Instance - http://gerrit.twrp.me

If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of official builds.

Device Config - https://github.com/TeamWin/android_device_oneplus_cheeseburger_dumpling

Kernel - https://gitlab.com/faoliveira78/android_kernel_oneplus_msm8998

Downloads:

Latest Official release:

https://twrp.me/oneplus/oneplus5-5t.html

Release Date: 04/04/2024

- Unified build (standard/dynamic)

- Compatible with Android 14 and below (A13, A12)

- New kernel 4.14.314

- Compatibility with Roms with keymaster 3 and 4 (e.g. Evox 8.4 and 8.5)

- Removal of additional entries from "super" partitions for backup on ROMs with non-dynamic partitions.

- Data formatting will not force the use of f2fs on the /data partition, on roms that have both options.

- Updated with the latest patches merged into the a12.1 branch

WARNING: Do not use TWRP12 for Roms <= A11, if you are on the stock Rom or other custom Roms <= A11 and want to keep the encryption, use TWRP9 or the unofficial TWRP11.

Bugs:

- It doesn't decrypt data from previous versions of Android (<=A11), if any screen lock is used (pin/password/pattern).

If you find any bugs, please send logs:

adb logcat -d > logcat.log

adb pull /tmp/recovery.log
​

* If you want to test these recoveries
fastboot boot twrp-3.7.1_12-1-cheeseburger_dumpling.img
* If you want to use then
fastboot flash recovery twrp-3.7.1_12-1-cheeseburger_dumpling

Troubleshooting

Backup/Restore: Please follow this guide:

https://xdaforums.com/t/recovery-tw...er-dumpling-06-jul-2022.4351795/post-87118487

* If you get the message "Failed to mount '/metadata' (invalid argument)" during backup or any other recovery action. Go to the "Wipe" menu, press "Advanced", select "Metadata" and confirm with a swipe to the right

* To correctly install ROMs with dynamic partitioning, please follow the guide in this post.

https://xdaforums.com/t/recovery-tw...ger-dumpling-22-04-2023.4351795/post-88449043

* Cannot decrypt after upgrading from an A11 Rom to an A12 (Thanks to leoinj)

https://xdaforums.com/t/recovery-tw...ling-05-aug-2022.4351795/page-3#post-87055011

* Unable to format data after performing an upgrade to an A13 ROM or for any other reason:

1 - In the Settings check the option "Use rm -rf instead of formatting"

2 - Go to Wipe menu -> Format data -> confirm "yes"

3 - Reboot to recovery

4 - Go to Settings and uncheck the option "use rm -rf...", if it is selected;

5 - Go to Wipe menu -> Format data -> confirm "yes" again

6 - If everything is ok, reboot to System.

Or go to terminal (Advanced -> Terminal) and type umount /dev/block/sda13

exit the terminal and you should be able to format your data normally.

Support: https://twrp.zulipchat.com/#narrow/stream/290973-support-device/topic/OnePlus.205.2F5T

Thanks and Credits:

- TWRP Team

- LineageOS Team

- robertogl

- ad1tyas1ngh

- 0xCAFEBABE

- xLexip

- Ssmiles for Themes mods

Created: 24/10/2021

Last Updated 04/04/2024

http://twrp.me

Unofficial Builds and Sources

Spoiler content hidden.

Sources A11:

TWRP - https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp/tree/twrp-11

5/5T DT - cheeseburger_dumpling/tree/android-11

Kernel - https://github.com/xLexip/android_kernel_oneplus_msm8998 (from version A11 3.61.-v2)

Sources A12.1:

TWRP - https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp

5/5T DT - cheeseburger_dumpling/tree/android-12.1

Kernel - https://github.com/xLexip/android_kernel_oneplus_msm8998

Spoiler content hidden.