[Q] Creating patches for Android kernel - Android Q&A, Help & Troubleshooting

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.

Related

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

Kernel Development

Hi. I would like to learn how to develope and port kernels..
Before anybody starts posting guides, I know how to download a kernel source add a few tweaks and compile. But I do not know how to port kernels. Or make cyanogen or AOSP kernels..
So my question is, are there any guides I can read, That will help me get started.
I also understand that I won't get a specific guide I just want a general guide to help me get started.
gmillz said:
Hi. I would like to learn how to develope and port kernels..
Before anybody starts posting guides, I know how to download a kernel source add a few tweaks and compile. But I do not know how to port kernels. Or make cyanogen or AOSP kernels..
So my question is, are there any guides I can read, That will help me get started.
I also understand that I won't get a specific guide I just want a general guide to help me get started.
Click to expand...
Click to collapse
There is no general guide, or any specific how to for merging code to build a aosp kernel. You get the kernel source for HTC for example, then compare that kernel with either an aosp kernel with a comparable type, or look at the aosp devices and merge things are remove them until you have a kernel that can boot in aosp. Then you start tweaking and tweaking until the kernel is stable.
lithid-cm said:
There is no general guide, or any specific how to for merging code to build a aosp kernel. You get the kernel source for HTC for example, then compare that kernel with either an aosp kernel with a comparable type, or look at the aosp devices and merge things are remove them until you have a kernel that can boot in aosp. Then you start tweaking and tweaking until the kernel is stable.
Click to expand...
Click to collapse
Thank you. That gives me a better understanding.
Sent from my captivated jelly beans. waiting on my skyrocket to get back from its space journey.

[Q] Implementing features from other sources

I have the source for PACMAN ROM downloaded and now I want to figure out how to add other features from either github or wherever to it. There's some things from the xposed framework that I'd like to implement in the ROM but I'm not sure how to go about doing it. I'm new to android development, just been porting PAC to my phones that don't have support. Any help is greatly appreciated.
Bump. Anyone?

Implement advanced process management for ROM developed from scratch based on AOSP?

Hi Guys,
I want to develop a custom ROM based on stock Google AOSP but I want to implement process/memory management of Cyanogen ROM.
I have already built the AOSP code for Lollipop.How can I integrate the process/memory management with AOSP.
Most importantly which files I need to check?
PS.I am newbie to cooking a ROM so details would be appreciated.
"Details would be appreciated", so please elaborate on what exactly you want to do. What part of the code do you want to implement, and do you have experience in programming?

[QUESTION] How do you make custom ROM?

Hi,
I wanted to ask this in other subforum, but this is my first post and I don't have permission there. Do you have a guide to recommend for creating custom roms?
I know a lot about Linux, I can compile kernels, patch, I know C a little. I programmed couple of Android apps, in Java and Go, so I guess I have some basic knowledge.
What do you guys do, with what source do you start? Is it a stock android source but you modify kernel and modules or you need first to find exact source for that phone?
For example, I own a Lenovo A560, and would like to try build custom rom for it. What would be the first steps?
Thanks,
Milan

Categories

Resources