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.
Jack Jennings · Jul 2, 2015 at 01:09 pm · no comments

Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone's life where you must part ways with your gadgets. Perhaps they are dropped from a height, carelessly hardbricked, or simply stashed in a drawer in favor of a shinier upgrade. Alternatively they might enter the world of the second-hand market, and become someone else's daily driver. Swappa is especially popular for this purpose here at XDA, where thousands of users trust the site enough to buy and sell their devices through it. In fact, we made...

XDA NEWS
Aamir Siddiqui · Jul 2, 2015 at 11:46 am · no comments

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw increased success outside of China for Xiaomi along with tremendous consumer interest in the company's smartphone offerings. The company also increased its ventures outside of smartphones touching everything from routers to selfie sticks. The company took to twitter to announce their recent success. Xiaomi's smartphones sales increased 33% year-on-year, with the company having sold 34.7 Million smartphones in the first half of...

XDA NEWS
Aamir Siddiqui · Jul 2, 2015 at 11:30 am · no comments

Sprint Reacts To Jab From T-Mobile

America's cellular network space has always been a battle of the big four: Verizon, AT&T, Sprint and T-Mobile. Together, they serve around 370 million subscribers while the 5th place U.S. Cellular serves 4.7 million subscribers. The battle for the top spot has always been between Verizon (133.5 million) and AT&T (121.8 million), while Sprint and T-Mobile battle it out for the 3rd place with 57.1 million and 56.8 million subscribers respectively. Needless to say, in such a neck-to-neck competition scenario, swords...

XDA NEWS
Share This