yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] mariotme:
Can you try doing this: flash cf kernel and boot phone and start cwm app and give it su permissions when asked. Then flash stock kernel and push cf kernel's zimage into your sd card and try flashing kernel using cwm app thats how ive been doing it for a while hope you sort it out soon ;)
[Galaxy S II Original Android Development] tygoger:
Think thats what he has been doing all the time.
[Galaxy S II Original Android Development] Dav_Edward:
Just to double check. Your suggesting I flash CF-Root using Odin, but flash the original kernel using CWM instead of Odin, then again use CWM to flash the zImage of CF-Root?

I ask as in Chainfire's post he said: "(6) Fire up ODIN, and flash the Samsung kernel"
[Galaxy S II Original Android Development] mariotme:
No just do what chainfire said but after flashing cf root with odin fully boot up the phone and start the cwm app and give it superuser permission. Then flash stock kernel using odin and boot device then flash cf zimage using cwm app
[Galaxy S II Original Android Development] tygoger:
When you don't flash the stock with odin. You will not lose the triangle. Thats why after flashing stock kernel, Chainfire made it so, that you can flash within the phone without getting the triangle.
[Galaxy S II Original Android Development] Dav_Edward:
I figured as such... I'm just trying to see if there's something obscure that people did different to what I did to get it to work.

I'm still trying to see if I somehow did something incorrectly, or if the kernel for my phone is just so different that CWM manager just can't flash a zImage from kernel incompatibility but other kernels did work.

I'm tempted to Livestream my steps or Youtube them at this point. However I only have a very crappy ..2?.. 3? megapixel webcam to record with.
[Galaxy S II Original Android Development] sopheaknhek:
How about my kernel version : 2.6.35.7-I9100XWKDD-CL161516 root@DELL103 #2
[Galaxy S II Original Android Development] tygoger:
You can use CF-Root-SGS2_XW_XEU_KE2-v4.0-CWM4.zip to root
[Galaxy S II Original Android Development] richyy74:
The messages you see in 3e recovery is installation of csc files. Csc is in an update package on cache partition. Chainfire wrote if cwm detects a samsung package it will switch to 3e recovery. So my suggestion:

Wipe cache partition.

Reboot with stock kernel to make sure csc install does not show up.

Flash cfroot kernel via odin. Let phone boot up. Start cwm app and allow root.

Shut down and flash stock kernel back. Boot up, install busybox to /system/xbin and try to flash the kernel via cwm's flash kernel option.

When I flash kernel with cwm there is no booting into recovery. Cwm flashes kernel and reboots with the new one.

Hope it helps.
[Galaxy S II Original Android Development] Dav_Edward:
geko95gek, tygoger, others, or even chainfire if you're watching,

Would you like me to try making a video up to livestream or youtube to show what I'm doing to figure out what's going on? I don't have a very good webcam but at least I cans how exactly what I'm doing either live or pre-recorded.
[Galaxy S II Original Android Development] remzicavdar:
Thank you for you info!!!!!!!!:D:D;);)
[Galaxy S II Original Android Development] CamoGeko:
It is up to you mate, honestly I do not understand why you are having such issues.

And anyway its only a triangle that you see for about 7 seconds, does it really bother you that much?
[Galaxy S II Original Android Development] tygoger:
I am with geko95gek on this one. Maybe just leave it be and let it go. The important thing is (in my opinion) that root works.
[Galaxy S II Original Android Development] Dav_Edward:
Thanks for the suggestion. Until I'm home I can't flash to try out your suggestion in full but I will first chance I get.

I did try wiping the cache from the recovery screen and trying CWM manager to flash the zImage, but still got the same result.

Hopefully wiping cache, flashing CF-Root, Flashing Stock, then trying zImage again will work.
[Galaxy S II Original Android Development] Dav_Edward:
Mostly, my concern about it is I plan to take my phone to my carrier to get my SIM card for the first time. I don't know their policies but they might refuse to set up a SIM on an obviously modified phone. Not sure though.

Is there any other negative to not fooling the phone into getting rid of that flag of it knowing it's a custom rom and not a signed one?

Edit: Sorry for the double posts. I keep getting replies faster than I can finish typing a post.
[Galaxy S II Original Android Development] tygoger:
When you need to go back to the store and don't want the triangle. Just flash the stock before you go there, when you come back flash back to CF-Root. Maybe thats a suggestion.

And I am not aware of "other negative" thing. It is just to get rid of the triangle.
[Galaxy S II Original Android Development] noncents:
Hi guys, need some clarification.

I have just flashed to KH3 using CMW. I was on 2.3.4 and KG6.

Noticed that the Baseband Version still reads I9100XXKG6 even though Kernel Version reads XXKH3.

Did I miss a step is Baseband suppose to be different?
[Galaxy S II Original Android Development] CamoGeko:
Yeah, I agree.

Plus its only your network, its not like you're giving your phone back to Samsung for warranty repairs.
[Galaxy S II Original Android Development] Dav_Edward:
Can't.. I need root to use an unlocker to make sure my phone is set to the unlocked bit.
[Galaxy S II Original Android Development] CamoGeko:
Kernel is nothing to do with Baseband, thats your Modem.
[Galaxy S II Original Android Development] noncents:
KK thanks :D
[Galaxy S II Original Android Development] tygoger:
Have you bought it from a provider? Then it should be unlocked.

When you bought the phone without provider and you bought a sim only. Then they have nothing to say about the root.
[Galaxy S II Original Android Development] Dav_Edward:
I bought my phone as a phone-only model from Bestbuy as it was not ment to work with my carrier (MTS) as it was made for Virgin.

I plan to go to MTS with it, but they won't just give me the SIM card, they make you pay for activation and they want to take your phone (in store with you) and set it up themselves.

Just want to make sure they won't reject it.
[Galaxy S II Original Android Development] JJEgan:
The facts re root and custom roms are that Samsung refuse to accept such phones under warranty nor pay for original sellers to fix custom or rooted phones .

Fact is that a number trying to return phone or claim under warranty have been refused but also a number have had the phone repaired no trouble at all .

As to a network provider looking to see if a phone has been rooted doubt it probably just stick the sim in check APN settings and hand it back .

If in doubt act dumb ???

jje
[Galaxy S II Original Android Development] CamoGeko:
They wont reject it, they want you as a customer... right?

Plus, the phone is nothing to do with them. Only the sim card deal is.
[Galaxy S II Original Android Development] tygoger:
Exactly, rooted or not. They have no right to reject you. Because it is not "there" phone. It is the sim only.

(for example, It is like getting rejected at a Gas station when you have neon lights under your car)
[Galaxy S II Original Android Development] Dav_Edward:
Okay then.

Well I'll give the suggestion above for clearing the cache a try, failing that, I just won't care then and leave it with CF-Root.

I plan to try out other ROMs like Lightning anyways because it looks awesome.

I am interested if Chainfire is going to make a MUGKG2 kernel. If not I'll stick with either of the two existing KG2 kernels he put up.

I have yet to figure out how I do updates, meaning installing newer Firmware versions.

From what I understood from earlier messages I find the new version of the stock rom, flash it with Odin, then flash the CF-Root version of said firmware.

Only hard part is I don't know how I tell which kernel is which. I can't tell the difference between newer versions that are compatible against versions not compatible at all.
[Galaxy S II Original Android Development] CamoGeko:
Don't think Chainfire is gonna bother with that, its an old kernel now.

You are correct about updates, flash via ODIN then restore root by flashing corresponding CF-Root kernel afterwards.

As a rule, it's better to match kernel number with stock ROM you are using. If its a custom ROM then ask which is best to use.
[Galaxy S II Original Android Development] Dav_Edward:
Thanks! That just leaves the part of, how do I tell what's a never version of stock ROM/Kernel for my phone?
[Galaxy S II Original Android Development] tygoger:
http://xdaforums.com/showthread.php?t=1075278

There is a tread with all the stock roms.
[Galaxy S II Original Android Development] tygoger:
P.s. Just on twitter:

SamFirmwareSam

Upping I9100XXKH3 powered by @ficeto

EDIT:

"I9100XXKH3 ## EXT4.PIT 2.3.4 2011 August 12 MULTI - CSC - OXAKH13"

Download available at samfirmware.com
[Galaxy S II Original Android Development] Eagle07:
Help in Root...

Can someone tell me something, please...

Thanks
[Galaxy S II Original Android Development] CamoGeko:
Try KE7 CF-Root, should work fine for you.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Dav_Edward:
(Seems I lost my post somehow, posting again)

