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 · May 28, 2015 at 09:59 pm · 5 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:26 pm · 4 comments

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to help “the next billion” come online. More and more people are getting their first smartphone, and for many people this first phone will be their first computer.   The majority of the next billion will be Android users and they “want to remove the barriers of smartphone adoption”. While there are huge displays of phones on sale, not all are able to run the latest and greatest...

XDA NEWS
Share This