Step-by-Step Tutorial on How to Compile Kernels from Source
Not too long ago, we brought you news of a basic kernel kitchen that gave users the opportunity to apply a few very minor modifications to kernels. The next logical step is, of course, compiling a kernel from source.
There are many tutorials out there on how to do this. Most are the very basics in kernel compiling and are usually for a specific device or OEM (i.e. HTC kernels). It is a little more difficult to find a tutorial that’s more general without being too vague. This is a niche that XDA Senior Member thewadegeek is looking to fill with a comprehensive tutorial on building a kernel from source.
The tutorial itself is pretty complicated. Users will have to install Ubuntu if they haven’t already, and acquire a good number of packages to make everything work properly. It is highly likely that Google Searching will be required for those who aren’t experienced with Linux or kernel development already. After the build environment portion, users will learn how to prepare the source, modify kernels and build kernels. Unlike some other tutorials, this method prepares users not just for making a kernel on one device, but rather for multiple kernels for many devices. For anyone looking to be a kernel developer, it’s a must read.
For the full tutorial, head to the original thread.
Want something on the XDA Portal? Send us a tip!