Update linux kernel? - Android Q&A, Help & Troubleshooting

I'm trying to update my kernel from Linux 3.4.0 to 3.10, is there a guide or site where I can commit them?

Go ahead but it is so hard you will learn too many
:good: i just want to make that 3.4 kernel run no one want to give that hand of help !

Related

Help me understand kernel modification.

Hi,
I want to learn kernel modification as my exams are over and i have enough time with more than enough resources.
At first i would like to know how to add OC to stock GB & ICS kernel.
i know its about modifying the ramdisk but how?
Please redirect me to proper link, there are may moded kernel available here but i want to try it my self.
i just installing linux in my VMware right now.
www.xda-developers.com/android/xda-university-adding-features-to-your-freshly-compiled-kernel/
Cheers,
AJ

[Q]How to build a kernel

HEY GUYS,
My device is M8tl and I want to build an ElementalX kernel.... However, I am not familiar with it .I searched rhe forum but I cannot find a tourial like this....I have downloaded My device's kernel source from HTCDEV.com and ElementalX kernel source from GitHub... Can anyone tell me what to do next?Waiting for reply...

Building a Kernel/rom

Hi everyone.
I know little-nothing about Linux and compiling kernels. I almost never used Linux, I don't know any programming language, but I'm a PC master(hardware/windows etc). First of all, from what I read, I need to learn Linux and only after I should learn how to build a kernel. Can someone help me, or give me a link for better understanding/learning linux, and after how to compile own kernel from source(or modify it, for ex: updating libs(if it's possible, adding overclock to cpu/gpu, update gpu driver, upstream kernel at the latest one etc). I'm saying again, I'm newbie, but I can learn very fast + i can have virtual machine with latest Ubuntu).
Thanks everyone who try to help me! Have a good life.

Android kernel how to make compatible with higher os? (+Where can I find the patch?)

Hello, I'm newbie dev trying to build CM13 for Lenovo Phab plus.
I think I'm almost finished with device and vendor, but I cannot figure it out what to do with kernel.
The circumstance is,
I have a stock kernel source which runs in 5.1.1 LP, with version of 3.10.49.
What I want is to make kernel compatible with 6.0.1.
I already know that linux kernel version doesn't have to be exactly same with new Android OS versions and I can just make a few patches in order to run kernel in higher OS.
So I googled and studied(?) for 2-3weeks, but got not many useful informations and I still cannot figure out where to find required patches for 6.0.1 .
So here's what I am not sure about.
1. I found that I can either upstream, merge, cherry-pick kernel sources from higher OS. For instance, if I merge kernel patches (starting from 3.10.50 to 3.18 step by step) and check if the kernel compiles successfully, is this a right thing to do? I am confused whether merging or cherry-picking is required for my situation.
2. I see lots of commits when comparing with other kernel sources in github. How do you find those kinds of patches? -> just keep compiling kernel and if error comes out->search->commit
Always this pattern goes again and again till boot properly?
3. i'm quite curious with backports. What i know is that "backports" are the files which is compatible for lower version kernels. For example, backported audio driver originally based on 4.9 can be used in kernels with version below 4.9. Is it right?
4. If there is an useful links, anything could be helped a lot.
THANKS IN ADVANCE.

What Steps Do You Take To Upgrade A Kernel?

So the phone manufacturer has provided kernel source and lets assume that it compiles and deploys fine.
What are the steps to upgrade the kernel to a newer version?
Lots of threads that I read suggest looking for another kernel that is based on a similar device and using that.
However, what happens if there is no similar device?
What steps do you take to upgrade a kernel in this case?
Would I just find the equivalent base in the android kernel source and git diff and patch each commit until I got to the version I wanted then try to fix any compile errors?
I can't seem to find a thread with the actual fine details of the kernel upgrade process.
I didn't get round to upgrading my kernel.
Does anyone have a developers guide on the steps to update your kernel source code?

Categories

Resources