Former Writer · Jul 8, 2012 at 11:00 am

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!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Jimmy McGee · Jul 30, 2015 at 06:00 am · no comments

How to Root the LG G4 and Install TWRP Recovery – XDA TV

A rooting method has finally been found for the flagship LG G4. In this episode, XDA TV Producer TK shows you how to root and install TWRP recovery the LG G4. TK just recently reviewed the device.  So as is usual at XDA, we must root all the things, and the LG G4 is no exception! TK presents instructions on how to gain root access on your LG G4 using tools from the XDA Developers Forums. The process is painless...

XDA NEWS
Mario Tomás Serrafero · Jul 29, 2015 at 12:10 pm · 1 comment

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the past few days. Both have also promised great performance for a cheap price, and now that we know the specifications and details about both the Moto X Style and the OnePlus 2, we can begin planning our next purchase and debating which one is better. So, judging from everything we know, which phone is more impressive?

DISCUSS
Mathew Brack · Jul 29, 2015 at 10:35 am · 2 comments

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of us will have used it but you may feel that the module repository is missing something. We have the solution with several guides aimed at getting you started to build your own modules, something that may be daunting but can open an entire new field of development with a little time and effort.     Where better to start than at the beginning? Rovo89 has created a straight forward tutorial for getting started with development for Xposed....

XDA NEWS