Tomek Kondrat · Jan 11, 2014 at 06:00 pm

Easily Get Binaries Needed to Work with Kernels

Every Android kernel is made of few parts, which (depending on the OEM) contains a zImage created during kernel compilation and a ramdisk where some device-specific settings are stored. Sometimes, the ramdisk contains a recovery, logo, and so on.

If you’ve ever tried to work on a precompiled kernel, you’ve noticed that it can’t be extracted with a simple archive manager. Rather, you need some tools capable of unpacking and repacking the kernel as an IMG file. These tools can be easily built on Linux. And thanks to XDA Senior Member A.S._id, you can download them easily and compile your 0wn.

The current set of tools includes such binaries as: mkbootfs, simg2simg, make_ext4fs, mkbootimg, ext2simg, img2simg, simg2img, sgs4ext4fs, and unpackbootimg. Some of them were created by XDA Senior Recognized Developer Chainfire and the CyanogenMod team.

The compilation process is presented in the thread. It’s really simple, and needs just two commands. If you have problems executing them, don’t forget to set the correct permissions by setting the files as executable. After compilation, you end up with binaries that can be used in the kernel modification process.

Naturally, this tool works only on Linux machines. Having configured Github account is also recommended. You can learn more about those binaries by visiting the original thread.


_________
Want something on the XDA Portal? Send us a tip!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Faiz Malkani · May 5, 2015 at 01:01 pm · 3 comments

Google #StepInsideAdWords Event Livestream

Ahead of the annual I/O conference scheduled to take place later this month, the Google AdWords team is set to unveil a host of new products aimed at better mobile experiences, improved event-tracking, scalability and more. Yesterday, a video highlighting the upcoming features was launched on the AdWords blog, and the event itself is scheduled to take place today at 9:30 AM PST / 12:30 PM EST. You can watch the live stream right here on this page, and while it doesn't require registration....

XDA NEWS
Emil Kako · May 5, 2015 at 12:02 pm · 4 comments

How Much Do You Pay for Your Wireless Bill?

With so many different carriers and options to choose from, it can sometimes be quite a task looking for the best deals. Every carrier is battling it out to win over your hearts (and wallets), but which company offers the most bang for your buck? Let us know which carrier you subscribe to, how much you pay for your wireless bill, and what it comes with.

DISCUSS
Mario Tomás Serrafero · May 5, 2015 at 11:05 am · 1 comment

Microsoft Forgets Glasses and Mirror, Trashes Google

Microsoft is preparing a monumental release with Windows 10, and it could easily be one of the biggest developments in operating system history. The company’s track record in desktop OS releases saw a significant dip with Windows 8, but they did an impressive job in assembling a new strategy for this next big piece of software. By big, we mean big: the new OS will seek better integration between all things Microsoft, from the Xbox One to their Windows phones...

XDA NEWS
Share This