5,593,401 Members 36,498 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] And then there was ROOT !

Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 13th May 2011 at 12:12 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45880
Posts: 8,820
Join Date: Oct 2007

 
DONATE TO ME
Default ORIGINAL kernels

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, 10449 views)
File Type: zip KDB_original.zip - [Click for QR Code] (5.96 MB, 3736 views)
File Type: zip KDD_original.zip - [Click for QR Code] (5.96 MB, 7242 views)
File Type: zip KDF_original.zip - [Click for QR Code] (5.96 MB, 3294 views)
File Type: zip KE1_original.zip - [Click for QR Code] (5.96 MB, 5282 views)
File Type: zip KE2_original.zip - [Click for QR Code] (5.96 MB, 10627 views)
The Following 31 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 30th May 2011 at 09:53 PM.)
#2  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 45880
Posts: 8,820
Join Date: Oct 2007

 
DONATE TO ME
Default [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, 2978984 views)
File Type: tar XWKDD_insecure.tar - [Click for QR Code] (6.00 MB, 565292 views)
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 213 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
AndyCr15
Old
#3  
AndyCr15's Avatar
Senior Member
Thanks Meter 135
Posts: 2,217
Join Date: Apr 2005
Location: London, UK

 
DONATE TO ME
Awesome news.

I'll wait for someone more knowledgeable to post a guide
AndroidAndyUK - Android reviews
HTC Universal --> HTC TyTn II --> HTC Touch HD --> HTC Hero --> HTC Nexus One --> Samsung Galaxy S --> HTC Desire HD --> HTC G2 --> Samsung Nexus S --> Samsung Galaxy S2 --> Samsung Galaxy Note --> Galaxy Nexus --> HTC One X --> Samsung Galaxy S3 -> S3 LTE -> HTC One -> Samsung Galaxy S4 -> Moto G, Galaxy Note 3 & Nexus 5
Samsung Galaxy Tab --> Advent Vega --> Samsung Galaxy Tab 10.1 --> Nexus 7
 
Fysi
Old
#4  
Senior Member
Thanks Meter 48
Posts: 180
Join Date: Feb 2010
Cheers dude! Looks like I'll be able to use all my root apps come Tuesday when I get mine
 
Arron123
Old
#5  
Junior Member
Thanks Meter 10
Posts: 17
Join Date: Jul 2010
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: [ Click to Expand ]
 
FRLinux
Old
#6  
FRLinux's Avatar
Senior Member
Thanks Meter 92
Posts: 450
Join Date: Aug 2010
Quote:
Originally Posted by Chainfire View Post
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!
 
peadarog
Old
#7  
peadarog's Avatar
Senior Member
Thanks Meter 17
Posts: 128
Join Date: Mar 2010
Thanks a zillion
A small donation has just sped your way.
-----------------------------

SF author and grateful user of:
Rooted Galaxy Nexus, modaco, Titanium Backup, XDA


Those who don't create, donate.
The Following User Says Thank You to peadarog For This Useful Post: [ Click to Expand ]
 
lynxboy
Old
#8  
lynxboy's Avatar
Senior Member
Thanks Meter 317
Posts: 1,035
Join Date: Oct 2009
Location: Leeds
Just seen your tweet and wanted to say congratulations! Can't wait to see how the scene develops from here.

Regards.
 
Epedemic
Old
#9  
Senior Member
Thanks Meter 17
Posts: 299
Join Date: Apr 2007
Make that 2 persons Flash this, then just run superoneclick = Root. Installed adfree as the first thing, and that works as it's supposed
 
HumanoidTalking
Old
#10  
HumanoidTalking's Avatar
Senior Member
Thanks Meter 170
Posts: 561
Join Date: Sep 2010
Location: Doha
Great News,

Will test this 1st thing as i get my SGS2
SGS2 Secret Codes + Volume Boosting Click HERE :

N7000 STOCK ROM Installation Guide HERE

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes