How do i adapt an old device tree for a new android version? - Android Q&A, Help & Troubleshooting

Hi,
Im new to building roms
Trying to build for my phone j7maxlte SM-G615F
However, the device trees, kernel, and vendor trees all are for lineageos 14.1
I want to compile it for 19.1
What changes do i have to make to the tree to make it compile?

if you don't have sources for kernel 4.14 you can't compile kernel 4.14 it's that simple isn't it?

so i can't build 19.1?
i gotta make a new kernel?

you can build newer LineageOS on low kernel, not sure how it works. the oldest device I use is Samsung Galaxy S3 Neo (stock ROM Android 4.4. Kitkat) the developer @html6405 has built LineageOS 20.0 (Android 13) on old kernel maybe he can help out

aIecxs said:
you can build newer LineageOS on low kernel, not sure how it works. the oldest device I use is Samsung Galaxy S3 Neo (stock ROM Android 4.4. Kitkat) the developer @html6405 has built LineageOS 20.0 (Android 13) on old kernel maybe he can help out
Click to expand...
Click to collapse
thanks

Related

Building recovery for simba Sx1

I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
tulen_kobi said:
I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
Click to expand...
Click to collapse
It is not necessary to have the same android source as your device's android version to make cwm. CWM is part of the kernel and not the android system. Your device's kernel will be extracted and the ramdisk will be replaced with cwm ramdisk and after that the kernel will be built with cwm ramdisk then you can use it as recovery.
If you want I can help you out with twrp recovery. I have done it for LG L65 and L70. If you want my help with twrp then please download omni rom sources (manifest: https://github.com/omnirom/android ) or just replace bootable/recovery folder with the omni's one in your cm source tree, get kernel source code for your device or have a boot.img, make sure your device has a recovery partition so recovery is not part of the kernel image as a secondary ramdisk like on samsung devices otherwise I could not help.

Need developers for MT6589.

Hi,
I'm trying to build a Cyanogenmod 12.1 ROM for MT6589 based device. We need developers who can develop a Cyanogenmod 12.1 based device tree. We have an existing Cyanogenmod 12.0 device tree, but it's having lots of bugs.
--
Here is the device tree: https://github.com/Preet23/android_device_micromax_a116/tree/cm-12.0_dev1
(It uses 3.4.5 kernel as we have already booted 5.0 ROM with this kernel)
If possible, just help me figure out what's the error.
Thanks.

Building a Nougat AOSP ROM or CyanogenMod 14.1 ROM for an unsupported phone

Recently I've been interested in creating a stock Nougat ROM or CyanogenMod 14.1 ROM for my Samsung Galaxy Alpha (SM-G850F). I've been reading and watching a lot of tutorials on how to go on about doing this but the example phones which they use have supported official CM builds unlike my SM-G850F. I was going to follow this tutorial but stopped at getting the proprietary blobs when mentioned that his phone is supported in the official CM directories. I then went surfing the net to see if I could extract the proprietary blobs from a ZIP which ended me up at this website which says yes, I can. However, my question is if I can use an unofficial build such as [5.1.x][SM-G850F] CyanogenMod 12.1 UNOFFICIAL for the Galaxy Alpha (slte) (final) to get the proprietary blobs for CM14.1? Despite that ROM being built for CM12.1. Another question is if building a stock AOSP ROM is easier than building a CM ROM and where to go to get the proprietary files for AOSP rom building. Thanks guys!

Do I need to update kernal with custom ROM?

I am currently on stock MIUI but I came from a Nexus and prefer stock android. The phone is on MIUI 9 which is based on Android 7.0. Am I right in thinking that the kernal I am currently using will only work with a ROM based on android 7.0? If I pick a 8.0 ROM can I use my existing stock kernal or do I need to update the kernal?
I fancy moving to LineageOS and I see I can pick LineageOS 14.1 (based on android 7.0) or LineageOS 15 (based on android 8.0).
Thanks.
Every custom rom including miui, have their own kernel source, you need not worry about the kernel used in a particular rom, because they are not cross supported. Miui's kernel is not supported by lineage and lineage's kernel is not supported by miui. Only custom kernel formed by merged source code support both of em. What exactly is your purpose?
Ahh so each custom rom also includes a new kernel, I hadnt realised that.
I havent rooted a phone since my ZTE Blade about 7 years ago, since then I have had Nexus phones and havent needed to change anything. I did update kernel then and my phone signal suffered so I wanted to avoid updating my kernel. I understand that the kernel contains the 'drivers' for all the components in the phone and I didnt fancy messing with them but seems I have to.....
Thanks for your input...

Kernel source modification for different android versions

I have the kernel source for JellyBean 4.2.2 that boots cyanogenmod 10 and other jellybean ROMS. But when I use that kernel for Kitkat like Cyanogenmod 11 that doesn't work.
To make sure the problem is in the kernel I packed the cm11 boot.img with the jellybean kernel and it didn't boot.
So my question is what modifications does the source need for a newer android version ?
I posted it many times found no answer .

Categories

Resources