Upgrading the Samsung Galaxy S2 GT-I9100 to ICS via CyanogenMod 9 nightly builds

April 4, 2012
0 19 0 4

    CyanogenMod 9 arrived on the Galaxy S2 some time in December and has been frequently updated since. In fact, a new build is automatically created every night with the latest changes applied to the ROM. For those of you who are unfamiliar with the name, CyanogenMod 9 for the Galaxy S2 I9100 is a port of the Galaxy Nexus firmware, IM74K, and is based on Android 4.0.3 Ice Cream Sandwich.

    The CyanogenMod 9 ROM for the Galaxy S2 first started out as an experimental build, with a lot of issues and bugs.  But, thanks to the concerted efforts and contributions from the development community, the ROM has grown into a much more stable build.

    If you want you experience the latest nightly build of CyanogenMod 9 on your Samsung Galaxy S2 GT-I9100, we’ll teach you how to flash it on your phone.

    Caution

    This said custom ROM is compatible with the Samsung Galaxy S2 GT-I9100 only. You can check your device’s model number through Settings > About Phone. If your model number or device model does not match the Samsung Galaxy S2 GT-I9100, we highly discourage attempting to flash this ROM to your device as it may lead to bricking.

    As always, the ROM is provided as is and with no warranties or guarantees.  These instructions, too, are for educational purposes.  Use them at your own risk and do not hold us responsible if you damage your phone by using these instructions.

    General Requirements

    There are several ways to upgrade your Galaxy S2 to CyanogenMod 9 (CM9) nightlies, depending on whether this is the first time you’re installing CM9 from another ROM or if you’re updating from an earlier version of CyanogenMod 9. Regardless, you’ll need a few things:

    • A rooted Galaxy S2 with ClockworkMod Recovery installed.  (See our tutorial on how to root your Samsung Galaxy S2 GT-I9100.  Or, check this post for more tutorials.)
    • Flashing this ROM will delete your data so make sure that anything important on your Galaxy S2 has been backed up properly.
    • Make sure that your Galaxy S2 has a fully charged battery. This prevents the device from shutting off in the middle of the update process.
    • Make sure that you’ve installed the proper device drivers on your computer. 32-bit (x86) Windows | 64-bit (x64) Windows
    • Disable or uninstall Samsung KIES on your computer.
    • Disable security suites (e.g., antivirus and firewall) on your computer.
    • Download the latest CyanogenMod 9 nightly release and save the file to your computer.  Or, if you intend to use the Odin3 method, download the CyanogenMod 9 Resurrection Edition instead.
    • Download the latest GApps (Google Apps) package for CyanogenMod 9.  Save the file to your computer.

    First time with CyanogenMod 9

    If this is your first time installing CyanogenMod 9 to your device or if you already have a different ROM on your phone, this is what you do:

    1. Ensure that your phone is running firmware lower than XXLPH.  If you have firmware XXLPH or later, you can try downgrading to a lower version such as XXLPB.
    2. Copy both the CyanogenMod 9 and GApps packages to your phone’s internal SD card.
    3. Turn off your phone completely.
    4. Boot into recovery by holding down the Volume Up, Home, and Power buttons until you see the Galaxy S2 logo.
    5. Once in recovery, go to Backup and restore > Backup and create a Nandroid backup of your current ROM–just to be safe.
    6. Return to main recovery menu.
    7. Select “Install Zip from SD Card” and select the CyanogenMod 9 package from your SD card.  Flash the CyanogenMod 9 package.  Flash the GApps package in the same manner afterward.
    8. Return to main recovery menu.
    9. Select Wipe data/factory reset and confirm the reset.
    10. Select Wipe cache partition and confirm the wipe.
    11. Select Advanced > Wipe Dalvik cache and confirm the cache wipe.
    12. Return to main recovery menu.
    13. Select Reboot system now.

    Upgrading from earlier version of CyanogenMod 9

    If you’re already running an earlier version of CyanogenMod 9, you can update to the latest nightly build using the following instructions:

    1. Copy the CyanogenMod 9 package to your Galaxy S2′s internal SD card.
    2. Boot into recovery by holding down the Volume Up, Home, and Power buttons until you see the Galaxy S2 logo.
    3. Once in recovery, go to Backup and restore > Backup and create a Nandroid backup of your current ROM–just to be safe.
    4. Return to main recovery menu.
    5. Select “Install Zip from SD Card” and select the CyanogenMod 9 package from your SD card.  Flash the CyanogenMod 9 package.
    6. Return to main recovery menu.
    7. Select Wipe cache partition and confirm the wipe.
    8. Select Advanced > Wipe Dalvik cache and confirm the cache wipe.
    9. Return to main recovery menu.
    10. Select Reboot system now.

    Odin3 Method

    If you’ve never tried flashing through ClockworkMod Recovery before, or if you’re more comfortable flashing through Odin, you can use this method:

    1. Ensure that your phone is running firmware lower than XXLPH.  If you have firmware XXLPH or later, you can try downgrading to a lower version such as XXLPB.
    2. If you have not downloaded Odin3 yet, get it from here (Odin3 v1.85.exe, 416 kB).
    3. Make sure you’ve downloaded the CyanogenMod 9 Resurrection Edition (*.tar) file instead of the usual ZIP package.
    4. Copy the GApps package into the root of your Galaxy S2′s internal SD Card.
    5. On your computer, double-click on Odin3 to launch it.
    6. Click on the PDA button and select the CyanogenMod 9 Resurrection Edition file that you downloaded.
    7. Switch off your phone and reboot it into download mode by pressing and holding down the Volume Down key, Home key, and Power button simultaneously until a “Warning” sign appears on the screen.  Press the Volume Up key to continue.  This will put the phone in download mode.
    8. Connect your Galaxy S2 via the USB cable to your computer.
    9. Wait until Odin3 has recognized your phone. In the lower-left side of the Odin3 screen, you should see the message “Added!” and the ID:COM box should turn yellow.
    10. Click the Start button to begin flashing the CM9 Resurrection Edition file.
    11. If the file managed to flash successfully, in the upper leftmost side of Odin3, you should see one of the boxes light up in green with a “PASSED!” message
    12. If Odin3 gets stuck and doesn’t seem to be doing anything, or if you receive a Failed! message with a red background, you’ll need to do the following:
      1. Disconnect the Galaxy S2 from the computer.
      2. Close Odin3.
      3. Remove your Galaxy S2′s battery.
      4. Re-insert the battery.
      5. Start over from step 5.
    13. Wait until your device has booted into CM9 before disconnecting it from the computer.
    14. Boot into recovery by holding down the Volume Up, Home, and Power buttons until you see the Galaxy S2 logo.
    15. Select “Install Zip from SD Card” and select the GApps package from your SD card.  Flash the GApps package.
    16. Return to main recovery menu.
    17. Select Wipe cache partition and confirm the wipe.
    18. Select Advanced > Wipe Dalvik cache and confirm the cache wipe.
    19. Return to main recovery menu.
    20. Select Reboot system now.

    Congratulations! You should now be running CyanogenMod 9 with Ice Cream Sandwich on your Samsung Galaxy S2 GT-I9100.

    0 19 0

    Comments

    • Gigamaze

      I rooted my phone with UnlockRoot, so I didn’t have Clockworkmod Recovery installed at first. I tried installing it with ROM Manager, but that didn’t work either (when I try to back up my ROM I get an error). So how do I install Clockworkmod Recovery?

      If it matters, I’m on 2.3.4 stock.

      • Gigamaze

        Nevermind I just flashed CF-ROOT instead. :P

    • Divakarmay

      hi developer.. from yesterday i installed the nightly release 19 may 2012. now i have problems using the screen rotate . screen rotate gets stuck and i have to use my phone upside down. then i also tried with different previous builds…. but even in that as well i see the same problem….i feel even the proccessing performance has also come down……. please help me on this… waiting for your reply….

    • Dhiraj Kumar

      I am on samsung stock ICS rom firmware XXLPQ (4.0.3) that I flashed sometime back with odin. I am planning “noob-proof” odin 3 method (flashing CyanogenMod 9 Resurrection Edition) . I have two question.

      1. Do I need to first flash a lower version XXLPB like you have mentioned? Or can I bypass the step and flash CM9 resurection edition straight?

      2. If I do flash XXLPB, do I need to root it as well?

      I just want to confirm it. I understand the steps are pretty clear but I am not a tech savvy user on the android side.
      Please help.

    Popular

    Latest