[GUIDE] How to - Root Galaxy S2 and Basics for a Custom ROM

Search This thread

Omaxe

Senior Member
Jul 18, 2012
893
224
28
Patiala
Hello all,

I have decided to make a guide that will hopefully help beginners to root your phone and be on your way to flashing a custom ROM.

There are many ways in which to root your phone, but I think the easiest way is through Chainfire’s CF-Root, which is a kernel that basically roots your phone, adds Busybox and ClockworkMod Recovery (this is necessary for installing/flashing custom ROM’s).

First off, you need Odin, which is a flashing tool specifically designed for the SGS2: Just type in "Odin 1.85" without quotations into Google and the first result should display "Odin - xdadevelopers - XDA Developers." Click on the link and Odin will download.

Now before going ahead with Odin, download Kies: http://www.samsung.com/us/kies/ ,which is like iTunes for Samsung Devices, the drivers are needed for Odin, but when the drivers have been installed, close Kies, right click on your toolbar at the bottom of your desktop, I'll assume your running Windows 7, and go into Task Manager. Now find anything with Kies running in the Task Manager, right click on them and kill them.

Kies gets jealous of Odin for being better, so it messes up Odin during the flashing process. So make sure you have the drivers installed from Kies and then killed off the Kies Processes.

Finally, lets get the flashing package required to root your phone. Here is the link to Chainfire's thread: http://xdaforums.com/showthread.php?p=20075898

Find the kernel that matches your Kernel Version e.g. Under Settings > About phone > Kernel Version: 2.6.35.7-I9100XXKG1-CL349526
What matters most (KG1) in this case, is in bold. Try to find the matching file under downloads CF-Root-SGS2_XX_OXA_KG1-v4.1-CWM4.zip See the resemblance?
Also make sure you unzip the file to get your .tar file, Odin won't work with .zip files.

Now go ahead and put your phone into download mode. To do this, turn off your phone normally, wait till it is fully off, then hold down the power, home and down volume button until a warning screen is displayed. Then press the up volume button. If the screen says "In download mode. Do not turn off target" then you have got it!

Now fire up Odin with Administrator Access (right click on the Odin icon and select Run as Administrator). When you have opened it, installed the Kies Air drivers and killed Kies processes off in Task Manager, you’re ready to proceed. Now connect your phone to your computer via your micro USB cable. The ID:COM box should go yellow and say ADDED!! in the box at the left hand side. Now make sure that the only options ticked in Option are Auto Reboot and F. Reset Time AND NOT RE-PARTITION. Now click on the PDA button on the right, and this will open your Explorer window up. Find your CF-Root file, and click OK. Then just click Start. In the top left hand corner, one of the boxes will flash blue, and then Green. The bottom left hand box will say PASSED!! Your phone will automatically reboot.

When it has, go to your app drawer, and check you have something called either "SuperUser" or "SuperSU." If you do, congratulations, you’re rooted. Another way to check it has been successful is to shut down your phone, and hold the home, power and volume up button. If you get into ClockworkMod Recovery, you’re great!

Now that you have root and ClockworkMod Recovery, the first thing you should do is boot into ClockworkMod Recovery by shutting down your phone, and using the home + power + volume up button sequence. When it loads, use the volume up and down buttons to navigate, and the power or home button to select depending on your CF-Root version.

Go to Backup and Restore, and then go to Backup to external sdcard. This will make a clone of your entire ROM, which is crucial if something with your custom ROM goes wrong, at least you can return to a point when you know the phone works.

After this, go to the Android Development Thread, and download a custom ROM you look the like of. Most will be in the .zip format, so Odin won’t be necessary. Just put the file on your sdcard, boot into ClockworkMod Recovery, make the necessary wipes outlined on the ROM’s thread, then Install zip from sdcard, then choose zip from external sdcard, find the ROM file, and then yes. MAKE SURE YOU FOLLOW THE INSTALL GUIDELINES ON THE ROM’s THREAD.

That’s you! When the phone is rebooting for the first time, the boot will take considerably longer as your phone is rebuilding the dalvik cache that you most likely wiped during your ROM install. Nothing to get worried about. If you wish to return to your stock ROM, boot into ClockworkMod Recovery, go to Backup and Restore, and restore from an external sdcard. Voila!

If I have left anything out, or you have a question, please post below!

Chris.

A big thanks to Chainfire who made the root process oh so easy for the SGS2!

DISCLAIMER: I am not responsible for bricked phones or your phone causing a zombie apocalypse, however this process is very safe if followed correctly.

You think CF Root is easy for Noobs?

Easiest way is Flashing from Stock Recovery

