How to flash an image kernel to S2? - Galaxy S II Q&A, Help & Troubleshooting

As the title state, I have search in the internet and found lots of tutorial about flashing a .tar framework to the phone.
However, the ROM that I downloaded from xda was just a .zip which contains an .img kernel.
How to flash the .img kernel to my phone then install the zip from SD card?

What do you actually want to do? If you want to root your phone, download a kernel file (there are threads about it), and flash it with Odin.
If you want to flash a rom, you have to install a .zip file through CWM, no other kind of files.
If you want to flash a kernel (and you have a rooted device), you also have to flash a .zip file through CWM.

Thanks for your reply. I know the steps of installing a new ROM. However, I used to boot the phone into flash mode and use Flashtool to flash the kernel which extension is .img. But for S2 it doesn't contain flash mode and seems I can't use flashtool to flash the kernel. If I can use Odin to flash a kernel with .img extension rather then a .tar extension? Also when I boot my S2 into download mode and connect to my computer, Odin still cannot detect the phone. If there is any "download mode" driver that I need to install or just use the normal Samsung driver ? Thanks a lot.
PS: Since the debug mode is working when I connect my phone to the computer I am sure I have installed a driver.
Donnie Sins said:
What do you actually want to do? If you want to root your phone, download a kernel file (there are threads about it), and flash it with Odin.
If you want to flash a rom, you have to install a .zip file through CWM, no other kind of files.
If you want to flash a kernel (and you have a rooted device), you also have to flash a .zip file through CWM.
Click to expand...
Click to collapse

So I assume your phone isn't rooted yet, right?
For using Odin: there are plenty of guides in the General Section, or even on google. But to actually use it, you have to install Samsung Kies first, to get the correct drivers.
After it, you can uninstall it, because otherwise Odin won't work (but that's all written in the guides).
When your phone is rooted, you can simply flash a new kernel (.zip) through CWM.

Related

urgent help needed

hi guys i am in a very bad situation my friend asked me to put hebrew on his galaxy s 2 , so as a good friend i tried to help him idownloaded the orange zip file and use odin to flash it and now it got stuck on the boot screen i can go into download mode but i dont know how to bring it back to life
please help
thanks
Zip files are not meant for ODIN.
ODIN normally flashes tar files which has only the necessary files and no scripts inside.
Clockworkmod is used to flash zip files.
I think you used PDA button on ODIN to flash *.zip file.
Find a kernel with cwm , codeworkx's kernel or siyah kernel.
Flash using PDA of odin.
If it doesn't work, flash an entire stock rom using odin, download from http://forum.xda-developers.com/showthread.php?t=1075278
Then flash a kernel with cwm, and flash hebrew zip in recovery
thanks for the reply I have one more question do I need a USB jig and also what custom binary count for mine says 2
is that a problem
If you can get into download mode, you don't need a jig. The binary count shows the number of times you flashed from download mode. It's not a problem, but it's a proof that you did, and it probably means your phone lost its warranty.
You dont need a jig if you can get into download mode but it will reset the binary counter for warranty purposes
Sent from my GT-I9100 using XDA App
droidphile said:
Zip files are not meant for ODIN.
ODIN normally flashes tar files which has only the necessary files and no scripts inside.
Clockworkmod is used to flash zip files.
I think you used PDA button on ODIN to flash *.zip file.
Find a kernel with cwm , codeworkx's kernel or siyah kernel.
Flash using PDA of odin.
If it doesn't work, flash an entire stock rom using odin, download from http://forum.xda-developers.com/showthread.php?t=1075278
Then flash a kernel with cwm, and flash hebrew zip in recovery
Click to expand...
Click to collapse
Well, some people put the .tar's inside a zip to compress it, so it might be a Odin file after all.
Open the zip file, and if there is just ONE file there, extract it and flash it with Odin. If there are alot of files/folders, it's for CWM

[Q] Flashing stock zip via cwm from CM9