Thanks for the link, but I knew of that page. My problem is how do you tell which are compatible with your phone, and which are newer/older versions?

I can't tell at all which are the ones that work with my phone and what versions they are.
[Galaxy S II Original Android Development] tygoger:
The newest is the last one on that thread. Some of them even have dates.

And if you need to get information about your model phone to be sure. Try this forum and our best friend google.
[Galaxy S II Original Android Development] gspears:
What is CF-Bench Pro?
[Galaxy S II Original Android Development] Dav_Edward:
So.. they are all for the same phone? Such as JPKG5 would be compatible?

I thought I had to look for models that matched KG2 or something for them to work.

So I can actually grab any one of those kernels off the thread there, whatever one is the newest, and flash it without any problems? Or do I have to look out for phone sub-model or such?
[Galaxy S II Original Android Development] gspears:
I bought a jig so I could avoid all these problems. Just power off the phone, plug in the jig, and all's well! So much easier for so little money. Paid less than 5 bucks shipped in the U.S.

For me, time is valuable. This jig has saved me time and aggravation and is therefore worth MUCH more than it's paltry price.
[Galaxy S II Original Android Development] CamoGeko:
Benchmarking/testing app for Android.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] gspears:
Makes sense. Did Chainfire build it?
[Galaxy S II Original Android Development] CamoGeko:
Yep, its his app.
[Galaxy S II Original Android Development] Bill Zimmerly:
I followed the directions but my SGS2 with KE2 doesn't reboot as I was told to expect. (?) In the Odin "Message" window, I see this almost immediately after clicking the "Start" button...

<OSM> All threads completed. (succeed 0 / failed 0)

- Bill
[Galaxy S II Original Android Development] CamoGeko:
Are you sure you are in download mode?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] ThaiM:
Does anyone know what these OZS and XSG are?
[Galaxy S II Original Android Development] CamoGeko:
Kernels from ROMs released in different regions.
[Galaxy S II Original Android Development] ThaiM:
Sorry, meant if they are 2.3.3 or 2.3.4. Thanks.
[Galaxy S II Original Android Development] CamoGeko:
Both of those are 2.3.3, the last one is 2.3.4.
[Galaxy S II Original Android Development] rikz112:
right i have just installed the KH3 CF ROOT kernal i was previously rooted with the stock kernal for kh3.... i now have flashed with cf root kernal to get clockwork mod how do i remove the yellow triangle?>
[Galaxy S II Original Android Development] CamoGeko:
Follow instructions in Post 2.
[Galaxy S II Original Android Development] adotkdotjh:
The reason I'd like a CF-rooted kernel from our Bell Galaxy's stock kernel is because I'd like to keep the kernel as close to stock as possible....

Do you know if stock kernel for Bell's galaxy is available now? It wasn't available when I check a couple of weeks back, meaning we can't go back to our stock kernel after we root using other kernels..
[Galaxy S II Original Android Development] irish-sid:
Hi, I want to get this right, but there are a few KG2 files and I'm confused as to which is the one for me.

My phone-

Android Version - 2.3.3

Baseband Version - I9100BUKG1

Kernel Version - 2.6.35.7-I9100BUKG2-CL342890 root@DELL102 #2

Build Number - GINGERBREAD.BUKG2

Which shall I download?

Thank you.
[Galaxy S II Original Android Development] CamoGeko:
Any of the first 2.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] irish-sid:
Thank you.
[Galaxy S II Original Android Development] ThaiM:
Nope. Not yet. :(
[Galaxy S II Original Android Development] jammer84:
Howdy,

I just bought a Galaxy S2 and I have the exact same as the irish-sid.

So, to do this properly, I need to do the following:

Download "Odin3-v1.85.zip" from the first post on this thread

Then download which CF-Root, you mention either of the first two, although there are seperate threads so which first two? Someone on another forum mentioned "CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4" would be the correct one for my Vodafone phone.

Once I have them downloaded I follow these steps "Instructions - ODIN (long)"

Would the above be correct? I want to unlock the phone and then learn the ins and outs so I can start playing with the phone :-)

Thanks
[Galaxy S II Original Android Development] CamoGeko:
If your current FW is 2.3.3 then you need to use one of the first 2 CF-Root KG2s as I mentioned. If on the other hand its 2.3.4 then you should use the OXA_KG2 one.
[Galaxy S II Original Android Development] jammer84:
Cheers.

