[Q] AOSP/CM vs Stock kernels - Android Q&A, Help & Troubleshooting

Can someone explain to me why AOSP and stock kernels (like Samsung stock kernels for example) only work on whatever type of ROM they're compiled for?
Also, why are most CM kernels still stuck on 3.0.64 when the official Linux kernel is on 3.11/3.12 now?

Related

[Q] How build the custom kernel in CyanogenMod

HI all,
I'm building a custom kernel that enable V4L2 (usb camera) in Galaxy S2, based on CM ROM follow this oldwiki. cyanogenmod. org/wiki/Building_Kernel_from_source
But I always get error when compile kernel (syntax + missing library...)
Are there anyone has experiment in building custom kernel from CM? or anything ROM that be able to support V4L2?

[Q] Kernels for Omnirom KK 4.4

Hello, I have recently moved from stock JB to Omnirom on S2. I tried to search but couldn't find. So would appreciate if someone could give me link for kernels compatible with omnirom (apart from the default kernel it comes with). I do have link for Gustavo_s's files for S2: http://www.androidfilehost.com/?w=files&flid=12345
I used it for flashing omnirom. Now which all kernels would work with omnirom, if someone could provide me with links?
Bump!!!
Instead of naming kernels, I will suggest you use the best kernel compatible with all KitKat ROMs for the I9100 (OmniRom 4.4 as well). Try using Dorimanx Kernel v10 9.43v96 as some users reported that the kernel is stable for daily use and included several hardware customization. Definitely, Gustavo_s kernel is good and runs OmniRom real good, but Dorimanx kernel is a beast.

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 .

Kernel suggestion for CAF based rom

Can anyone suggest kernel which can be used in CAF based rom?
Stock kernel..
Depends of the rom and android version

Categories

Resources