Create an Android device tree from a device dump
Project description
aospdtgen
Create a LineageOS-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 aospdtgen
Instructions
$ python3 -m aospdtgen -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
#
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
aospdtgen-1.1.0.tar.gz
(29.1 kB
view details)
Built Distribution
aospdtgen-1.1.0-py3-none-any.whl
(64.0 kB
view details)
File details
Details for the file aospdtgen-1.1.0.tar.gz
.
File metadata
- Download URL: aospdtgen-1.1.0.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.7.2-arch1-2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b01f7a562a217e073dcd2dc9d7528eb2b2882439ef551cc7e5b40571566f93e |
|
MD5 | f1f65cc6e3456b2559ce360f6ed65046 |
|
BLAKE2b-256 | c1dc0785cd015c65e70bd4c4f62a35410056cb34d7ca0fb5f95e7e70cbea9f87 |
File details
Details for the file aospdtgen-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: aospdtgen-1.1.0-py3-none-any.whl
- Upload date:
- Size: 64.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.7.2-arch1-2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52ef33b44cff35b2dd876114f7e02535a750dd90c05e248bd7ea4d2cdf40819 |
|
MD5 | d59205907cf0a8fa132765d629c64d22 |
|
BLAKE2b-256 | 362e4f04fffce359ef381f46003ecff28d6d6bc66ea3817efb5f7abf90e10009 |