nop
mick1mouse said:
Hi all, thanks for viewing this thread
- I flashed my friend's Bell SGS2 i9100M to CM9 a while back, but now he wants to go back to stock and needs to make use of his warranty because of the battery charging problem even when it's is not plugged in
- I need to flash his phone back to Bell stock firmware UGKG2, but I do not have the necessary firmware (PDA) .tar file to flash back to stock via Odin. I've checked Intratech's thread but multiupload is down so I cannot download the .tar files
- However, I have the stock ROM in .zip file, the kernel, modem and CSC in .tar file
- Unfortunately, I did not make the nandroid backup before flashing CM9 on his phone
- I currently do not have his phone with me, but he will be coming over in a few hours
So my questions are:
1) Is it okay to just flash the stock ROM .zip file via recovery from CM9? (After the standard procedures of wiping system, data, cache, etc.)
2) Will the CM9 kernel recovery flash the stock ROM .zip file? I think it might give some e: (some sdcard) error, I'm guessing... If so, will flashing a custom Gingerbread kernel then flashing the stock ROM .zip file via CWM work?
3) If 1 & 2 don't work, does this mean I absolutely have to flash back to stock via Odin?
I've also got an usb jig prepared
Thanks in advance
Click to expand...
Click to collapse
Hey,
like u said, the .zip includes .tar files.
.tar files always must flashed via odin!
Only way to to it via phone is using odin on phone, but I'm not up to date how is the status and if it's really working.
So to be sure:
1) make a full wipe (like u said above with formatting system, cache etc.)
2) Put files in Odin and flash
3) Flash cf-root or kernel to get CWM back (if u want)
CHEERS
nop
mick1mouse said:
the .zip file does not have the .tar files, it is CWM flashable; it has the META-INF folder, system folder, zimage, etc.
Click to expand...
Click to collapse
Oh ok. Didn't read carefully, sorry.
So dunno where u got it from, but if it is a source u trust, it should work.
... should be like flashin CM or any custom Rom
Much success!
CHEERS
nop

Does anyone know a overclock kernel that will work with I9300XXELLA?

Im rooted on 4.1.2 I9300XXELLA and I want to overclock but I need a kernel, does anyone know what will work? Please post link, this is my first time rooting.
There is only one best kernel for our S3
http://www.gokhanmoral.com/ - look for S3 version.
Okay will this brick or bugger up my phone?
AndroidS3 said:
Okay will this brick or bugger up my phone?
Click to expand...
Click to collapse
The kernel will is safe to use, but when flashing there is always a chance of bricking, just to make sure you get the right one here is the link to the kernel you need.
http://d-h.st/users/siyah/s3
The one that has CWM in the name is a zip file to flash in recovery mode, go to install zip from sd card, then choose zip from sd card and browse to the folder you saved it in and select the zip and scroll to yes then reboot.
The .tar file is to flash in Odin, add the file to PDA, enter download mode and connect the phone to the pc via usb, then click start sit back and your phone will reboot automatically.
Make sure repartition is NOT checked in Odin.
To check the kernel go to settings, about device and check kernel version.
Well I have already rooted in odin so do I just download this kernel on my phone, the go to recovery mode and apply the kernel and thats it? Or have I got to do more than just rooting and aplyimg the kernel?
AndroidS3 said:
Well I have already rooted in odin so do I just download this kernel on my phone, the go to recovery mode and apply the kernel and thats it? Or have I got to do more than just rooting and aplyimg the kernel?
Click to expand...
Click to collapse
Did you root using CF Root or CF auto root? Auto root doesn't use clockworkmod, if you used auto root you will need to use the .tar or flash clockwork mod via rom manager (available in the play store.)
Appart from that just install the kernel.
I used cf auto root in odin, could you write down the steps I will need to go through to apply this kernel so I can overclock, im fairly new to this so I get confused very easily lol
delsus said:
flash clockwork mod via rom manager (available in the play store.)
Click to expand...
Click to collapse
Does it increase binary counter ?
Could you explain it step by step?
@thekoRngear how did you install the kernel? Did you root with cf auto?
AndroidS3 said:
Could you explain it step by step?
Click to expand...
Click to collapse
Through CWM, this will not increase your binary counter however in the latest bootloader booting to custom recover sets it to 1.
Download the .zip file and save it to your internal sd card (less chance of failure)
Download rom manager from the play store
Open rom manager and select "flash clockworkmod recovery"
Confirm your phone model
Follow any other on screen instructions
Then when it's flashed switch your phone off
Hold Vol up, home and power button to boot to recovery
Select install zip from sd card
Select choose zip from sd (something similar)
Select the zip file, then scroll to "yes"
Wait for it to flash and reboot
Through Odin (this will increase your binary counter.)
Download the .tar version
Open Odin
Click the PDA button
Select the .tar file you downloaded
Put your phone in download mode (Vol down, home and power)
Connect your phone to your PC
Ensure repartition is NOT selected
Click start and wait for the phone to reboot
Then check the kernel version in settings, about device.
AndroidS3 said:
@thekoRngear how did you install the kernel? Did you root with cf auto?
Click to expand...
Click to collapse
Read everything about the kernel:
http://forum.xda-developers.com/showthread.php?p=27385837
Verzonden door mijn GT-I9300 met xda premium
Do I have to do both of these or just one?
Sorry I post so much, as its my first time rooting im just worried about messing up my phone, so I have rooted my 4.1.2 and to apply this kernel is it best to do it through mobile odin, pc odin or through recovery on my phone?
Another question is that when you say internal sd, is that the normal memory inside the phone or a micro sd card?
I downloaded the CWM Zip file and flashed via CWM recovery 6.0.2.7 touch.
Internal sd means normal memory inside the phone.
Okay so ive downloaded the siyah 1.8.6 zip, and ive also downloaded rom manager, should I just go straight into rom manager and apply this kernel or is there something else I have to do?
Also what is a binary and flash count.
Im new to this so im learning
Also where it says 'flash clockworkmod recovery' I have to have clockworkmod installed, how do I know if I have it or not?
AndroidS3 said:
Also where it says 'flash clockworkmod recovery' I have to have clockworkmod installed, how do I know if I have it or not?
Click to expand...
Click to collapse
You don't need clockworkmod intalled to flash it, just tap flash clockworkmod and it should flash it.
Then boot to recovery to install the siyah zip file.
The flash counter (or binary counter) is a value in the bootloader that changes whenever something unofficial is flashed through Odin whether it's root, rom, recovery, kernel anything. Samsung have used it for awhile to stop people who have used custom firmware just flashing a stock rom then getting a warranty service, There are however ways to reset the flash counter to claim a warranty service if needed.
Okay I will give this a go thank you, when I downloaded the siyah im not sure where it would have went to, where would be the normal place it would have downloaded to?
AndroidS3 said:
Okay I will give this a go thank you, when I downloaded the siyah im not sure where it would have went to, where would be the normal place it would have downloaded to?
Click to expand...
Click to collapse
If you downloaded it on your phone's browser it will be in /sdcard/Download, if you downloaded it on a PC browser it will either have gone where you put it, or into user\Downloads.

