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.
Mario Tomás Serrafero · Jul 28, 2015 at 04:20 pm · 1 comment

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up looks at the device itself, it is time for XDA users to begin discussing what to expect out of the company's new flagship phone. Can the OnePlus 2 help you never settle? If you want to find out by discussing with fellow users, the XDA forums are the right place to do so.   The OnePlus One is known for its great community which helped...

XDA NEWS
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · 2 comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS