GitHub repository: scto/twrpdtgen
Description: A Python library/script to automatically generate TWRP-compatible device tree from a boot/recovery image