How to update kernel to support a newer version of android? - Android Q&A, Help & Troubleshooting

Hello
I have stock kernel of a device in 3.4.X version. I have a newer kernel for that device, version 3.10. The newer kernel works with new android versions, like lollipop, marshmallow... But it is very buggy as some drivers are not correctly developed for that kernel version.
For that reason I want to update my 3.4.X kernel source, which works perfectly with KitKat and some lollipop ROMs, to support newer Android versions like Marshmallow or Nougat. I know other devices that continue using that kernel version for Nougat, so I want to do the same.
What are the steps I have to follow? I think that merging patches from other updated kernel versions could make it possible, but I'm not sure. Please help me.

Related

[Q] LG L9 Kernel

I have a question about kernel,
Why our kernel stil in 3.0.31? while other device have update to 3.4.1xx,
maybe sir @artas182x @Rammar515 or @sguerrini97 have the answer..
thanks
I remember that artas182x compared gps on 3.0.31 and next version and he said that on 3.0.31 gps works better. For me doing something in kernel is like juping on the fire - still scarred doing something there
It is hard to port 3.4.x kernel to OMAP devices because of problems with drivers. But my kernels have some drivers ported from 3.4.x kernels. Just look how Galaxy Nexus tried to port this kernel. Kernel 3.0.x works great, why we should release unstable kernel.
thanks for the answer sir...
its solve my curiosity...
keep update on lollipop..

Using a pre-built MTK6589/8389 kernel in a custom (Lollipop) ROM

I've got an old Lenovo S6000 which, like every other Mediatek device, has incomplete source code for the drivers and the kernel. As a small project, I would like to try and get Android Lollipop up and running to an extent where:
the system boots to the GUI;
the Wi-Fi works;
and the touchscreen works.
just to start off.
The device currently is rooted, with ClockworkMod recovery installed, and I can create Android back-ups of the system. Could I potentially take the kernel and the proprietary blobs and build them in to a CyanogenMod 12 update? Or would the kernel have to be patched to support the new features in Lollipop (the current OS running on the device is Android 4.2.2, and there have been no other working attempts to create a custom ROM for the device)?
Thanks,
George
Sir I want to know Mediatek 6589 3.4.5 kernel can be used with any custom lollipop ROM or it need development for doing that? what can be done to update device with latest android ROM, what is required for developing ROM and kernel? Do all Mediatek 6589 chipsets share same kernel? because sony has released the source code for 3.4.5 kernel but I don't know how to use it for development of new ROM with latest android, how cyanogen do that?
http://developer.sonymobile.com/dow...es/open-source-archive-for-build-16-0-a-0-36/
this is the link to xperia c 3.4.5 kernel source code. please check it sir.

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 .

[HELP] Upgrading Android version of a ROM

I'm very new to android development, so pardon any noob like things.
I want to update the version of android of some custom rom, could I do that by cloning aosp of that newer version and then merging the custom rom(old version) with the newer aosp.
If this is not possible is there any method that can be used to upgrade the android version

Categories

Resources