Why Device Tree Changes With Newer Android Version? - General Questions and Answers

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.

Related

[Q] Building stable rom with kernel sources

Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Nigfire said:
Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Click to expand...
Click to collapse
Hi, yes. I've compiled lollipop nexus4 from aosp in ubuntu 14.04.1 x64 in vmware.
I've downloaded the source, included the proprietary files, and compiled android, compiled with make and make otapackage to generate the zip.
After that i've rooted the device, installed twrp.
Finally, i've downloaded the source kernel and compiled to generate the .img. I've flashed this to the device with fastboot, and
yeeeeeeh perfect!!!
obviously, after this, i've downloaded the gapps and installed.
But, which version would you compile? And which device? All the sources are available and open source?
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Nigfire said:
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Click to expand...
Click to collapse
Ok, you have the sources, very good.
mmm, i'm not sure that every kernel + android combinations work perfectly together.
For example, on my nexus4 i've kernel 3.4 and lollipop. Now, if android lollipop requires some modules/functionalities/"other magic stuff" to work properly from the kernel, and you install kernel 2.x.x without this feature, probably you'll have problems.
I mean, i'm not sure, but is only a logic hypothesis.
You can solve this problem using the latest official version of android from Huawei and your compiled kernel from Huawei sources. If this works, try to update android to another version with a custom rom. It works? Perfect!, It not works? Damn, restore the backup and use another older android version
To build android/kernel you must transform into a researcher :laugh:

How to make source device tree for new devices?

Anyone here can u tell me how to create source code of a new device as my device is INFOCUS M680, kernel source.
I have used another device as same board to create source of my device but the kernel source is different. So anyone can tell me how to create kernel source and device tree.
My kernel version is 3.18.19+
U can't "create" kernel sources... If the manufacturer provides the sources, then u can use that and make modifications to it to boot AOSP based roms

Question about proprietary blobs and device/vendor tree.

Hi there.
I wanted to know is the proprietary blobs and device/vendor tree different for each version of Android (like nouget vs Android o)?
Can a properly working proprietary blobs and device/vendor tree for Android 7 be used to port or build Android 8 based ROM once the latest version of Android comes out for full deployment?

How to build Android Oreo Compatible Device tree...?

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.

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

Categories

Resources