Skip to main content

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
#

Metadata

Release files for twrpdtgen-v2 2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twrpdtgen-v2 2.0.5
File Size Uploaded
twrpdtgen_v2-2.0.5.tar.gz 37.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for twrpdtgen-v2 2.0.5
File Interpreter ABI Platform
twrpdtgen_v2-2.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 177.5 kB

Release files / twrpdtgen_v2-2.0.5.tar.gz

Download URL twrpdtgen_v2-2.0.5.tar.gz
Size 37.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ff5cd133c1040466b77b009d6d05725e463111bb849df5c3dc7b8d7e3849a9cc
BLAKE2b-256 checksum
How to use checksums
5fcdc26188558d04c1dd781779e21bd398845f2be2f087d31d954175101c18da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / twrpdtgen_v2-2.0.5-py3-none-any.whl

Download URL twrpdtgen_v2-2.0.5-py3-none-any.whl
Size 139.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
557c36f710009630817c7d91406c83be0a0ca1389d7babc92a9f63ee28143dd4
BLAKE2b-256 checksum
How to use checksums
4db9885259e93d8c258364d4e96ccee72f6dd320817c4f2b624fd9d69f763d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

2.0.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page