[Updated] Root Galaxy S2 Running on XXLQ5 Android 4.0.4 Firmware with CF-Root Kernel


Just a day ago the first Android 4.0.4 firmware for the Galaxy S2 – which brought many improvements particularly in performance and smoothness – was leaked online, which we covered with a step-by-step guide on how to flash it. And now, like always, XDA Elite Recognized Developer Chainfire has released the CF-Root kernel for the XXLQ5 firmware, which you can flash to automatically root the firmware, as well as install ClockworkMod recovery on it so you can install custom ROMs.

Update: The CF-Root kernel has been updated, as the previous one had a bug which could cause the internal SD card to brick and hence make the device stop completely. If you have flashed it already, flash the one given below as it is an updated kernel that does not have the bug.

So, read on to find out how you can root the XXLQ5 Android 4.0.4 firmware on the Galaxy S2.


This hack and the guide below are compatible only and only with Galaxy S2, model number I9100. It’s not compatible with the I9100G or any other device. Check your device’s model number in: Settings » About phone.


The methods and procedures discussed here are considered risky and you should not attempt anything if you don’t know completely what it is. If any damage occurs to your device, we won’t be held liable.

How to Root XXLQ5 Android 4.0.4 Firmware on the Galaxy S2

  1. It’s important you’ve the proper drivers for the phone installed. If you have installed Samsung’s Kies software, you already have the drivers, so download them only if you haven’t installed Kies.
    Download links: 32 bit (x86) Windows | 64-bit (x64) Windows
  2. Make sure you are on the XXLQ5 Android 4.0.4 firmware available → here. Do NOT try this on any other firmware. Check your current firmware version in Settings » About.
  3. Download CF-Root kernel from the official download page → here.
    Filename: CF-Root-SGS2_XX_OXA_LQ5-v5.6-CWM5.zip
  4. Unzip the downloaded file once. You will get a .tar file – CF-Root-SGS2_XX_OXA_LQ5-v5.5-CWM5.tar.
    DO NOT extract the .tar file (this might show up as a zip file as well, but do not extract it). You need to flash the .tar file using Odin to gain root access and install ClockworkMod Recovery (CWM) alongside. (If you’re getting a zImage file, it means you’ve extracted the .tar file too! — and that’s not a right thing to do.)
  5. Download Odin 1.85 from → here.
    Filename: Odin 1.85.zip | Size: 199 KB
  6. Extract the contents of the Odin 1.85.zip file to a folder.
  7. Disconnect your phone if it’s connected to PC, then switch it off.
  8. Now, put the Galaxy S2 in Download Mode — press and hold these keys together: Volume Down + Home + Power. A Warning! screen will come up; press Volume Up key to continue to enter Download Mode.
  9. Open Odin — double-click the Odin3 v1.85.exe that you got after extracting the file Odin 1.85.zip.
  10. In ODIN, click on the PDA button, then select the CF-Root-SGS2_XX_OXA_LQ5-v5.6-CWM5.zip file obtained in step 4.
  11. Important! Do not make any other changes in Odin except selecting the required files as given in step 10. Leave all other options as they are.
  12. Connect your phone to PC now. You should get the message “Added!” under Odin’s message box in the bottom left.
    If you don’t get this message, then probably there is a problem with drivers. Make sure you’ve proper drivers installed (check step 1). Also, uninstall Kies from the Control Panel as well (this will leave the drivers on the computer but remove Kies which can interfere with the procedure).
  13. Now, hit the START button to start flashing CF-Root kernel. When the flashing is complete, your phone will automatically reboot — and when you see the Samsung logo, you can safely unplug the cable. Plus, you’ll get a PASS (with green background) message in the left-most box at the very top of the Odin. What to do if Odin gets stuck: If ODIN gets stuck and doesn’t seem to be doing anything, or you get a FAIL message (with red background) in ODIN, disconnect the phone from the PC, close ODIN, remove battery, re-insert it, turn phone on in Download mode again, and do the procedure again from Step 9.
  14. If you run into any roadblocks while flashing the kernel, let us know and we’ll help you out.

Your Galaxy S2 running the Android 4.0.4 XXLQ5 firmware is now rooted and also has ClockworkMod recovery installed on it. Enjoy!

22 Comment

  1. omar says: Reply

    My camera stopped as rooted please help, this rooting is not good

    1. the same happens to me…. I tried to take a picture and image no on my screen

  2. shah says: Reply

    tried it, camera turned black screen but able to take pix

  3. syed says: Reply

    It will support for samsung galaxy s2 GT-i9100G ??? please reply i want to upgrade to 4.0.4.

  4. Socr@m says: Reply

    Yeah! I have root access babe! Thanks a lot guys!

  5. yan says: Reply

    Is it already stable?

  6. Morpheus says: Reply

    Hi guys,

    i’ve rooted my SGSII. It worked perfect !!! no issue with camera nor video.

    Thanks !

  7. I have
    XXLQ6 Android 4.0.4, how can i root ?

    1. WaveyDL says: Reply

      Wondering this myself

  8. eXec0101 says: Reply

    When I Rooted … Camera set blank screen… and Bluetooth not Working.. Please Help eXec0101@gmail.com… can I fix this with an Update or something!!!!

  9. stefurz says: Reply

    It simply failed. That’s what Odin said…what do I do now?

  10. android new says: Reply

    camera goes black, Bluetooth does not work , youtube videos stop playing any help?

  11. Marc says: Reply

    My compliments! It workedperfect

  12. ham says: Reply

    didn`t work on my device

  13. bakalao says: Reply

    awsome! it worked perfect! Galaxy S 2 GT-i9100 from Claro Puerto Rico!!

  14. Zychoz says: Reply

    I get a yellow triangle and no more boot. any help ?

  15. BEST says: Reply

    Awsome! it worked perfectly at me <3

  16. Martin says: Reply

    Didn’t have camera function – now with your easy steps i do. Tank you very much! MWAH!

  17. i stuck in on screen loading page, how to fix it ??help

  18. farhan says: Reply

    Please help me i downloaded above file and extratct but it will come like this “zImage” not a CF-Root-SGS2_XX_OXA_LQ5-v5.5-CWM5.tar please help me

    1. Abhijeet Mishra says: Reply

      You extracted the zip file twice. Download the file, then extract it only one time to get the .tar file. Don’t extract that .tar file, which will also show up as a zip file.

      1. farhan says: Reply

        thanx buddy wow its working

Leave a Reply