Nov 17, 2011

How to flash and root your Samsung Galaxy S2 with ODIN

Got yourself a Galaxy S2 and want to update it to newest firmware, but KIES won't work on your PC? No problem. ODIN is way better and it takes only 1 or 2 minutes to flash.
Samsung KIES is a cr@p software. It installs hundreds of DLLs and in the end it still won't work. If you are lucky and get it to work, good for you, if not, just use ODIN. You can also root your S2 in a few seconds.
Flashing your phone won't void your warranty, but rooting your phone will. So don't forget to unroot your phone to get your warranty back.

1. Get ODIN 1.85 (for windows) ---> DOWNLOAD

2. Install KIES on your PC so your phone will have all the drivers it needs.

3. Next you need to obtain the firmware you want to flash.
I used the "GT-I9100_OXA_I9100XXKI3_I9100XXKI3_I9100OXAKI3" firmware (europe, android 2.3.5). You can easily find original samsung firmwares on XDA forum or by Google.


XX = Europe.
K = 2011.
I = September.
3 = Version

Here are the other letter codes:
CE--> Belgium, Luxembourg, Netherlands
DC--> Thailand
DD--> India
DX--> Indonesia, Malaysia, Philippines, Singapore, Vietnam
DZ--> Malaysia, Singapore
JA--> South Africa
JC--> Algeria, Morocco, Nigeria, South Africa, Tunisia
JP--> Arabic
JV--> Algeria, Egypt, Iran, Iraq, Kuwait, Morocco, Nigeria, Oman, Pakistan, Saudi Arabia,South Africa, Syria, Tunisia, Turkey
UG--> North America
UH--> Latin America, The Caribbean
XE--> Bulgaria, Estonia, Kazakhstan, Latvia, Lithuania, Russia, Ukraine
XX--> Austria, Belgium, France, Germany, Hungary, United Kingdom
XW--> Austria, Belgium, France, Germany, Hungary, Italy, Nordic, Spain, United Kingdom
ZC--> China, Hong Kong
ZH--> Hong Kong
ZS--> China, Hong Kong
ZT--> Taiwan

The firmware I used came in .exe format, and it auto extracted to a .tar file.

4. Now we prepare the phone for flashing
- Enable debug mode on the USB terminal (settings -> applications -> development)
- Power off your phone
- Turn the phone on holding the Home button + Volume Down + Power. (this will enter Download mode)
- It will boot in download mode and you have 2 options: volume up ENTER download mode, volume down REBOOT to normal mode.

You need to press volume up. After that you have successfully entered in download mode.

5. Start ODIN on PC and plug in your phone. Check that the COM ID field turns yellow.

6. Now click on PDA and select the firmware you downloaded at step 3 (.tar/.zip/.rar file). Press START and wait. Do NOT disconnect your phone during the flash process.
After the rom is installed, your phone will reboot once. After reboot you will find your rom installed.

If something goes wrong, just remove and reinsert the battery and repeat the process all over again.

Now let's root the KI3 firmware.

You need CF Root kernel from here. Since this is only a kernel, you need to have the relevant firmware already on your device.
example: I installed the OXA XXKI3 firmware, so i need the CF-Root-SGS2_XX_OXA_KI3 file.
Search that page for your relevant firmware's kernel.

Once you have it, extract it so you have a .tar file.
1. Start ODIN
2. Press the PDA button and select your CF root kernel file (.tar file)
3. Shutdown your phone, and reboot in Download mode (volume down + home + power, then when asked for confirmation, press volume up to enter download mode).
4. Connect your phone to PC, and wait for the COM ID to turn yellow.
5. Press START. Once the process is over, your phone will reboot.

DONE. Your phone is now rooted, but it shows an annoying yellow triangle at startup.
So the next step is how to remove that yellow triangle (or you can leave it thre, it won't affect your phone at all).
To remove the yellow triangle, you need the stock kernel of XXKI3. DOWNLOAD <--- password is intratech@XDA
Extract it so you will get .tar file
Now flash this .tar file on your phone. The flashing procedure is the same as above. You just have to use kernel .tar file instead of cf root .tar file.

To unroot your phone, just install the whole 2.3.5 firmware all over again.

Next post will be about flashing custom ROM and custom Kernel for extra performance and battery life. So check back soon. :)


Anonymous said...

Very useful information. :)

odyssey said...

super like!! kies is CR@P no.1 bloatware, malware, !@#$%ware

Post a Comment