Saturday, October 3, 2015

Root + Recovery + ROM + GApps load on Samsung Galaxy S2 (I9100)

I needed to move from the stock ICS ROM on a GS2 to something else to avoid the phone shutting off/freezing for no reason.  At first thought, I wanted to just move to a Jelly Bean ROM since I figured KitKat and Lollipop would be a bit too much for the hardware, but I ended up using CyanogenMod Official 12.1 Nightly.  The install went as expected and start to finish took about 30 minutes.  THe phone runs very fast and smooth, is nice and stable, and I haven't run across anything that didn't work.

Here are the steps to move from stock ICS to CM12.1.

First, I downloaded everything I would need:
- CF Kernel (Root + CWM Recovery)
- Odin (v3.07)
- CM12.1 ROM
- GApps
 
Next, with the phone turned on, connect the phone to the computer to transfer files.  I copied the CM12.1 ROM and the GApps packages to the root of the internal SDcard for later.

Now I needed to Root the device and flash a recovery.  This is accomplished in one step using Odin.

Disconnect the phone from the PC, then turn the phone off normally.  Boot the phone into Download Mode by holding Volume Up + Home + Power until you see a warning telling you that you are about to enter Download Mode.  At this warning, hit Volume Up one more time to enter Download Mode.  Now connect the phone to the computer.  If you get a driver error, download the Samsung Phone USB Driver,unplug the phone and replug to register the phone with Windows correctly.

Extract the Odin307.zip file that was just downloaded to a local directory.  From inside that local directory, double-click to launch Odin3 v3.07.exe file.
In the ID:COM box in the upper left, you should see a device show up on one of the COM ports.  Make sure Auto Reboot and F. Reset Time are checked and the rest of the boxes are unchecked.

Image courtesy of droidow.com

Extract the .tar file from the CF Kernel .zip file to a temp directory.  Click the PDA button in Odin, navigate to where you put the .tar file, select it, and click OK.  Then click Start in Odin and the new kernel and recovery will flash.  When completed, Odin will display a success message and the phone will reboot.

Unplug the phone from the computer when it restarts and press and hold Volume Down + Home + Power until Clockwork Recovery menu is displayed.

In Clockwork Recovery, use the Volume Down to highlight Wipe Cache, then press the power button to select.  On the next screen, scroll down to highlight Yes and press the power key to select.

Next, highlight and select back to get back to the home menu, then highlight Factory Reset, then 'Yes', then home using the volume keys for navigation and the power key to make selections.

Now it is time to load the CM12.1 ROM.  From the Clockwork Recovery screen, select 'Install from zip', then 'choose zip from /storage/sdcard0', select cm-12.1-xxxxx.zip file, then select 'Yes'.

Once finished installing, select 'reboot into recovery' to load the new Clockwork Recovery that was just installed.

In Clockwork Recovery, select 'Install from zip', then 'choose zip from /storage/sdcard0', select tk_gapps-modular-pico-xxxxx.zip, then select 'Yes' to install the GApps service for the Google Play Store.

Once finished installing, select 'reboot system now' and the phone will restart.  The initial boot may take some time, and after the initial boot, the phone should be left to sit for about 30 minutes to finish setting up.

If errors occur, shut off the phone and boot into CWM recovery again.  Wipe cache and do a factory reset, then flash ROM and GApps again.




No comments:

Post a Comment