[Q] How to add patches from kernel.org to Kernel source ? - Android

Hi,
Im building my first kernel for Xperia SP. I have seen a lot of developers add patches from kernel.org
So how is that done ?
Can someone point me in the right direction or maybe mention a guide.
Regards,
Dark Passenger

Related

[Q] kernel patch/module

hi.. i need some advice/guide regarding this matter..
first of all, i'm planning on compiling custom kernel myself for my ace. i've succesfully compiled a kernel on my debian box using kernel sourcecode from samsung and also applied bfs patch. but now i dont want to just stop here.
the problem is i dont know where to look for those undervolt patch, smartass governor patch, interactive governor patch etc etc. gooling for "android kenel patch/module" just bring me to precompiled kernel thread, not the source patch itself. so maybe anyone can guide me the right direction? thx before
an0nym0us_ said:
hi.. i need some advice/guide regarding this matter..
first of all, i'm planning on compiling custom kernel myself for my ace. i've succesfully compiled a kernel on my debian box using kernel sourcecode from samsung and also applied bfs patch. but now i dont want to just stop here.
the problem is i dont know where to look for those undervolt patch, smartass governor patch, interactive governor patch etc etc. gooling for "android kenel patch/module" just bring me to precompiled kernel thread, not the source patch itself. so maybe anyone can guide me the right direction? thx before
Click to expand...
Click to collapse
better to see the github site, lot of kernel source with many patching in there. and i think, for the much customized of samsung kernel, you can just patching, manual diffing will more better because samsung kernel is not vanillaish android kernel. much modification in there.
Sent from my ViewPad7 using XDA App
Custom kernel for the Ace on it's way..?

Kernel Development help

So hi, I'm interested in doing some dev work on the kernel from lupohirps repo. I've all ready gotten the kernel from github, but don't know where to start editing source. Can anyone provide me with some basic modifications so I can get the hang of it. And possibly guide me a little. Thanks

Backporting kernel

Hey all,
I thought I knew what I was doing when backporting but now I am lost.
I am trying to integrate Bluez 5.18 into Dirty Unicorns kitkat for my Galaxy note 2. I thought I could copy the backport 3.14 compat, backport includes and the drivers into my kernel source but I am now unsure I am doing it right. If anyone has any info on backporting for android I would really appreciate it. Things I am unsure of is if I am doing it right by copying the files into the kernel source or if I need to use the backport differently.
Any help is greatly appreciated and needed.
Thanks
Brian

[Q] Creating patches for Android kernel

Hi everyone,
I wanted to learn how to develop patches for the kernel of a Nexus 4. But i'm a complete beginner in all this. Could someone give me guidance on how to develop the patches to add additional features to a kernel, or from where I can learn this from. Please note that i'm not asking how to ADD a patch to a kernel but how to DEVELOP a patch.
Or is there any other way to develop a kernel based on someone else's kernel? As in a step by step guide in DEVELOPMENT?
Thanks in advance.

[Q] Trying to build franco.kernel with cherry picks and SELinux Theme Engine fix

Hello folks!
So I read that Franco had released his kernel for our flounder/volantis. Problem is, I'd like to use fastcharge/2A charging and need the appropriate fixes for selinux and the theme engine of CM12 (all ROMs I like use the theme engine, using permissive mode doesn't help much, still crashes).
I am totally new to compiling from source, I have already managed to clone the repo for flounder from his GitHub though (https://github.com/franciscofranco/flounder).
Steps I have already done:
Code:
git clone https://github.com/franciscofranco/flounder --branch lollipop
I can't find any guides on how to compile for the N9 though, I have pretty much no idea what I need to do. Managed to understand how to apply patches, but I can't find the most important one, the one for the selinux and theme engine support. It was merged in a nightly of CM12 a few weeks/days ago, but I can't find it anywhere on the codereview page or anywhere else. I have already googled around how to compile for other devices and got the required utilities and applied some of the steps that seemed universal/exchangable with the device name I am building for. So could somebody be so kind and give me a little guide on what I need and maybe give me the link to at least the commit with the selinux patch? I'm looking forward to your replies, thank you!

Categories

Resources