"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 ogrimes
2 hours ago
Last post by emurazik
10 minutes ago
Started by milton.rowe
Last post by zoey.labadie
4 hours ago