Generate a LineageOS-compatible device tree
masterUse aospdtgen to create a device tree from an Android stock ROM dump.
Requirements:
- The dump must be created using dumpyara.
- The device must be Treble-enabled (Android 8.0+ with VNDK enabled). You can verify Treble status via
adb shell getprop ro.treble.enabledor using the Treble Info app. - For pre-Treble devices, use
twrpdtgeninstead.
python -m aospdtgen [options] dump_path