# aospdtgen
[](https://pypi.org/project/aospdtgen/)
[](https://www.codacy.com/gh/sebaubuntu-python/aospdtgen/dashboard?utm_source=github.com&utm_medium=referral&utm_content=sebaubuntu-python/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 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
#
```
Raw data
{
"_id": null,
"home_page": "https://github.com/sebaubuntu-python/aospdtgen",
"name": "aospdtgen",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Sebastiano Barezzi",
"author_email": "seba@sebaubuntu.dev",
"download_url": "https://files.pythonhosted.org/packages/dd/4a/412f6fc5836f413c6fe47ea5a2fb595a460d0f03078591e662046f8728d6/aospdtgen-1.1.1.tar.gz",
"platform": null,
"description": "# aospdtgen\n\n[](https://pypi.org/project/aospdtgen/)\n[](https://www.codacy.com/gh/sebaubuntu-python/aospdtgen/dashboard?utm_source=github.com&utm_medium=referral&utm_content=sebaubuntu-python/aospdtgen&utm_campaign=Badge_Grade)\n\nCreate a [LineageOS](https://github.com/LineageOS)-compatible device tree from an Android stock ROM dump (made with [dumpyara](https://github.com/SebaUbuntu/dumpyara)).\nThis 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`).\nFor pre-Treble devices please use [twrpdtgen](https://github.com/twrpdtgen/twrpdtgen).\n\nRequires Python 3.8 or greater\n\n## Installation\n\n```sh\npip3 install aospdtgen\n```\n\n## Instructions\n\n```\n$ python3 -m aospdtgen -h\nAndroid device tree generator\nVersion 0.1.0\n\nusage: python3 -m aospdtgen [-h] [-o OUTPUT] dump_path\n\npositional arguments:\n dump_path path to an Android dump made with dumpyara\n\noptional arguments:\n -h, --help show this help message and exit\n -o OUTPUT, --output OUTPUT\n custom output folder\n```\n\n## License\n\n```\n#\n# Copyright (C) 2022 The LineageOS Project\n#\n# SPDX-License-Identifier: Apache-2.0\n#\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Create an Android device tree from a device dump",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/sebaubuntu-python/aospdtgen",
"Repository": "https://github.com/sebaubuntu-python/aospdtgen"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e0e90f62eff8c8f353c1935ffda66e1bcd4a6c846deade7d44e6d2ef61ea5a55",
"md5": "00653420f34c2dd450475a6a157f5fc1",
"sha256": "8b2bc69564eba4faf99427f1537bf3807df29ab8ed6bbcfb6416d065417bed83"
},
"downloads": -1,
"filename": "aospdtgen-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "00653420f34c2dd450475a6a157f5fc1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 64826,
"upload_time": "2024-02-11T05:21:41",
"upload_time_iso_8601": "2024-02-11T05:21:41.656183Z",
"url": "https://files.pythonhosted.org/packages/e0/e9/0f62eff8c8f353c1935ffda66e1bcd4a6c846deade7d44e6d2ef61ea5a55/aospdtgen-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd4a412f6fc5836f413c6fe47ea5a2fb595a460d0f03078591e662046f8728d6",
"md5": "14fac58ee0f4bb92d5977a57ac15c14b",
"sha256": "505d865bbe003cf5089c4d78bf8e2fb3239d5149a43e99aac1e6a468cf85c301"
},
"downloads": -1,
"filename": "aospdtgen-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "14fac58ee0f4bb92d5977a57ac15c14b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 29783,
"upload_time": "2024-02-11T05:21:43",
"upload_time_iso_8601": "2024-02-11T05:21:43.839663Z",
"url": "https://files.pythonhosted.org/packages/dd/4a/412f6fc5836f413c6fe47ea5a2fb595a460d0f03078591e662046f8728d6/aospdtgen-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-11 05:21:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sebaubuntu-python",
"github_project": "aospdtgen",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "aospdtgen"
}