Extract stock kernel - Galaxy S II Q&A, Help & Troubleshooting

Hello,
Ive flashed my SGS2 withe the latest stock ICS rom and rooted it with CF-Root-SGS2_XX_OXA_LPH-v5.2-CWM5 to remove the triangle i want to flash the stock kernel but can't find it in the threads here.
Now I'm tryin to find out in wich file the stock Kernel is located. I've downloade the rom from Sammobile.
I've got 4 files:
GT-I9100-MULTI-CSC-OXALPH.tar.md5
I9100_APBOOT_I9100XXLPH_CL118559_REV02_user_low_ship.tar.md5
I9100_CODE_I9100XXLPH_CL118559_REV02_user_low_ship.tar.md5
MODEM_I9100XXLPH_REV_02_CL1104396.tar.md5
I think its in I9100_CODE_I9100XXLPH_CL118559_REV02_user_low_ship.tar.md5 so i renamed it to .rar en extracted it and found a zImage file that is 7.99MB in size.
Is this correct and if it is how to flash it?
Thnx in advance
I posted the zImage below.

Yes it is. Flash with mobile Odin or one of the other flashing tools.

Oke glad i got it correct
Do i have to rename it when i want to flash it with Odin? Or do i have to wrapped in to a .zip or tar file?

I said mobile Odin, i.e. http://forum.xda-developers.com/showthread.php?t=1347899
Anyway, if you're only wanting to remove the triangle, you should be able to just use TriangleAway: http://forum.xda-developers.com/showthread.php?t=1494114

Oke clear, i use Odin Mobile because trangle away doesn't work with ICS
EDIT:
Flashed it with CWM it worked!!

djg269 said:
Oke clear, i use Odin Mobile because trangle away doesn't work with ICS
Click to expand...
Click to collapse
Erm, what?
Chainfire said:
This app can reset your flash counter and triangle on ICS builds.
Click to expand...
Click to collapse

My bad, i've tried it on Gingerbread and that did'nt work.
You're right it worked and counter is on 0, triangle was already gone.

I posted the zImage in the first post, maybe it will help some others.

Related

Kernel Flashing with Odin

Hey guys,
I'm a total noob at a lot of this so I need some help. I've rooted my Sg2 and am now attempting to flash a kernel with CWM so that I can start checking out some of these ROMs. Problem is, whenever I download the kernel file, I see no .tar file for me to be able to flash via Odin. All the how-to videos show a .tar file available for flashing but any kernel I download from the forums, none seem to have the .tar file included in the zip. I only see is a META-INF and a zImage file which help me in no way. What am I doing wrong?
Any help is greatly appreciated.
greystealth said:
Hey guys,
I'm a total noob at a lot of this so I need some help. I've rooted my Sg2 and am now attempting to flash a kernel with CWM so that I can start checking out some of these ROMs. Problem is, whenever I download the kernel file, I see no .tar file for me to be able to flash via Odin. All the how-to videos show a .tar file available for flashing but any kernel I download from the forums, none seem to have the .tar file included in the zip. I only see is a META-INF and a zImage file which help me in no way. What am I doing wrong?
Any help is greatly appreciated.
Click to expand...
Click to collapse
A kernal is zImage, however unless I'm wrong you don't want to flash a non stock kernal using Odin. I thought this would increase flash counter. Unless it is mobile odin i believe. However you could try this sticky and hopefully it will help...
http://forum.xda-developers.com/showthread.php?t=1311081
Thanks but no luck. That's just basically a way of flashing without your machine. You still need the correct file extension in order to flash. Tar is what I'm looking for. I'm not sure why this has become so difficult. I know that I must be doing something stupid. Any help anyone else?
codeworkx has a kernel, stock with ClockworkMod Recovery 5.0.3.2 that is a tar here.
The zedomax root CWM kernel, which you can download from this thread is also packaged as a tar for Odin.
creepyncrawly said:
codeworkx has a kernel, stock with ClockworkMod Recovery 5.0.3.2 that is a tar here.
The zedomax root CWM kernel, which you can download from this thread is also packaged as a tar for Odin.
Click to expand...
Click to collapse
That helps a LOT! Thank you!

