I’ve read that twrp can be added to a lineageOS build, but the information is not very clear on how to do so. I build /e/ using Docker for two devices and would like to add twrp to the build. Any documents or information will be appreciated.
If you’re referring to TWRP app, it’s completely useless.
If it’s about TWRP Recovery image, I’m doubtful about including it in /e/ ROM image : you need TWRP to install /e/, so it has to be installed first.
Or, maybe you plan to install /e/ + TWRP from Bootloader ?
My device is mata, it has recovery as part of the boot.img and doesn’t have a recovery partition. The official twrp for mata is old, based Android 8.1, and will not boot with Android 11. So basically I would like to replace /e/ recovery with twrp in the boot.img.
Yes I want twrp for all the reasons you listed. With docker I have a device tree, vendor source, kernel source and was hoping to add a twrp source. With maybe some flags in board.conf file for twrp.