yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Chainfire:
Villains ROM doesn't include kernel AFAIK (yet!). Again, don't fear. This is a Samsung device, unless you botched up flashing a bootloader, you aren't going to break it. It is epically difficult to break Samsungs by accident.

See this thread for some stock firmwares. Do a full wipe after flashing (from recovery). I advise the XEU KE7 variant.
[Galaxy S II Original Android Development] avss:
True.

Its almost impossible to break/brick your sgs-ii as long as you dont mess up the bootloader.

If all "no wipe" roms fail to get through the bootloop i guarantee you will get a working device if you flash a stock rom with pit-file.

Look at samfirmware.com for a suitable rom and pit.
[Galaxy S II Original Android Development] Mr.Kakarot:
ok, thanks.... seems to point to 2 ke7 files.... I will try the top one. Assuming it works, I do a full reset.... then I have to follow your quide again and I am good?

Sending a beer now, thx... scared myself, lol

5AL85303X0736364D
[Galaxy S II Original Android Development] gibsonus:
You must be fu**ing steaming by now pal!

Maybe you should spend this on Paracetamol instead :p;):D

Transaction ID #8JU800815W059143F
[Galaxy S II Original Android Development] Chainfire:
Yes, and thanks :)

Tomorrow morning maybe ... *walks into a wall*

Thanks :)
[Galaxy S II Original Android Development] Mr.Kakarot:
so I tried this file, through odin

XWKE7

Firmware info

PDA:XWKE7

PHONE: XXKE4

CSC:XEUKD1 (XEU)

Build date: 18/05/2011

Generic XEU: http://www.multiupload.com/IBRBHDUDXI

md5: F388DB98FC83861C2F22E607AE940DBB

doing the same boot loop

maybe I need this one?

XWKE7 Stock Kernel: http://www.multiupload.com/HMN4GUKBPS

md5: 3BC006663F23432D2219DFA45D7AAD13

Password is: intratech@XDA

It does not seem to matter what I flash, it is in download mode, I see the progress bar just fine.... but when it reboots, it gets stuck. Something I keep seeing is can't access to system/csc/xeu/system

thx again
[Galaxy S II Original Android Development] Mr.Kakarot:
oh thank god.... I think it worked, I went in to do the full wipe like you suggested, this time the recovery was blue and not orange and the darn phone rebooted.....

enjoy the beer, half my problem is we just got our NHL team back today after 16 years... and I was partying at 11am, lol

but the weird thing is, I can recreate the problem... just by doing a factory reset.... coming from this kernel, just tried it again, boot loop.... guess I will not reset afterwards, but I hope my battery gives me more love then the 10 hours I got today
[Galaxy S II Original Android Development] sunwee:
I dont know if this is related, but since installing this kernel, I have some weird problems.

- can't apply iptables using Droidwall

- can't install .apk using AndroidCommander. Well, they do install but later have error msg saying can't delete the file in /data/local/tmp.

- tried using RootExplorer to delete, but the file reappear immediately, seems the delete is not successful. but changing the filename to something simple...like aaa.apk, and delete works.

any idea if this is related to the busybox? or my mistakes in installation? CWM works fine though.

edit: is it possible to flash back to another rooted kernel (eg, supercurio's) to test this out without doing any harm?
[Galaxy S II Original Android Development] ouija147:
Confused

So is an XXKE4 CF-Root coming?

If not, could I (or should I) flash to XWKE7 CF-Root? :confused:

Thanks,

Ouija
[Galaxy S II Original Android Development] sunwee:
ok, I flashed back to supercurio's rooted kernel, and applying rules in Droidwall works again.
[Galaxy S II Original Android Development] ZiCoN:
KG3 fixed freezes in "Cut the rope" :)
[Galaxy S II Original Android Development] cocoe68:
Really appreciated your support on rooted kernel for SG devices, thanks a lot.
[Galaxy S II Original Android Development] Razer(x):
KG3 giving bad to mee too
[Galaxy S II Original Android Development] Davids777:
KG3 Works fine with me, thanks Chainfire ;)
[Galaxy S II Original Android Development] Razer(x):
Working if flashed like a tar
[Galaxy S II Original Android Development] cocoe68:
It works Ok for me, I first flash GK3	and configured it like new device. After, i flashed kernel and restarted, finally restored my,backup data with Titanium Backup. It is as expected, rooted and working very good.

Rgds
[Galaxy S II Original Android Development] lirona:
This is my phone, how can I do root+cw:

model number: GT-I9100

Android ver: 2.3.3

Base...: I9100BOKD1

Kernel ver: ...E3

Buid number: GINGERBREAD.BOKE3

Thank you all,

Arie.
[Galaxy S II Original Android Development] Kung-Fu-Tse:
works great on KG3 (CF Root KG3) :)
[Galaxy S II Original Android Development] sianzb0i:
I also dun see my csc but i also just flashed and it turned out fine
[Galaxy S II Original Android Development] fenguinpower:
Newbie here. What is busybox?
[Galaxy S II Original Android Development] fenguinpower:
I understand that there are two methods for rooting. Long and short. What are the advantage and disadvantage of each one? Thanks
[Galaxy S II Original Android Development] steviweavi:
nice work!

thanks for all ur efforts.

ur doin a really good job cheers
[Galaxy S II Original Android Development] Chainfire:
They differ only in the explanation (short for the experts, longs for the b00ns), not in method.
[Galaxy S II Original Android Development] happiboi:
Chainfire, (plus all the others here on the forum who are actively postin gto answer questions)

THANKYOU ALL.

I've come from using/rooting/rom changing my N1, to playing around with my Atrix to this beautiful lovely phone. Although each phone has it's own process to go through gain root access, you guys here have made it very easy with the walk-through posted on the first page.

I've had my SGSII on KE7 for around a month now and have read every page of this 160 page thread (plus some others - thanx Intratech for posting up all the different firmwares and stock kernels). After reading up and getting every so slightly more knowledgeable in the rooting arena I've successfully flashed to KG2 and have rooted it now.

time to try out some roms me thinks~! :D Thanks once again guys
[Galaxy S II Original Android Development] StyxOuZ:
I'm sorry to ask this here, but i'm a little bit lost with all these differents kernels...

This is my phone info (and from Kies into my signature) :

Android version :

2.3.3

Baseband version :

I9100BUKE1

Kernel version :

2.6.35.7-I9100BUKE4-CL215715 roo@DELL103 #2

Build number :

GINGERBREAD.BUKE4

(Phone bought in SFR - France)

Wich version should i use for the first time root ?

Can i directly use the latest version, XX_OXA_KG3, and just follow steps ?

For the moment, i would like as much as possible to keep my phone close to the "stock" version.
[Galaxy S II Original Android Development] lirona:
Chainfire Hi,

Can you please do CF-Root file for this rom:

UK- T-MOBILE

BOKE3:http://www.multiupload.com/GY05UJM6DQ

Firmware info: PDA:BOKE3|PHONE:BOKD1|CSC:TMUKE3

BOKE3 Stock Kernel: http://www.multiupload.com/I41CAJ2BLS

Password: intratech@XDA

Thank you and good day,

Arie.
[Galaxy S II Original Android Development] Nitsson:
I have some questions about the order of flashing; at the moment I'm using the stock KE2 firmware with CF-Root 3.7 installed (CMW 3). The custom ROM I want to try is based on KG3, and I also want to flash the updated CF-Root v.4.1 KG3 kernel followed by the stock Samsung KG3 kernel to rid myself of that pesky warning triangle (any future flashing I will do through CWM and not Odin). Should I install the custom ROM via my current version of CMW, then upgrade CF-Root via the patched KG3 4.1 kernel, and finally flash the stock Samsung KG3 kernel to get rid of the triangle?

Since I'm using KE2 at the moment, I'm thinking that flashing just a KG3 kernel to get CF-Root 4.1 isn't a best idea, as the KE2 firmware overall might not be compatible with a KG3 kernel.
[Galaxy S II Original Android Development] lirona:
Chainfire Hi,

Can you help me please...?(look post up)

Thank you,

Arie.
[Galaxy S II Original Android Development] CamoGeko:
Why does he need to do that?

You know you can just use CF-Root KE2 to root your device right?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
KE2 is 2.3.3 while KG3 its the latest 2.3.4. Install the kernel first then flash the rom.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Use KE2.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] StyxOuZ:
KE2 is 2.3.3 and i would root & flash only for upgrade to get the improvements of 2.3.4.

That's not possible ?

Anyway thanks for your reply !
[Galaxy S II Original Android Development] jzamero:
Regarding removing pesky warning triangle

Hi

tried to do the process

1. is it posible to use odin to flash only the zimage from the stock rom.

2. there is no Flash Karnel in the Recovery menu

please help

thanks

Jacky
[Galaxy S II Original Android Development] CamoGeko:
Uhmm yeah, thats right. Flash 2.3.3 now, then when you have upgraded you can flash KG3 or KG2 (2.3.4).
[Galaxy S II Original Android Development] CamoGeko:
Flash Kernel via CWM app.
[Galaxy S II Original Android Development] StyxOuZ:
Ok. So first, upgrade to KE2 and then to KG3 or KG2. That doesn't seem very hard. I'll try.

Thanks for your help geko :)
[Galaxy S II Original Android Development] khal_nayak:
i just bought the samsung galaxy s2 around 2 days back from a fresh stock from the distributor and the version in my region are:

model - GT9100

android - 2.3.3

baseband - I9100XXKF1

kernel - 2.6.35.7-I9100JPKG2-CL342890

build - GINGERNREADJPKG2

now i was just going through the forum and other videos etc and a bit confused while file to use out of the below 3

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

and also will rooting erase my installed apps and phonebook and sms?

Regards,

Bipin
[Galaxy S II Original Android Development] CamoGeko:
CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4 will work for you.

It won't remove any of your apps or settings.
[Galaxy S II Original Android Development] superspacey:
Can we not flash to the XX_OXA_KG2 kernel if we have Android 2.3.3 currently on the phone? It will just make it 2.3.4 no?

I bought a Virgin Mobile phone in Canada.
[Galaxy S II Original Android Development] CamoGeko:
A kernel does NOT upgrade/change your ROM version. If you have 2.3.4 flash that KG2 one if not flash one of the other KG2.

Simple.
[Galaxy S II Original Android Development] superspacey:
Oh I see, so

ZS_OZS_KG2

JP_XSG_KG2

They are for 2.3.3 roms... like you said.

and XX_OXA_KG2 is if you have 2.3.4 rom.

Okay, I will try one of the first two then! Thanks ;)
[Galaxy S II Original Android Development] enriquebomb:
What kernel should i download if i'm on kg3 2.3.4? Sorry,i'm just not sure.
[Galaxy S II Original Android Development] mach0boi:
OXA-KG3 :D
[Galaxy S II Original Android Development] superspacey:
Do I need to install KIES and enable USB debugging on my phone before flashing my Kernel?

Sorry if its a stupid question, just not on the instructions :P Maybe its a given...
[Galaxy S II Original Android Development] mach0boi:
I think KIES is needed for the drivers ;)
[Galaxy S II Original Android Development] BuzzFuzz:
Chainfire, help me out plz

my procedure:

1. from Cognition on Villain

2. CF-KG3 with Odin

3. install Villain ROM

4. yellow triangel

5. flashing stock KG3 kernel = no more yellow triangel

6. after stock kernel No WiFi!

Only with Villain Rom.

Do u know any solution?

* Jig can remove yellow triangel but why after stock kernel no wifi?
[Galaxy S II Original Android Development] CamoGeko:
Don't use stock kernel with VillainROM!

It breaks WiFi if used on VR, this is a known issue and is being looked at. Use either CF-Root KG3 or Ninphetamine, both work fine here.
[Galaxy S II Original Android Development] kss41112:
I did my phone from And then there was ROOT thread and rooted it works fine now with no issues just a quick question is it possible i can able to install this new kernal with cwm on my phone ? i see lots of versions like

CF-Root-SGS2_XW_XEU_KE2-v4.0-CWM4.zip

CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4.zip

CF-Root-SGS2_XW_ODD_KE8-v4.0-CWM4.zip

CF-Root-SGS2_XW_OJV_KF1-v4.0-CWM4.zip

which one i need to use now ? iam very confused mine is rooted successfully already just like to have cwm in it
[Galaxy S II Original Android Development] CamoGeko:
What is your firmware? 2.3.3? KG or KF or KE??

Need more information to give you a better answer, sorry.
[Galaxy S II Original Android Development] Nitsson:
Thanks, shall do that.
[Galaxy S II Original Android Development] nightranger73:
No... no one is looking at that as pulser refuses to see it as a bug. I asked him politely to look at that but he hasn't. I wanted to ask to chainfire but he was out till yesterday and now's the time

On VillainRom Wifi is broken using stock kernel and get stuck at "obtaining IP" and furthermore from stock kernel we can't reflash cfroot using CWM manager to get rid of yellow triangle. This isn't happening using other ROM.

I think they're related and I remember ChainFire did something for vr1.2 when pulsrr fubared busybox... I think pulser using old method incompatible with stock/other kernel. Only kernel using cfroot initramfs works
[Galaxy S II Original Android Development] kss41112:
Yes mine is on 2.3.3 base band is I9100DDKE2 and i flashed the kernel from just got root thread now which kernel version i can flash from this thread ?

help would be great
[Galaxy S II Original Android Development] Androidin':
I'm on 2.3.3 and Kernal version is 2.6.35.7-I9100MUGKG2 so which file should I use, CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4 or CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4?

Thanks guys!
[Galaxy S II Original Android Development] tenchi0205:
:confused: help when I want to flash cf-root KG3 in, its stuck like this for more than 30 seconds and counting
[Galaxy S II Original Android Development] CamoGeko:
Use this one:

CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
What is you current kernel?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] _Mist_:
Thanks for a great guide! I've successfully rooted my Bell's KG2 with

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

I've been able to remove all bloatware. Reinstall Swype.

I have one problem though:

I can not browse in to the "/data" folder.

When I type "su" in adb shell it says "Permission denied"

Did I get some kind of partial root? Or I miss something?

Thanks in advance.
[Galaxy S II Original Android Development] mmorisa:
just quit the program, unplug the cable. start over.

Sent from my GT-I9100
[Galaxy S II Original Android Development] crissyx:
hi chainfire..

i try your kge root, but i see for the first time on your root that the galaxy s2 re start. yesterday i see 2 times that the sgs switch off and after switch on ..
[Galaxy S II Original Android Development] tenchi0205:
:confused: same result
[Galaxy S II Original Android Development] Androidin':
How did you remove the bloatware?

Also, how does rooting it with this method effect future firmware updates from the carrier?
[Galaxy S II Original Android Development] _Mist_:
I've used the Titanium Backup for removing bloatware.

You will be able to update to whatever you want using Odin
[Galaxy S II Original Android Development] _Mist_:
I've found solution to my problem: "Make sure the phone is on and unlocked when you try to run "su" and a window will pop up asking you to allow it to run, check for it to remember, then allow."
[Galaxy S II Original Android Development] cicku:
I need KG5 CF kernel
[Galaxy S II Original Android Development] Vulpix:
There's a KG5?
[Galaxy S II Original Android Development] Planet X:
@Chainfire

Do you think you could also help to root the Samsung Galaxy S Plus GT-i9001 device? Nobody has been found a way until today. The device is cheap for it's specs. 1,4 GHz and 4 inches to play with. I want to buy this phone but no root possible...:(
[Galaxy S II Original Android Development] gspears:
I loaded KG3 without problems WiFi works well, but U.S. AT&T data is not too fast. I'll do more testing when I get to work because work is right by a tower.

Battery life is not bad. Right now it shows over 60% available after 15:50:37. This is the first full day I've put on it. 1:31:19 display, 1:19:50 voice calls, so not much use.

The only issue I had is that when I try to use CWM to reflash the original kernal, it flashes it but I lose CWM. If I use the CWM utility to try a backup or to boot into recovery, it fails and goes into the original SGS recovery.

So I just reflashed the rooted kernal and didn't flash the original kernal and it seems to be working well.
[Galaxy S II Original Android Development] ebliss:
at samfirmware, china's version
[Galaxy S II Original Android Development] CamoGeko:
Why?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Flowlance:
Hey, I can't restore a nandroid backup, it's giving me md5 errors. Is there away around this or is the backup corrupted?
[Galaxy S II Original Android Development] CamoGeko:
Well, you could try and partially restore it by going to advanced restore.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Flowlance:
Thanks, just tried. Although it's giving me the same error. Oh well. Wipe time
[Galaxy S II Original Android Development] happiboi:
Having flashed KG2 and rooted it with CF's KG2 kernel, I'm finding that my MS Active exchange support isn't working... constantly says connection error.

Trying to fish for solutions but coming up empty... can't be the kernel right? so does that mean it's the KG2 Firmware I flashed may have done something?

Edit: nvm, fixed it. clear cache/clear data force stop email app. fix permissions.. now seems to be working just fine lol :P
[Galaxy S II Original Android Development] rickg99:
CF Root and Bluetooth

With my SGS and CF Root I run into problems with Bluetooth (in combination with WLAN). Under some conditions I need to reboot phone to get Bluetooth back.

Does this problem also exist with SGS2 and CF Root?
[Galaxy S II Original Android Development] kss41112:
yeah mine on 2.3.3

baseband version : I9100DDKE2

kernal version says : 2.6.35.7-I9100XWKDD-CL161513root@DELL103 #2

Just need to know which version i can use from this thread now

Thankyou

Note : Already installed that kernal from just got root thread
[Galaxy S II Original Android Development] ms450:
I just bought a rooted SGS2, but I'm not sure which CF-root Kernal to flash. Can someone help me out? Also, what will my base kernel be if this phone was unlocked from Bell?

Do I just flash anyone with KG2? I am currently on 2.3.3, does that matter?

Baseband Version: I9100MUGKG2

Kernel: 2.6.35.7-I9100XWKDD-CL161513 root @ DELL103 # 2

Build number: GINGERBREAD.UGKG2

Thanks,
[Galaxy S II Original Android Development] CamoGeko:
Just use any its the first two KG2 CF-Root kernels. They are for 2.3.3.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Use the first KE2?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] ace117:
Hello guys! Which version of KG2 kernel should I use?

After official update mine is 2.6.35.7-I9100BVKG2-CLTEST_I9100BVKG2.

Thanks in advance!
[Galaxy S II Original Android Development] kss41112:
Thankyou trying CF-Root-SGS2_XW_XEU_KE2-v4.0-CWM4.zip will give a comment back after i have done it
[Galaxy S II Original Android Development] CamoGeko:
Use the last KG2 if you're already on 2.3.4, if not use one of the other two.
[Galaxy S II Original Android Development] ms450:
Thanks. I will try that later today. Also, if I want to get rid of the exclumation mark I have to flash the stock kernal? Do you know which stock kernal I need?

Thanks again!
[Galaxy S II Original Android Development] CamoGeko:
Your will need KG2 stock kernel.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] stegmuellerm:
XX_OXA_KG3: is running very well !!!
[Galaxy S II Original Android Development] ace117:
Thanks geko95gek, a friend of mine tried XX_OXA_KG2 on BVKG2 and works fine. I'll give a shot too! ;)
[Galaxy S II Original Android Development] :
Hi guys just reading through just got my galaxay s 2, just wanna make sure i read correctly i have

2.6.35.7-I9XWKE1-CL181974root@DELL103 #2

I can use this kernel right

CF-Root-SGS2_XW_XEU_KE2-v4.0-CWM4.zip???
[Galaxy S II Original Android Development] CamoGeko:
That should be fine for you yes. ;)
[Galaxy S II Original Android Development] motoohot:
Trying to search for my answer for ages but i cant find it.. so sorry for the noob Q i am about to post..

SO i have rooted using the guide at http://xdaforums.com/showthread.php?t=1056334

I am slightly confused as to what a kernal is.. i also cant find one similar to mine 2.6.35.7-I9100XWKDD-CL161513 root @ Dell103 #2 to reflash to once i have rooted with the insecure kernal...

Can i flash any of kernals posted over at CF_Root guide? (http://xdaforums.com/showthread.php?t=1103399) and it will work? or do i need one with KDD in it??

Thanks for any direction.. i am trying to flash villan rom onto this glaxy s2...

My build number is Gingerbread.BUKE5 (i cant find any kernls with BUKE5 in it...)
[Galaxy S II Original Android Development] Eukanaba:
You can flash the cf-root KE2 to root your device. Then you can flash the Villan rom and then use the kernel for the rom. At this time its cf-root KG3.
[Galaxy S II Original Android Development] yaesdedia:
Thanks a lot
[Galaxy S II Original Android Development] karl999999:
busybox disables any kind of debugging

in CF-root kernel you use a special version of busybox (inside initrd)

which has color output (for "ls" "ps" and others) hardcoded enabled.

this destroys any debugging capabilities. gdbserver and eclipse DDMS depend on output by "ps" and "ls" and others beeing parseable. the color info destroys that.

can you please NOT turn that on by default.

application developers have a hard time with your (otherwise fine) kernel.

here is an exmaple "ls" output:

ls

←[1;34macct←[0m ←[1;32mfota.rc←[0m ←[1;34mres←[0m

←[1;34mapp-cache←[0m ←[1;32minit←[0m ←[1;34msbin←[0m

←[1;34mcache←[0m ←[0;0minit.goldfish.rc←[0m ←[1;36msdcard←[0m

only linux xterm can understand that, but not any programs that directly parse the output. debuggers do that i am afraid.
[Galaxy S II Original Android Development] Tribal123:
Just to report KG3 Kernel works perfectly!!!
[Galaxy S II Original Android Development] _JKay_:
Is there a cf kernel for xwkg3 ?
[Galaxy S II Original Android Development] nightranger73:
It's no good to rely on busybox/toolbox commands output

Better you provide your own busybox within the app (i.e. look at titanium backup in its data folder) because this is a common issue and each busybox version changes the output of the commands, not only color codes, but the way the output is presented to user.

If you look at deep sleep detective (dsd) thread you'll find they've had same problem. Only solution to inject a common busybox and call this instead of system one
[Galaxy S II Original Android Development] jsbutran:
Please advice not able to get access to external sd from recovery mode to flash zip.
[Galaxy S II Original Android Development] monkeydrufy:
sorry guys,

which is the best kernel version?

and which is the latest?

thanks
[Galaxy S II Original Android Development] tygoger:
- They are all good working.

- CF-Root-SGS2_XX_OXA_KG3-v4.1-CWM4.zip - Is the latest.

Good luck
[Galaxy S II Original Android Development] CamoGeko:
Why don't you use the CF-Root XX_OXA_KG3 one?