[TUTORIAL] How to repack a kernel with offline tool
how to repack a kernel using Thunder07's Toolkit
This is simply a guide to repack a kernel using Thunder’s Flasher tool
I will not write down how to flash a kernel on our HTC one X because if you are reading this you already know how to do that
First of all, all the credits and thanks go to @Thunder07 and to the kernels and roms developers…
In this tutorial I’ll use XMkernel #13 for sense rom and ViperX 4.0.6, so thanks to @Xmister, @RichmondoUK, @Mr Hofs, @Brds7t7, @DroidIt!, @E, @Patrics83, @Snah001, @Alex-V and all the others who helped me to learn how to customize my HOX
kernel provivded with rom
custom kernel you want to repack
i'm not responsible for bricked devices, bad repacks, failures in your personal life or the end of humanity
if you use my guide and follow my instructions, then you accept the disclaimer
First of all, download the kernel zip you want to repack and place it in a folder you can easily find; do the same with the rom zip. Extract the boot.img from both zips and rename them so you can easily recognise them (every filename is good if it has .img extension; i usually rename the final repacked image as "boot.img" before flashing it).
In this guide I’ll rename stock ViperX boot.img “boot_406_stock.img” and XMkernel #13 boot.img “sense_boot_13.img” and I’ll refer to them this way from now on.
After you download the toolkit, unpack it where you want… DO NOT CHANGE FOLDERS INSIDE MAIN FOLDER!!!
You should find something like that:
The next step is to copy kernel images into kernels folder, you should find something like that:
Now… let’s launch the toolkit!
With the toolkit you can even flash kernel after repacking, but I prefer to repack it first and flash it via fastboot later, so I won’t plug the phone in the computer…
Now choose “Kernel Repack”:
You should see something like that:
Now, in Kernel list choose the kernel you want to repack, in this tutorial sense_boot_13.img, and in RamDisk list choose the boot.img provided with the rom you are using, so now boot_406_stock.img
Modules are the zip file (you already know it) but they must be flashed via recovery as they are downloaded...
Then click repack and you’ll see this in the top left corner:
After about 15 seconds, in the same place it will appear the following:
As we’ve never connected the phone, we’ll not unplug it, but this means that kernel is repacked and ready to be flashed…
So now look inside “Repacked” folder near kernels one and you'll find repacked image:
Rename the repacked image in "boot.img" and then do as usual: flash it via fastboot and then flash modules via recovery
if you think this guide is useful
HTC One X - HBoot 1.39 - Philz 5.15.9 - ViperX 4.0.7 - lyapota's #17 - Mr Hofs Chocolate Orange
HTC HD2 - HSPL 2.08 - Radio 126.96.36.199 - cLK 188.8.131.52 - CWM Touch Beta 8 - Rom: constantly changing
Did I help you? Hit THANKS