Create an Android device tree from a Firmware dump using dumpyara
Project description
twrpdtgen_v3
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
#
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twrpdtgen_v3-3.2.0.tar.gz.
File metadata
- Download URL: twrpdtgen_v3-3.2.0.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01bd11809f63f42322326749e18737034d9043545004fd202bdd2b4363639259
|
|
| MD5 |
a96fd1c83b134645d5957cdad1fd16be
|
|
| BLAKE2b-256 |
a0f387cb0f6ced3e815cddde5f3da079a2285462a0189eb51ebea13a942e709e
|
File details
Details for the file twrpdtgen_v3-3.2.0-py3-none-any.whl.
File metadata
- Download URL: twrpdtgen_v3-3.2.0-py3-none-any.whl
- Upload date:
- Size: 76.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
025bb141e61bcbc6c7a865e1dd22ab04f03e9a7582f570c858a232f8ed5dd81c
|
|
| MD5 |
7f5b32911e0fb770d18b9f0ebbc41243
|
|
| BLAKE2b-256 |
95d6a03cc1a9e105056ce3985e356f363890540ca7e4c56dc23b1b699f4d005f
|