need tool to unpack/repack boot.img - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

need tool to unpack/repack boot.img
because im getting error
"magic header not found in he kernel"

Junaid1460 said:
need tool to unpack/repack boot.img
because im getting error
"magic header not found in he kernel"
Click to expand...
Click to collapse
I am looking for this too.
Did you find any tool?
I want to edit the kernel to make it compatible with MIUI7 ROM i've made.
Base Kernel: bauner's CM11 20151004
Did a lot of searching on xda. Tried several kitchen tools, none of them helped.
I even tried the kernel unpack repack tool for galaxy s2 but i guess it works only on JB
Please someone help

I too have searched for it a long time and finally found out that the best option is to compile a whole rom and extract the zimage from there.

Related

[Q] How to Create a zImage tar?

I am running a 2.3.3 branded rom from my provider on a GT-I9000 device (based on JHJV9).
Using odin I flashed speedmod k15-t24 kernel to get root permissions.
I am done with all the backups and I no longer need root, so i want to flash back the original kernel of this rom. I have the original zImage file of this kernel, and I tried to flash it back using SGS kernel flasher, but the procedure fails.
I want to try flashing it back using odin, but the zImage file is not packed in tar.
My question is -
Using winrar, can I remove the zImage file from the speedmod tar, and then paste the original rom zImage file instead? Will I be able to flash it using odin then?
If the answer is no, how do I create a proper tar file for odin with the desired zImage file?
You just need to tar the zimage - you can name it anything- see Fugu mod root thread. The tar creation seems very sensitive. I tried 7zip and peazip and both did not work. The last one suggested in fugu mod did. The other programs created tars that all looked ok as files but would not flash in odin. No status bar on the phone and progress stopped on odin. The good news is that you aren't bricked if you pull the battery and start again.
You can also use fugu mod root and then keep your stock kernel.
Sent from my GT-I9000M using XDA Premium App
another Alternative is to use Heimdall to flash yr prefer modem or kernel...
a little bit difficult to understand heimdall use, but not difficult to use. Only catch that u need to watch out is yr need to be in the same directory of the file that u want to flash..
u can know more about heimdall by search thru Google.. for heimdall for galaxy s. hope this help
Sent from my GT-I9000 using XDA App
Thanks for the answers,
Perhaps the Heimdall method will be easier. I'll start doing my homework on this platform.
hello,
use cygwin + cygwin packages.
Works great for me for releasing my own custom rom with odin.
i tried 7-zip but did not work.
good luck.
To make your .tar, try Izarc.
Working for me.
need help with original kernel file...
hey dangol, i have JHJV9 too, (JHJVB after kies update) and i was trying to root my phone but last time i did i messed up the signal strength, internet, etc. and had to take it back to orange. so this time im taking a backup of everything including the original kernel, which i cant do because you need root access to backup a kernel which entitles flashing a different kernel anyway, so i looked on the internet for an original; samfirmware.com and israeli forums and know one has it, so i was wondering if you could send me the original kernel in a file i could use with odin, and the CSC files if you have it. I'd really appreciate any help you give, iv'e been stuck for weeks.

[Q] Messed up - need an ICS tar kernel for Odin

This is the first time I've had this happen - see many others in similar situation but now it's me :-(
I was rocking the most stable, smooth and battery- life- loving setup of ICS ever on my i9000 after trying almost all of the Roms and kernels out there.
In the end the Elite7.1Beta worked amazingly for me and I set it all up just nice and really had no reason to start messing with it.
....So I messed with it (to get even better battery life) and flashed the B6 ICY Glitch kernel and then - bootloop.
So I need an ICS/CM9 tar kernel file (any with CWM recovery will do) that I can use to reflash the original Devil 15.1 kernel.
Believe me, I've searched and serched and simply cannot find a tar version of any of the main ICS kernels out there (glitch, semaphone, devil etc). Why are there no more tar files anymore? Am I missing something?
I've even tried extracting the kernel from boot.img using cygwin and a tutorial I found on the net - but being an untran00b I did something horribly wrong and now thank goodness I can still get Download mode.
So:
Can someone please let me know where I can find a .tar kernel for ICS/CM9 that I can flash with Odin? Or how to make one from a kernel .zip or boot.img file?
OR: Can I just flash a boot.img in Odin (doesn't look like it but just wondering?) I'v not tried that because I've messed this up enough already.
Any help greatly appreciated
alsheron said:
So:
Can someone please let me know where I can find a .tar kernel for ICS/CM9 that I can flash with Odin? Or how to make one from a kernel .zip or boot.img file?
OR: Can I just flash a boot.img in Odin (doesn't look like it but just wondering?) I'v not tried that because I've messed this up enough already.
Any help greatly appreciated
Click to expand...
Click to collapse
Try this, it should get your cwm back
unpack and flash as pda in odin
ssdd48 said:
Try this, it should get your cwm back
unpack and flash as pda in odin
Click to expand...
Click to collapse
well i was in the same situation and i didnt have ssdd48 to help me ..
try his method i have read that it works .. if not i believe there is a speedmod kernel which has a tar file google that
for me eventually nothing worked so i had to flash a gingerbread rom thru odin and start over .. good luck
Thanks for the replies guys. Managed to fix it in the end using Darkcore kernel which gave me working recovery (even though Gingerbread based) but really appreciate you linking me the recovery file ssdd48.
Cheers!
I have the same problem with B6!! But I use the ssdd48 way, and it works perfectly (really thanks), after that y flashed again B6 via CWM and it works fine.
I might be wrong but doesn't Heimdall support flashing boot.img?
Sent from my GT-I9000
Thanx man ! I've Been waiting for a fix reocery tar for ICS.
ssdd48 said:
Try this, it should get your cwm back
unpack and flash as pda in odin
Click to expand...
Click to collapse
hey mate, when you flash a kernel you dont lose any data right? I only need to get into CWM because I get bootloops and then I will reflash semaphore kernel
should "auto reboot" in odin be enabled?
romdroid. said:
hey mate, when you flash a kernel you dont lose any data right? I only need to get into CWM because I get bootloops and then I will reflash semaphore kernel
should "auto reboot" in odin be enabled?
Click to expand...
Click to collapse
There is no harm in it being checked. Lets you find out straight away that its been fixed
thanks
ssdd48 said:
Try this, it should get your cwm back
unpack and flash as pda in odin
Click to expand...
Click to collapse
thanks! it works!
Interesting.
I just re-flashed the ROM via CWM.
It includes a kernel.
If that didn't work, I'd use the kernel cleaning script, and the re-flash the ROM.
Hi,
I tried to flash the datafix for CM9 but it got me into a bootloop (using semaphore 1.0.1s kernel).
I flashed this file to fix the recovery but from here things aren't going so well...
I tried to restore my nandroid backup - didn't work (tried to restore only /system though, but saw it failed).
then I tried to reflash CM9 (19.4 nightly) - failed.
then I tried to reflash the semaphore kernel - succeeded but now my phone is stuck on the "galaxy S gt-1900 screen" (I can get into the recovery though, the one included in the fix).
What can I do now? I can't even get my phone to boot...
Thanks!
TheeWolf said:
Hi,
I tried to flash the datafix for CM9 but it got me into a bootloop (using semaphore 1.0.1s kernel).
I flashed this file to fix the recovery but from here things aren't going so well...
I tried to restore my nandroid backup - didn't work (tried to restore only /system though, but saw it failed).
then I tried to reflash CM9 (19.4 nightly) - failed.
then I tried to reflash the semaphore kernel - succeeded but now my phone is stuck on the "galaxy S gt-1900 screen" (I can get into the recovery though, the one included in the fix).
What can I do now? I can't even get my phone to boot...
Thanks!
Click to expand...
Click to collapse
Anyone?
Yes!
I was having the same problem, for 2 times now actually. The first time I had to go all the way back to gingerbread. Now it happened to me a second time, I searched again and found a solution.
I think the rescue .tar doesn't have the right CWM in it to install the ICS rom. I've found a Odin installable kernel with the right CWM, its here:
http://forum.xda-developers.com/showthread.php?t=1551410
I hope this helps more people in this situation!
TeKnoID2 said:
Yes!
I was having the same problem, for 2 times now actually. The first time I had to go all the way back to gingerbread. Now it happened to me a second time, I searched again and found a solution.
I think the rescue .tar doesn't have the right CWM in it to install the ICS rom. I've found a Odin installable kernel with the right CWM, its here:
http://forum.xda-developers.com/showthread.php?t=1551410
I hope this helps more people in this situation!
Click to expand...
Click to collapse
Thank you!! worked perfect
If I use Odin, everything will be wiped and is gone am I right?

[Q] 7320 kernell needed

i need a 7320 kernel so i can flash my tab used the wrong root and now stuck with 127mb and no original backup....cheers to whoever helps me
Sorry if wrong section
here is a stock P7320T Kernel (flashable with ODIN) taken from this rom:
http://forum.xda-developers.com/showthread.php?t=1538128
Use ODIN 1.85, click on PDA, select the file and click on "Start".
I've compiled a cwm recovery with this kernel that also works on the 7320. So I think it should be ok - but cannot test it.
edit: and the attachment.... =)
that one fails modem test...tried already
what do you mean by "modem test"? md5 checksum check within odin?
I extracted the kernel from the zip and added a new checksum, so it can be flashed seperately...
thank you very much, finally have my space again

[GUIDE] How to Make A CWM Flashable Modem for GT-I9100G

Tutorial for Making A CWM Flashable Modem
Many find it hard to get the specific modem (baseband) that is compatible with the ROM that they are using (flashing custom ROMs will still retain the baseband). Luckily, there is this thread [Bootloader] [Official Stock Firmwares , Kernels & Modems For i9100g] by neerajganga
However, not all modems are provided. Instead of whining and giving up hope and start the tedious process of flashing a stock firmware all over again just for the right baseband, why not make your own CWM flashable zip? It's really simple...
Instructions:
1. Download the right firmware (the one that contains the modem you require).
2. Change the extension of the firmware from .md5 to .tar (just delete off the .md5 by renaming the file and make sure the name ends with .tar)
3. Now you can open the firmware with Winrar or 7zip.
4. Extract modem.bin.
5. Download this preset CWM zip (with DXLP6 modem) modem_updater_i9100g.zip and replace the modem.bin inside the downloaded file with the one you just extracted. DO NOT modify other files.
6. You just made yourself a CWM zip with the modem of your choice...
Nyc :good:
nice, my friend got a problem with modem,
Ryuinferno said:
Tutorial for Making A CWM Flashable Modem
Many find it hard to get the specific modem (baseband) that is compatible with the ROM that they are using (flashing custom ROMs will still retain the baseband). Luckily, there is this thread [Bootloader] [Official Stock Firmwares , Kernels & Modems For i9100g] by neerajganga
However, not all modems are provided. Instead of whining and giving up hope and start the tedious process of flashing a stock firmware all over again just for the right baseband, why not make your own CWM flashable zip? It's really simple...
Instructions:
1. Download the right firmware (the one that contains the modem you require).
2. Change the extension of the firmware from .md5 to .tar (just delete off the .md5 by renaming the file and make sure the name ends with .tar)
3. Now you can open the firmware with Winrar or 7zip.
4. Extract modem.bin.
5. Download this preset CWM zip (with DXLP6 modem) modem_updater_i9100g.zip and replace the modem.bin inside the downloaded file with the one you just extracted. DO NOT modify other files.
6. You just made yourself a CWM zip with the modem of your choice...
Remember to click the thanks button if you find my post useful!
Click to expand...
Click to collapse
Thanks bro...I was wondering if an I9100 modem firmware work for an I9100G model? B'coz the G model has no existing firmware for my country not even IN GB...
Nope...cause different hardware...
Ryuinferno said:
Nope...cause different hardware...
Click to expand...
Click to collapse
thanks bro...Man I guess I'll get stuck with the Malaysian modem then...
i cannot update my modem. while i try flasing through cwm i'm facing with "installation aborted" error.
What kind of error? You will see a status ? (number)...may I know what number is that?
Ryuinferno said:
What kind of error? You will see a status ? (number)...may I know what number is that?
Click to expand...
Click to collapse
7
What model are you using? This modem updater is for the GT-I9100G......or you are currently using SuperICS kernel?
yes. i recognized shortly before it's due to superics. i cannot flash anything thanks for helping .
Thank you so much @Ryuinferno , you saved my ass Your method worked on my S4 GT-I9500
Thank you Ryu , i learned something new today
Thanks for this info. Is it also possible to flash this zip via TWRP (running on Omnirom 4.4) or is it CWM only?
Should work for both

[Q] How do i unpack my boot.img to change logo.bmp?

Hi everybody. Im trying to extract a boot.img so i can change the splash after the ATT logo but before the bootvideo sequence. The logo.bmp has already been prepared and is ready to be put in .I ended up I downloading this kernel for the Galaxy S Captivate and installed android kitchen and cgwin with this link but when i tried to unpack the boot.img it said:
"Android 'magic' header not found at start of boot.img
checking if it exists elsewhere...
warning: android header not found in boot.img <unsupported format>"
after that it just gives me an 0kb zimage.
Ive searched around and it seems that Samsung kernels aren't compatible or lacking something that the kitchen searches for. Is there some way to get it to work?
Why not use a kernel that already has a different splash? It also isn't the easiest thing to unpack the kernel .img. Even if you can split it, there is more work to do.
boot logo
Would it be possible just to create a flashable zip that only replaces to logo?
are you tied to glitch rom for some reason?
messing with the actual boot file is risky, imho.
TRusselo has a thread about it but I dunno up to which firmware it supports.
BWolf56 said:
TRusselo has a thread about it but I dunno up to which firmware it supports.
Click to expand...
Click to collapse
I believe that is for changing the bootloader splash in param.lfs.
Sent from my Nexus 7 using Tapatalk HD

Categories

Resources