The highly admired Samsung Galaxy S II is just around the corner and it has already been rooted for full file system access credit to the developer over at XDA-forum -Chainfire-. Through Samsung flashing utility ‘Odin’ we can gain access to Superuser in order to flash the device with a custom kernel. Later than a reboot Superuser access is obtainable by using the ‘adb’ program which is component of the Android SDK.
Here’s how you can root the device:
Detailed guide (for beginners)
- Download the attached ODIN file and extract the .zip file
- Download the attached XWKDD, but do NOT extract the .tar file
- Download and extract SuperOneClick
- If you do not have Samsung’s KIES 2.0 installed in your computer, download and install it. You need it to install the correct USB drivers, so the programs can correspond with the device. Reboot/Restart your PC after KIES has been installed.
- Check to see that your handset is in USB debugging mode: Settings -> Applications -> Development -> USB debugging
- Reboot your device into download mode: Toggle the device off, and then turn it on once more by pressing and holding VolumeDown + Home + Power at the same time. When you are in download mode you will come to know as it is quite clear
- Launch ODIN
- Connect the handset to your PC using USB
- Wait for some seconds, the ODIN screen should confirm you that a device is now connected
- Ensure that in ODIN Nothing is tick marked, except for the “Auto reboot” and “F. Reset Time” checkboxes. Push the “PDA” key, and select the “XWKDD_insecure.tar” file.
- Push “Start”. ODIN and so the device will be flashing now, and the handset should reboot.
- Wait until the device is rebooted, and at the same time as still being connected via USB, start SuperOneClick, and press ROOT.
- Reboot the device
- And you’re done !
Quick guide (for experienced users)
- Reboot into download mode
- By means of the attached Odin version, flash the attached XWKDD kernel as PDA. Do not use the PIT, don’t tick mark any options apart from “Auto reboot” and “F. Reset Time”
- Wait for the device to reboot
- Employ the “adb root” command to restart ADB in root mode, next “adb shell” to get a rooted shell; then you can yourself push Superuser.apk / su, busybox, OR use SuperOneClick to perform the task
Note: Root access established by this process is not lasting – it requires additional steps such as the manual loading of su, busybox, and Superuser.apk to enable permanent superuser access.