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.8 or greater

Installation

pip3 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

#
# Copyright (C) 2022 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.1.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

aospdtgen-1.1.1-py3-none-any.whl (64.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aospdtgen-1.1.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.4-arch1-1

File hashes

Hashes for aospdtgen-1.1.1.tar.gz
Algorithm Hash digest
SHA256 505d865bbe003cf5089c4d78bf8e2fb3239d5149a43e99aac1e6a468cf85c301
MD5 14fac58ee0f4bb92d5977a57ac15c14b
BLAKE2b-256 dd4a412f6fc5836f413c6fe47ea5a2fb595a460d0f03078591e662046f8728d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aospdtgen-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 64.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.4-arch1-1

File hashes

Hashes for aospdtgen-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b2bc69564eba4faf99427f1537bf3807df29ab8ed6bbcfb6416d065417bed83
MD5 00653420f34c2dd450475a6a157f5fc1
BLAKE2b-256 e0e90f62eff8c8f353c1935ffda66e1bcd4a6c846deade7d44e6d2ef61ea5a55

See more details on using hashes here.

Supported by

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