[Galaxy S II Q&A, Help & Troubleshooting] Beatsleigher:
Did you get a new SGS II? And you want it rooted, but without loosing your factory warranty, or even getting the yellow triangle? Then you're lucky if you are reading this post. All you need, is a few things.

First you need a computer(which is pretty obvious, isn't it?)

Preferably a windows computer, but I can help you, if you've got a mac, aswell.

So, now you've made sure, that you've got these things, let's carry on with the tutorial...

You need Kies (which you use to transfer files, and contacts, to/from your computer and back...) and the android SDK*. If you haven't got these programs, then click on the links below...

Go to: developer.android.com/sdk/index.html (<-Download the SDK.zip)

Just extract the ZIP to your desktop, what you'll need will come in a second...

Now, for all you windows users;

Once you have extracted the SDK_zip to the desktop(or where ever you want to) click on sdk manager.exe, and download everything from google, and download the sdk-tools for your Android version (eg. 2.2, 2.3.x or 4.0.x) once you have downloaded all these tools, close the SDK* manager, and open the folder "Platform-Tools" in here, you wil find some files called "ADB", and two other files, called WinApi. Take these, and copy these into C:\Windows\System32\

Once you have done this, we can carry on...

(On your keyboard) press (and hold) Windows + R. Once the Run dialog has opened, you can release the keys.

Type in the Textbox cmd.exe and hit enter. In the command prompt (cmd) type in this command. "Adb" if some text appears, you have correctly installed ADB* on to your computer. You can now plug your SGS II in, and wait fir windows to determine the device and start installing additional drivers. Make sure you have set your device to allow USB debugging! (Now you can drink a cuppa coffee, and wait for about 5 minutes.)

Once this has been done, type in (in cmd) this command: adb devices And hit enter. If a set of numbers and letters appear(in hexadecimal order) and the word "Device" is written behind the hexadecimal* code, then you are ready to root!

Now for the rooting, itself. (If you want permanent root, skip this part, if you just want temporary root-permissions, then read this.)

First( to make sure that, if you break something in the OS*-Partition, you can repair your device(without flashing) type in the backup command: adb backup C:\MyAndroidBackup.ab -apk -system -shared -all

Check your phone, this is needed,incase you are prompted for permission. Once the backup is done, type in the following command, to gain root access.

Type in the command prompt-window " adb root"

Now, for permanent root access;

Type in the command prompt-window: adb backup -apk -system -shared -all

Check your phone, to see if you are prompted for permission... Wait for the backup to finish. Once it is done, type in the following command, to set your phone, into a type of "Download mode": adb remount

Now, you need to download the files beneath... (Superuser and BusyBox)

Download these files to your C Drive. Now, type in this command,: adb push C:\Superuser-1.apk /system/app

And again: adb push C:\stericson.busybox.apk system/app

Once you have done this, you should be able to use them, after one reboot. So, we will do a quick reboot. This installs the applications, and gets you one step further to being a "legal" root user! To do a reboot, type in: adb reboot

After your device has rebooted, and is ready-to-use, go to your app-drawer, and look for the apps: "Super User" and "BusyBox installer". If you have found these, then you have done the first steps correctly!

Now, type in the Command-Prompt Window: adb devices. And it should say the same hexadecimal code, with the caption "Device" next to it. If it says this, then type in the final command, to gain root access.: adb root

Once you have typed in the command above, you are an official root user!

I do not take responsibility if you break your device! I would gladly help you, but don't make me responsible. And just because I'm new here doesn't mean I'm completely new to android development/ rooting etc. .

If you found, that my tutorial was good, then please thanks me. If you have any ~questions, then please ask! If you have concerns, please let me know! Screenshots and video tutorial are following. I'm still looking for a way to do this on a mac, and I have yet only found one way. But we'll get to that in another thread, once I've proven it's effectiveness. Have a nice day, and have fun rooting!

P.S This works on nearly every android device!

Edit: P.S I forgot to mention =, what the stared words mean. SDK: Software Development Kit

ADB: Android Debugging Bridge

Hexadecimal: A string of combined letters and numbers.