• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide] How to root and Flash new ROM on SGS2 for newbie for GB, ICS or JB.

Search This thread

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
Hello guys I’m here with a noob guide for who are very new to Rooting and how to install a new ROM on SGS2, :)
But this guide after rooting process will be same to flash the Custom ROM on other devices as well.

Rooting of GB devices​

I'm not responsible for any harm to your device in this process, you are doing it on your own risk. By doing this you're voiding warranty of your product.

2.3.3/2.3.6 User should have to take a look on Chainfire's CFRoot method. However 2.3.3 can be rooted through recovery but 2.3.6 can't be without CFRoot method.

Needed tool for rooting GB
  • PC
  • Samsung USB drivers
  • Odin3
  • CFRooted stock kernel

Instructions-
  • Follow these instructions to the letter. Do not touch any buttons or checkboxes that are not listed below to touch!
  • Unzip the attached CF-Root-xxx-vX.X.zip
  • (USB) Disconnect your phone from your computer
  • Start ODIN
  • Click the PDA button, and select CF-Root-xxx-vX.X.tar
  • Put your phone in download mode
  • (USB) Connect the phone to your computer
  • Make sure repartition is NOT checked
  • Click the START button
  • Wait for the phone to reboot
  • Done

Now you have rooted phone with custom recovery. Thanks to @Chainfire for his awesome work.

Rooting of ICS

So for rooting the SGS2 we have a lots of guides but there is the much safe way to root it flashing the script via Stock recovery. So Philz has overcome to this problem with his awesome Kernel and with this thread named [ICS/JB]Universal Rooting for most phones, Any ROM, now with CWM6.

Instructions-
  • Copy the Root_XXX.zip file you downloaded to externalsd card
  • Boot into stock recovery (volume up+home+power), and select "apply update from external storage". Now select the Root_XXX.zip file downloaded above and you are rooted
  • To unroot, do the above steps and replace the file Root_XXX.zip by the attached Unroot_SuperUser-Busybox-Uninstaller-Update2-signed.zip. It will delete superuser, su and busybox packages.

Download links-
Root_SuperSU.0.98-Busybox.1.20.2-signed.zip
Unroot_SuperUser-Busybox-Uninstaller-Update2-signed.zip

Thanks to @Phil3759 for his awesome thread. Now you need custom kernels which should have the custom recovery, for that you can use DorimanX or Siyah kernel which are brickbug free.

Or you can just download the PhilzKernelCWM.zip with your matched code or at least similar kernel code and put it on your external SD card and then reboot into recovery by Holding the three combo key (Volumeup + Home + Power) and then choose option “Install Update zip” and choose the PhilzCWM.zip and flash it. After flashing done, you have rooted your Phone successfully with SuperSU installed. Now reboot to the recovery again and backup your ROM.


For JB release rooting
Just flash the philz kernel from the stock recovery and you are rooted.


Now time to Backup your current ROM before flashing the new Custom ROM on your device, it is recommended in case when something happen bad. If you are running 4.0.3 or 4.0.4 then the backup process is very simple just reboot into recovery and then touch the Backup option and that’s all, your all apps, contacts, sms and data will be backed up by default, and this backup will be placed on external sd card in Clockworkmod/Backup path by default.

But if you are running JB 4.1.2 then the backup job is not easy on all recovery’s. There is an extra folder called Preload is very important one where your all system apps have been placed, which is not included in simple backup process. So the drill starts here…..Reboot into recovery select option “Backup and Restore

u9ffppX.png


Now select the option “Advance Backup and Restore

sfCqU4X.png


Now select the “Custom Backup Job”. There you have tick the “Preload” folder and then scroll down and “Start custom Backup job” And then it will ask where you want to store the backup on you “Intenal/External Stroage”. After selecting the storage path it will start the backup process. When it finished you are ready to install the new ROM.

gMF0WiW.png


ZpUzyZR.png


1so9qzv.png


FuqzpwH.png



Note: If you don’t want to do this manually then I recommend the Apolo kernel which can backup the Preload by default no need of custom backup


NOTE: Before doing the below steps, backup your all apps and data using “Helium” or “Go backup” from play store to restore them on your newly flashed ROM. As after wipe data/reset you will lost all your contacts, Sms’s, and app and their data.

Now select the option “Wipe Data/ Factory reset” and then choose the second option “Clean to Install a New ROM”.

OYf4btZ.png


Note: I’ve seen this option in Philz only which is for Samsung only, non Samsung users have to select the first option and then follow these steps:
Wipe cache
Advanced/Wipe Dalvik cache



Now Select the option “Install Zip” and choose your zip from either Internal SD card or External SD Card wherever you have put the downloaded ROM zip file and flash it. Let’s finish the process and now reboot your system, it will take about 5-10 Min on first boot so don’t panic.

GJtkLV6.png


My credit and thanks

A big thanks to my NeatROM family.
 
Last edited:

_Sale_

Inactive Recognized Developer
Feb 20, 2011
8,675
51,253
Good work buddy. :thumbup:


Sent from my iPad using Tapatalk HD

+1 :thumbup:

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100

---------- Post added at 01:57 PM ---------- Previous post was at 01:57 PM ----------

Thanks buddy. I really want to make it good. Just shout for edit anything there. :)

Sent from my GT-I9100 using Tapatalk 4

Check pm mate

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100
 

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
+1 :thumbup:

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100

---------- Post added at 01:57 PM ---------- Previous post was at 01:57 PM ----------



Check pm mate

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100

Thanks master. You are always welcome. If its nee any edit just tell me. :)

Sent from my GT-I9100 using Tapatalk 4
 

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
A big Thanks to all of you guys.



Sent from my GT-I9100 using Tapatalk 4
 
  • Like
Reactions: _Sale_

electricsheepdreamer

Senior Member
Oct 18, 2012
5,480
25,600
Hey avirk, nice job. :thumbup:

3 things to mention:
1. There's no Philz kernel for GB ROMs.
2. They will end up with Superuser, not SuperSu
3. I think after ticking preload in Custom backup job, it is a good idea to Save Philz settings because it needs to stay ticked for restoring backup with preload included as well.

Cheers.
 

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
Hey avirk, nice job. :thumbup:

3 things to mention:
1. There's no Philz kernel for GB ROMs.
2. They will end up with Superuser, not SuperSu
3. I think after ticking preload in Custom backup job, it is a good idea to Save Philz settings because it needs to stay ticked for restoring backup with preload included as well.

Cheers.

Hmm, For GB link edited with CFroot, and there is any .ini file is missing on my phone so I'm not able to save the settings for Philz so couldn't take any SS for that. If anyone can provide me SS I'll edit the guide again. :good:

Nice Avirk, good luck :thumbup: :)

Sent from my Galaxy S2 using XDA Premium 4 mobile app

Thank you mate.

@avirk:
Well done mate !
I have just added this guide to the first post of the New Members friendly Q&A thread.

Thanks, and that's an honour for me that my first guide and its placed there. Thanks again for look into it and link it there. :victory:
 

ahassouna

Senior Member
Apr 14, 2005
670
18
Huawei Mate 30 Pro
Do i need to install custom recovery like other phones or unlock boot loader to install custom roms?

So ur guide means,

1- install kernel via phone's current stock recovery
2- back up current stock rom "apparently ics for me"
3- place new custom rom zip i got from forum on sd card
4- go to restore factory and format
5- open phone's based recovery mode and choose install zip from sd? And flash rom

That's it? If yes, do i need to reinstall zip kernel to get root again?

Thx dude a lot u r a life saver

Sent from my C6603 using xda premium
 

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
Do i need to install custom recovery like other phones or unlock boot loader to install custom roms?

So ur guide means,

1- install kernel via phone's current stock recovery
2- back up current stock rom "apparently ics for me"
3- place new custom rom zip i got from forum on sd card
4- go to restore factory and format
5- open phone's based recovery mode and choose install zip from sd? And flash rom

