Is it correct to use device tree from CyanogenMod for AOSP building?
-
07-07-2021 - |
Question
I am trying to build AOSP Gingerbread for my Samsung Galaxy Y S5360. So I need the device tree for S5230. I have found it here. But it is for Cyagenmod.
Is it correct to use it in pure AOSP?
Solution
I do not see any reasons why you cannot do this. If the drivers in device tree are for the same version of Android, I guess you can download them. The only thing is you should be careful with overlay folder. There are some packages and resource values that can override (or add) unnecessary packages that can cause build fault.
OTHER TIPS
You cannot just build the AOSP for your own device. You need to have the correct drivers and kernel for your device.
Better take the Cyanogenmod version, cause this one will be prepared for your device.