Skip to main content

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
#

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aospdtgen-1.2.1.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aospdtgen-1.2.1-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file aospdtgen-1.2.1.tar.gz.

File metadata

  • Download URL: aospdtgen-1.2.1.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.8-arch2-1

File hashes

Hashes for aospdtgen-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7967ae8774d3362f6b05c72acd0a7900762788bfcc3212708a0e454c2d9cdc06
MD5 6dd64d64a743d81da0af7b62c7c31637
BLAKE2b-256 2276cee6568d3cfcd99cb0d3fbdd4f6c0d11ac5d7412731ca2c46a6d7a507931

See more details on using hashes here.

File details

Details for the file aospdtgen-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: aospdtgen-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 72.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.8-arch2-1

File hashes

Hashes for aospdtgen-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fe46a26413e1434eafd9fa9a1199a9cd606ec3119f9137845e48c492d21dc10
MD5 f2e62662586d2be0ef89c2ce490bde70
BLAKE2b-256 47a487943f003b0675bf5b1cbc3b42899b4278f2e61fd0c51b9cd5b1c71e3ccd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page