1. Installing the tools - SebaUbuntu/TWRP-device-tree-generator Wiki

pip3 install twrpdtgen

cpio (only if you are using Linux)

Install cpio using sudo apt install cpio or sudo pacman -S cpio based on what package manager you're using

Go to [[3. Create a device tree]]