How to build Android Oreo Compatible Device tree...? - General Questions and Answers

Hi..,
I am trying to build a Android O based custom rom for my device (Moto X Force /Droid Turbo2 i.e Kinzie) which has very little custom rom support and development support too.. Till now it has only Unofficial LineageOS14.1
Device Tree for Android 7.1 : https://github.com/lineageos-for-kinzie/android_device_motorola_kinzie
Vendor Tree for Android 7.1:
https://github.com/lineageos-for-kinzie/android_vendor_motorola_kinzie
I want to make this Device Tree compatible for Android 8.1 development but doesn't know where to start from.
If anybody can help and give his guidance then please share to this thread

I think it's best to start from the clark phone. LineageOS 15 is already out for clark and they have a very similar device tree.

Related

Help Me To compile AOSP based Rom for my device

hi developers how are you
actually i am from mtk background and only familiar in porting Rom but i got a Mi Max this time and i planned to contribute to that device i got to know that its an open source device so i compiled lineage OS and resurrection remix
mi max or hydrogen is an official device so that wasn't a hard task for me but now i want to compile for some aosp based Rom like unofficial Rom here is what i did in Dirty Unicorns
1.cloned DU sources android N based
2.cloned hydrogen kernel to Kernel/xiaomi/msm8956
3.cloned hydrogen device tree to device xiaomi/hydrogen
4.cloned hydrogen device tree to device xiaomi/msm8956-common
5.renamed linage.mk to du.mk
6.changed in AndroidProduct.mk to du.mk
7.cloned vendors to vendor/xiaomi/hydrogen
8.added lunch combo in vendorsetup.sh
9.i dont know anything about caf but still i cloned all of them media audio ril and others
what else is needed to be done to startup ? can you guys tell me
please help me

Develop custom rom from scratch (non-developing devices)

Can anyone help me find my device source tree.... I have "10.or G" i couldn't find it... I am confused now .... What should i do?
Kernel sourse for this device has been released for nougat.... How can i use it to build roms based on oreo... Or even recovery?
I am a noob in developing roms .... I have some knowledge of flashing and using them... Now i want to develop my own since this device has no developers . Also ,no information on github(device source tree )
Device info:
SoC: Snapdragon 626
Sources available : android nougat kernel source code
Current android os : android 8.1
Treble support : no
Any help will be appreciated

[HELP] Android 11 device tree?

So, I am looking to compile aosp 11 roms for on7xelte as there arent any here as far as I know. But i need a android 11 device tree and my tech skills aren't advanced enough to create my own. I have seen astrakos device tree, but it is only for android 10 and the build fails due to missing fmt/chrono.h . Does anyone know how to fix this error or has someone made android 11 device tree for on7xelte .
santhosh ravi said:
So, I am looking to compile aosp 11 roms for on7xelte as there arent any here as far as I know. But i need a android 11 device tree and my tech skills aren't advanced enough to create my own. I have seen astrakos device tree, but it is only for android 10 and the build fails due to missing fmt/chrono.h . Does anyone know how to fix this error or has someone made android 11 device tree for on7xelte .
Click to expand...
Click to collapse
You can flash a GSI with H vendor and modify the GSI to make everything work rather than compiling a ROM.
jjgvv said:
You can flash a GSI with H vendor and modify the GSI to make everything work rather than compiling a ROM.
Click to expand...
Click to collapse
I would but it has too many bugs,namely wakeup delay and random reboots and i also want to do someothing for this community.
santhosh ravi said:
I would but it has too many bugs,namely wakeup delay and random reboots and i also want to do someothing for this community.
Click to expand...
Click to collapse
ME TOO HOW DO YOU KNOW!?
Anyway I use j7 2017 and these problems are fixed for J7 2017 but not for J7 Prime :( but now my J7 2017 is stable

Compile android 11 rom with android 5 device sources

I currently have an old TAB E sm t561. I want to compile android 11 for it. It's device tree ,vendor tree, common tree version is lineage os 15 I.e android 8
Its kernel source is lineage os 12 that is lollipop. Can i compile android 11 lineage os 18 rom?
nothing is impossible with *unix but thinking all the issue and troubleshooting that would come along the way i would say this is stupid idea ...

Why Device Tree Changes With Newer Android Version?

I Have Oreo Based Stock Rom And Its Relevant Device Tree. I Want To Build Latest Version Of Aosp Or LineageOs Then Why Do I Need To Port My Current Device Tree To Newer Android Version. As Far As I Knows Device Tree Is A Hardware Description And Should Not Change With Android Version Because The Hardware Information Is Constant. The Kernel Tree And Vendor Tree Remains Same And Dont Change With Newer Android Version Then Why Device Tree Changes With Newer Android Version.
For Example, The Device Tree Based On Oreo Will Not Work With Android 12 We Need To Port It First.But The Kernel Tree And Vendor Tree Which Was Working In Oreo Will Continue To Work Further Without Any Modification.
Priyanshu jangid said:
I Have Oreo Based Stock Rom And Its Relevant Device Tree. I Want To Build Latest Version Of Aosp Or LineageOs Then Why Do I Need To Port My Current Device Tree To Newer Android Version. As Far As I Knows Device Tree Is A Hardware Description And Should Not Change With Android Version Because The Hardware Information Is Constant. The Kernel Tree And Vendor Tree Remains Same And Dont Change With Newer Android Version Then Why Device Tree Changes With Newer Android Version.
For Example, The Device Tree Based On Oreo Will Not Work With Android 12 We Need To Port It First.But The Kernel Tree And Vendor Tree Which Was Working In Oreo Will Continue To Work Further Without Any Modification.
Click to expand...
Click to collapse
Sometimes the partition structure is changed from one version to the next, this changes the tree in order to compile the ROM with the correct partitioning structure.

Categories

Resources