Please Hit Thanks || It won't Cost You

Sent from S II || Running Official ICS 4.0.4 with Siyah 4.1
 

buuju

New member
Aug 12, 2009
1
0
Installing a custom ROM without rooting?

Hi,
I have a Samsung Galaxy S2 i9100 (running on Android ver. 4.1.2) and I was able to flash it with any official stock ROMs without rooting (no questions asked, since i9100s come with unlocked bootloaders by default:)) with Odin 3.07. The question is, is it also possible to flash it with custom ROMs without rooting just like I flashed the stock ROM? Thank you very much in advance.

Btw, after flashing my phone with a different official ROM, the CSC code remained the same and became incompatible with Kies update.

I am planning changing the firmware of my Samsung Galaxy S4 i9505 as it has a Hong Kong CSC which is very annoying, but I am not sure if I can change the CSC and get rid of Chinese keyboard together with ShaoNV font (I just want to have the default fonts of Galaxy that come with the other firmwares)
 

MistahBungle

Senior Member
Nov 7, 2011
7,201
3,260
110
Geelong AU
Samsung Galaxy S23 Ultra
Pretty much all custom roms are CWM flashable, which means you're going to have to root. And they also all include rooted kernels, so why the aversion to rooting your phone in the first instance when that's exactly what you're going to end up with anyway ?

CM used to have 'Resurrection' for earlier versions which was Odin flashable, but don't think they do anymore.

So root your phone, flash whatever custom rom you want with CWM & you'll be on your way.

Re: your I9505, we don't care. This is I9100 Q&A, not I9505 Q&A.
 

kr2602

Member
Feb 8, 2015
5
0
help needed urgently

Hey guys I need your help. I tried flashing new rom on my GT-I9100 but every time it says the same thing that is error in (rom name).zip (status 7). Installation aborted. I tried flashing several roms but to no use. What should I do now?
 
N

noppy22

Guest
Hey guys I need your help. I tried flashing new rom on my GT-I9100 but every time it says the same thing that is error in (rom name).zip (status 7). Installation aborted. I tried flashing several roms but to no use. What should I do now?

Status 7 normally means you are using an outdated recovery. What rom are you trying to flash, and what recovery(and version) do you have?
 

kr2602

Member
Feb 8, 2015
5
0
Status 7 normally means you are using an outdated recovery. What rom are you trying to flash, and what recovery(and version) do you have?
I am trying to flash cm-11-20140804-SNAPSHOT-M9-I9100.zip using CWM-based recovery v6.0.2.7. I also tried SpiritRom-20140504-i9100.zip using the same recovery. what should i do?
 
N

noppy22

Guest
I am trying to flash cm-11-20140804-SNAPSHOT-M9-I9100.zip using CWM-based recovery v6.0.2.7. I also tried SpiritRom-20140504-i9100.zip using the same recovery. what should i do?

First flash the latest cwm from this link -

http://xdaforums.com/galaxy-s2/deve...wm-clockworkmod-recovery-kit-kat-4-4-t2628412

Then reboot into recovery. Check the version is this later one. Then you'll be able to flash either of those roms.
Just as a side note, you will be better off flashing the latest nightly cm11 if that is the rom you want. There have been important bug fixes from the snapshot you have, and the nightlies are just as stable. Gone are the days where nightlies are unstable, they normally just make small changes on already stable builds. Get the nightly from here -

http://xdaforums.com/galaxy-s2/deve...om-official-cyanogenmod-11-nightlies-t2634693

or from @Markox89 who has built weekly sabermod builds of cm11 here -

