aospdtgen
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
#
Metadata
Release files for aospdtgen 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aospdtgen-1.2.1.tar.gz | 32.7 kB | Without provenance | Details for aospdtgen-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aospdtgen-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for aospdtgen-1.2.1-py3-none-any.whl |
Total release size: 104.7 kB
Release files / aospdtgen-1.2.1.tar.gz
| Download URL | aospdtgen-1.2.1.tar.gz |
|---|---|
| Size | 32.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7967ae8774d3362f6b05c72acd0a7900762788bfcc3212708a0e454c2d9cdc06
|
|
BLAKE2b-256 checksum How to use checksums |
2276cee6568d3cfcd99cb0d3fbdd4f6c0d11ac5d7412731ca2c46a6d7a507931
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.2 Linux/6.18.8-arch2-1
|
Release files / aospdtgen-1.2.1-py3-none-any.whl
| Download URL | aospdtgen-1.2.1-py3-none-any.whl |
|---|---|
| Size | 72.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fe46a26413e1434eafd9fa9a1199a9cd606ec3119f9137845e48c492d21dc10
|
|
BLAKE2b-256 checksum How to use checksums |
47a487943f003b0675bf5b1cbc3b42899b4278f2e61fd0c51b9cd5b1c71e3ccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.2 Linux/6.18.8-arch2-1
|
Security for aospdtgen 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.