Are these steps for rooting my S2 i777 correct?

A friend linked me superoneclick and CM9 to root my phone.
Basically, he said to:
1. Back up contacts
2. Boot into recovery,wipe data/factory reset
3. Use superoneclick to install drivers and root
4. Load CM9 zip into internal memory (onto the ~16 GB of internal my S2 has)
5. Boot into revoery
6. Install Zip
7.Reboot
I am a tad congfused though. do i connect my phone via USB, open superoneclick on my computer, and use it to load the CM9 zip onto my phone?
How do i install zip once im back in recovery?
thanks!
GPS_Music said:
A friend linked me superoneclick and CM9 to root my phone.
Basically, he said to:
1. Back up contacts
2. Boot into recovery,wipe data/factory reset
3. Use superoneclick to install drivers and root
4. Load CM9 zip into internal memory (onto the ~16 GB of internal my S2 has)
5. Boot into revoery
6. Install Zip
7.Reboot
I am a tad congfused though. do i connect my phone via USB, open superoneclick on my computer, and use it to load the CM9 zip onto my phone?
How do i install zip once im back in recovery?
thanks!
Click to expand...
Click to collapse
Read the stickies, none of that info was right.
Sent from my Zanpakuto using Getsuga Tensho!
To get a custom recovery and be able to flash custom roms (cm obviously included), all u need to do is flash a kernel for our phone model as all our kernels have recovery built in. Just find a siyah.tar file (gokhanmoral has some on his site in .Tar format), download it to your computer, then find a rom you want to flash and download it to your phone. Make sure you have Odin installed on your computer, and the correct drivers installed for your phone. Also make sure usb debugging is turned on on the phone. Put the phone into download mode, open Odin on pc, plug phone into pc, open the pda link in Odin, select the siyah file, and flash that puppy. Then when done, disconnect from pc, reboot phone to your new recovery, and wipe data / factory reset. Then flash your rom!
Phalanx7621 said:
To get a custom recovery and be able to flash custom roms (cm obviously included), all u need to do is flash a kernel for our phone model as all our kernels have recovery built in. Just find a siyah.tar file (gokhanmoral has some on his site in .Tar format), download it to your computer, then find a rom you want to flash and download it to your phone. Make sure you have Odin installed on your computer, and the correct drivers installed for your phone. Also make sure usb debugging is turned on on the phone. Put the phone into download mode, open Odin on pc, plug phone into pc, open the pda link in Odin, select the siyah file, and flash that puppy. Then when done, disconnect from pc, reboot phone to your new recovery, and wipe data / factory reset. Then flash your rom!
Click to expand...
Click to collapse
I do not understand some of this, does odin work for Macs? Also, when you say "download (the ROM (in my case CM9)) it to your phone" do you mean use the phone browser to find and download it? Or what?
GPS_Music said:
I do not understand some of this, does odin work for Macs? Also, when you say "download (the ROM (in my case CM9)) it to your phone" do you mean use the phone browser to find and download it? Or what?
Click to expand...
Click to collapse
Read this thread [http://forum.xda-developers.com/showthread.php?t=1311081], which is what I used a long time ago.
GPS_Music said:
I do not understand some of this, does odin work for Macs? Also, when you say "download (the ROM (in my case CM9)) it to your phone" do you mean use the phone browser to find and download it? Or what?
Click to expand...
Click to collapse
Odin only works with Windows pc's, so on Mac you'll need to use Heimdall. Probably the Heimdall command line version is best. You can download the firmware of choice to your computer, and then transfer it to the phone over USB, or use dropbox and wifi, or something like that. You can download it directly to the phone if you prefer.
The guide referenced by Vpr2006 has instructions for using Heimdall as well as Odin. It give you the basics. In general you should 1) root 2) install custom kernel 3) use ClockworkMod Recovery to install your firmware of choice.
creepyncrawly said:
Odin only works with Windows pc's, so on Mac you'll need to use Heimdall. Probably the Heimdall command line version is best. You can download the firmware of choice to your computer, and then transfer it to the phone over USB, or use dropbox and wifi, or something like that. You can download it directly to the phone if you prefer.
The guide referenced by Vpr2006 has instructions for using Heimdall as well as Odin. It give you the basics. In general you should 1) root 2) install custom kernel 3) use ClockworkMod Recovery to install your firmware of choice.
Click to expand...
Click to collapse
I am quite unfamiliar with what to do on a step by step basis.
I looked at the thread Vpr2006 posted an saw this:
creepyncrawly said:
This approach to customizing your phone involves the following steps:
JANUARY 2013 ROOTING UPDATE: In mid December of 2012, Samsung released an over-the-air update for the SGH-I777UCLK3, taking the operating system to version 4.0.4. Around the same time, XDA developer Chainfire released an application called ExynosAbuse APK which can be used to root the SGH-I777 with SuperSU, without the need to use a PC. ExynosAbuse APK is the best, and probably the only practical method for rooting UCLK3 without flashing some other distribution. In addition, it seems that this application is a good way to root any phone running 4.x operating systems, and possibly phones running 2.x operating systems as well. Be aware, there are possible risks involved with using this application. Please thoroughly read and understand Chainfire's thread linked above before using his application.
[/INDENT]
Click to expand...
Click to collapse
My S2 Is currently on UCLK3 so i clicked the link there (http://forum.xda-developers.com/showthread.php?p=35512626).
I do not seem to see specific instructions as to how to go about this though, and I don't think it specifies how to install CM9 specifically.
Also, I have a mac, but I can access a PC if need be.
Thanks
GPS_Music said:
I am quite unfamiliar with what to do on a step by step basis.
I looked at the thread Vpr2006 posted an saw this:
My S2 Is currently on UCLK3 so i clicked the link there (http://forum.xda-developers.com/showthread.php?p=35512626).
I do not seem to see specific instructions as to how to go about this though, and I don't think it specifies how to install CM9 specifically.
Also, I have a mac, but I can access a PC if need be.
Thanks
Click to expand...
Click to collapse
If you don't feel comfortable using the ExynosAbuse Exploit by Chainfire to get root access on your existing firmware, then flash the [Heimdall][Odin][Stock][Root]UCLE5 Stock ICS with Root which is 4.0.3 ICS with root included.
Once you have root, use the instructions in that thread to install a custom kernel which contains ClockworkMod Recovery, preferably by installing Mobile Odin Lite or Mobile Odin Pro. I would suggest you use the "AJ Newkirk/Siyah v3.3.3d ICS" kernel, which is somewhat old but will only be on there long enough for you to flash your firmware of choice. Then enter recovery and flash your firmware, following the instructions in the OP of the firmware thread. As previously stated, you will need to use Heimdall on the Mac, or borrow a Windows PC and use Odin.

[Q] How to flash .zip files with Odin?

I removed the OS from my N7100 after I messed up with a kernel. Now im trying to reinstall the cyanogen mod but my computer doesnt recognize the phone, and so my only way of flashing anything to the phone is by using Odin, which only accepts .md5 files. I also have Clockworks Mod Recovery but like I said, my computer doesnt recognize my phone as a device
How can I flash cyanogen mod via Odin? When I download it from the official website its not in .md5 format, it's a .zip.
Unlikely said:
I removed the OS from my N7100 after I messed up with a kernel. Now im trying to reinstall the cyanogen mod but my computer doesnt recognize the phone, and so my only way of flashing anything to the phone is by using Odin, which only accepts .md5 files. I also have Clockworks Mod Recovery but like I said, my computer doesnt recognize my phone as a device
How can I flash cyanogen mod via Odin? When I download it from the official website its not in .md5 format, it's a .zip.
Click to expand...
Click to collapse
If you can still get into recovery, then just throw a rom on an external SD card and flash from there. You can not flash CM via Odin. If you are unable to flash the rom from the external and your ADB isn't working in recovery (driver issue, most likely) to push to internal then you'd have to flash the stock OS through Odin and redo the steps for recovery and rom install.

Categories

Resources