Skip to content
sebaubuntu-pythonPublic

About

LineageOS device tree generator

Topics

Resources

Stars

343 stars

Watchers

13 watching

Forks

Latest commit

 

History

278 Commits

Folders and files

Repository files navigation

aospdtgen

PyPI version Codacy Badge

Create a LineageOS-compatible device tree from an Android stock ROM dump (made with dumpyara). This script supports any Android firmware from a Treble-enabled device (Higher than Android 8.0 and with VNDK enabled, you can check it with Treble Info or with adb shell getprop ro.treble.enabled). For pre-Treble devices please use twrpdtgen.

Requires Python 3.9 or greater

Installation

pip install aospdtgen

Instructions

$ python -m aospdtgen --help
usage: python -m aospdtgen [-h] [-o OUTPUT] [--no-proprietary-files] dump_path

Android device tree generator

positional arguments:
  dump_path             path to an Android dump made with dumpyara

options:
  -h, --help            show this help message and exit
  -o, --output OUTPUT   custom output folder
  --no-proprietary-files
                        Don't generate the proprietary files list and the
                        extract-files script

License

#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#

About

LineageOS device tree generator

Topics

Resources

Stars

343 stars

Watchers

13 watching

Forks

Used by

Contributors

Languages