[Q] Flashing ROM/Kernel via Creepy's Guide

OK I have read creepy's guide and several other ones and downloaded all the files.
So far the steps that I understand:
1. Recovery Wipe
2. Download Mobile Odin on your phone
3. Use Mobile Odin to flash custom kernel by selecting zImage file. (Apparently I need to use a gingerbread Kernel even though I am going to ICS? this I also don't really understand)
4. He says you can use Mobile Odin to flash a ROM but never explains how. The way I did this before is by loading a .tar file into the PDA section of ODIN on PC and then just clicking start while my phone is in download mode. I looked into Mobile Odin and found no option saying ROM or PDA. My options are Kernel, System, Data, Cache, Param, Modem, or Hidden. So where do I load the .zip/.tar file?
Help would be very appreciated thank you.
You can not use GB kernel on ICS rom. To flash kernel you should put zImage to kernel section on mobile odin and push flash firmware.
To flash rom via mobile odin you should put tar or md5 rom file to system section of mobile odin. Push flash firmware.
fakhri said:
You can not use GB kernel on ICS rom. To flash kernel you should put zImage to kernel section on mobile odin and push flash firmware.
To flash rom via mobile odin you should put tar or md5 rom file to system section of mobile odin. Push flash firmware.
Click to expand...
Click to collapse
if the zImage file is inside of the .tar file does that mean flashing the ROM will automatically flash the kernel as well?
Also creepy specifically states to use a gingerbread kernel, "You must use a Gingerbread kernel when using this method. If you use an ICS kernel while your phone is running Gingerbread, it will not boot!!!"
Sky` said:
if the zImage file is inside of the .tar file does that mean flashing the ROM will automatically flash the kernel as well?
Also creepy specifically states to use a gingerbread kernel, "You must use a Gingerbread kernel when using this method. If you use an ICS kernel while your phone is running Gingerbread, it will not boot!!!"
Click to expand...
Click to collapse
If tar or md5 file have zImage, mobile odin will leave old kernel.
If you want to flash ICS rom You should put tar or md5 file of rom in system and ICS kernel of this rom in kernel.
f you want to flash GB rom You should put tar or md5 file of rom in system and GB kernel of this rom in kernel.
Creepy states don't mix GB kernel with ICS rom and v.v.
If rom file have inside hidden, modem, zImage, system (factoryfs), cache. You can on mobil odin push "open file or archive .tar, .tar.md5, .exe, and separate file" and choose rom tar or md5 file. Mobile odin will put all file in right plase.
fakhri said:
If tar or md5 file have zImage, mobile odin will leave old kernel.
If you want to flash ICS rom You should put tar or md5 file of rom in system and ICS kernel of this rom in kernel.
f you want to flash GB rom You should put tar or md5 file of rom in system and GB kernel of this rom in kernel.
Creepy states don't mix GB kernel with ICS rom and v.v.
Click to expand...
Click to collapse
Apparently these are all .zip files? How am I suppose to do this using .zip files?
This is the ROM I am trying to flash:http://forum.xda-developers.com/showthread.php?t=1650948
The .zip file has only 5 files inside of it when extracted, cache.img, factoryfs.img, hidden.img, modem.bin, and zImage with no specified file extension.
When you said it will "leave the old kernel" do you mean it will leave it in place, or leave it to the new kernel inside of the .tar file?
So should I extract the .zip file use the zImage as my kernel and load the whole .tar file under system?
Or do I need to use a different kernel like fluxxi?
EDIT: I was also curious about this ROM, would it be difficult to install? http://forum.xda-developers.com/showthread.php?t=1752232
Sky` said:
This is the ROM I am trying to flash:http://forum.xda-developers.com/showthread.php?t=1650948
The .tar file has only 5 files inside of it when extracted, cache.img, factoryfs.img, hidden.img, modem.bin, and zImage with no specified file extension.
When you said it will "leave the old kernel" do you mean it will leave it in place, or leave it to the new kernel inside of the .tar file?
So should I extract the .tar file use the zImage as my kernel and load the whole .tar file under system?
Or do I need to use a different kernel like fluxxi?
EDIT: I was also curious about this ROM, would it be difficult to install? http://forum.xda-developers.com/showthread.php?t=1752232
Click to expand...
Click to collapse
First rom you should open with "open file" and mobile odin will put all him self. And you can flash. Kernel and modem will be changed to rom kernel and modem.
Second rom is not difficult but you should flash with cwm recovery.
fakhri said:
First rom you should open with "open file" and mobile odin will put all him self. And you can flash. Kernel and modem will be changed to rom kernel and modem.
Second rom is not difficult but you should flash with cwm recovery.
Click to expand...
Click to collapse
Sorry I gave you the wrong link for the first ROM, I have like 20 tabs open trying to figure this out.
this is the one I meant: http://forum.xda-developers.com/showthread.php?t=1746181
and it is a .tar file
Also for the second link, I'm guessing CWM is Clockwork Mod? is this a mobile software or PC based? I googled it and went to their main website and found no download link for anything similar to ODIN. I also searched for cwm recovery in play store and found an app called rom manager, is this it?
Thanks a bunch for your help, I really do appreciate this
Rahmat Aytmoq
Sky` said:
Sorry I gave you the wrong link for the first ROM, I have like 20 tabs open trying to figure this out.
this is the one I meant: http://forum.xda-developers.com/showthread.php?t=1746181
and it is a .tar file
Also for the second link, I'm guessing CWM is Clockwork Mod? is this a mobile software or PC based? I googled it and went to their main website and found no download link for anything similar to ODIN. I also searched for cwm recovery in play store and found an app called rom manager, is this it?
Thanks a bunch for your help, I really do appreciate this
Click to expand...
Click to collapse
It's same. put in "open file".
After installing rom you can change kernel via mobile odin.
After installing you will have a root and it' very easy.
You can change kernel to siyah kernel nomswap http://www.mediafire.com/?81odsaa6o6ib165. Take from zip file zImage and install via mobile odin. After you will have root and cwm recovery.
But it is for I777 based stock rom. For other rom you should install siyah mswap http://www.mediafire.com/?vihwj8l5wv8v263
fakhri said:
It's same. put in "open file".
After installing rom you can change kernel via mobile odin.
After installing you will have a root and it' very easy.
You can change kernel to siyah kernel nomswap http://www.mediafire.com/?81odsaa6o6ib165. Take from zip file zImage and install via mobile odin. After you will have root and cwm recovery.
But it is for I777 based stock rom. For other rom you should install siyah mswap http://www.mediafire.com/?vihwj8l5wv8v263
Click to expand...
Click to collapse
Ok great I know have all the files selected in mobile odin. I wanna go over this with you one more time before i begin the flash to make sure I made no mistakes.
1. I did not do a factory reset because I am still on gingerbread(rooted) is this ok?
2. I used "open file" as you said and it placed all the proper files in the right location.
3. There are two options that I'm not sure what they do, "wipe data and cache" and "Wipe Dalvik cache" Should I check both of these?
As soon as you tell me I'm fine ill start the flash! thanks again!
I impatiently started the flash I hope i didnt mess anything up
Sky` said:
Ok great I know have all the files selected in mobile odin. I wanna go over this with you one more time before i begin the flash to make sure I made no mistakes.
1. I did not do a factory reset because I am still on gingerbread(rooted) is this ok?
2. I used "open file" as you said and it placed all the proper files in the right location.
3. There are two options that I'm not sure what they do, "wipe data and cache" and "Wipe Dalvik cache" Should I check both of these?
As soon as you tell me I'm fine ill start the flash! thanks again!
Click to expand...
Click to collapse
If you from GB check both.
I didnt check both and already started the flash!
It already finished flashing and it seems to be working just fine except my phone feels hotter then normal I hope this isnt a heating issue.
Sky` said:
I didnt check both and already started the flash!
It already finished flashing and it seems to be working just fine except my phone feels hotter then normal I hope this isnt a heating issue.
Click to expand...
Click to collapse
It's matter of after flash only.
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Nick281051 said:
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
The flash was successful though! Running ICS no problem and no more heating issue.
I wish I could customize the lock in the lock screen. Not a big fan of the small lock.
Anyway it works fine ! thanks for the help
Sky` said:
The flash was successful though! Running ICS no problem and no more heating issue.
I wish I could customize the lock in the lock screen. Not a big fan of the small lock.
Anyway it works fine ! thanks for the help
Click to expand...
Click to collapse
That would require flashing another rom, see what I mean?
Sent from my SGH-I777 using Tapatalk 2
Nick281051 said:
I think you need to do a lot more reading if you're going to continue flashing roms
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
+1 lots more reading needs to be done you need to wipe data and cache and dalvik cache always before flashing a new rom
Sent from my SGH-i777 using XDA
What is the importance of wiping data/cache before flashing?
Sky` said:
What is the importance of wiping data/cache before flashing?
Click to expand...
Click to collapse
It ensures that there are no "left behinds" from prior ROMs or kernels that could (and often do) conflict with the new firmware you're flashing. Many of the problems that people tend to blame on ROMs or kernels are actually often resolved when they go back and wipe fully before the install. May as well get it out of the way in the first place instead of ending up pulling your hair out (or frustrating the dev enough to do the same) because it wasn't done with a clean slate.
xhepera said:
It ensures that there are no "left behinds" from prior ROMs or kernels that could (and often do) conflict with the new firmware you're flashing. Many of the problems that people tend to blame on ROMs or kernels are actually often resolved when they go back and wipe fully before the install. May as well get it out of the way in the first place instead of ending up pulling your hair out (or frustrating the dev enough to do the same) because it wasn't done with a clean slate.
Click to expand...
Click to collapse
Right now I'm having one problem, wallpaper scrolling is not working after flashing creepy's ICS ROM. Is this because I did not wipe before hand?

Stock Recovery Help!!!

Hi. I unrooted my note but need to reflash a stock recovery and can not find help. I have read thru all the threads without finding detail info how to do it. can someone help?. can I use Heimdall to flash the recovery like we do on the Tab???.
Flash in cwm
http://forum.xda-developers.com/showthread.php?t=1569206
froidroid said:
Flash in cwm
http://forum.xda-developers.com/showthread.php?t=1569206
Click to expand...
Click to collapse
The problem is that my phone won't boot into Recovery like if it has no recovery installed.
Are you trying to get the phone back to a stock rom? Do you have access to a computer running KEIS?
What method are you using to get into recovery?
froidroid said:
What method are you using to get into recovery?
Click to expand...
Click to collapse
Yes, I have done it through Kies and when I try to go to recovery the phone go into a loop.
Sounds like you used kies to upgrade to official ics? Why would you need to get into stock recovery? What button combo are you using?
froidroid said:
What method are you using to get into recovery?
Click to expand...
Click to collapse
By pressing the 2 volume buttons and power at the same time
K. Sounds like you're gonna have to flash a recovery through Odin. If you're worried about the flash counter then I would flash cwm through Odin, flash counter reset and stock recovery in cwm. If you're not concerned about the counter, then just leave that part out.
Thanks for the help. I'll do it as soon I get home.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
froidroid said:
K. Sounds like you're gonna have to flash a recovery through Odin. If you're worried about the flash counter then I would flash cwm through Odin, flash counter reset and stock recovery in cwm. If you're not concerned about the counter, then just leave that part out.
Click to expand...
Click to collapse
Odin wil not find my cwm recovery to flash on my computer!!!. what do I do now???????
When you hit the PDA box it doesn't bring up the tar file? It can't be a zip. Make sure you have the correct cwm file on your PC. Make sure you download the Odin file. I prefer the touch version myself.
http://forum.xda-developers.com/showthread.php?t=1584576
froidroid said:
When you hit the PDA box it doesn't bring up the tar file? It can't be a zip. Make sure you have the correct cwm file on your PC. Make sure you download the Odin file. I prefer the touch version myself.
http://forum.xda-developers.com/showthread.php?t=1584576
Click to expand...
Click to collapse
no, no tar file. I have downloaded from several threads and unziped and they show in my computer but Odin do nothing to find them.
STUPID IDIOT OF ME!!!!!!!!!!!!!!!!!!!!!!!!!,,,,,:silly::silly::silly:. I downloaded the wrong one,,,,,........ will try again...
The PDA slot in Odin will only see specific types of files. In this case, it needs to be a tar file. Go to the link above and download the Odin file for cwm touch.
froidroid said:
The PDA slot in Odin will only see specific types of files. In this case, it needs to be a tar file. Go to the link above and download the Odin file for cwm touch.
Click to expand...
Click to collapse
Yea!!! I got it. will flash now and see what happen......Thanks.
Lol. Np dude. I didn't see your above post til I posted mine.
got my flash counter to 0 but wont flash stock recovery, it will abort!!! now what????
ok, another mistake from yours trully!!!!. I tried to flash with recovery a Odin file...... now I have to search for a cwm flashable one....
DONE!!!!
:Finally done, after flashing with odin stock rom complete I copyed the original stock recovery to sd card and reflashed cwm. then reseted counter and reflashed the copy of stock recovery and back in business. after verifying that all was stock then used a procedure for update the firmware thru Kies and VIOLA!!!!!,,, COMPLTE STOCK PHONE!!!!!! THANK YOU ALL THAT PUT OFF WITH ME!!!!

Bricked S2

Hey guys
this morning i woke up with my s2 telling me that there is a firmware update
I said yes, my phone reset itself and just samsung s2 with a ! triangle appears
I can get into download manager
I want to try odin, I've download a few things but for the PDA part it looks for a .tar .md5
I extract the Rom zip but there is nothing inside of it with those things... so i cant flash anything
please help??please :$
Then try another zip instead?
BTW Zip is for Recovery but it seems like you know this since you knew that tar/md5 files are for ODIN
Flash Siyah maybe? you can get the .tar from here
Make sure you put it in PDA and re-partitition is NOT checked.
Cheers.
root
hey bro
fianlly got it to boot after flashing stock rom LSD
how do i root it now?
HoboDesire said:
how do i root it now?
Click to expand...
Click to collapse
To root, flash a custom kernel using Odin.
Think about to see if the Kernel or ROM is compatible with your SGS2 and with your version etc.
Cheers.

Back to stock

Is there a guide anywhere for that? Can we just flash the odin if we have twrp and a custom rom installed?
Skizzy034 said:
Is there a guide anywhere for that? Can we just flash the odin if we have twrp and a custom rom installed?
Click to expand...
Click to collapse
I haven't done it myself because I don't have a custom recovery on this device yet but that's exactly how it worked on my S2 which I did custom recovery with. You can just flash in odin the full TAR of whatever stock you want and you'll be just fine, from your custom recovery it's probably a good idea to do a full wipe of everything. I googled "Galaxy S5 to stock" and I found a youtube video where they used Odin 3.09 for it. I'm used to Odin displaying green when the phone is plugged in but this time it was blue and turns out that's just how the newer Odin works. Cheers pal good luck!
Skizzy034 said:
Is there a guide anywhere for that? Can we just flash the odin if we have twrp and a custom rom installed?
Click to expand...
Click to collapse
Just flash the tar file in ODIN and you'll be back to stock.
watchout5 said:
I haven't done it myself because I don't have a custom recovery on this device yet but that's exactly how it worked on my S2 which I did custom recovery with. You can just flash in odin the full TAR of whatever stock you want and you'll be just fine, from your custom recovery it's probably a good idea to do a full wipe of everything. I googled "Galaxy S5 to stock" and I found a youtube video where they used Odin 3.09 for it. I'm used to Odin displaying green when the phone is plugged in but this time it was blue and turns out that's just how the newer Odin works. Cheers pal good luck!
Click to expand...
Click to collapse
aooga said:
Just flash the tar file in ODIN and you'll be back to stock.
Click to expand...
Click to collapse
Yea I flashed it in Odin and it worked fine. Thanks guys. I wasn't sure which slot to put the one .tar file in so I used AP and it worked with no problems.
Skizzy034 said:
Yea I flashed it in Odin and it worked fine. Thanks guys. I wasn't sure which slot to put the one .tar file in so I used AP and it worked with no problems.
Click to expand...
Click to collapse
Some versions say AP, some say PDA, some just gray out everything but PDA or AP. I've never been able to figure out why they're all different.

Categories

Resources