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.0.1.tar.gz
(24.9 kB
view hashes)
Built Distribution
aospdtgen-1.0.1-py3-none-any.whl
(58.2 kB
view hashes)
Close
Hashes for aospdtgen-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbe37bdee575d778ae8151febe1e973acbe6245649ef9257db5223284139de4b |
|
MD5 | 644800caf37a595fe1aa3f51c3abe9ca |
|
BLAKE2b-256 | 63158ef591c37c8efcd1de59470116cb181018cc2d050e615939c83bf086ddca |