EDIT (2/24/13):
Before proceeding, just wanted to update new users and/or those intimidated by the following guide of an easier way to root. I have posted a guide here outlining those easier methods:
http://androidforums.com/galaxy-s2-4g-all-things-root/692347-guide-basic-rooting-roms-noobies.html
***How-To Root Using a One-Click Kernel and SuperUser***
Please read this entire post before proceeding.
These instructions are specific to the Virgin Mobile Galaxy S2 4G (will also work on Sprint's version of the Galaxy S2, Epic 4G Touch or SPH-D710). Although similar methods may work with other phones this method requires the use of a kernel that IS NOT compatible with any other phone but the Sprint/Virgin Mobile's Samsung Galaxy S2. If you do not have the Sprint or Virgin Mobile Galaxy S2 please DO NOT follow this method for gaining Root access it WILL brick your phone!
This method will trigger the Yellow Triangle upon start-up and will increase your Odin count. It will also change your startup screen to look like the International GS2 startup screen. This is normal and can be fixed!
For instructions to clear the Odin count and remove the yellow triangle please look at the XDA thread for the Triangle Away app found here:
http://forum.xda-developers.com/showthread.php?t=1494114
The Triangle Away app has been confirmed to work on this phone by a significant number of users. It is free to XDA users via the link but I highly recommend purchasing the app from the Google Play Store to support the hours of work spent creating the app for the community. It is a nice way to give back and to show your appreciate for benefiting from their hard work.
This method uses an Odin One-Click Kernel to install a kernel that includes a Custom Recovery. Once booted into the Custom Recovery you can then flash Superuser which will root your phone and give you Superuser access.
INSTRUCTIONS:
First, make sure you have installed Samsung USB drivers here:
Samsung Galaxy S2 4G USB Drivers: Samsung_E4GT_USB_Driver_v1_3_2360_0.exe
1. Download the following:
One-Click kernel (Agat63's tFI03 Repack Kernel) found here:
Rwilco12's Android Repository
SuperUser 3.07 ZIP found here:
Rwilco12's Android Repository
2. Place the SuperUser 3.07 ZIP on your phone's SD card.
3. Open the tFI03_Agats_Recovery.exe file (by double-clicking on your PC).
Once the tFI03_Agats_Recovery.exe file is opened you will be presented with a window that has a black title bar across the top, several empty boxes and a Start button.
Leave the screen up but do nothing else here for now.
4. Reboot your phone into Download/Odin Mode by holding down the Power and Volume Down buttons.
5. When prompted press the Volume Up key to continue.
6. Plug your USB cord into your phone and then plug the other end of the cord into an available USB slot.
Once the phone is plugged in you should see one of the white boxes on the tFI03_Agats_Recovery.exe One-Click program turn yellow.
7. Press Start on the tFI03_Agats_Recovery.exe One-Click program.
If the flash is successful your phone will now reboot. This will take slightly longer than usual, this is normal. Please note that there will be no boot animation, please be patient while your phone reboots.
You are now running your new kernel with custom recovery!
Now, for the rooting process:
8. After the phone has completely rebooted power off.
9. Hold down Power and Volume Up to boot into Recovery.
10. Scroll down to "wipe cache partition" and press power.
11. Scroll down to "Yes - Wipe Cache" and press power.
12. Scroll down to "advanced" and press power.
13. Scroll down to "Wipe Dalvik Cache" and press power.
14. Scroll down to "Yes - Wipe Dalvik Cache" and press power.
15. Scroll down to "+++++Go Back+++++" and press power.
16. Select either "choose zip from sdcard" or "choose zip from external sdcard" (depending on where you've saved SuperUser 3.07 ZIP in Step 2) and navigate to the SuperUser 3.07 ZIP and press power.
17. Scroll down to "Yes - Install .zip" and press power.
18. Scroll down to "+++++Go Back+++++" and press power.
19. Select reboot menu then press power. Verify "reboot system" is highlighted and press power.
Congratulations you are now rooted! Enjoy!
Note: The boot screen will have a yellow triangle (see above for info on how to remove)
You will see "Android is upgrading" progress bar upon first boot. This is normal.
Thanks to chri81 for confirming this root method and sharing it with the community!
Also, many thanks to rwilco12 whose kernel and guide this thread is based. It can be found here:
Rwilco12's Android Repository
Before proceeding, just wanted to update new users and/or those intimidated by the following guide of an easier way to root. I have posted a guide here outlining those easier methods:
http://androidforums.com/galaxy-s2-4g-all-things-root/692347-guide-basic-rooting-roms-noobies.html
***How-To Root Using a One-Click Kernel and SuperUser***
Please read this entire post before proceeding.
These instructions are specific to the Virgin Mobile Galaxy S2 4G (will also work on Sprint's version of the Galaxy S2, Epic 4G Touch or SPH-D710). Although similar methods may work with other phones this method requires the use of a kernel that IS NOT compatible with any other phone but the Sprint/Virgin Mobile's Samsung Galaxy S2. If you do not have the Sprint or Virgin Mobile Galaxy S2 please DO NOT follow this method for gaining Root access it WILL brick your phone!
This method will trigger the Yellow Triangle upon start-up and will increase your Odin count. It will also change your startup screen to look like the International GS2 startup screen. This is normal and can be fixed!
For instructions to clear the Odin count and remove the yellow triangle please look at the XDA thread for the Triangle Away app found here:
http://forum.xda-developers.com/showthread.php?t=1494114
The Triangle Away app has been confirmed to work on this phone by a significant number of users. It is free to XDA users via the link but I highly recommend purchasing the app from the Google Play Store to support the hours of work spent creating the app for the community. It is a nice way to give back and to show your appreciate for benefiting from their hard work.
This method uses an Odin One-Click Kernel to install a kernel that includes a Custom Recovery. Once booted into the Custom Recovery you can then flash Superuser which will root your phone and give you Superuser access.
INSTRUCTIONS:
First, make sure you have installed Samsung USB drivers here:
Samsung Galaxy S2 4G USB Drivers: Samsung_E4GT_USB_Driver_v1_3_2360_0.exe
1. Download the following:
One-Click kernel (Agat63's tFI03 Repack Kernel) found here:
Rwilco12's Android Repository
SuperUser 3.07 ZIP found here:
Rwilco12's Android Repository
2. Place the SuperUser 3.07 ZIP on your phone's SD card.
3. Open the tFI03_Agats_Recovery.exe file (by double-clicking on your PC).
Once the tFI03_Agats_Recovery.exe file is opened you will be presented with a window that has a black title bar across the top, several empty boxes and a Start button.
Leave the screen up but do nothing else here for now.
4. Reboot your phone into Download/Odin Mode by holding down the Power and Volume Down buttons.
5. When prompted press the Volume Up key to continue.
6. Plug your USB cord into your phone and then plug the other end of the cord into an available USB slot.
Once the phone is plugged in you should see one of the white boxes on the tFI03_Agats_Recovery.exe One-Click program turn yellow.
7. Press Start on the tFI03_Agats_Recovery.exe One-Click program.
If the flash is successful your phone will now reboot. This will take slightly longer than usual, this is normal. Please note that there will be no boot animation, please be patient while your phone reboots.
You are now running your new kernel with custom recovery!
Now, for the rooting process:
8. After the phone has completely rebooted power off.
9. Hold down Power and Volume Up to boot into Recovery.
10. Scroll down to "wipe cache partition" and press power.
11. Scroll down to "Yes - Wipe Cache" and press power.
12. Scroll down to "advanced" and press power.
13. Scroll down to "Wipe Dalvik Cache" and press power.
14. Scroll down to "Yes - Wipe Dalvik Cache" and press power.
15. Scroll down to "+++++Go Back+++++" and press power.
16. Select either "choose zip from sdcard" or "choose zip from external sdcard" (depending on where you've saved SuperUser 3.07 ZIP in Step 2) and navigate to the SuperUser 3.07 ZIP and press power.
17. Scroll down to "Yes - Install .zip" and press power.
18. Scroll down to "+++++Go Back+++++" and press power.
19. Select reboot menu then press power. Verify "reboot system" is highlighted and press power.
Congratulations you are now rooted! Enjoy!
Note: The boot screen will have a yellow triangle (see above for info on how to remove)
You will see "Android is upgrading" progress bar upon first boot. This is normal.
Thanks to chri81 for confirming this root method and sharing it with the community!
Also, many thanks to rwilco12 whose kernel and guide this thread is based. It can be found here:
Rwilco12's Android Repository