So, updated to the latest Ice Cream Sandwich Android 4.0 firmware, XWLPD, on your Galaxy S2? Now root it and install ClockworkMod recovery on it using CF-Root kernel from the never-sleeping XDA Elite Recognized Developer Chainfire. Rooting enables access to root-enabled apps and functions, while CWM recovery lets you install custom ROMs on the device, so both of them are a must if you’re a power user.

Keep reading on to find out how you can root and install ClockworkMod recovery on the XWLPD Android 4.0 firmware on your Galaxy S2.

Compatibility

This firmware 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.

Warning!

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 XWLPD Firmware on Galaxy S2 i9100

  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 XWLPD Ice Cream Sandwich Android 4.0 firmware available → here.
  3. Download CF-Root kernel from the official download page → here.
    Filename: CF-Root-SGS2_XX_NEE_LPD-v5.4-CWM5.zip
  4. Unzip the downloaded file once. You will get a .tar file – CF-Root-SGS2_XX_NEE_LPD-v5.4-CWM5.tar.
    DO NOT extract the .tar file (this might show up aszip 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_NEE_LPD-v5.4-CWM5.tar 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 of XWLPD on your Galaxy S2. 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.

    IMPORTANT Note: 
    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 phone is now rooted and CWM recovery has been installed on it, with CF-Root kernel. Using all those favourite root-enabled apps of yours is now possible. Enjoy!