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.
Emil Kako · Apr 19, 2015 at 02:10 pm · 4 comments

Do You Check for App Updates Regularly?

Do you let app updates happen automatically or do you regularly check for them? We're guessing the community will be pretty split here but we're interested in hearing your thoughts. Let us know below!

DISCUSS
Chris Gilliam · Apr 19, 2015 at 12:39 pm · 5 comments

Find The Best Apps With Google’s Picks & Other Tricks

The Google Play Store, weighing in with more than 1.4 million apps at last count, is a vast expanse of quality content and APK duds alike. To put this into context, it would take the average user more than 8 days of continuous scrolling to make it through the whole list at two per second, let alone the added months to click through and check out screenshots, or years to separate the wheat from the chaff via thorough review. Blogs...

XDA NEWS
Mario Tomás Serrafero · Apr 19, 2015 at 10:00 am · 5 comments

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below! Smartphone purchases make for some of the sweetest times of the year for many of us. After all, we are hobbyists of Android and a new...

XDA NEWS
Share This