So when you say either of the first 2 do you mean one of the following:

File Type: zip	CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip - [Click for QR Code] (5.97 MB, 5574 views)

File Type: zip	CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.zip - [Click for QR Code] (5.97 MB, 4045 views)

**the first two of the KG2 files

Also if I wanted to get it back to the way it was coming from the Vodafone shop today at some point down the line, is that possible?

Sorry I'm a real noob at this stuff so your assistance is greatly appreciated.
[Galaxy S II Original Android Development] CamoGeko:
Yes that's correct, use 1 of those files.

Once you have the kernel installed, it will give you CWM recovery which you can use to backup your current state. All you will need to do is restore the backup and flash the stock kernel afterwards and it will be back to normal. Of course your binary count in Download Mode will show that you have flashed custom stuff.

Please be aware, by rooting your phone you are voiding warranty.

I'm glad to help mate, click Thanks under the post when you can. ;)
[Galaxy S II Original Android Development] jammer84:
Cool, cheers.

Should I be looking to upgrade to 2.3.4 somehow? I can just look for the stock kernal so if I ever wanted to restore it.

I think I'll go for the first one as it has more views.
[Galaxy S II Original Android Development] rainin:
New to Android. Long time Symbian user. New to Rooting.

Here's my SGS2's software info:

Baseband: I9100XXKG1

Kernel: 2.6.35.7-I9100JPKG5

so, I've downloaded the Kernel which corresponds to my KG5.

CF-Root-SGS2_JP_XSG_KG5-v4.1-CWM4 Hope its the correct one.

Had three questions:-

1. Once I've rooted the phone, can I unroot it?

2. Once I've rooted the phone, can I update through Kies or not? Or do I have to first unroot my SGS2 and then update through Kies.

3. When putting my SGS2 in download mode, do I have to press the required keys and then plug my device in my USB port or should I press the power button on my device?
[Galaxy S II Original Android Development] CamoGeko:
I would suggest you update to 2.3.4 yes, here is the thread with all the stock ROMs:

http://xdaforums.com/showthread.php?t=1075278

Latest is KH3 (2.3.4) firmware, I'd advise you to update to it. :)
[Galaxy S II Original Android Development] jammer84:
Cool - I'll do some research on how to update the firmware and then work on the Kernel from there.
[Galaxy S II Original Android Development] CamoGeko:
Yes, do a lot of research. It's what will keep you from messing up your new shiny SGS2.

So yeah, I would advise to update to KH3 and then just flash CF-Root KH3 afterwards.

EDIT: 1500 posts! woohoo :D
[Galaxy S II Original Android Development] jammer84:
Glad to help you to your 1500 :-D
[Galaxy S II Original Android Development] kronos1:
l have

PDA: I9100XWKF3

PHONE: I9100XXKE7

CSC: I9100OXFKE1

So with which kernel l need to flash my sgs2?

is this the correct one?

CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.zip
[Galaxy S II Original Android Development] jammer84:
KH3 is an unofficial Frankenstein one right? So this is the one you suggest as there is none for Vodafone Ireland

XXKH3 Stock Kernel: http://www.multiupload.com/C4DRUIJTLL

Password: intratech@XDA
[Galaxy S II Original Android Development] CamoGeko:
Thanks! :D

I've been helping Chainfire here for ages, as you may expect hes a very busy man so can't spend much time in this thread.
[Galaxy S II Original Android Development] CamoGeko:
Well yes, but that link is just the kernel. You need the whole ROM as well, I think it's "No Wipe" firmware since Intratech has worked it's magic on it.
[Galaxy S II Original Android Development] CamoGeko:
That's the one you need, yes. :)
[Galaxy S II Original Android Development] SugarySnack:
I am on litening rom and looking to go to CF-root kernel instead of ninphetamine. Does anyone know if this will cause any problems (Litening is built off of KH3, so if I install CF-Root for KH3, I should be alright?)
[Galaxy S II Original Android Development] CamoGeko:
Well, it won't cause problems but if you're undervolting/underclocking with SetCPU you will need to go back to Tegrak because SetCPU does not support voltage adjustments on CF-Root. Also it can't really keep the CPU frequencies down if you're underclocking.
[Galaxy S II Original Android Development] R3Y:
1. Yes you can un-root it anytime.

