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.
Mathew Brack · May 22, 2015 at 02:30 pm · 4 comments

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager to learn and the bold. Everyday we see innovation and brilliant ideas across the site, from this we know that many of you have great insight in to your respective fields. That is why today, I am honored to announce a new project that will allow us to work with you directly to have your views and thoughts expressed clearer than ever. Introducing:    ...

XDA NEWS
Jimmy McGee · May 22, 2015 at 12:10 pm · 4 comments

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Sony cutting the price of the Xperia Z1 and be sure to check out the article talking about the YotaPhone 2 Indiegogo pre-order. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
TK · May 21, 2015 at 02:15 pm · 3 comments

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the year already. While flagship phones usually offer bleeding-edge specs and are the most sought after phones, there is a huge market for non-flagship phones. Some offer value, others offer unique differentiating features. Today, we are going to look at the X1 phone by a Chinese company named N0.1. The company promises a truly rugged IP68 Certified phone. The device has a Quad...

XDA NEWS
Share This