GitHub repository: 530tatted530/TWRP-device-tree-generator
Description: A script to automatically generate TWRP-compatible device tree from a recovery image