Former Writer · Jun 25, 2012 at 06:30 am

Basic Kernel Kitchen for Minor Kernel Tweaking

We generally encourage those who want to learn how to develop to do so by developing code rather than using kitchens. However, everyone gets started differently. This means that some aspiring developers may want to get their feet wet with something simple, like a ROM kitchen, before actually creating real development work. And much of the same goes for those looking to start learning more about kernels.

It is with this in mind that XDA Recognized Contributor championswimmer has released a kitchen aimed at modifying kernels. With the motivation behind the project stemming from XDA Recognized Developer and Retired Senior Moderator dsixda‘s now-legendary ROM kitchen, championswimmer wants to create a similar kitchen for kernels to help new users get started making minor modifications.

The kitchen mainly enables users to extract the zImage and ramdisk from a boot.img file, combine a Zimage and ramdisk into a boot.img file, and modify the boot splash screen. As described by the developer:

Fully menu driven interface (like dsixda kitchen)
Extract zImage and ramdisk from boot.img file
Create boot.img from zImage and ramdisk
Extract zImage and ramdisk from any ftf file that contains kernel.sin (Xperia 2010, 2011, 2012)
Create flashable ftf from zImage and ramdisk (Xperia 2010 only)
Create compressed ramdisk binary from ramdisk folder
Extract ramdisk files from ramdisk binary
Convert png image to rle format (used in android boot splash images)
Convert rle boot splash to png file (so that you can edit it)

As with dsixda’s kitchen, this kitchen is a menu-driven script meant to run on Linux.With this kitchen, beginner kernel devs can make a number of small tweaks to the various parts of the kernel.

However, championswimmer makes sure to caution new users:

i would add here that… we should not use it a a huge complicated machine into which we throw in a bootimg and get back a boot.img
i really realy want wannabe kernel devs to go through the internals too… see the scripts, read the source files and try to understand what goes inside the kitchen and not merely use it as a ‘closed-box-machine’

Those looking to learn more should head over 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.
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
Mario Tomás Serrafero · Jul 31, 2015 at 11:00 am · 3 comments

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of the biggest flagship lines issue their latest iterations. Phones like the LG G4 and Galaxy S6 were some of the most anticipated devices in smartphone history, and the hype surrounding the M9 and OnePlus 2 had us discussing for weeks. But for the most part, the awe has vanished.   There is a feeling that virtually all of us at the XDA office...

XDA NEWS