Skip to main content

Create an Android device tree from a device dump

Project description

twrpdtgen_v2

PyPI version

Create a TWRP-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 twrpdtgen_v2

Instructions

$ python3 -m twrpdtgen_v2 -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

twrpdtgen_v2-2.0.5.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

twrpdtgen_v2-2.0.5-py3-none-any.whl (139.7 kB view details)

Uploaded Python 3

File details

Details for the file twrpdtgen_v2-2.0.5.tar.gz.

File metadata

  • Download URL: twrpdtgen_v2-2.0.5.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for twrpdtgen_v2-2.0.5.tar.gz
Algorithm Hash digest
SHA256 ff5cd133c1040466b77b009d6d05725e463111bb849df5c3dc7b8d7e3849a9cc
MD5 49b03e5dfcb53ab151c07b3a2944efbc
BLAKE2b-256 5fcdc26188558d04c1dd781779e21bd398845f2be2f087d31d954175101c18da

See more details on using hashes here.

File details

Details for the file twrpdtgen_v2-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: twrpdtgen_v2-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 139.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for twrpdtgen_v2-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 557c36f710009630817c7d91406c83be0a0ca1389d7babc92a9f63ee28143dd4
MD5 86abc09ece0b3470aa1cb0c40331c847
BLAKE2b-256 4db9885259e93d8c258364d4e96ccee72f6dd320817c4f2b624fd9d69f763d8c

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