I´ve read about extracting one package file and I noticed that when we extract that, it won´t generate the file BOOT.tar.md5
What is this file? Is the kernel?
I wouldn´t have problem if I installed a rom stock without this file, correct?
Thanks...sorry my bad english.
If someone want to know. After search, i found the file BOOT.img.tar is the kernel!
Hello guys, I've been struggling since two and a half hours now to unpack boot.img taken from cm10.1 zip (get.cm). I have an error about the magic header, here it is.
Code:
Android Magic not found in boot.img. Giving up.
Fyi, I need to unpack/repack the boot image to change the bootlogo and kernel.
I've tried with any tool available (dsixda kitchen, championswimmer kernel kitchen, simple mkbootimg or unmkbootimg, xperia boot tools and more), no results. Anyone please?
Try asking in the question and answer section, that may help
Sent from the luxury of my tent
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Thank you man, you're a lifesaver. It works.
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
tOrNadO_007™ said:
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
Click to expand...
Click to collapse
Are you looking in ramdisk?
NuriJ said:
Are you looking in ramdisk?
Click to expand...
Click to collapse
Yes.. I did that too.. Unfortunately all the methods didn't work.. One simple method worked though.. Change the permissions of all the unpacked files and mount the ramdisk.img and then extract it and change contents of any file of your choice and then repack it.. It works like a charm..
Hi, i have a doubt... Can i extract the files from stock rom (s3 i9305) downloaded from samobile. Files in format *.tar.md5 with program 7zip, for example, and add(compress) the file extracted boot.img (kernel) to a file *.tar, for flash with odin? sorry the english. Thanks
Yes!
DiegoTriches said:
Hi, i have a doubt... Can i extract the files from stock rom (s3 i9305) downloaded from samobile. Files in format *.tar.md5 with program 7zip, for example, and add(compress) the file extracted boot.img (kernel) to a file *.tar, for flash with odin? sorry the english. Thanks
Click to expand...
Click to collapse
Yes, this is possible. You can also do it with Odin Mobile.
But you're stock kernel should be the same Android Version as new rom.
For exemple : extract 4.1.1 stock boot.img and inject in inside MIUI rom.
Anyone got a set o tools that can unpack and repack our current boot.img ?
I need to edit some files there, and most tools are failing with Android Magic not found in boot.img.
Me too.
Hope you good actually i have extracted system.img file i have made a little change deleted some apls from the file but now the problem is repacking i couldn't find a way to repack the file please help me im stuck here......