2. As long as you are on the official firmware(No custom ROMs), you can update using Kies. You need not un-root to update through Kies. (But why bother with Kies, when you have Odin? :))

3. Disconnect your phone from the cable, Press and hold - Volume Down + Home + Power button(in that order preferably), you phone will boot in download mode. Now connect the USB cable, then flash the required files using Odin.
[Galaxy S II Original Android Development] rainin:
Thanks alot :)
[Galaxy S II Original Android Development] kronos1:
Thank You :)
[Galaxy S II Original Android Development] hd21337:
Hey guys, I have a problem!

I used the old thread (http://xdaforums.com/showthread.php?t=1056334) instead of this one to root my SGS2 but it didnt worked.

So I want to download the right file but I flashed "XWKDD_insecure.tar" and now I dont know which was the original one...

Do you know which file I can download and work for my SGS2?

Bought it yesterday (2.3.3) and I have an Austrian Carrier.

Thanks! (:
[Galaxy S II Original Android Development] CamoGeko:
What was your original kernel number?

You must remember that....

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] hd21337:
Im not quite sure but I think XXKG5...

Does it help when I do a factory reset or something like that to restore it?
[Galaxy S II Original Android Development] CamoGeko:
Factory restore won't do anything since it doesn't backup the original kernel AFAIK.

Ok so if you're on 2.3.3 then use XSG_KG5 CF-Root, if you're already on 2.3.4 then use the other one.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] hd21337:
Oh okay, damn..

I'm now download "CF-Root-SGS2_JP_XSG_KG5-v4.1-CWM4.zip" - thanks for your help!
[Galaxy S II Original Android Development] liamR:
Hi Guys,

I have a strange problem (or not), when I update the CF-Root, I can't see anywhere that I have the new kernel, it always stays the original kernel (in device info/*#1234#/HIDSWVER).

For example My original kernel was I9100TxxKG3 I used CF-Root to root the phone and it worked, but the phone still shows TxxKG3, when xxKG6 came out I updated the CF-Root and it still shows TxxKG3, I updated to KH3, still shows TxxKG3. Is it normal ?

BTW,

I updated the modem too, and it did change the info to the new modem version. Also i'm using JIG.
[Galaxy S II Original Android Development] CamoGeko:
That's weird, how did you flash the kernel?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] liamR:
At first I used Odin (to root the phone and update the kernel to xxKG6), after that I used CWM "update from zip" (from xxKG6 to xxKH3).
[Galaxy S II Original Android Development] Aedriaen:
hello, hope you have a nice holiday when still on it, don t bother answering me!

As a newbee I would like to root my SGS2 so I read everything about it, because I don t want to brick my phone. I see there are two versions of CF root zip for the KG2,

which is my kernel version. [2.6.35.7-I900BUKG2-CL342890root@DELL102#2]

Can you tell which is the best to use, the OZS or the XGS version? I want to do it right.

Hope you can help me and will shurely donate!

Aedriaen

The Netherlands
[Galaxy S II Original Android Development] CamoGeko:
They are both basically the same, I would use OZS myself.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Bill Zimmerly:
What EXACTLY is "Download Mode" on the SGS2?

Perhaps that is the problem (thanks) ... but when you and the original author write about "Download Mode" we seem to be thinking about different things. Let me explain what "Download Mode" means to me:

1. When I plug in the USB cable, my SGS2 displays in the notification area the USB symbol and the words "USB Connected."

2. I scroll down the notification area and see "USB Connected - Select to Copy Files To/From Your Computer."

3. After I click THAT item (2) there appears a prominent green Android symbol on the "Page" with a single button at the bottom that is labeled, "Connect USB Storage."

4. After I click that button (3) the SGS2 seems to be in "Download Mode" because I see on my computer that it has found the USB and SD storage devices and it starts scanning them.

Is *THAT* "Download Mode?" If not, what must I do to put the SGS2 into "Download Mode?"

I notice that the original instructions REQUIRE download mode *BEFORE* plugging the USB cable in --> BUT my SGS2 doesn't seem to ALLOW that!?!?!?!?
[Galaxy S II Original Android Development] CamoGeko:
No, thats not what Download Mode is.

What you need to do is turn your phone off, then press Vol Down + Home + Power and hold.

A screen will come up asking if you are sure you want to enter Download Mode, you have to press Vol Up to go ahead and voila. You are now where you need to be. Now, connect to ODIN and flash the kernel.