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.1.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.1-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: twrpdtgen_v3-3.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2f8987b46b4eb471b2aacfd23634675ce0f7d830d5061a76869b79552d0342aa
MD5 48c457352c7c6d79b2fa36400d43a659
BLAKE2b-256 64607def906530bef142617f6daf153895a99130521684300a963eee936bb5f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: twrpdtgen_v3-3.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12c392966aed9e2ec34700a4054026f934cf56b885b9984760141b1ba957f2eb
MD5 bf0e73c72b9d8314f50868ed1c10d930
BLAKE2b-256 adb6086a1cb8e4fb1a687d928434e12acd96423563528388fcdfdc1ee7c912e7

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