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.
Mathew Brack · Aug 1, 2015 at 09:00 am · no comments

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week's feature has been written by forum member RowHanSolo and takes a look at the exciting prospect of launching satellites fitted with little more than an Android phone as an onboard computer. From a university to NASA, multiple projects like this have launched!   Technology is an ever-growing industry, regardless of which corner you look at. However, each area of technology has its limitations on what it can do and how far it can expand. For satellite technology,...

XDA NEWS
Mike McCrary · Jul 31, 2015 at 03:56 pm · 1 comment

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services that offer ways to stream catalogs of music directly to your device. While each service has their benefits and drawbacks, the common theme among them is to give you access to a vast library of music without the need to store your own, and charge you a monthly fee for the privilege. But what if you already had access to your own catalog of music? Sure, there...

XDA NEWS
GermainZ · Jul 31, 2015 at 01:03 pm · 1 comment

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more than just calls on the go. Since you're on XDA, you probably do and want to get the most out of your battery. Now, you can't magically expand its size but no matter how much its capacity is, you should make sure it's not draining faster than it should be. Your phone's processor runs at different frequencies when you're using the device. The CPU...

XDA NEWS