yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Eukanaba:
Use the KF1
[Galaxy S II Original Android Development] neymo:
Hi Guy,

Thank you for this, I a newbie in Samsung dev, as I come from Mytouch 3g.

Could you please explain me what 's the difference between all of these version, and which one should I use for my phone in order to install custom ROM's ?

My phone is a SG 2 brand new and with stock rom : kernel version : 2.6.35.7-I9100BUKE5-CL227058 root@DELL101 #2

baseband : I9100BUKE1

Thanks for you help ..
[Galaxy S II Original Android Development] mbroeders:
LuffyPSP, great to see more and more previous Desire owners here! Welcome!

Rooting is very different from what we're used to with for instance the HTC Desire. I would recommend reading some of the stickies first. Anyway, you should go for the KF1 kernel which you can find in the 3rd post and then flash it with Odin which you can find in the 1th post.

First install Kies software on your pc (to get the right drivers, make sure the program itself is not running when you use Odin).

Second, open Odin. Then boot the phone into download mode (press volume down+homekey+power). Connect your phone to your PC and wait till Odin recognizes your phone. Then unzip the kernel file you've downloaded and place the rar file where Odin says 'PDA'. Make sure 'repartition' isn't checked! And then flash. That's all, your phone is now rooted without data loss.

I wrote this down from what i can remember, do some research first. There are several topics where it is explained how to flash kernels!

-EDIT: wow, sorry, missed Eukanaba's reply
[Galaxy S II Original Android Development] Stonos:
Everything you need to know is explained near the end of the first post ("Help! Which file do I use ?") :)
[Galaxy S II Original Android Development] CamoGeko:
KG1 is latest FW which is Android 2.3.4. I always use ODIN to flash ROM's and never use KIES (I don't even have it installed lol).

So in that light KG1 is the latest Chainfire kernel which should be flashed in the same way.

If I was you I would ditch KIES alltogether.
[Galaxy S II Original Android Development] hkwildboy:
KIES is not totally bad. At the very least, it's the ONLY software that can sync Outlook Contacts directly with the phone (even with categories/groups intact) without going OTA through gmai.
[Galaxy S II Original Android Development] mbroeders:
I don't want to go offtopic too much, but isn't Kies software necessary for the right drivers? As i understand, you need to have Kies installed for Odin to work. But i guess this is false information then? :confused:
[Galaxy S II Original Android Development] hkwildboy:
You can install drivers on its own.
[Galaxy S II Original Android Development] CamoGeko:
I didin't require any KIES installation for the drivers. My trusty WinXP did that for me in about 30 seconds after I connected my SGS2.

Also I'm pretty positive there should be a separate package out there with just the USB drivers.
[Galaxy S II Original Android Development] zmirburger:
this is true..

and kies is the only app that wont crash if ur syncing wirelessly to outlook and u have more than 1.5k contacts
[Galaxy S II Original Android Development] ghalik:
HELP !!

What should I do If I have : Version Kernel 2.6.35.7-I9100XWKDD-CL161513root@DELL103

Can i Still Flash Your Rom ? ;;; Instructions Please ..

thank you
[Galaxy S II Original Android Development] CamoGeko:
Please read the thread, or at least have the patience to search before posting "HAAAAALP" messages. It's not difficult.

Answer to your question was already posted few pages back:

http://xdaforums.com/showpost.php?p=15730254&postcount=1285

PS. This isn't a ROM, it's a Kernel.
[Galaxy S II Original Android Development] Chainfire:
XWKG1, ZSKG2 and JPKG2 coming up.

Also, rumor has it the CWM has been updated to better support devices like the SGS2 out-of-the-box (not sure about SGS1 and SGT), I may be looking at implementing that in the near future. It may take a while though, I'm pretty much booked 'til mid September :D
[Galaxy S II Original Android Development] Chainfire:
XWKG1, ZSKG2 and JPKG2 posted, untested, let me know.
[Galaxy S II Original Android Development] mach0boi:
Chainfire i know you're too busy for this but can you look at the yellow tinting issue sgs ii has? It seems that it is only solve by flashing stock kg1 kernel/cf-root kg1 kernel. But flashing a different kernel makes it comeback. Im also aware that not everyone can see it and not all unit are affected by it but majority of the users have this problem. There's a thread in the gen section discussing this with images as a reference point. I know im getting annoying raising this issue but it seems that no one cares and no one will notice this if i dont make a move.
[Galaxy S II Original Android Development] Chainfire:
It's something with the stock kernel, it's not something I personally fixed. You can probably expect future 2.3.4 kernels have the fix as well.

Nevertheless, please give me the link to said thread. I had the yellow tint (full screen), I don't notice it that much now, but wouldn't go so far as to say it is gone (yet).
[Galaxy S II Original Android Development] mach0boi:
This is the link http://xdaforums.com/showthread.php?t=1079444. I know the thread is long but if you have time maybe try to look at it. I really dont know as to who/where will i report this issue and findings that i got. But really, kg1 kernel seems to get rid of the issue. Thank you for your time :)
[Galaxy S II Original Android Development] LuffyPSP:
Done, rooted! got the SU and CWM. yay!

btw how do i update to latest stock rom after this? still kinda confused with this KF1, KF2, XDD, and stuff, but i'm getting the hang of it.
[Galaxy S II Original Android Development] Bart1981:
Thank you for the XWKG1 root
[Galaxy S II Original Android Development] kryptoner:
Just look for a cf-root kernel equivalent to stock kernel... then place that in internal memory of your phone, open CWM app, select flash kernel and flash the file from there and you'll have latest kernel installed with root and CWM...
[Galaxy S II Original Android Development] manu_katz:
Hi there, it seems that OXAKG2 is for that night. Can't wait !

Will you build a special CF-Root soon, Chainfire ?
[Galaxy S II Original Android Development] Chainfire:
Shees there's an OXAKG2 now too? Linky linky!
[Galaxy S II Original Android Development] manu_katz:
Yes, it seems that this version come from POLAND (OXA) for Europe users. Perhaps is it a new and debugged version of the KG1 firmware ?

Link will be enabled soon. Look at the info : http://xdaforums.com/showthread.php?t=1174161&page=11
[Galaxy S II Original Android Development] kryptoner:
i flashed cf-root KG1...no problem...then i flashed stock kernel using odin rebooted...but when i try to flash zImage from CWM, nothing happens...anyone has any idea what am I doing wrong? i flashed zImage using flash kernel option in CWM app... I've been using cf root for almost a month now but for the first time i decided to get rid of that triangle...help much appreciated
[Galaxy S II Original Android Development] mach0boi:
I remember chainfire said sometimes it doesnt work so you just have to reboot and try it again :) owe me some more :p
[Galaxy S II Original Android Development] kryptoner:
i think i have use all my 5 thanks for you tomorrow...btw, tried 3 times, failed 3 times!

and one more que, is there any upper limit on custom binary count in download mode? mine is 14 and I dont have a jig yet
[Galaxy S II Original Android Development] mach0boi:
I think there is none. Dont sweat with it because mine is 36 now :D

I dont know what's the problem but when i tried that back then it flashes fine. Someone reported the same and that's what chainfire adviced him. Its just a few pages back i think. Maybe i did missed something there. Check it out :)
[Galaxy S II Original Android Development] MCOGW:
No, OXA (aka IFG2.5G) has not very much to do with Poland ;)

Poland's ProductCode for unbranded devices is XEO.

OXA is just an unbranded ProductCode for the EU Area which normally doesn't

(or let's say: shouldn't!) rewrite the devices original ProductCode.

It's (mainly) used for testing purposes and sometimes for carriers too who didn't finish their custom CSCs just in time ;)

Yes it's *new*, but I'd rather call it "more improved" than "debugged" ;)
[Galaxy S II Original Android Development] harolds:
XXKG2 - Android 2.3.4 - http://xdaforums.com/showthread.php?t=1174161

Is this the same as OXAKG2?
[Galaxy S II Original Android Development] Boezelman:
Good info! thanks!
[Galaxy S II Original Android Development] manu_katz:
Here it is !! Link : http://www.multiupload.com/G1GBNSDYJA

But, it's sloooooow to download it ! :D
[Galaxy S II Original Android Development] amacrobie:
Thanks for all the hard work dude, sent you a beer :D
[Galaxy S II Original Android Development] da blitz:
ZS_OZS_KG2: Untested

JP_XSG_KG2: Untested

Which of these 2 kernel is the right one for last xxkg2? thanks
[Galaxy S II Original Android Development] CamoGeko:
As far as I know there is no limits on the binary count. I've had mine up to over 20 and no issues at all.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] nightranger73:
None of them... wait for ChainFire to release it. They are for 2.3.3 while xxkg2 is 2.3.4. Better use the xxkg1 firmware ATM or any other 2.3.4 kernel

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button
[Galaxy S II Original Android Development] rab1412000:
im from the philippines and my kernel is xwkf1.

i dont know exactly what cf-kernel file i can use to root my phone.

can anyone tell me.

