Skip to main content

Create an Android device tree from a Firmware dump using dumpyara

Project description

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.0

usage: python3 -m twrpdtgen_v3 [-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

twrpdtgen_v3-3.1.0.tar.gz (28.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_v3-3.1.0-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

Details for the file twrpdtgen_v3-3.1.0.tar.gz.

File metadata

  • Download URL: twrpdtgen_v3-3.1.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.8.0-1021-oracle

File hashes

Hashes for twrpdtgen_v3-3.1.0.tar.gz
Algorithm Hash digest
SHA256 712d4689a477212760d9d0a05d2293f2a6946391db8a131d0757ca232fd9ca02
MD5 5f61c25baefc30c586961a932e47d593
BLAKE2b-256 413d611fd83073ea9354f4d6f7cfc3e872e5310bb2986db7af6bf058a42a57d4

See more details on using hashes here.

File details

Details for the file twrpdtgen_v3-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: twrpdtgen_v3-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 69.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.12 Linux/6.8.0-1021-oracle

File hashes

Hashes for twrpdtgen_v3-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e63206247591ebc9a3fd9587336dc2cde9ee22d5700ffc16bb6a02f224347f6
MD5 40b39f7874041cab8314745da137aa99
BLAKE2b-256 e1ca109b818f66bb01b44b81b1a96ff6ba3ae1b42b0ad72c2e4492113a8b0cf1

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