aospdtgen-1.0.0
توضیحات
Create an Android device tree from a device dump
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aospdtgen-1.0.0 |
| نام | aospdtgen |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sebastiano Barezzi |
| ایمیل نویسنده | barezzisebastiano@gmail.com |
| آدرس صفحه اصلی | https://github.com/sebaubuntu-python/aospdtgen |
| آدرس اینترنتی | https://pypi.org/project/aospdtgen/ |
| مجوز | Apache-2.0 |
# aospdtgen
[](https://pypi.org/project/aospdtgen/)
[](https://www.codacy.com/gh/SebaUbuntu/aospdtgen/dashboard?utm_source=github.com&utm_medium=referral&utm_content=SebaUbuntu/aospdtgen&utm_campaign=Badge_Grade)
Create a [LineageOS](https://github.com/LineageOS)-compatible device tree from an Android stock ROM dump (made with [dumpyara](https://github.com/SebaUbuntu/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](https://play.google.com/store/apps/details?id=tk.hack5.treblecheck) or with `adb shell getprop ro.treble.enabled`).
For pre-Treble devices please use [twrpdtgen](https://github.com/twrpdtgen/twrpdtgen).
Requires Python 3.8 or greater
## Installation
```sh
pip3 install .
```
## 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
#
```
نیازمندی
| مقدار | نام |
|---|---|
| >=3.1.2,<4.0.0 | Jinja2 |
| >=3.1.31,<4.0.0 | GitPython |
| >=1.3.2,<2.0.0 | sebaubuntu-libs |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl aospdtgen-1.0.0:
pip install aospdtgen-1.0.0.whl
نصب پکیج tar.gz aospdtgen-1.0.0:
pip install aospdtgen-1.0.0.tar.gz