tia
[Galaxy S II Original Android Development] mach0boi:
LOL. Just match it to your kernel. Kf1 = cfroot kf1 :)
[Galaxy S II Original Android Development] rab1412000:
but there are many types of kf1 kernels which seem to be country specific. i cant seem to find one thats specific to PHL.
[Galaxy S II Original Android Development] mach0boi:
As you can see on the first post, there is only ONE cf-root KF1 kernel. Just dont bother with the rest :)
[Galaxy S II Original Android Development] rab1412000:
thanks. reading thru the thread though, i see many posts requesting for country specific kernels hence the question.

one last thing, where can i get a stock unrooted kernel just in case i want to revert for warranty claims.
[Galaxy S II Original Android Development] mach0boi:
Just flash a stock firmware again on Odin. Stock kernel will be included there :) are you a member of tcp forum? :)
[Galaxy S II Original Android Development] CLShortFuse:
Hey Chainfire, do you mind if I host and use your kernels for SuperOneClick?

Basically I'd host the files on my server and SuperOneClick will flash it automatically with Odin.
[Galaxy S II Original Android Development] rab1412000:
i am a member of tpc but not tcp.
[Galaxy S II Original Android Development] akira888:
Hi guys,

I have raised my problem of booting into CWM recovery mode in the sticky post where instructions of getting into various recovery/download modes are shown.

I reckon it is more appropriate that I seek my help here 

I think I have successfully rooted my phone with CF-Root-SGS2_ZS_OZS_KF4-v4.0-CWM4. Because I can use all those goodies that require root access such as setCPU, Titanium Backup, etc.

However, I do have a problem of booting into CWM recovery mode via the button combination of VOL UP+HOME+POWER when the phone is off. Whenever I follow the button combination, I would go to the Android stock recovery mode. Even though I use the “boot into CWM recovery mode” in the CWM manager app when the phone is on, it still goes into stock recovery mode.

When I was in the stock recovery mode, I saw the followings:

---Appling Multi-CSC...

Installing Multi-CSC

Can't access to ' /system/scs/VAU/system/'.

Successfully applied multi-CSC

And in the CWM Manager app, the current kernel is “Unknown”.

Have my phone got properly rooted?

Much appreciated for your guys’ help.

Cheers
[Galaxy S II Original Android Development] jerome.d:
OK, time for a stupid question. I tried to decipher the arcanes of rooting, and from some threads I understand (but I might be wrong) that one can easily get root for any firmware/kernel version by doing the following:

Flash your firmware+kernel version (say OXAKG2 ;) ).

Flash one of CF-root kernel, anykind (but let's say the closer: KG1). This gives you root and CWM.

Take the kernel (zImage) from your wanted version (OXAKG2), and flash it back using CWM.

If I am not mistaken, after this last flash, root and CWM remain but the kernel is the last one (corresponding to OXAKG2).

Is it right?

If yes, this mean we could gain root (without having to use superoneclick, etc.) by using only one rooted kernel. If so, what is the need for all the different CF-root kernels (one would be enough, or let's say one per android version: 2.3.3. and 2.3.4)? I assume that if Chainfire makes all these kernels, there must be some reason!

PS: mmmh, maybe I mixed up "keeping CWM after a kernel flash" and "keeping root after a kernel flash"...

PPS: mmmmh bis, maybe not: at the end of the root guide of Intratech, he says to flash back the stock kernel and that the phone stays rooted afterwards. A little bit like I describe above...
[Galaxy S II Original Android Development] anupam_luv:
After step 7 ,,, after flashing stock kernel... cwm shows current kernel as "unknown" and it doesnt flash any other kernel ... and I hv 2 install cf-root via odin to make cwm working again.

Now how can we go past step 7 if cwm wont detect kernel and doesnt flash cf root zimage file ..... cant use adb root either as it shows no permission...
[Galaxy S II Original Android Development] LuffyPSP:
i use ODIN to update to KG1, 2.3.4(yes i use exactly that one), over KF1. the kernel version changed but the android version stays at 2.3.3. why is it?
[Galaxy S II Original Android Development] clement812:
Help! Which file do I use ?

Help! Which file do I use ?

Kernel Version: I9100MUGKF6-CL282238
[Galaxy S II Original Android Development] LuffyPSP:
btw how do you guys choose the file eh if there is two same one? like there is 2 KG2. which one you choose?
[Galaxy S II Original Android Development] EarlZ:
Requesting root for the XXKG2 that recently came out, thanks!
[Galaxy S II Original Android Development] ask77:
Yes 2.3.4 KG2 root required
[Galaxy S II Original Android Development] redzion:
Also me, thank you in ahead for root file...

I9100XXKG2 ##	EXT4.PIT	2.3.4	2011 July 12	MULTI - CSC - OXAKG2
[Galaxy S II Original Android Development] Vulpix:
+1 request for XXKG2 rooted kernel!
[Galaxy S II Original Android Development] juliano76:
Please let us have XXKG2 root. Thank you in advance!
[Galaxy S II Original Android Development] Sirklip:
Just flashed File CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip

Running on VillianRom2

and all seems to good

Thanks for the hardwork Chainfire

PS you have me intrigued with your tweet earlier, about Samsung, I keep checking for more info.
[Galaxy S II Original Android Development] hotsync100:
I had the same question until I figured out that after flash the original kernel it lost CWM
[Galaxy S II Original Android Development] dsmaori:
My new S2 is due any day now (hooray!!). Initially all I want to do is root it and upgrade to the latest update via kies. Does it make a difference if I root first then update to the latest version via Kies after or do I need to update then root?
[Galaxy S II Original Android Development] deepsleo:
For all I know, rooting has nothing to do with update (official/unofficial), so go ahead, do whichever you like. :D
[Galaxy S II Original Android Development] kryptoner:
You will lose root once you update your firmware via Kies
[Galaxy S II Original Android Development] Serav:
If you update to a stock firmware (such as by kies) root will be lost. So if your going to update anyway update first then root.
[Galaxy S II Original Android Development] EarlZ:
Still waiting for the XXKG2 root :D
[Galaxy S II Original Android Development] Schrotty35:
Whene comes XXKG2 root?
[Galaxy S II Original Android Development] EarlZ:
When CF is back online, I also hope he can check what sammy changed to fix the yellow tint, I believe the source codes are already up ?
[Galaxy S II Original Android Development] Perceval from Hyrule:
Took me 10 minutes to understand "Download mode" lol !

Thanks a lot for your work, and welcome everybody ! I'm coming from XPERIA X10 forum, hope I'll do some stuff on the SII :)
[Galaxy S II Original Android Development] dully79:
Donation sent, cheers m8.:)

3BX29036NT845912Y
[Galaxy S II Original Android Development] radiobicho:
?

Where is ChainFire???.....
[Galaxy S II Original Android Development] nightranger73:
At work? With a girl? Taking a bath to the sea? Making avtrip to the moon?

When it will be ready he'll upload it, don't worry... you really don't need it so desperately__ you could always use kg1 alsince it's 2.3.4 too

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button
[Galaxy S II Original Android Development] bsglan:
same here except VAU it is AUT.

(XXKG2 2.3.4; CF Root KG1 2.3.4) and it was same on XXKF2.

i am going to try repart next time and flash a XEU csc.
[Galaxy S II Original Android Development] radiobicho:
But i dont want the C-F XXKG1... I want the new C-F XXKG2!!!!! HEEEEEEEEELLLLLLPPPP!!!!!!!!!!!!!!!!!!!!!!!!!
[Galaxy S II Original Android Development] poofish:
a little patience can't hurt :)

i'm pretty sure the last thing any developer wants is people expecting them to be on call 24/7 and taking them for granted.

you should be thankful chainfire is already quite efficient and churns out the relevant kernels soon after their initial release.
[Galaxy S II Original Android Development] 5hamz:
Hi guys, just swapped my HTC Desire HD for a SGS2. :-)

I checked the kernel version & It's running an old firmware: XWKDD.

Can someone please advise me as to which kernel should I Download to root this badboy?

thanks!
[Galaxy S II Original Android Development] dazza_84:
Hi sorry to butt in but was a bit confused with op, ive only just got my sgs2 a few days ago and am used to using a desire hd.

In op it says this root and custom cwm is not compatible with rom manager from market?

So i was wondering how u can download new roms through rom manager? Thats if there is any even on there as i wouldnt know cos this cwm is not compatible?

Apologises if its been asked before but its nearly midnight and im not prepared to stay up reading 137 pages lol

Thanks in advance
[Galaxy S II Original Android Development] maxvanni:
I still believe in you chain aka god.
[Galaxy S II Original Android Development] CamoGeko:
KG1 CF-Root should work fine for you.
[Galaxy S II Original Android Development] mach0boi:
Rom manager isnt compatible. CF-root has its own custom cwm without the list of the ROMs like the one in ROM manager. You simply download the custom ROMs here and flash it via CWM or odin depending on their file extension :)
[Galaxy S II Original Android Development] Chainfire:
XX_OXA_KG2 posted, untested. I'm off 'til Monday, btw (I'll be on XDA, but no devving, away from PC)
[Galaxy S II Original Android Development] Omnomnom25:
Thanks mate. Enjoying your time off.
[Galaxy S II Original Android Development] Chainfire:
Work-related, lol ;)
[Galaxy S II Original Android Development] CamoGeko:
Chainfire, you are a living legend mate. If I was wearing a hat I'd take it off as a symbolic gesture.

Thanks for all your work. :D
[Galaxy S II Original Android Development] tygoger:
Thank you for the CF-Root-KG2!!

And good luck with your work!
[Galaxy S II Original Android Development] maxvanni:
chain we love u all
[Galaxy S II Original Android Development] radiobicho:
Thanks Chaifire.. You are the Man!! I will contract you when im a Samy`s Boss. :) One question: i rooted my XXKG2 with cf-root.... Kg1. What should i do now to have cf-root...kg2? Use ODIN to flash .tar, than the stock kernel, than KG2 zimage through CWM? Anyone can help me? Thanks in advance.
[Galaxy S II Original Android Development] Davids777:
Work fine, thanks Chainfire, your are the best :D
[Galaxy S II Original Android Development] ferreinf:
Just use the CWM app to flash zImage file inside the *.tar....

If u use ODIN, old Yellow comes back.... ;)
[Galaxy S II Original Android Development] esk02k:
Thanks Chainfire, everything working perfect. Donation sent.

conf : 3N6270512M7918936

My experience incase anyone had the same setup and has any doubts :

Was on KE2 rooted this morning, updated to KE7 with kies then flashed

this with odin and everthing worked perfect first time. Tested clockwork

recovery via CWM app and that worked perfect too. Amazing!
[Galaxy S II Original Android Development] jonny_ftm:
Many many thanks for this one

But, will you continue updating the insecure kernels? You stopped at KE2. I'm sure many people still like staying the closest to stock and having only root/busybox
[Galaxy S II Original Android Development] pulser_g2:
From post 3,
[Galaxy S II Original Android Development] manuvaidya:
@pulser_g2 & Intratech: sorry guys... its just this bad boy we have in our hand driving me crazy.... its not my fault....

listen, i am no developer, if u have a device & u dont do anything except to wait for someone do get the stuff done for u, what will u do buddy ? if i am also developing, i know how difficult it is to bring new things & all, but i am not into development... hence u had to face with such difficulties...

from now on i promise, i will never ever ask u anything. happy ??? especially, Intratech. i hope it clears off the dust...
[Galaxy S II Original Android Development] peadarog:
Thanks a lot. Have a beer.
[Galaxy S II Original Android Development] Andrmgic:
Many thanks to you.

now I can finally play with other roms without losing my status quo.
[Galaxy S II Original Android Development] MCOGW:
First of all: Thanks for the KE7 Version!

But unfortunately I get the same issues with this Kernel with DroidWall (v1.5.1) like it had been on SGS :(

I don't know exactly what causes this.

In my view, there seems to exist a correlation with the size of the kernel.

But that could also be a coincidence.
[Galaxy S II Original Android Development] Fauert:
Big Thank`s

Big Thank`s

The beer`s will come from me soon. :D
[Galaxy S II Original Android Development] pigglett:
transaction id V02946Y7186480E

:)
[Galaxy S II Original Android Development] avss:
I found two things that go wrong wich i can repeat.

-After flashing in Odin the device doesnt reboot but just go off :)

No big deal, but if it is intended that the device must reboot then it doent do that correctly.

- I cant connect to a Wifi source. Tried it on 2 separate accespoints and the connection on the phone keeps waiting on an ip adres from the accespoint.

I flashed voodoo back and no problem connecting to wifi. Flash cf-root back and again problem connecting...it looks the device doesnt get an ipadres.

Those are the only two things that are going wrong.

I didnt come across any other problems so far and the kernel is working fine.

...hope you can look at that wifi-thing tho :)
[Galaxy S II Original Android Development] Chainfire:
Can you flash back the stock kernel and see if the wifi problem stays or goes away ?

EDIT: This is a common issue with CF-Root's across various devices. Most never see this issue (including myself) but some do. The only common denominator seems to be that those who have the problem have run kernels compiled from source in the past. On SGS1, one of the kernel devs told me it happens consistently after having used one of his kernels.
[Galaxy S II Original Android Development] elban:
I had a kernel compiled from source and now cfroot and it works fine.

I guess there might be a problem related to kernel modules.

I'd check if the modules are the same as the ones of a working phone.

Maybe they haven't been correctly overwritten.