http://xdaforums.com/galaxy-s2/development-derivatives/rom-cyanogenmod-11-t2686887
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Hello all,

    I have decided to make a guide that will hopefully help beginners to root your phone and be on your way to flashing a custom ROM.

    There are many ways in which to root your phone, but I think the easiest way is through Chainfire’s CF-Root, which is a kernel that basically roots your phone, adds Busybox and ClockworkMod Recovery (this is necessary for installing/flashing custom ROM’s).

    First off, you need Odin, which is a flashing tool specifically designed for the SGS2: Just type in "Odin 1.85" without quotations into Google and the first result should display "Odin - xdadevelopers - XDA Developers." Click on the link and Odin will download.

    Now before going ahead with Odin, download Kies: http://www.samsung.com/us/kies/ ,which is like iTunes for Samsung Devices, the drivers are needed for Odin, but when the drivers have been installed, close Kies, right click on your toolbar at the bottom of your desktop, I'll assume your running Windows 7, and go into Task Manager. Now find anything with Kies running in the Task Manager, right click on them and kill them.

    Kies gets jealous of Odin for being better, so it messes up Odin during the flashing process. So make sure you have the drivers installed from Kies and then killed off the Kies Processes.

    Finally, lets get the flashing package required to root your phone. Here is the link to Chainfire's thread: http://xdaforums.com/showthread.php?p=20075898

    Find the kernel that matches your Kernel Version e.g. Under Settings > About phone > Kernel Version: 2.6.35.7-I9100XXKG1-CL349526
    What matters most (KG1) in this case, is in bold. Try to find the matching file under downloads CF-Root-SGS2_XX_OXA_KG1-v4.1-CWM4.zip See the resemblance?
    Also make sure you unzip the file to get your .tar file, Odin won't work with .zip files.

    Now go ahead and put your phone into download mode. To do this, turn off your phone normally, wait till it is fully off, then hold down the power, home and down volume button until a warning screen is displayed. Then press the up volume button. If the screen says "In download mode. Do not turn off target" then you have got it!

    Now fire up Odin with Administrator Access (right click on the Odin icon and select Run as Administrator). When you have opened it, installed the Kies Air drivers and killed Kies processes off in Task Manager, you’re ready to proceed. Now connect your phone to your computer via your micro USB cable. The ID:COM box should go yellow and say ADDED!! in the box at the left hand side. Now make sure that the only options ticked in Option are Auto Reboot and F. Reset Time AND NOT RE-PARTITION. Now click on the PDA button on the right, and this will open your Explorer window up. Find your CF-Root file, and click OK. Then just click Start. In the top left hand corner, one of the boxes will flash blue, and then Green. The bottom left hand box will say PASSED!! Your phone will automatically reboot.

    When it has, go to your app drawer, and check you have something called either "SuperUser" or "SuperSU." If you do, congratulations, you’re rooted. Another way to check it has been successful is to shut down your phone, and hold the home, power and volume up button. If you get into ClockworkMod Recovery, you’re great!

    Now that you have root and ClockworkMod Recovery, the first thing you should do is boot into ClockworkMod Recovery by shutting down your phone, and using the home + power + volume up button sequence. When it loads, use the volume up and down buttons to navigate, and the power or home button to select depending on your CF-Root version.

    Go to Backup and Restore, and then go to Backup to external sdcard. This will make a clone of your entire ROM, which is crucial if something with your custom ROM goes wrong, at least you can return to a point when you know the phone works.

    After this, go to the Android Development Thread, and download a custom ROM you like the look of. Most will be in the .zip format, so Odin won’t be necessary. Just put the file on your sdcard, boot into ClockworkMod Recovery, make the necessary wipes outlined on the ROM’s thread, then Install zip from sdcard, then choose zip from external sdcard, find the ROM file, and then yes. MAKE SURE YOU FOLLOW THE INSTALL GUIDELINES ON THE ROM’s THREAD.

    That’s you! When the phone is rebooting for the first time, the boot will take considerably longer as your phone is rebuilding the dalvik cache that you most likely wiped during your ROM install. Nothing to get worried about. If you wish to return to your stock ROM, boot into ClockworkMod Recovery, go to Backup and Restore, and restore from an external sdcard. Voila!

    If I have left anything out, or you have a question, please post below!

    Chris.

    A big thanks to Chainfire who made the root process oh so easy for the SGS2!

    DISCLAIMER: I am not responsible for bricked phones or your phone causing a zombie apocalypse, however this process is very safe if followed correctly.
    1
    thanks alot for the guide dont listen to these idiots your post has been very helpfull for me i have now rooted my sg2! you can never get too much guidance and there isnt a sticky on rooting or at least i didnt find it anyways.
    1
    thanks alot for the guide dont listen to these idiots your post has been very helpfull for me i have now rooted my sg2! you can never get too much guidance and there isnt a sticky on rooting or at least i didnt find it anyways.

    That's what I have been trying to say, but there you go. Thank you for your feedback. Glad it helped you.

    Chris.
    1
    First off, I didn't take it personally or else that would be pathetic. Secondly, if other guides are just great, then why is there still questions about root popping up? Thirdly, I never implied that it was a competition. I mean that you can't win if you ask a question, or post a help guide to cut out the questions.

    Chris.

    Sent from my GT-I9100 using XDA

    Firstly - "I'm amazed...." "you all complain...." "I spend my time...." - all your quotes. You hardly sound neutral.

    Secondly - Because this site is littered with lazy sods who don't read or search. Don't flatter yourself - your offering isn't going to change that one iota.

    Thirdly - Your interpretation. Whatever.

    As said, I don't think your guide adds anything to previously posted ones. Sue me.