"contemporary" device specific code

I am new with the rom development and I would like to know if there is a way to create device specific code (mostly the device tree and the proprietary blobs) depending on the desired android sdk version. To be more specific, my device (Huawei P8 Lite) will not get an official nougat update and I would like to know the prerequisites and a good guide to follow, in order to create (and contribute to others - currently active devs) device specific code for my phone, since there is no open source for this phone.
Thanks in advance.
Many might think that this could be duplicate, but I haven't seen any question regarding the connection of the device tree and the android version ...

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by dangelo.gerhold
39 minutes ago
Last post by aidan.zboncak
3 hours ago
Last post by katheryn.bednar
4 hours ago
Last post by clifton73
3 hours ago
Last post by kwaelchi
2 hours ago