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 provided 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
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
Hit Thanks if you think this guide is useful