Skip to main content

Create an Android device tree from a device dump

Project description

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

$ python3 -m aospdtgen -h
Android device tree generator
Version 0.1.0

usage: python3 -m aospdtgen [-h] [-o OUTPUT] dump_path

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

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        custom output folder

License

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

Project details


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.0.tar.gz (28.9 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.0-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aospdtgen-1.2.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.8-arch1-1

File hashes

Hashes for aospdtgen-1.2.0.tar.gz
Algorithm Hash digest
SHA256 61059f8433349445c191147a7c2e7d1a8d98a22b7e8b2185336eeee245a7645c
MD5 d50bd20bad8ef9bcb2126faefdc07c07
BLAKE2b-256 72f2decbff0bd855366dec9cdc8b0f7f91fb881b0d36b59705b64546dd956c7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aospdtgen-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.8-arch1-1

File hashes

Hashes for aospdtgen-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d25ccad9665309be430dc5e56f969911070ae25f8d4a6a7db19769298df1156
MD5 37850cd86331bbe422a664d1a66ce976
BLAKE2b-256 9fa4ab86e9686712a43a814739f011d282cfe1912f6f12f0b6bac2ad5727559a

See more details on using hashes here.

Supported by

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