This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9pro but it was confirmed to work on OP9 with OOS 12 firmware installed. Other configurations have to be tested.
As always I'm not responsible for any bricked device or data loss resulting from the use of this TWRP builds. You use this at your own risk.
For ROMs using FBEv1 encryption aka A11 encryption, please use the official builds by @Nebrassy from:
forum.xda-developers.com
Download:
drive.google.com
Installation:
You have three option for this depending on your current system.
1. Option for rooted devices:
TWRP Updates:
ROM Updates:
Please follow the official update instructions for your ROM!
If they give an option to update via recovery you have to substitute adb sideload commands with zip installations. And use the "Automatically reflash TWRP after flashing a ROM" option if you are going to install a ROM zip to preserve TWRP.
In case your ROM does not provide a recovery update instruction you can try to update via recovery but you are on the safe side if you follow the official instructions. They always have a reason for their particular update instructions!
Instructions that work for me (on LOS based ROMs):
forum.xda-developers.com
About backups/restore:
Restore data only WITHOUT pin/pattern set.
Backups can be made with or without pin/pattern set. It is always good practice to copy your backups to your PC or an USB drive. Also after you restored your data partition you have to reboot to system and do a second reboot to get a working system.
In case you restore a backup with pin/pattern set or have some other issues I have a guide that works for me:
forum.xda-developers.com
Source Code:
Thanks to:
As always I'm not responsible for any bricked device or data loss resulting from the use of this TWRP builds. You use this at your own risk.
For ROMs using FBEv1 encryption aka A11 encryption, please use the official builds by @Nebrassy from:

[RECOVERY] [11] [OFFICIAL] TeamWin Recovery Project
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...

Download:
twrp-3.7.0-12.1 - Google Drive
Installation:
You have three option for this depending on your current system.
1. Option for rooted devices:
- Download the twrp-installer zip
- Flash it with magisk manager or some other kernel flash utility
- Reflash your custom kernel and magisk if previously installed
- Download the twrp-installer zip
- Flash it with "adb sideload twrp-installer*.zip"
- Reboot to recovery
- Reflash your custom kernel and magisk if previously installed
- OOS13 (firmware) users please download boot-oos13.img. All other users please use boot.img
- Reboot to bootloader
- Run "fastboot boot boot*.img" with the boot image
- Go to Advanced > Flash Current TWRP
- Reflash your custom kernel and magisk if previously installed
TWRP Updates:
- Download and flash the twrp-installer zip
- After that reflash your custom kernel and magisk if previously installed
ROM Updates:
Please follow the official update instructions for your ROM!
If they give an option to update via recovery you have to substitute adb sideload commands with zip installations. And use the "Automatically reflash TWRP after flashing a ROM" option if you are going to install a ROM zip to preserve TWRP.
In case your ROM does not provide a recovery update instruction you can try to update via recovery but you are on the safe side if you follow the official instructions. They always have a reason for their particular update instructions!
Instructions that work for me (on LOS based ROMs):
- Flash ROM zip with "Automatically reflash TWRP after flashing a ROM" checked
- Flash your previously installed zips (custom kernel, Gapps, Magisk, etc)
- Reboot to system
- If Gapps packages keep crashing:
- Reboot to TWRP
- Flash Gapps again
- Reboot to system

[RECOVERY][3.7.0-12.1][UNOFFICIAL] TWRP with A12/A13 encryption support
This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9pro but it was confirmed to work on OP9 with OOS 12. Other configurations have to be...

About backups/restore:
Restore data only WITHOUT pin/pattern set.
Backups can be made with or without pin/pattern set. It is always good practice to copy your backups to your PC or an USB drive. Also after you restored your data partition you have to reboot to system and do a second reboot to get a working system.
In case you restore a backup with pin/pattern set or have some other issues I have a guide that works for me:

[RECOVERY][3.7.0-12.1][UNOFFICIAL] TWRP with A12/A13 encryption support
This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9pro but it was confirmed to work on OP9 with OOS 12. Other configurations have to be...

Source Code:
- TWRP: https://github.com/TeamWin/android_bootable_recovery
- Kernel: https://github.com/LineageOS/android_kernel_oneplus_sm8350
- Device Tree:
- Vibration is not working
- vendor_dlkm mount error in fastbootd mode
- In case you notice anything else please let me know.
Thanks to:
Last edited: