yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] jammer84:
Ok, so may look at this today.

Let me see if I have this correct in a high level overview:

Android Version: 2.3.3

Baseband Version: I9100BUKG1

Kernel Version: 2.6.35.7-I9100BUKG2-CL342890

root@DELL102 #2

Build Number: GINGERBREAD.BUKG2

I've downloaded Odin "Odin3_v1.85_intratech.zip" and extracted

I need to locate and download the Firmware (ROM) for 2.3.4 for my device

Put phone in download mode

Open Odin and connect the phone

Then select the three files that should be included with the ROM

Flash the phone

Then locate and download the CF Root that works with the ROM located and flashed above

Again, load up Odin

Connect phone in download mode

only select kernel file and flash

That should be it, shouldn't it, then I can download and unlock the phone to work with any network :-)

So things I need:

Identify the ROM I need and where do I download

Which CF Root I need for the above ROM and where to download

Do I need to download the Vodafone Ireland ROM or something to get it back to how it is now before flashing?

Basically two downloads should set me right...
[Galaxy S II Original Android Development] CamoGeko:
That's correct.

Except sometimes the ROM will be just one .TAR file which includes everything, just select it as PDA in ODIN.
[Galaxy S II Original Android Development] jammer84:
Thanks,

So I have now downloaded the following:

•	XXKH3 - Android 2.3.4

This package has: PDA: XXKH3| Modem/phone: XXKH3| CSC: OXAKH3.

Download: http://www.multiupload.com/P92D3CE95I

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

Password: intratech@XDA​

•	CF-Root-SGS2_XX_OXA_KH3-v4.1-CWM4.zip

I’m going

to flash the first package through Odin

Then the stock Kernal in the second package

Then the Kernel in the third package
[Galaxy S II Original Android Development] Montala:
Personally I can't see why you need the second step, as surely the first file you downloaded already contains the stock XXKH3 kernel, so you can then go straight onto flashing the CF root file... or does anyone disagree with that?
[Galaxy S II Original Android Development] tygoger:
No disagree from me
[Galaxy S II Original Android Development] CamoGeko:
Yeah, that seems like a good plan. As others have said, you only need to flash stock kernel if its isn't included in the stock rom. Which, most if the time it is anyways.

Just double check after you flash the rom, and if its there already then your can skip step 2.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] jammer84:
Cheers.

I'll try this this evening so I hope:

Flash with this:

This package has: PDA: XXKH3| Modem/phone: XXKH3| CSC: OXAKH3.

Download: http://www.multiupload.com/P92D3CE95I

Then flash CF-Root-SGS2_XX_OXA_KH3-v4.1-CWM4.zip

Then download the sim unclock app and unlock the Sim lock on the phone

The above packages are the right ones to use from what I can see.
[Galaxy S II Original Android Development] bryanchapman9999:
Hi Guys,

Just taken delivery of my shiny new GS2.

Kernel version shoes as - 2.6.35.7-I9100BUKG2-CL342890

Baseband - I9100BUKG1

I *think* from what I've read I need a kernel ending in KG2 to perform the rooting (as per OP)

Don't want to balls it up on my first day!

EDIT: found these KG2 kernels, but 3 of them! which to use?

Cheers

Bryan
[Galaxy S II Original Android Development] CamoGeko:
The answer is all over this thread....

First 2 are for 2.3.3, the last one is for 2.3.4.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] bryanchapman9999:
Many thank, just wanted to be sure.

Rooted now :D
[Galaxy S II Original Android Development] ricey1986:
Do i just use the one that matched my current firmware?
[Galaxy S II Original Android Development] jammer84:
All done and dusted:

Flashed 2.3.4 Firmware - up from KG2

Flashed CF-Root KH3

Downloaded app and for the unlock code

Need to get rid of the yellow triangle so will start working on that next by

flashing the kernel in step 2 in my post above and re-flashing the cf-root kernel again

Cheers geko95gek for the advice and assistance.
[Galaxy S II Original Android Development] gspears:
Or, buy a cheap jig off ebay and use it. MUCH easier and very inexpensive for the trouble it saves.
[Galaxy S II Original Android Development] jammer84:
Ordered one on ebay from Hong Kong there on Sunday so may just wait on that to arrive if its much easier!
[Galaxy S II Original Android Development] gspears:
It's soooo much easier. Turn off the phone, plug it in, it comes up in download mode with counter reset and triangle gone! Reboot and your done!
[Galaxy S II Original Android Development] jammer84:
Just tried the unlock code I got from the "Galaxy S2 SIM Unlock" app and it was unsuccessfull :-(

The main reason for me rooting the phone, knew it was too good to be true.
[Galaxy S II Original Android Development] remzicavdar:
Are you lame or something or a ****ing noOb???:rolleyes:

just search the internet for rooting guides??

It's works I have tested it:D

Chainfire has more brains than you that's a fact:cool:
[Galaxy S II Original Android Development] jammer84:
Yes I am a noob and no I haven't given up. I was just all happy when I got the code and figured it would work as lots of Vodafone Ireland phones were unlocked over the last week with the app.

I have already updated my firmware and rooted the phone, my only issue is the code I received from the app fails to unlock the phone!
[Galaxy S II Original Android Development] plazzTT:
I've rooted my phone with CF-Root 4.1 on KH3. Worked great :)

I'm trying to unroot the phone now. How can I do this?

I've tried re-flashing the stock KH3 kernel, but CWM and Superuser remain installed.

I've also tried using S2 Root and Superoneclick's "Unroot" features, but both of these freeze halfway through (Superoneclick's website says it's incompatible with newer SGS2 Roms?) I made sure I had an insecure kernel installed (the XWKDD one)

Any other ideas for how to unroot this?
[Galaxy S II Original Android Development] rebecker:
Noob Just Making Sure

I've downloaded CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.zip to dive into rooting my phone. Just want to make sure it's the right file for my phone. See the attached screen shot.

Thanks in advance.

-Bob-
[Galaxy S II Original Android Development] mariotme:
yes m8 100% correct :D

happy flashing
[Galaxy S II Original Android Development] R3Y:
After reflashing the stock Kernel the phone must be un-rooted. Download Root Checker from the market to quickly check whether the phone is rooted or not.(https://market.android.com/details?id=com.joeykrim.rootcheck)

And for the CWM and SuperUser, those applications will remain installed until you manually uninstall them from the phone.
[Galaxy S II Original Android Development] mamaloo_p525:
hey guys

i wanna flash my GS2 , but i dono which kernel i should use !

i have an official samsung rom n the kernel is : KG2

which kernel should i use ?!

tnx
[Galaxy S II Original Android Development] rebecker:
Thanks for responding! A couple more questions:

1. How do I "Disable KIES"?

2. After running the *.tar file, where do I find "the original kernel" per the instructions "flash the original kernel of your Samsung Galaxy S II"?

Thanks.

-Bob-
[Galaxy S II Original Android Development] plazzTT:
Thanks. Will removing CWM and SuperUser mean that the phone is unrooted? Or is there something else I need to do first.

How can I remove these, the "Uninstall" button is greyed out in Manage Applications. Will deleting the apk's manually from /system/app be enough?
[Galaxy S II Original Android Development] CamoGeko:
Just double check with the RootChecker app from market if you're rooted or not, and yes you need to remove those manually.

Make sure there are no running processes for KIES in Windows. Also, stock kernels are here:

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

If your ROM is 2.3.3 use one of these:

CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip

CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.zip

If its 2.3.4, use this one:

CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4.zip
[Galaxy S II Original Android Development] unisat:
I have galaxy fit S5670 upgraded to gingerbread xwkq2/android 2.3.4

kernel version 2.6.35.7 perf cl332409 root@dell126#1

Which CF-Root-xxxxxxxx.zip should I choose.

TIA
[Galaxy S II Original Android Development] CamoGeko:
WTF is a "galaxy fit S5670"?

I think you're in the wrong forum matey....
[Galaxy S II Original Android Development] unisat:
My sincere apologies.

Do you think .however. CWM can be ported to Galaxy fit.

TIA
[Galaxy S II Original Android Development] rebecker:
Thanks for your response. But, being a rather slow thinker (and cautious) :o Can you tell me (from the info attached) which country stock kernel I should use?

Generic KCL (Kazakhstan???)

MultiCSC(AUT, COS, CYO, DBT, DCM, DNF, EUR, FWB, KOR, LUX, NEE, OMN, ORG, ORS, PAN, PLS, SEB, SUN, SWC, TMS, TPH, VDH, VIA, VOM, XEE, XEH, XEO, XEZ, XSK)

CSC: OXXKF1

INU (India)

ATO (Austria)

FOP (Spain)

XEN (Netherlands)

XEU (Generic UK+Europe)

CPW (Carphone Warehouse UK)

XSA Australia

OXF Romania

OJV (AFR, ARB, DAM, ECT, FWD, HAJ, KEN, KOR, PLC, TMC, TUR)

LUX

XWKF3 Stock Kernel

Again, thanks in advance.

-Bob-
[Galaxy S II Original Android Development] fluke2k:
At least two beers are heading your way for making my Galaxy S2 just that much nicer;-)

Keep up the good work Chainfire!

Transaction ID: 2M854359AH1629425 - €10

I urge others to do the same...
[Galaxy S II Original Android Development] CamoGeko:
Are you really that confused???

You just need the STOCK kernel not a ROM, the kernel is exactly the same for all those roms and there is only one link to it right at the bottom! It was there in front of your eyes...and you couldn't see it?

http://www.multiupload.com/27Q9LQEB94

p: intratech@XDA
[Galaxy S II Original Android Development] CamoGeko:
Unlikely since this kernel is based on stock for Galaxy S2.

You need to enquire about CWM recovery in the correct forum for your device.
[Galaxy S II Original Android Development] rebecker:
Are you really that confused??? Yes! I told you I was a slow thinker.

AND I was confused by all the links. Sorry if I disrupted your day. :p

But, thanks for the help.

-Bob-
[Galaxy S II Original Android Development] unisat:
Thanks a lot
[Galaxy S II Original Android Development] Mash_fr2000:
Thanks :)

Just rooted (XWKF3), SIM unlocked, worked like a charme. Thank you so much.

If I may.... I'm trying to make openVPN work with, shall we say, very limited success. Used openVPN installer from the market, then openVPN settings and it basically hangs at the "connecting" step.

Long story short: I googled as much as I could, played a bit with adb and it *seems* to be that I may have a problem with the tun/tap thingy.

The information i found online is scarce, and somewhat confusing. Can somebody confirm if CF-root 4.1 does indeed support tun ? I found a /dev/tun entry, but no tun.ko in the modules. lsmod return nothing tun-related, modprobe or insmod end with an error...

Any help would be greatly appreciated.

Cheers

M.
[Galaxy S II Original Android Development] rebecker:
Thanks!

Just finished rooting my phone. Worked perfectly! Thanks to ALL who answered my stupid questions. :o Couldn't have done it without you. :D

-Bob-
[Galaxy S II Original Android Development] Scax:
Hello,

Flashed kh3, work like a charm big thanks to dev :D
[Galaxy S II Original Android Development] mbbauk:
dude thats major:rolleyes: coool.
[Galaxy S II Original Android Development] defiantash:
Hey guys, been waiting a while to gain access here so i can try and solve an issue with my SGS2, which is now unusable after an unsuccessful root.

Apologies for the long read :)

.................................................

It begin where i was able to get into download mode, pressed UP on the volume to get into the ODIN Mode to flash the CF-Root for my device.

2.6.35.7-I9100BUKG2-CL342890

This is the number which i found on my device, however i am unsure which kernel to use.

I have used all three of the below with no luck;

CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip

CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.zip

CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4.zip

........................

After this i was baffled, and then tried to get a stock kernel under BUKG2, however found out this was hidden inside another thread under Vodafone UK.

Flashed that, to no luck once again.

...........................

My SGS2 is now stuck on boot logo, with the yellow triangle and it will not get passed that part. I have no idea if root has worked as i cannot get into the phone to see.

No kernels seem to be working and i really could do with my phone back.

Does anyone know what the issue is? Its an Unlocked, Vodafone Branded SGS2, which was running BUKG2 Kernel before Root attempt and running Android 2.3.3.

Any help would be greatly appreciated, and if successful i will buy you (the person with the solution) a beer, if allowed of course :).

Thanks.
[Galaxy S II Original Android Development] runebinder:
Hi there,

Just followed post 1 and done the CF Root, want to now follow this post to get rid of the excalamtion mark, however step 2 I'm unsure on. For the zImage file that goes on the sd card, is that extracted from the unsecure kernel?
[Galaxy S II Original Android Development] CamoGeko:
That's extracted from CF-Root kernel. ;)

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Have you tried doing a factory reset?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] runebinder:
OK, so following post 2, I've got as far as step 6 however ODIN seems to be stuck on modem.bin, been like that for last 5 minutes. Is this because the file is a lot larger than the CF Kernel, or is something up?

Have had a look, seen mention of this but no solutions. I've tried aborting and re-doing it in Odin but same result, stuck on modem.bin

Edit: No change so unplugged and restarted. Going to look for a different version of the stock firmware and try that.
[Galaxy S II Original Android Development] jerome.d:
Why do you flash modem.bin? You should only flash *kernels* (i.e. zImage)for rooting your phone or getting rid of the triangle.

Do not confuse kernels with firmwares...
[Galaxy S II Original Android Development] runebinder:
I'd downloaded the firware file for what my phone came with, didn't realise (been an iPhone user for the last couple of years and this is my first Android handset).

Have extracted the zImage from the firmware.tar file, but Odin can't see it as it's not a .tar file
[Galaxy S II Original Android Development] runebinder:
OK major issues now.

Used Odin to flash the O2 UK Stock KF3 Kernel from here:

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

Phone restarted, and froze on the first screen which still has the exclamation mark triangle.

Tried putting back into download mode, which worked> Opened Odin and tried reflashing the CF Kernel but gets as far as zImage in the bottom left dialogue box of Odin and doesn't progress. Tried with the stock KF3 Kernel again> same

Help needed badly
[Galaxy S II Original Android Development] CamoGeko:
Damn, what are you doing with it lol.

Are you sure you are in download mode?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] runebinder:
Lol, yes definitely in download mode. Got the red ODIN MODE in the top left, custom binary and big bit under the android symbol which says Downloading...
[Galaxy S II Original Android Development] CamoGeko:
Ok that's fine, have you tried getting into recovery and doing a factory reset?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] runebinder:
Not yet. Just went into MSCONFIG and stripped all non essential start up items, restarted and tried again. It now gets KERNEL in the top left of ODIN and a green progress bar, but seems to have frozen, been in the same place for the last few minutes.

I'll give recovery mode a go.
[Galaxy S II Original Android Development] runebinder:
Tried Vol up, home and power buttons together for recovery, just get this screen:

A phone, an orange exclamation triangle and a computer. Take it this isn't right?

Edit: Sorted *Phew*

Tried connecting Kies while the phone had that symbol, kept saying connecting but then told me device not responding, reboot device.

So in desperation D/L'd KH3 from this thread, Odin ran it without a hitch, I'm very relieved.

Think I'll just avoid following the second post and live with the exclamation mark lol.
[Galaxy S II Original Android Development] sergiu84:
Gents, I'm slightly lost among all this Modem / Kernel / ROM talk. I normally know what's going on, but not anymore..

Current I have:

Baseband: i9100XXKE7

Kernel: 2.6.35.11-ninphetamine-2.0.4+ninpo@titan#13 (courtesy of CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4.zip )

ROM: VillainROM 2.4.2

So that begs a few questions:

- are there any other (newer, as in 4.1?) version of CFRoot that I can install?

- can I install the latest Ninphetamine Kernel (from here) without losing CWM?

- Can / should / how do I install a newer baseband?

Thank you! A lot, seriously!
[Galaxy S II Original Android Development] CamoGeko:
Hmm....that is so weird. Never seen that screen before on my SGS2.

What did you tick in ODIN, when you flashed a kernel first time?

EDIT: Glad you got it sorted, I would advise to order a USB JIG from eBay. It will get rid of the triangle for you without having to mess around with ODIN.
[Galaxy S II Original Android Development] CamoGeko:
*At the moment 4.1 is the latest CF-Root.

*Yes you can install Ninphetamine, do it through the CWM app as "Flash Kernel".

*I suggest you update the Modem/Baseband to KH3, link to a CWM recovery flashable zip is in my sig.

:)
[Galaxy S II Original Android Development] runebinder:
Thanks, will look into that.

I had Auto Reboot and F-Reset Time ticked as the guides advise.
[Galaxy S II Original Android Development] CamoGeko:
Oh ok, well thats normal then. That's all that should be ticked most of the time when flashing anything through ODIN.

I got the USB JIG for £4 from eBay, very useful tool. Also erases your binary count and sets firmware status to "Samsung Official" in case you ever need to send your phone in for repairs.
[Galaxy S II Original Android Development] runebinder:
Just watched a Youtube video showing one being used, nifty little gadgets. Will definitely be getting one, thanks for the tip.
[Galaxy S II Original Android Development] chrisjcks:
confused a little:

KG5 XEU is the latest leak for UK users,

the CF-ROOT says OXA_KG5 (not XEU), surely not right.... :confused:
[Galaxy S II Original Android Development] runebinder:
From what I understand the XEU is to do with region, the KG5 is the firmware so yours is fine.
[Galaxy S II Original Android Development] timberwolf60:
Chainfire,

Do you going to make this CF_root for XXKH2 for people around Asia Pacific.

The XXKH2 can be downloaded from the fellowing link:

DXKH2Android 2.3.3

This firmware will wipe your device! This package has: PDA:DXKH2| PHONE: DXKH1| CSC: OLCKH1download:http://www.multiupload.com/M6DRYO9GEQDXKH2 Stock Kernel:http://www.multiupload.com/36X2BD82SFPassword: intratech@XDA

Thank in advance!
[Galaxy S II Original Android Development] mbushnaq00:
Hi Chainfire,

Can you please upload CF-Root-SGS2_JP_XSG_KH1-v4.1-CWM4.zip

A new firmware was released recently JPKH1

Appreciate you help
[Galaxy S II Original Android Development] sorrowrain:
:) can you upload it man

appreciate your help
[Galaxy S II Original Android Development] mtw4991:
I've gotten an SGS II from a buddy who brought it from the GB. I've rooted the phone, installed SU, Root Explorer, SetCPU, etc. However, the phone says region=GB in the build.prop and will only connect to T-Mobile USA as 2G, not 3g/4g. I edited the build.prop to change the region to US and added the necessary hsxpa and gprsclass edits. no joy!:mad:

Anyone know how to get 3G/4G US running on this phone? :confused: Thx in advance!
[Galaxy S II Original Android Development] Saenic:
Hey, I'm sorry if I ask noob questions here, but I have to get startet somewhere ;)

I myself own a HTC Desire and my brother bought a SGS2 and wants to root it, but nothing else (he is not that crazy about custom firmware as I am) and wants to keep his personal settings while doing this. So I got a few questions:

1. will this cf root work with DBT (German) KE2 firmware or just XEU?

2. in case anything goes wrong, is there something like RUUs for htc phones, a default Rom that can be flashed over?
[Galaxy S II Original Android Development] d3sm0nd:
First I want to thank you, Chainfire for all the dev! I remember you since I had the HTC Kaiser back in 2007... :)

Now some feedback:

Coming from Desire it's a bit frustrating for me to understand the functional part. It would be great if you could describe how the whole thing is working.

Is the recovery hard coded or not? If I do a system wipe or flash another ROM, will I lose the recovery?

When I had the Desire, first we were not able to overwrite the original recovery with a moded one and the custom recoveries were executed from SD... I can't understand how it's working on the SGS2, but I guess it's somehow similar because we don't have all functions.. for example I couldn't get ADB to work in recovery... tried waiting more than 1 minute or plugging in and out.. the same.

Also that thing with rootsh instead of su makes me think that all the tools outside like AndroidCommander won't work.

So again my question is - will we get a proper recovery in future or is this what we need?
[Galaxy S II Original Android Development] gogua:
Hello !

I'm newbie. How can i mount/move backup path from my external_sd to /sdcard/clockworkmod/backup if i only have access to clockworkmod recovery screen ??

thank you...
[Galaxy S II Original Android Development] Chainfire:
My fault, will fix this in an update (but not before next week).

This is a proper recovery ...

HTC's and Samsungs work different re: recovery. The recovery is inside the kernel, so it won't stay if you flash a different kernel. As far ADB not working, you're doing something wrong, because it works fine. Try an adb kill-server, that may help. rootsh is only for recovery, not for a booted android, there you use su like usual. This will be fixed some time in the future.
[Galaxy S II Original Android Development] ouija147:
thank you!

Donation made...

Have another beer on me.

CF-Root rocks.

Ouija147
[Galaxy S II Original Android Development] kryptoner:
I downloaded CF-Root-SGS2_XW_XEU_KE7-v3.5-CWM3.zip but when i extracted it, I didn't fine any .tar file... please help asap. Sorry but I'm new to this procedure.
[Galaxy S II Original Android Development] sorg:
Factory reset doesn't work.

Phone goes to indefinite cycles or reboot (Starting samsung animation, pause, animation and again).

KE7 ROM/Kernel

No SD card inserted

No SIM card inserted
[Galaxy S II Original Android Development] Platypus:
Like a charm!

Got rootacces in less then 30 sec. (Not bad as i'm a android noob).

Works very well on de SGS2 KE2 kernel and I used a jig to reset the counter

The phone still works like it's a stock issued one.

Thnx Chainfire !!
[Galaxy S II Original Android Development] dh2311:
Can you make this kernel insecure. It doesnt allow SU permissions through ADB.
[Galaxy S II Original Android Development] roakes:
Thank god for this guide, the difference in the processes between the HTC handsets I had come from was rather daunting but had my phone rooted in under 2 mins (only due to being extra careful). Thanks!
[Galaxy S II Original Android Development] akeedthe:
brilliant...worked like a charm :D
[Galaxy S II Original Android Development] wnpaul:
IMEI gone?

Hello,

I just bought a SGS II locked here in Austria, and flashed this kernel in order to root it.

Now the IMEI is gone :(, and the phone doesn't recognize any SIM card.

Tried re-flashing the stock XWKE7 kernel from this thread, but to no avail :mad: .

Got no error messages in all that, just that the IMEI is gone.

Any chance of restoring it :confused: ?

Thanks,

Wolf