FORUMS
Remove All Ads from XDA

[GUIDE] And then there was ROOT !

10,719 posts
Thanks Meter: 79,088
 
By Chainfire, XDA Ad-Free Senior Moderator / Senior Recognized Developer - Where is my shirt? on 29th April 2011, 06:32 PM
Post Reply Email Thread
Attached are a number of original / unmodified kernels

Note that you need to flash the TAR file inside the ZIP file... XDA does allow posting of TARs, but these once are too big, that is why they are ZIPped.
Attached Files
File Type: zip KDA_original.zip - [Click for QR Code] (6.02 MB, 17321 views)
File Type: zip KDB_original.zip - [Click for QR Code] (5.96 MB, 5417 views)
File Type: zip KDD_original.zip - [Click for QR Code] (5.96 MB, 9243 views)
File Type: zip KDF_original.zip - [Click for QR Code] (5.96 MB, 4606 views)
File Type: zip KE1_original.zip - [Click for QR Code] (5.96 MB, 6880 views)
File Type: zip KE2_original.zip - [Click for QR Code] (5.96 MB, 12596 views)
The Following 31 Users Say Thank You to Chainfire For This Useful Post: [ View ]
 
 
29th April 2011, 06:32 PM |#2  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 79,088
 
Donate to Me
More
[GUIDE] And then there was ROOT !
THIS THREAD HAS BEEN SUPERCEDED BY THE CF-ROOT THREAD: http://forum.xda-developers.com/show....php?t=1103399

.
.
.
.
.
.

Here it is people, root for the I9100 !

I set out to make a "CF-Root" kernel for the SGS2 - a hacked Samsung kernel including Superuser, busybox, custom recovery, etc) - like I have for the SGS and SGT, but due to not having a device to test on, this is proving too difficult to do right now, it will have to wait. However, what I can give you is an "insecure" modded kernel. This is a kernel that does NOT include the tools you need for Superuser, but it DOES give you root shell access, so you can install these manually.

So what about GingerBreak? Isn't that supposed to be able to root the SGS2? No. GingerBreak was able to root a number of engineering samples of the SGS2, but it does NOT work on retail devices.

Following is a guide on how to perform the root. It is rather easy if you know the drill from other Galaxy devices, but if you are a complete beginner with Samsung phones or Android in general, please read very closely! Try to remember what you do, as likely in the future you'll be using ODIN more often, to flash custom kernels, custom/leaked firmwares, etc.

BEFORE DOING ANYTHING, PLEASE NOTE YOUR ORIGINAL KERNEL VERSION IN Settings -> About !

Quick guide (for experienced users)
- Reboot into download mode
- Using the attached Odin version, flash the attached XWKDD kernel as PDA. Do not use the PIT, do not have any options checked except for "Auto reboot" and "F. Reset Time"
- Wait for the device to reboot
- Use the "adb root" command to restart ADB in root mode, followed by "adb shell" to get a rooted shell; then you can manually push Superuser.apk / su, busybox, OR use SuperOneClick to finish the job for you.

Long 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 (Some say you should not be using the very latest version 1.9, but 1.5 or so)
- If you do not have Samsung's KIES 2.0 installed, download and install it. You need it to install the correct USB drivers, so the programs can communicate with the device. Reboot your computer after installation of KIES.

- Make sure your device is in USB debugging mode: Settings -> Applications -> Development -> USB debugging
- Reboot your device into download mode: Turn the device off, then power it on again by pressing and holding VolumeDown + Home + Power simultaneously. You will know when you are in download mode, it is really obvious
- Start ODIN
- Connect the device to your computer using USB
- Wait a few seconds, the ODIN screen should show you that a device is now connected
- Make sure that in ODIN NOTHING is checked, except the "Auto reboot" and "F. Reset Time" checkboxes. Press the "PDA" button, and select the "XWKDD_insecure.tar" file.
- Press "Start". ODIN you should now be flashing the kernel, and the device should reboot.
- Wait until the device is rebooted, and while still being connected over USB, start SuperOneClick, and press ROOT.
- Reboot the device
- Done !

Please post corrections to this guide if you see I made a mistake in it. Remember, I don't actually have an SGS2 so it's hard for me to check

Enjoy!

EDIT: Regarding new firmware versions
Yes, I know there are different firmware versions out there, and currently I only supply a root for KDD. I don't have a device yet, patching a kernel this way takes many hours, make a test, send to somebody, see if it works, wait for reply, re-do from start, etc. It would take me 3 minutes if I had a device. Due to this, I am not making "insecure" versions of any other kernel until I have a device, which I expect will be around the 23rd. So stop asking.

However, what you can do is this:
- Note in settings -> about which kernel version you have
- Flash the KDD kernel, and install root
- Reboot, assure yourself you have root
- Flash the original kernel back (see next post)
- Reboot, and you're back on the right kernel, but still have root
Attached Files
File Type: zip Odin3-v1.85.zip - [Click for QR Code] (198.9 KB, 5198180 views)
File Type: tar XWKDD_insecure.tar - [Click for QR Code] (6.00 MB, 592616 views)
The Following 214 Users Say Thank You to Chainfire For This Useful Post: [ View ]
29th April 2011, 06:43 PM |#3  
AndyCr15's Avatar
Senior Member
Flag London, UK
Thanks Meter: 190
 
Donate to Me
More
Awesome news.

I'll wait for someone more knowledgeable to post a guide
29th April 2011, 06:45 PM |#4  
Senior Member
Thanks Meter: 48
 
More
Cheers dude! Looks like I'll be able to use all my root apps come Tuesday when I get mine
29th April 2011, 06:52 PM |#5  
Junior Member
Thanks Meter: 10
 
More
Loving the dev support already :)

Sent from my GT-I9100 using XDA App
The Following 2 Users Say Thank You to Arron123 For This Useful Post: [ View ] Gift Arron123 Ad-Free
29th April 2011, 06:53 PM |#6  
FRLinux's Avatar
Senior Member
Thanks Meter: 92
 
More
Quote:
Originally Posted by Chainfire

Ok, as I stated in another thread, I leave my dev-PC probably for 10 days, from today. In fact I should have left an hour ago already, but I didn't want to leave without giving you this!

Attached is also the new Odin. Make sure NOTHING is checked except "Auto reboot" and "F. Reset Time", and flash XWKDD_insecure.tar as PDA. Note that at the time of this writing, only ONE person has tested this.

Enjoy!

Awesome work man, thanks!
29th April 2011, 07:25 PM |#7  
peadarog's Avatar
Senior Member
Thanks Meter: 18
 
More
Thanks a zillion
A small donation has just sped your way.
The Following User Says Thank You to peadarog For This Useful Post: [ View ] Gift peadarog Ad-Free
29th April 2011, 07:34 PM |#8  
lynxboy's Avatar
Senior Member
Flag Leeds
Thanks Meter: 345
 
More
Just seen your tweet and wanted to say congratulations! Can't wait to see how the scene develops from here.

Regards.
29th April 2011, 07:49 PM |#9  
Senior Member
Thanks Meter: 24
 
More
Make that 2 persons Flash this, then just run superoneclick = Root. Installed adfree as the first thing, and that works as it's supposed
29th April 2011, 07:53 PM |#10  
HumanoidTalking's Avatar
Senior Member
Flag Doha
Thanks Meter: 174
 
More
Great News,

Will test this 1st thing as i get my SGS2
29th April 2011, 08:00 PM |#11  
Senior Member
Flag Brighton
Thanks Meter: 92
 
More
Quote:
Originally Posted by Epedemic

Make that 2 persons Flash this, then just run superoneclick = Root. Installed adfree as the first thing, and that works as it's supposed

What version of super one click did you use?

Any instability?

Were you on the KDD kernel before or the KDA?

Sent from my GT-I9100 using XDA Premium App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes