XXKG6 is a Android 2.3.4 based leaked official firmware for Galaxy S 2. To use the rooting method discussed here, make sure you have Galaxy S 2 (GT-i9100) android phone with XXKG6 installed.

Check the above mentioned in Settings -> About Phone -> check the model number and baseband version.

About the root, well it’s been made so easy by the awesome developer, Chainfire. He’s the one who you should thank for all the root goodness you’ve enjoyed on every firmware of Samsung on Galaxy S, Galaxy S II, Galaxy Tab, etc.

only Warning: Warranty may be void of your device if you follow the procedures given on this page. You only are responsible for your device. We won�t be liable if any damage occurs to your device and/or its components.

Brief instructions for experienced users:

To Root XXKG6, all you need to do is download the root kernel from here and flash it using Odin3 v1.85 with Re-Partition checkbox un-ticked.

Detailed guide for not so experienced users:

If you need to watch it happening before trying, check out this video in which rooting of XXKG1 firmware is done. And the detailed step-by-step are also there, anyway, which is more than enough itself.

The procedure shown in the video is what we need to follow while rooting XXKG6, for those looking for it) too.

Step-by-step guide to root XXKG6:

  1. Download CF-Root kernel first. File name – CF-Root-SGS2_XX_OXA_KG6-v4.1-CWM4.zip. Size 7 MB.
  2. Unzip the above file. You will get the .tar file – CF-Root-SGS2_XX_OXA_KG6-v4.1-CWM4.tar. DO NOT extract the .tar file (even if you see it as a zip file, which it is not). You need to flash the .tar file using Odin to gain root access and install the ClockWorkMod Recovery (CWM) alongside. (If you’re getting zimage, it means you’ve extracted the .tar file too! — and that’s not a right thing to do)
  3. Download Odin software. Filename: Odin3-v1.85.zip. Size: 198 KB. Download Link. Extract the zip file to folder to get 2 files – Odin3 v1.85.exe and Odin3.ini. Do not delete the .ini file (the second one) because it’s required, too.
  4. Switch Off your phone. Wait for vibration to confirm complete switch off.
  5. Boot your phone in Download Mode — Press and hold VolumeDOWN+HOME+POWER keys together.
  6. Open Odin now by double clicking on Odin3 v1.85.exe file you got in step 3.
  7. Connect your phone to PC now. You’ll notice “Added! !” message in the Odin’s message box in the bottom left.
  8. On Odin, click the PDA tab and select the .tar file you got in step 2 — CF-Root-SGS2_XX_OXA_KG6-v4.1-CWM4.tar.
  9. Make sure “Re-Partition” checkbox is un-ticked. Leave the “Auto Reboot” and “F. Reset Time” checkboxes ticked.
  10. Double check step 8 and step 9. Your Odin’s screen should look like this (it’s for KG3 actually, so the filename in PDA tab will be different): Root XXKG6
  11. Click the Start button on Odin to flash the CF-Root kernel.
  12. After the CF Root is installed, phone will restart automatically. When the Galaxy S II  logo shows up on phone, you can disconnect the cable from phone. Your Odin’s screen would look like this upon successful flashing: Root XXKG6 Success
  13. Your phone is rooted now. That surperuser app is there!

That’s it. Hats off to Chainfire for such a beautiful and easy root method.

If you liked this article, consider sharing it with your friends.