Install CyanogenMod 10.1 (Android Jellybean 4.2.2) on Samsung Galaxy S2 (GT-I9100G)

In this post we'll install Cyanogenmod CM 10.1.x on Samsung Galaxy SII mobile phone. Please note this instructions apply to Samsung Galaxy S2 GT-I1900G model only.

Disclaimer: Installing third-party firmware will void your phone warranty and if something goes wrong it could make your phone unusable. The installation process will wipe data/apps, Please backup everything.!

Before you get started consider backing up your phone data using Samsung Kies or Android apps such as Titanium Backup. Alternatively you can copy the data manually by connecting the phone to your computer with an USB cable.

Prerequisites: What do you need?

  1. Install Android SDK. We'll use the nifty adb program to manage the phone and debug any problems.
  2. Install phone flashing program Fastboot, Heimdall on Linux or Odin utility for MS Windows.
  3. Download Clockwork Recovery: GT-I1900G_ICS_ClockworkMod-Recovery_5.5.0.4.tar
  4. Download latest Cyanogenmod 10.1.x from Cynogenmod download page for i9100g device..
  5. Download gapps-jb-2013301-signed.zip from goo.im.This package provides standard Google Android applications such as Google Play (A.K.A Google Market).
  6. If you are upgrading an Android Gingerbread Phone, you'll need stock Android Ice Cream Sandwich(ICS) ROM. You can find stock Android ROM from SamMobile.

Flash Ice Cream Sandwitch (ICS) Official ROM to Samsung Galaxy S2(GT-I9100G)

You'll need your phone to running Android Ice Cream Sandwitch(ICS). The phone needs to run ICS bootloaders to upgrade to CyanogenMod 10.1.x. In this section I'll flash official Ice Cream Sandwitch(ICS) ROM onto my Gingerbread Phone.(Thank you codeworkx for pointing this out.)

You can ignore this section if you are working with ICS S2 phone.

  1. Unzip the previously downloaded ICS ROM I9100GDZKL3_I9100GOLCKL3_XME ROM
  2. Put the phone in download mode by holding Volume Down(-), Home button and pressing power button.
  3. Connect the phone to computer using USB cable
  4. Launch 0din on your computer and select PDA mode and flash the uncompressed .tar file.
  5. Once complete the phone will reboot.

Root the Samsung S2 ICS Phone with ClockWorkMod Recovery Kernel

The handy ClockWorkMod tool allows you to flash the phone with different ROMs from the phone itself without the need
of computer.

  1. Connect your phone to computer using a USB cable.
  2. Put the device in download mode with 'adb reboot bootloader' or by holding Volume Down(-), Home button and pressing power button.
  3. Uncompress the previously downloaded Clockwork Recovery file.
  4. Use heimdall program to flash on the command line: 'heimdall flash --kernel zImage'
  5. Reboot the mobile phone.

Install CM 10.1.x on Samsung Galaxy S2

Connect your phone to your computer and transfer the previously downloaded files Cyanogenmod 10.1.x and Gapps files to mobile phones internal memory. Restart the phone and enter recovery mode by pressing Volume Up, Home and Power buttons together. Follow the steps below to install the CM10.1.x on your phone.

  1. Select wipe data/factory reset
  2. Select wipe cache partition
  3. Select Advanced Menu and choose wipe dalvik cache
  4. Select Install zip from sdcard and choose update-cm-10.1-XXX-XXX-XXX-signed.zip file.
  5. Select Install zip from sdcard and choose gapps-jb-2013301-signed.zip file. Reboot phone

That's all folks! Don't forget to share your experiences by leaving a comment here.

12 comments:

  1. I somehow found AOKP to be a little more stable than CM. Nevertheless a very nice post.

    ReplyDelete
  2. what pass I9100GDZKL3_I9100GOLCKL3_XME.zip

    ReplyDelete
  3. Hi, first thank you for this tutorial
    I'm about to follow it but there is something that doesnt add up : you say we need to set up the SDK first but then you dont use it during the process (assuming we get into DL mode using phone softkeys)

    So can I just dispense with it or I need it for other things (drivers maybe?)

    I just want to make sure I'm not going to hard brick my phone again...

    thanks
    Ilan

    ReplyDelete
    Replies
    1. The 'adb' program is part of the Android SDK. You'll find it under android-sdk-linux/platform-tools/.

      Regarding bricking the device, read my disclaimer and here be dragons. :)

      Delete
  4. ClockworkMod link doesn't work anymore. =(

    ReplyDelete
    Replies
    1. Thanks for pointing that, you can download Clockwork Recovery here http://forum.xda-developers.com/showthread.php?t=1312218

      Delete
  5. I9100GDZKL3_I9100GOLCKL3_XME.zip is asking for password.

    ReplyDelete
  6. I9100GDZKL3_I9100GOLCKL3_XME.zip what password?

    ReplyDelete
  7. Password: samfirmware.com

    ReplyDelete
  8. I try to flash my GT I1900G with custom rom but didnt notice that the rom I flash is intended for GT I1900 only. Now, my phone
    Is bricked. How can I recover my phone? As I put it on the download mode it ends up me in logo. Pls help

    ReplyDelete

You can leave a comment here using your Google account, OpenID or as an anonymous user.