Skip to main content

twrpdtgen_v3

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_v3

Instructions

$ python3 -m twrpdtgen_v3 -h
Android device tree generator
Version 3.1.1

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) 2025 The LineageOS Project
# Copyright (C) 2025 xXHenneBXx
# SPDX-License-Identifier: Apache-2.0
#

Metadata

Release files for twrpdtgen-v3 3.2.1

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-v3 3.2.1
File Size Uploaded
twrpdtgen_v3-3.2.1.tar.gz 34.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for twrpdtgen-v3 3.2.1
File Interpreter ABI Platform
twrpdtgen_v3-3.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 111.5 kB

Release files / twrpdtgen_v3-3.2.1.tar.gz

Download URL twrpdtgen_v3-3.2.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c91e2b7e22b2a469a8faf1e60001e8541c7e385cf24280f2e585daff86d1c56c
BLAKE2b-256 checksum
How to use checksums
a4884482d6fce632d74238c35b7693a9dd8beec57ad7aa00345031b0b2247610
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / twrpdtgen_v3-3.2.1-py3-none-any.whl

Download URL twrpdtgen_v3-3.2.1-py3-none-any.whl
Size 76.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fae33e469860b53ceb3ebc1b6e4faad37fff6410f63423360289edc59c336642
BLAKE2b-256 checksum
How to use checksums
5fc105902ce25194e63b8006c8792c86a07bd4524353de6b0d11a51640d8be05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

3.2.1 This release

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

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