Skip to content

LineageOS source device template. Tree away, if you will 😄

Notifications You must be signed in to change notification settings

imasaru/android_device_tree_template

Repository files navigation

LineageOS Source Device Tree Template

Start your Android career here. Build device trees and port custom ROMs and recoveries to new devices easily with this template.

Study the templates included to understand the file scheme, and then extract a boot or recovery image from your device, and run the mkvendor.sh script to make a preliminary tree. Here is Google's AOSP tutorial on how to make a device tree and another good explanation on StackOverflow on what these files do.

You will need to add extra info (e.g. TARGET_BOARD_PLATFORM in BoardConfig.mk) before it is usable.


Last of all, have fun! Do some wonderful things with Android :)

Make sure to cross-reference information shown in tutorials you find with other device trees in the LineageOS repositories, making sure not to add deprecated properties or the like into your files, as the tutorials may be old.

You can build TWRP (custom recovery) with your device trees. The official compilation tutorial can be found here (tutorial by @Dees-Troy on XDA).

DISCLAIMER: This is all provided as-is. I am not responsible for any problems occurring upon use of the data provided or content referenced to in this repository.

About

LineageOS source device template. Tree away, if you will 😄

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages