yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] LBTaylor1984:
thx for clearing that up guys, works fine. loving the best android phone on root, thanks again Chainfire.
[Galaxy S II Original Android Development] TheMathMan:
Flashed to KDD (from KDA) and then flashed kernel and rooted.

Done in 5-10 minutes. Delightful.

A few fixes I noticed and it does seem snappier.
[Galaxy S II Original Android Development] ConceptVBS:
EPIC EPIC EPIC

XDA does it again!

XDA FTW!!!!
[Galaxy S II Original Android Development] Raymond77:
Excellent guide, got it rooted first time. Thank you very much.
[Galaxy S II Original Android Development] sckc23:
works like a charm! thanks chainfire :)
[Galaxy S II Original Android Development] LBTaylor1984:
care explaining how its snappier?
[Galaxy S II Original Android Development] AkkerDK:
I think it's just ******* awesome, that You have already been able to supply us with a way to root a SGS II, a phone You don't even have Yourself (yet) ... incredible amazing in my book.

Looking forward to order and receive my own SGS II, not out yet here in Denmark, and think it's fantastic that I from the very beginning, will be able to use the apps I have demanding root access.

One question though ... Is there any way to make this work from a PC with linux?

Or will I really have to use one of my kids windows7 PC's to make this work?

SGS II will be my very first android device which is not a HTC device, and with HTC I have always been able to do the necessary from my linux PC.

Anyhow, I'm really looking forward to these great android phone from Samsung.
[Galaxy S II Original Android Development] Chainfire:
There is a tool called "Heimdall" that also works on Linux that does the same thing Odin does. You can flash the device using that, IF it turns out to be compatible with the SGS2. I'd say there's a 50-50 chance, but to be honest, I wouldn't even try before Heimdall's developer has looked at the SGS2 himself.

SuperOneClick can also be used through Linux I believe (though this will no longer be necessary once I cook up a proper CF-Root kernel), and you don't need KIES for the drivers on Linux as far as I know.

So yes, there's a good chance it will be possible to do all this through Linux sooner or later, but for now, use Windows.
[Galaxy S II Original Android Development] AkkerDK:
Damn You're awesome, as the rest of the developers on XDA-Developers ... Great.

As there is at least 2-3 weeks before I have a SGS II in my expecting and wanting hands, I might even get lucky with the linux possibility :D

Thumps up for You and the rest of XDA-Developers
[Galaxy S II Original Android Development] Bart1981:
Wow, I don't even have the device yet and it's already rooted!

Good job! Nice root-guide you've made. Seems easy to follow if you ask me.
[Galaxy S II Original Android Development] -jen94ek-:
Root

THX working.
[Galaxy S II Original Android Development] DKMIK:
Good job

Just one thing, shout i download SuperOneclick or SuperOneClick whit driver.
[Galaxy S II Original Android Development] TheMathMan:
If youve already rooted with Odin you won't need drivers
[Galaxy S II Original Android Development] narcoustic:
Hi chainfire, I've ordered a handset from o2 because its the cheapest around but I'm currently on orange for another 6 months. The O2 rep told me I can only unlock through them after 12months - can I unlock the simlock through root? i.e. after using this mod

thanks in advance
[Galaxy S II Original Android Development] ro-mann:
I'm waiting for CM support which I hope will be provided. Even though The Galaxy S still doesn't have a stable ROM.
[Galaxy S II Original Android Development] AndyCr15:
I think that's Radio S-Off, which is very different so I think the answer would be no.
[Galaxy S II Original Android Development] hkotaku:
Thanks!!

Just wanted to say that I flashed to I9100XWKDD using odin earlier and then rooted using the kernel provided and superoneclick. Everything went fine and I'm now fully rooted with perfect stability from what I can see. I appreciate your hard work Chainfire, especially when you don't even have the phone yet, THANK YOU!!

Thought I'd also mention that I removed all the samsung hubs, the gtalk application and various other things using Super Manager from Market and haven't seen any FC's/Errors (Titanium was giving me an error).
[Galaxy S II Original Android Development] dyallo:
Awesome job, CF!
[Galaxy S II Original Android Development] TheMathMan:
I thought GTalk was required for GMail syncing
[Galaxy S II Original Android Development] Ayrlupine:
If I'm not mistaken, GTalk is used for a LOT of things. Probably best not to delete it.
[Galaxy S II Original Android Development] PyroCF:
Thanks for your work and efforts chainfire.

Just rooted my SGSII as soon as I got it back from the store.

Looking forward to your future work.
[Galaxy S II Original Android Development] hkotaku:
The Gtalk service still runs in the background however I just got rid of the app itself. Gmail, etc still works fine.
[Galaxy S II Original Android Development] samjpullen:
Any chance this is possible to do via a Mac....

Mine is XWKDD out of the box...

:)

Cheers
[Galaxy S II Original Android Development] venezia64:
Can anyone explain me how firmware revisions are named i.e. what "abcde" in I9100abcde stands for?

Update: Sorry. Realised that was a stupid question...

For those wanting to know look here.
[Galaxy S II Original Android Development] lws803:
Hmmm whats the average quadrant benchmark do you guys get after root? :D
[Galaxy S II Original Android Development] Epedemic:
Same as before root. Not surprising as nothing have been modified in the kernel.
[Galaxy S II Original Android Development] lws803:
Alrites thanks :) Hmmm is clockworkmod or any custom recovery available yet?
[Galaxy S II Original Android Development] Epedemic:
No. There would be a thread about that in here if it was ;)
[Galaxy S II Original Android Development] lws803:
Alrights ;D
[Galaxy S II Original Android Development] narcoustic:
Can anyone verify the authenticity of www/mobileunlocked.co.uk ?

EDIT: Never mind, they seem authentic - I contacted them
[Galaxy S II Original Android Development] billycrf100:
My phone battery life and performance has been significantly decreased since this root. It used to last about 32 hours using the phone non stop but now lasts about 3 hours. It also lags a bit when scrolling through websites and playing games. It never did that before the root. And the quadrant score is now 2955 wereas it was 3398? Anyone else had these problems?
[Galaxy S II Original Android Development] Droidcarp:
Works perfectly for me, no battery issues and quads around 3900.

Steve
[Galaxy S II Original Android Development] Epedemic:
I'm pretty sure thats because quadrant advanced is buggy on the sgsII (no textures in the 3d tests giving too high results).

You should get 3400 tops like the rest of us if you use quadrant standard ;)
[Galaxy S II Original Android Development] TheMathMan:
Right... Why is my cpu score so low compared to yours?
[Galaxy S II Original Android Development] jimsey:
works a treat

just a quick thanks to chainfire, successfully rooted using the method in the first post.

my phone was running the KDA kernel, I didn't upgrade the whole rom as some people have, I just flashed the unlocked KDD kernel over the original and it works like a charm.

I've used titanium backup to freeze all the samsung hub stuff and any other things i dont' want or use - this is a much safer option than uninstalling if you're not quite sure how deeply integrated the program is to the android OS.
[Galaxy S II Original Android Development] Droidcarp:
Quad standard 3753....am sure itll go higher though.

As for the CPU....its set for ondemand.

Steve
[Galaxy S II Original Android Development] Anyatan:
Data connectivity problems after root. Sgs2.

Hi. In having connectivity problems after root. I can make calls and sms but not internet or data connections.

I got my sgs2 from phones4u and im orange. Running 2.3.3 xwkdd.

Need help plz.

Or how to unroot.

Thanks
[Galaxy S II Original Android Development] risq:
More than likely your APN settings.

Search google using "Orange PAYG APN" or Orange Contract APN.

Then make sure your APN is right on your phone. Sounds like you need to load your settings, and you''ll be away! :)
[Galaxy S II Original Android Development] rantzzz:
Hi all,

Can the "rooting" programs be used on Windows Vista?

What are the drivers that I need to d/l for this to work...? Really noobish when it comes to Android, but I've had experience with flashing custom roms on Omnia HD :p
[Galaxy S II Original Android Development] rheedan:
Thanks for the great work Chainfire.

I'm having a problem though. I have the latest version of Kies installed, but Odin (v1.85) only detects my phone when it is in normal, not download, mode :confused:

Any ideas?
[Galaxy S II Original Android Development] FRlTZ:
Seems you need to reinstall the modem/USB driver for the phone.
[Galaxy S II Original Android Development] Anyatan:
Can somebody post how to unroot the sgs2. Thanks.
[Galaxy S II Original Android Development] rantzzz:
Yea, it'll be great for newbies like me

I've been looking at youtube videos but there are so many, it's confusing! :confused:
[Galaxy S II Original Android Development] Anyatan:
It turned out its was the network of orange playing up again.

Sheez.. I thought i broke my brand new SGS2. :mad:

Still tho, does anybody know how to unroot the SGS2.

Thanks.
[Galaxy S II Original Android Development] rheedan:
Uuuugh, new problem!!

I managed to get Odin working. I pressed the volume up button, and the screen in download mode change from a yellow exclamation mark, to the little green android dude, and then Odin detected the device. I flashed the kernel with XWKDD, and my phone restarted, but when I tried to root with SuperOneClick, the program gives me two OKs, then say 'Waiting for devices...". After that, SuperOne click freezes, and I get the "Not Responding" message :(

Now my phone is just flashing the Galaxy SII logo, with a yellow exclamation mark underneath it :eek:

What do I do now :confused: Please help.
[Galaxy S II Original Android Development] recklesslife:
Rooted mine without problem but...

Quad is now saying 2732 or around that area when it was 3400+ before the root.

Any ideas?
[Galaxy S II Original Android Development] :
Whys it lower now rooted than unrooted?
[Galaxy S II Original Android Development] rheedan:
I've been scouring the net, and haven't been able to find any useful info to solve my problem. Can someone please tell me how I can reinstall the original kernel (using Odin?), so that I can boot my phone up again.
[Galaxy S II Original Android Development] kickassdave:
Can I just say following your guide this worked first time....

steps:

installed Kies 2.0 (off net - latest version)

set phone to USB debugging.

downloaded Odin/kernel/superoneclick

shut down phone

started in USB mode

started Odin and waited till phone was recognised (COM 3 or whatever shows up)

set kernel to PDA and only checked advised options...

rebooted phone after flash

opened superoneclick - waited till phone was recognised in Windows again and then clicked root... worked INSTANTLY. :D
[Galaxy S II Original Android Development] TheMathMan:
Download the firmware from sam firmware and flash it in odin.
[Galaxy S II Original Android Development] TheMathMan:
Just want to flash the kernel then extract the zImage from the tar.
[Galaxy S II Original Android Development] NZtechfreak:
Question for those who have Rooted - is it possible to restore apps and data (not system settings or anything like that) from my previous handset (SGSI) to the SGSII?

I see that Titanium Backup defaults to store data to the internal SD of the SGSI, I have copied it to the external card, and was going to move it to the SGSII's internal storage and restore from there.

Good idea, or good way to turn my shiny new phone into the ideal thing to slip under a table leg to stop it from wobbling?

EDIT: Nevermind, checked the Wiki, says its all good.
[Galaxy S II Original Android Development] D79_:
Im gettin my sgs2 next month on my upgrade so im glad to here support for it already, i have my sgs modded to the max and its a super phone, so cnt wait to mod the sgs2 soon as i get it, gona be amazin