That's it? If yes, do i need to reinstall zip kernel to get root again?

Thx dude a lot u r a life saver

Sent from my C6603 using xda premium

If you are on ICS then download the philz kernel and flash it under stock recovery, if possible see if there is the philz available for your firmware. Read the Philz thread carefully.


Place the zip of rom on your sd you got from forum.
After flashing the philz your phone is rooted and you have custom recovery.
Just reboot to recovery again and you will see it.
When you will backup it will backup your current kernel and recovery automatically which would be philz.
If your phone is not locked by any carrier then you don't need to unlock its bootloader its already unlocked.
Do a factory reset from the recovery not from the phone.
Wipe cache and then under Advanced wipe dalvik cache, strongly recommended to not get the bootloop.
Now flash the ROM zip and reboot the phone after completing the flash of zip.

Note: Please read the OP carefully how can you get back your apps and data.

If still have any doubt just ask me without any hesitation. Good luck.




Sent from my GT-I9100 using Tapatalk 4
 

avirk

Inactive Recognized Contributor
Oct 21, 2012
2,042
5,678
Do i need to install custom recovery like other phones or unlock boot loader to install custom roms?

So ur guide means,

1- install kernel via phone's current stock recovery
2- back up current stock rom "apparently ics for me"
3- place new custom rom zip i got from forum on sd card
4- go to restore factory and format
5- open phone's based recovery mode and choose install zip from sd? And flash rom

That's it? If yes, do i need to reinstall zip kernel to get root again?

Thx dude a lot u r a life saver


Sent from my C6603 using xda premium

If you will install a custom ROM like CM, JellyBam, SlimBean(aosp/aokp based), Or my favourite NeatRom(Sammy based custom rom) you don't need to root them again they are all rooted.
After flashing any of these ROM your current kernel will be overwrite by these ROM's default kernel which comes with CWM 6.+. So no need to install the custom recovery again.

And you can't install a ROM with stock recovery you need a custom recovery. If I'm not clear you can ask any time.
 
  • Like
Reactions: _Sale_

sadekmefti

Senior Member
Dec 6, 2012
628
394
24
Cherchell
It's much much better, I was going to send you a PM about GB root but now it's done, great job mate, really great

Sent from GT-I9100 using Tapatalk 4
 
  • Like
Reactions: avirk

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Hello guys I’m here with a noob guide for who are very new to Rooting and how to install a new ROM on SGS2, :)
    But this guide after rooting process will be same to flash the Custom ROM on other devices as well.

    Rooting of GB devices​

    I'm not responsible for any harm to your device in this process, you are doing it on your own risk. By doing this you're voiding warranty of your product.

    2.3.3/2.3.6 User should have to take a look on Chainfire's CFRoot method. However 2.3.3 can be rooted through recovery but 2.3.6 can't be without CFRoot method.

    Needed tool for rooting GB
    • PC
    • Samsung USB drivers
    • Odin3
    • CFRooted stock kernel

    Instructions-
    • Follow these instructions to the letter. Do not touch any buttons or checkboxes that are not listed below to touch!
    • Unzip the attached CF-Root-xxx-vX.X.zip
    • (USB) Disconnect your phone from your computer
    • Start ODIN
    • Click the PDA button, and select CF-Root-xxx-vX.X.tar
    • Put your phone in download mode
    • (USB) Connect the phone to your computer
    • Make sure repartition is NOT checked
    • Click the START button
    • Wait for the phone to reboot
    • Done

    Now you have rooted phone with custom recovery. Thanks to @Chainfire for his awesome work.

    Rooting of ICS

    So for rooting the SGS2 we have a lots of guides but there is the much safe way to root it flashing the script via Stock recovery. So Philz has overcome to this problem with his awesome Kernel and with this thread named [ICS/JB]Universal Rooting for most phones, Any ROM, now with CWM6.

    Instructions-
    • Copy the Root_XXX.zip file you downloaded to externalsd card
    • Boot into stock recovery (volume up+home+power), and select "apply update from external storage". Now select the Root_XXX.zip file downloaded above and you are rooted
    • To unroot, do the above steps and replace the file Root_XXX.zip by the attached Unroot_SuperUser-Busybox-Uninstaller-Update2-signed.zip. It will delete superuser, su and busybox packages.

    Download links-
    Root_SuperSU.0.98-Busybox.1.20.2-signed.zip
    Unroot_SuperUser-Busybox-Uninstaller-Update2-signed.zip

    Thanks to @Phil3759 for his awesome thread. Now you need custom kernels which should have the custom recovery, for that you can use DorimanX or Siyah kernel which are brickbug free.

    Or you can just download the PhilzKernelCWM.zip with your matched code or at least similar kernel code and put it on your external SD card and then reboot into recovery by Holding the three combo key (Volumeup + Home + Power) and then choose option “Install Update zip” and choose the PhilzCWM.zip and flash it. After flashing done, you have rooted your Phone successfully with SuperSU installed. Now reboot to the recovery again and backup your ROM.


    For JB release rooting
    Just flash the philz kernel from the stock recovery and you are rooted.


    Now time to Backup your current ROM before flashing the new Custom ROM on your device, it is recommended in case when something happen bad. If you are running 4.0.3 or 4.0.4 then the backup process is very simple just reboot into recovery and then touch the Backup option and that’s all, your all apps, contacts, sms and data will be backed up by default, and this backup will be placed on external sd card in Clockworkmod/Backup path by default.

    But if you are running JB 4.1.2 then the backup job is not easy on all recovery’s. There is an extra folder called Preload is very important one where your all system apps have been placed, which is not included in simple backup process. So the drill starts here…..Reboot into recovery select option “Backup and Restore

    u9ffppX.png


    Now select the option “Advance Backup and Restore

    sfCqU4X.png


    Now select the “Custom Backup Job”. There you have tick the “Preload” folder and then scroll down and “Start custom Backup job” And then it will ask where you want to store the backup on you “Intenal/External Stroage”. After selecting the storage path it will start the backup process. When it finished you are ready to install the new ROM.

    gMF0WiW.png


    ZpUzyZR.png


    1so9qzv.png


    FuqzpwH.png



    Note: If you don’t want to do this manually then I recommend the Apolo kernel which can backup the Preload by default no need of custom backup


    NOTE: Before doing the below steps, backup your all apps and data using “Helium” or “Go backup” from play store to restore them on your newly flashed ROM. As after wipe data/reset you will lost all your contacts, Sms’s, and app and their data.

    Now select the option “Wipe Data/ Factory reset” and then choose the second option “Clean to Install a New ROM”.

    OYf4btZ.png


    Note: I’ve seen this option in Philz only which is for Samsung only, non Samsung users have to select the first option and then follow these steps:
    Wipe cache
    Advanced/Wipe Dalvik cache



    Now Select the option “Install Zip” and choose your zip from either Internal SD card or External SD Card wherever you have put the downloaded ROM zip file and flash it. Let’s finish the process and now reboot your system, it will take about 5-10 Min on first boot so don’t panic.

    GJtkLV6.png


    My credit and thanks

    A big thanks to my NeatROM family.
    6
    Hey avirk, nice job. :thumbup:

    3 things to mention:
    1. There's no Philz kernel for GB ROMs.
    2. They will end up with Superuser, not SuperSu
    3. I think after ticking preload in Custom backup job, it is a good idea to Save Philz settings because it needs to stay ticked for restoring backup with preload included as well.

    Cheers.
    5
    +1 :thumbup:

    Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100

    ---------- Post added at 01:57 PM ---------- Previous post was at 01:57 PM ----------



    Check pm mate

    Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100

    Thanks master. You are always welcome. If its nee any edit just tell me. :)

    Sent from my GT-I9100 using Tapatalk 4
    4
    Good work buddy. :thumbup:


    Sent from my iPad using Tapatalk HD
    4
    @avirk:
    Well done mate !
    I have just added this guide to the first post of the New Members friendly Q&A thread.