http://www.youtube.com/OoDVOCALISToO
[Galaxy S II Original Android Development] ndnesh:
Thank you Chainfire for the root! will try it once i get my hands on this phone!!! the wait seems to be killing me day by day :(
[Galaxy S II Original Android Development] extrememonkey:
I have downloaded the latest version of Kies 2.0 updated the drivers, rebooted my pc - but when I plug my SGSII in, MTL comes on device screen and Kies just keeps on trying to connect!!!!

Am I going to have any luck in rooting if my device cant even connect to my pc using Kies???

PC running windows Vista Home Premium 32bit if that makes a difference....
[Galaxy S II Original Android Development] Chainfire:
Just start Odin and see if it can see the device if you plug it in. KIES is notorious for never working (it doesn't even start on my PC, fatal error). Important thing is it installed the drivers. It may still work.
[Galaxy S II Original Android Development] risq:
I take it the triangle on boot is because it's an insecure kernel?
[Galaxy S II Original Android Development] xspyda:
Would appreciate confirmation from anyone on whether this guide applies to the O2 branded phones as it does the sim free ones - anyone rooted one yet?

Also, in the event of warranty claim, how to restore to O2 firmware pre root? Simply a mater of flashing with odin?

Thanks
[Galaxy S II Original Android Development] risq:
mine is O2 branded. Flashed fine.
[Galaxy S II Original Android Development] xspyda:
Thanks risq!

Just need to know about restoring to out of the box condition on O2 now then (in case it's necessary) ...
[Galaxy S II Original Android Development] risq:
Just flash a stock kernel back on mate from the ROMs on here.

The only thing that I noticed (That makes it obvious something has been done)

Is the ! on the Samsung Splash screen - Does everyone have this because the kernel is insecure? The phone works fine, just that ! is a bit unsightly.
[Galaxy S II Original Android Development] xspyda:
Errm, yeah that would be a bit of a give away if it had to go in for warranty purposes!

Surely there's a way round that. Or are you referring to the kernel in the guide meaning that a stock kernel would not suffer this 'problem'?
[Galaxy S II Original Android Development] jamesking420:
Hiya, two things for the newbies guide!

Other guides mention taking out Micro SD card and SIM card before using ODIN. Is this necessary here?

Also, it might be worth mentioning that when you reboot in to download mode there is a question which says do you want to continue.

Volume Up for continue

Volume down for cancel (I think they were in this order...).

You must click Continue before ODIN will see the phone.

Otherwise, everything appears to have worked fine for me.

Thanks!

James
[Galaxy S II Original Android Development] jamesking420:
Just worked for me on an O2 branded (but unlocked when received) Galaxy S2.
[Galaxy S II Original Android Development] extrememonkey:
Hopefully can help me hither....

All going good until I clicked root in Superoneclick (v1.91.0).....

halfway through it pops up: automatic version checker failed. are you running 2.0 or higher...

I click yes and it continues....

see below for details of soc log:

SuperOneClick v1.9.1.0

Checking drivers...

Killing ADB Server...

OK

Starting ADB Server...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

OK

Waiting for device...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

OK

Getting OS Version...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

OK

Pushing psneuter...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

OK

chmod psneuter...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

OK

Running psneuter...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

FAILED
[Galaxy S II Original Android Development] jamesking420:
Does it mean the Super One Click version? v1.91
[Galaxy S II Original Android Development] DontJoinTheDarkSide:
No its asking if you are running android 2.0 or higher. Make sure you have usb debugging enabled in your settings.

+10char
[Galaxy S II Original Android Development] manks:
Worked beautifully for me on O2 branded hand set. Just restoring my apps on titanium backup now!!! beautiful.
[Galaxy S II Original Android Development] conmeo:
Running a SU test...

Success!

Don't forget to reboot!

first time android. first root on the first day. and on the first use.

wow. many thanks

root from o2 s2. £399. damn its cheap
[Galaxy S II Original Android Development] samjpullen:
Any news on a way to do this via a Mac yet ? :)
[Galaxy S II Original Android Development] cliffahn:
try using parallels or bootcamp i guess.. id think that'd be the best choice
[Galaxy S II Original Android Development] Matchstick:
Has anyone tried applying root then reapplying the original firmware ?

If so can they confirm whether the ! on the Samsung Splash screen disappears after reapplying the original firmware ?

Not sure I want to root yet if it means it's going to cause problems if I need to return the handset.
[Galaxy S II Original Android Development] cliffahn:
http://xdaforums.com/showpost.php?p=13457794&postcount=118

Apparently it does?
[Galaxy S II Original Android Development] Crucio_:
oooh i got linked too :P

yeah it did for me, i rooted first then had a play, then downloaded a firmware and flashed that in. it got rid of the root and thus got rid of the yellow ! on the boot screen.
[Galaxy S II Original Android Development] Matchstick:
Whoops I must have missed your post before I asked the question.

But thanks for the confirmation I can go have a play now :)
[Galaxy S II Original Android Development] subvertbeats:
Thanks Chainfire, worked great...
[Galaxy S II Original Android Development] JJEgan:
Question did it wipe the O2 boot screen ??

jje
[Galaxy S II Original Android Development] pulser_g2:
Not got an SGS II, but I believe this will not change it. AFAIK you need to flash a new ROM via ODIN that is unbranded.
[Galaxy S II Original Android Development] sleeco:
Hi, i followed this guide to root my S2, all went well, except for when i reboot on the splash screen is a yellow exclamation !, the phone is rooted, would a factory reset cure this.
[Galaxy S II Original Android Development] djsaad1:
Is oden going to always be needed to root or put on roms? Is this what it's typically like with samsung phones?

Just curious because I am just used to the nexus with ADB and either amnon or clockworkmod
[Galaxy S II Original Android Development] bigmo7:
Until CWM is available for the SGSII you'll have to use Odin.
[Galaxy S II Original Android Development] andypull15:
ive rooted my galaxy s 2 then what i did was get the app set cpu and change it to performance you can boost it to full 1.2 ghz then do a quadrant bechmark i scored 3662 is this what others are getting i think people are getting 1.5ghz kernals now think of the quadrant score must be 4000 lol
[Galaxy S II Original Android Development] drspikes:
Insecure boot

I want to get root with this method but just wanted to know the implications in terms of device security.

If I have this kernel, is it easier for malicious apps to silently root and then fill my phone with mal-ware?

Anyway I can have root without making it easy for attacks?

Many thanks
[Galaxy S II Original Android Development] vimto25:
Would gingerbreak be updated to root the sgs2 at some point?
[Galaxy S II Original Android Development] UD`:
Kies wont even run for me. Tries 2 versions..both give different errors.

Kies_2.0.0.11044_11_3 gives me "Some files are corrupted, if problem persists reinstall the app"

Samsung Kies 2.0.0.11032_12 gives unknown error
[Galaxy S II Original Android Development] bigmo7:
You know it might help if you include more data in this post. Like OS, whether you already had KIES installed before this, where you downloaded it from etc.
[Galaxy S II Original Android Development] UD`:
Im running Windows 7 SP1 64-Bit

Never had Kies installed before.

Downloaded the latest one from samsungs site and the older one from softpedia.
[Galaxy S II Original Android Development] Chainfire:
This is the warning screen to show you are running a kernel that is not produced by Samsung. A factory reset does not cure this, but flashing an original Samsung kernel will.

It depends. It is likely that soon we will have kernels with integrated CWM. Once that happens, you can flash ROMs and kernels and whatnot using CWM. If your current ROM does not include such a thing, Odin needs to be used. So it's quite likely in a month or two you can flash most if not all new kernels and firmwares through CWM (or similar). Excepting of course leaked Samsung firmwares, these go through Odin pretty much always.

If you use this kernel, but do not use SuperOneClick or whatnot, nothing can have root except your ADB shell. If you install Superuser, every program you tell the device can have root, will have root, and thus can do what it wants.

KIES doesn't actually need to be able to RUN for the rooting to work. KIES doesn't work on any of my computers either. You just need to INSTALL it, the installer will also install the drivers you need.
[Galaxy S II Original Android Development] UD`:
Yeah..Kies wasnt installing the drivers either for some reason. So I looked inside and found SAMSUNG_USB_Driver_for_Mobile_Phones.exe :) Problam solved. Phone is rooted :cool:
[Galaxy S II Original Android Development] XenonAndroid:
Rooted.!

Sorry guys I looked through this thread and unable to find the original Samsung Kernel which is used to flash after the phone has been rooted to remove the Yellow /!\, can anybody point me the right direction I'd be so grateful.!

Xenon,

Done.!

Found it in the pack lol :|
[Galaxy S II Original Android Development] Matchstick:
I'm looking for the same thing but I'm not sure whick pack you mean ?
[Galaxy S II Original Android Development] Techno79:
Thanks Chainfire for this. I'm not an expert but looking to root my SGS2. I prefer the idea of me explicitly giving permission to each application that wants root so I want to go down the Superuser.

I'm guessing it's not a case of installing Superuser from the Market?

Where do I get Superuser.apk from?

How do I manually push Superuser.apk to the SGS2?

Where should Superuser.apk be copied too?

TIA
[Galaxy S II Original Android Development] jamesking420:
If you follow the "newbies" guide on post one, this will all happen for you as you want. Just follow the guide properly and it will work fine.

(essentially, it's included and installed in superoneclick).
[Galaxy S II Original Android Development] nickbarbs:
I'm hesitating messing with the Kernel on this while it works perfectly for now (i'm on KDA). NOt sure the implications of flashing a KDD kernel over KDA Rom.

Hopefully we will have a method that uses an exploit in the secure kernel to root instead of having to flash a new kernel over this one.

I will wait it out.
[Galaxy S II Original Android Development] jamesking420:
People have flashed the insecure KDD kernel over the secure KDA, and had no problems.

You can then flash back a secure kernel if you require, and will keep root. Not sure I know of where the KDA kernel file is though.
[Galaxy S II Original Android Development] nickbarbs:
thats whats bugging me - not sure i want to reflash a secure KDD Kernel over KDA rom.. does it matter? I dont know. Pople here were reporting poor battery life etc after doing this - enough to scare me away, i dont need root THAT bad right now, i only would like to get rid of Buddies Now, because even though i havent configured that program seems to be takign 22% of my battery (wtf)