yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] LP6:
Thanks., but I don't want to have the new ROM if I can't have CF-Root and CWM also, which is why I'm asking whether anyone already has the knowledge. :)

I'll let you know if I test it after all.

-LP-

EDIT: Updated to version PDA:KF3 / PHONE:KE7 / CSC:KF1 (NEE) through KIES and CF-Root for KF3 would seem to be working fine, KIES even sees the phone as a "legal" updateable device. :)
[Galaxy S II Original Android Development] Nitsson:
Thanks for this, used it to root when I got my SGS2 a couple of weeks ago. I'd like to try the Batista70 ROM now, and so I'd like to upgrade to CMW4 from the 3.x I currently have. Are there actually any mayor differences between version 3 and 4? Also, to upgrade, to I just follow the instructions below?

Instructions - If you already have CF-Root

- Copy the zip file to your SD card

- Stop sharing SD card with computer over USB, unplug the cable, etc

- Applications -> CWM -> Flash kernel. Select the ZIP file on your SD card.

- Done

Thanks!
[Galaxy S II Original Android Development] kbiz90:
Thanks Chainfire. I bought you a beer.

It took me a while to figure out what KE2/7/8 and KF1/2/3/4 meant and how to look it up on my SGS2. Once I did, the process was very easy.

I think adding the following information at the top of the first post will help a lot of people:

1.) The CF-Root process is dependant on your phone's particular kernel.

2.) The kernel on your particular Samsung Galaxy S II is dependent on build-date, geographic location, and brand.

3.) How to lookup the kernel name.

4.) How to associate the important letters in the kernel name with the appropreate CF-Root file download.
[Galaxy S II Original Android Development] sianzb0i:
i flashed wif KF1 kernel and i wanna pull framework-res.apk but it doesnt come out.

i then tried to adb shell and su but it says permission denied...any help?
[Galaxy S II Original Android Development] _JKay_:
Adb pull /system/framework/

should do it. You dont need to type rootsh
[Galaxy S II Original Android Development] sianzb0i:
thanks alot.

i read the help and it ask me to give a destination so i added a c:\ behind and it didnt work

a thanks button for u :)
[Galaxy S II Original Android Development] _JKay_:
As destination a . will do fine
[Galaxy S II Original Android Development] Nap05:
Hi.

I rooted my phone with CF-Kernel and installed a custom battery icon pack. Now i flashed back to a normal Kernel, then to a normal insecure kernel, used the S2 Root Tool to "UnRoot" it, but there is still the clockword mod manager and the clockwork mod recovery.

I just wanted to replace the battery icon pack and then get back to the state I had before (Original Kernel, Original Firmware, Original Recovery Version, No Root, No CWM Manager). Please dont question why I want this, I would rather appreciate if someone could help me since I am really confused right now.

Thanks in advance for any help :).

//edit: Flashing back to the original kernel seems to have removed the CWM Recovery, but the Application is still there and I need to get rid of it.
[Galaxy S II Original Android Development] _JKay_:
You still have root. Use Titanium Backup to remove the aps you dont want. You can always install superuser apk on data from market.
[Galaxy S II Original Android Development] rudolf895:
Where do i get the stock kernel from?
[Galaxy S II Original Android Development] Chainfire:
You can find them here
[Galaxy S II Original Android Development] Nap05:
I still have kinda root, yes. If I use the unroot tool to unroot, it says its successfull. After that I flashed back the original secure kernel.

But now when I flash the insecure kernel in order to try to root with the root tool, it aborts because it alredy have root. Whats the matter with this? How can I get rid of the root without having to flash the original rom back?
[Galaxy S II Original Android Development] perrito2000:
Hi, i want to ask two things:

1. If is posible to root my SGS2 using this kernel. It is from Mexico and this is the system info:

PDA: I9100UMKE1

PHONE: I9100UHKD8

CSC: I9100TCEKE1

Build Info: Fri May 13 18:48:25 KST 2011

OCode: GT-I9100LKLTCE

2. How can i find a stock kernel. It is not listed in this thread.

I hope you can help me.

Thanks.
[Galaxy S II Original Android Development] _JKay_:
Using CF-kernel in recovery: How do I get: adb push filename /system/framework/

to work? I get access denied!
[Galaxy S II Original Android Development] bungle2k3:
sorry if this has been asked, :o

but after this cf root , if I then go and flash the lightning rom will i loose my clockwork recovery 4 that you have included? cos i would much like to keep that :cool:
[Galaxy S II Original Android Development] mach0boi:
No because litening rom has cf-root in it and cf-root has CWM recovery.
[Galaxy S II Original Android Development] bungle2k3:
fresh! :D im a happy flasher :D
[Galaxy S II Original Android Development] infra4800:
Successfully rooted the phone, but to get rid of triangle.... a bit of story :( :

my phone - Vodafone i9100T KF2

1. rooted with CF-Root-SGS2_XX_OXA_KF2-v4.0-CWM4.tar >> successfully rooted & have CWM recovery -- yay !!!

2. see triangle on startup & i9100 on startup

3. so followed the above method, flashed with Samsung stock kernal ->

GT-I9100T_I9100TDUKF2_Kernel.exe (5.07 MB)

found from this thread under Vodafone i9100T http://xdaforums.com/showthread.php?t=1113928

4. then used zimage from CF-Root-SGS2_XX_OXA_KF2-v4.0-CWM4.tar sitting on sdcard and flashed it with CWM ... all done

5. now the phone boots up with i9100T and no triangle and still rooted

BUT

I've lost CWM .... it is replaced by Android System Recovery 3

I tried flashing CWM recovery via ROM Manager, though it says installation done, but it does not happen.

Is there a way to get CWM Recovery 4.0+ after step 5 of my procedure?
[Galaxy S II Original Android Development] rahuldave:
Power Off

Hi

I have installed CF-Root-SGS2_XW_OJV_KF1-v4.0-CWM4.tar.

Currently I'm stock ROM

Whenever I press power button> power off, it restarts the phone and doesnt power it off. How to solve this?
[Galaxy S II Original Android Development] xinfinityoO:
did you login as root ??

adb shell

shroot
[Galaxy S II Original Android Development] _JKay_:
Sure but it just hangs there in batch file or if typed in command li ne gives me the shell so I have to exit shell and this looses root.
[Galaxy S II Original Android Development] rahuldave:
POWER OFF

Appreciate if someone could help me on this
[Galaxy S II Original Android Development] xinfinityoO:
Thats strange ..if u followed every instruction to the letter.. it shouldn't happen..

maybe chainfire would know

meanwhile try booting to recovery and clear your cache and the the delvik cache and see if that makes any diffrence
[Galaxy S II Original Android Development] xinfinityoO:
ROM MANAGER ??????????????????

Did you read the instructions carefully..its not compatible with it

edit

----

for yellow triangle.. the best thing is to get a usb jig .. it cost less then $10 on ebay
[Galaxy S II Original Android Development] _JKay_:
To ge rid of triangle use 301K ohm jig. Works every time :)
[Galaxy S II Original Android Development] rahuldave:
POWER OFF

did that, still the same
[Galaxy S II Original Android Development] _JKay_:
Request to chainfire:

1) Change in cwm so always root. Cuz rootsh does not work in batch files.

2) Add 'Reboot to download' to cwm menu
[Galaxy S II Original Android Development] sianzb0i:
Yeah, how to push it back?

Help is appreciated
[Galaxy S II Original Android Development] RageDemon:
hi,

need help on which CF-root zip file to use, my current firmware version is PDA:KF1 / PHONE:KF1 / CSC:KE5 (GLB)
[Galaxy S II Original Android Development] mach0boi:
Download the kf1 kernel. Sa tipidcp ka magask :D
[Galaxy S II Original Android Development] RageDemon:
ahh ok, sige...salamat :D...rooting now :D
[Galaxy S II Original Android Development] gschot:
I got the SGS2 this week (coming from the regular SGS) and am therefore trying to find my way into the naming of the versions of this device. So be gentle... ;)

Today I connected my phone (on PDA:KE7/PHONE:KE4/CSC:KE1 (XEN)) to Kies, and I noticed that this was the first time Kies reported a possible upgrade, to:

PDA:KF3/PHONE:KE7/CSC:KE1 (XEN)

Is this a brand new available firmware? I was preparing for upgrading/rooting this one, but I could not find the stock firmware in the other topic to extract the zImage file (to remove the triangle)...

Can I already root this firmware with one of Chainfire's available kernels? What zImage file should I use to remove the triangle?

Anyone any input on this?
[Galaxy S II Original Android Development] bgn9000:
Hello Chain Fire,

I have a naive question about your custom kernel + CWM.

Do you recompile a kernel from sources or do you include existing zimage from official kernel ?
[Galaxy S II Original Android Development] bgn9000:
Did you remove the battery and wait for few seconds before restarting and trying again ? I got this issue and then it disapeared after that.
[Galaxy S II Original Android Development] _JKay_:
read 2nd line in post 1!
[Galaxy S II Original Android Development] nigelbe:
3GUK update to XWKF4 today

Hi,

Can anyone point me at the insecure and stock kernels to let me root it again.

Thanks in advance.

Nigel
[Galaxy S II Original Android Development] bgn9000:
Alright, I read it but just to confirm... ;)
[Galaxy S II Original Android Development] mbroeders:
Yes, you can use the KF3 kernel in the third or fourth post. I still see a triangle, but the kernel itself runs just fine.
[Galaxy S II Original Android Development] sianzb0i:
Flashed the KF1 version and experiencing intermitent network issues. Before flashing everything was fine.

Things done:

format

cleared cache
[Galaxy S II Original Android Development] gschot:
Ok, updating now... And let's then wait for this firmware to become available on the list, so I can get rid of that annoying triangle... :)

*update* When downloading the new firmware, I got an unzip error... Retrying later, I guess..

*update2* Ok... Updated and got root :)
[Galaxy S II Original Android Development] simmps:
Apologies been searching this thread and others for a few hours.

What is the difference between KF and KE root kernals? How can I tell which one I should install on my phone.

and how this affects what roms you use or vice versa? Im under the impression I can't just install one type of CF-ROOT (say KE4V.20) and then switch roms at will. I have to match up a rom to kernal.
[Galaxy S II Original Android Development] _JKay_:
Just match them and you are safe. Its that easy.

Say you have Rom XWKF3 use kernel XWKF3.

Use *#1234# to see what rom you have. Also called PDA.
[Galaxy S II Original Android Development] sianzb0i:
anyone experiencing the same thing?
[Galaxy S II Original Android Development] _JKay_:
Having the same problems. But thats with whatever kernel, modem or rom I try!
[Galaxy S II Original Android Development] simmps:
Ah great answer thankyou.

So if i install a new rom and find the kernel doesn't match up can I retrospectively flash the correct kernel without affecting the phone?
[Galaxy S II Original Android Development] _JKay_:
Roms comes with matching unrooted kernels. These are then rooted by modifying the initramfs and repacked into a rooted zImage containing the original kernel and drivers from original initramfs. A zImage is then tar'ed so it can be flashed with odin. Thats all.
[Galaxy S II Original Android Development] wackyguy_07:
Can I update a rooted SGS2 to KF3 without unrooting

Hi, I have a very small doubt. I rooted my phone using Chainfire's CF root method from here - by flashing an insecure kernel and rooting:

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

I'm in India, running a rooted SGS2. Is it safe for me to flash the KF3 firmware without unrooting?

Baseband Version: I9100DDKE2

Kernel Version: 2.6.35.7-I9100XWKE8-CL214845

root@DELL101 #2

Build Number: GINGERBREAD.XWKE8

50000 brownie points to the person who helps me :)
[Galaxy S II Original Android Development] Amritttt:
i forgot my stock kernal and rom version and modem so is there a way i can know what version of stock kernal i had and which kernal i should use,i am sorry i m new to galaxy phone i was using nexus s and nexus one so please can some one help me out thanks :d
[Galaxy S II Original Android Development] omar.abbas:
by forgetting you mean you have installed another rom with another kernel??

in my knowledge i dont think you can get any info about your previous rom or kernal you were at..
[Galaxy S II Original Android Development] xinfinityoO:
@ Chainfire

The new offcial UK Firmware is KF3

The Kernel for that is XWXEUKF3.

would the CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.zip work on this

if not could you please make a CFRoot for the XWXEUKF3.

thank you
[Galaxy S II Original Android Development] docn:
hope the kernel will soon or later get a cifs/initframs and a startup form init.d module. looking forward.

greetz
[Galaxy S II Original Android Development] Isadora:
Yep, works fine, I did mine earlier today
[Galaxy S II Original Android Development] sianzb0i:
i was ok b4 i flashed the kernel

so it got me wondering what/where went wrong
[Galaxy S II Original Android Development] cruzzmz:
JPKF3 is the new kernel ... can i use tha CF-Root that ends with KF3??
[Galaxy S II Original Android Development] mossywell:
Thank you very much

1e495775k1380024w

:)
[Galaxy S II Original Android Development] amadablam:
My stock kernel is 2.6.35.7-I9100BUKE1-CL182896root@DELL105#2

Should I use this CF-Root? CF-Root-SGS2_XW_XEU_KE2-v4.0-CWM4.zip or is there another I should use?

Also, when I install this, will I just have root on the stock ROM? Will I lose any data, apps, etc?

Thanks so much and sorry if its a stupid question. I cam from a few years of flashing on a HERO and just want to start out right on the S2.

Next will be a villainrom flash :D

Thanks all :)
[Galaxy S II Original Android Development] :
Just read a few pages back the answer on the BUKE1 or 5 is mentiond very often and very detailed.
[Galaxy S II Original Android Development] amadablam:
Thank you :)

I better start reading back down as I started at post number one and got so many pages in that I may have missed it, it all blurs together after a while :D
[Galaxy S II Original Android Development] mayhs:
Hi im currently using ur XEU KE& root but am looking to upgrade my phone to KF3 XEU. After reading the first post i see that i can upgrade using CWM but my current version of CWM says v1.70. can i see still use the technique described in the first post? and also can u use the below root file or do i need to wait for a KF3 XEU file? the reason i ask is i plan on flashing back to the normal XEU after rooting as described in your second post but just wanted to confirm this is the case or am i missing anything?

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

I have looked thought the thread but didn't find anything directly related so thought its best to just ask. any helps greatly appricaited
[Galaxy S II Original Android Development] :
In this kind of threads it's mostly wiser to start at the end and read back since there is the most up to date info ;)

On the beginning there you find the starter bugs and info on first releases.
[Galaxy S II Original Android Development] tenchi0205:
Hi,

My SGS II is on firmware 2.6.35.7-I9100xwkdd-cl 161513 after root with superoneclick method.

Can I use the CF root method inorder to get the ClockWorkMod (CWM4) recovery into my phone for future flashing purpose?
[Galaxy S II Original Android Development] mixailo:
One more user wondering whether to use CLK KF3 or do we need to wait for a XEU variant?
[Galaxy S II Original Android Development] mayhs:
Yea, sorry for my inexperiance on the matter but surely just answering my question would mean less pointless posts? Ive read through the thread and used the search function but would just like to be sure before doing anything to my phone.
[Galaxy S II Original Android Development] mixailo:
I'm not impatient. Chainfire is probably at work or hopefully doing something more enjoyable, but I thought maybe some of the users tried it out. :)
[Galaxy S II Original Android Development] DvTonder:
The CLK KF3 version works perfectly with the XEU version of the ROM. I suspect the only difference between the KF3 variants is the CSC, the kernel is the same and interchangeable.
[Galaxy S II Original Android Development] mixailo:
Thank you, that is the answer I've been looking for! :D
[Galaxy S II Original Android Development] :
Rather update you GS2 first to the one of the newest versions of android, xwkdd is the first version of android for it ;)

See this thread: http://xdaforums.com/showthread.php?t=1075278 , then come back here when you are on KF3 or some other rom.

Or use Kies to update it.
[Galaxy S II Original Android Development] xfighter11:
I9100xxkg1

Hey chainfire,

will there be a version for the newest I9100XXKG1 soon?
[Galaxy S II Original Android Development] Willbuh:
Hi there.

I would like to root my Galaxy S II but sort of stuck on what to do. I downloaded the first zip file on this thread containing that Odin .exe so I can root and flash, whatever. But where the instructions say "Click the PDA button, and select CF-Root-xxx-vX.X.tar" I don't have any .tar files, which I thought might be included in that zip. I scrolled further down in the thread and noticed a ton of other download links but have no idea what one to get.

Can someone point me in the right direction please?

Also, since I only want to root my device but keep the same stock rom I have but have access to recovery and able to flash roms at another time, I only need to follow the "ODIN (Long) instructions" right? and nothing more?

Thanks!
[Galaxy S II Original Android Development] rsb007:
Nice question :)

I want to know too
[Galaxy S II Original Android Development] Lennyuk:
He will do it as soon as he has a chance, but remember its the weekend now and we all have lives away from android.
[Galaxy S II Original Android Development] BackfireNL:
Everyone asking for ETA's!

Here's the link!

http://bit.ly/q7dWQv
[Galaxy S II Original Android Development] xinfinityoO:
@ Chainfire

I am not sure if this is a bug in the kernel or its just my mobile..

when you try and do a backup using CWM from Android (not recovery mode), you are asked for a file/folder name for the backup. The default which pops up is the current date/time. when i modify that to some other name and start the backup. The phone boots to recovery menu. The backup doesnt start automatically, have to manually start it again in the recovery (no option to specify file/folder name).

now this wasnt happening in the CFKE7 kernel. used to work fine. The backup would start automatically when the phone reboots to reovery and would also retain the modifed name.. I have tested the Kf2 and kf3 they have this problem.

any ideas.

thanks
[Galaxy S II Original Android Development] Vertumus:
Go go master Chain, 2.3.4 is here :)

Thank you so much for ur work

Sent from Samsung Galaxy S II mobile
[Galaxy S II Original Android Development] simonthor:
Hi guys :) I'm new here on the galaxy forum, as I just jumped from the Desire to this awesome phone.

Now I have a couple of questions regarding root on this phone.

1. Is it possible to go back to the original non rooted rom (Kernel or whatever) in any way, in case I just want that? ( Don't know why I would, but still)

2. I think I understand all steps good, but what CF-Root should I use?

[Kernel = 2.6.35.7-I9100XWKF4-CL280512root@DELL151 #2]

[Build-Number = GINDERBREAD.XWKF4]

That's it, I hope that you will reply :)
[Galaxy S II Original Android Development] magic wand:
yes

1. yes you can

2. use	CF-Root-SGS2_ZS_OZS_KF4-v4.0-CWM4.zip on post 4 extract and flash usuing odin follow instructions on post 1
[Galaxy S II Original Android Development] simonthor:
Thanks alot! Just wanted everything to be clear :)
[Galaxy S II Original Android Development] :
Well think it's gonna be monday for CFroot 2.3.4 ;)

As for the last few months on GS2, CF is off in the weekend far far very far away of his keyboard and we should respect that.
[Galaxy S II Original Android Development] Willbuh:
After reading a few posts up, I think he answered my question too. I'm first to rooting my device also and want to keep the stock rom, so shall I be using "CF-Root-SGS2_ZS_OZS_KF4-v4.0-CWM4.zip" with the odin.exe thing also?
[Galaxy S II Original Android Development] _JKay_:
Anyone else who can create a stock+cwm kernel for xxkg1?
[Galaxy S II Original Android Development] athulag:
Just if anyone is interested:

I flashed KG1 stock rom yesterday (upgraded from KF2 stock). Since it is a wipe rom I did the following:

1) backed up my device using CWM on KF2

2) flash KG1

3) flash CF-root KF2 kernel (this also roots the phone)

4) restored ONLY the Data partition using CWM

5) flashed KG1 kernal back

So I did not loose any data and everything is working fine.

(I also noticed that the KF2 cf-root kernel works on KG1 without issues
[Galaxy S II Original Android Development] peosb:
Is it possible to flash a modem using CWM? I don't have access to Odin at the moment...
[Galaxy S II Original Android Development] LeoMar75:
How did you flash back the KG1 Kernel back? I guess that after the zImage has been extracted i need to copy it on the sdcard, thus flash it by using CWM Manager!

Is it right?

Thanks in advance!

\EDIT

Ok it worked for me, of course now we have the stock recovery.
[Galaxy S II Original Android Development] jokuvuan:
Chainfire: Have you considered adding back light notification (BLN) support for this kernel? I really miss this feature on my rooted Galaxy S phone (Voodoo root).
[Galaxy S II Original Android Development] sicopat:
If you want to keep the CWM Recovery, keep the KF2 CFroot kernel
[Galaxy S II Original Android Development] athulag:
Yes I flashed the kernel by extracting the zimage.

But you can also download an odin flashable version on intratec's thread

I guess we will have to live with stock recovery until chainfire makes a KG1 CWM kernel
[Galaxy S II Original Android Development] BMWpokerAce:
Or you can live with the CWM KF2 Kernel on KG1 FW.

This way you can benefit from the nice backup and restore function of CWM Recovery :p
[Galaxy S II Original Android Development] busta_87:
Yeah exactly what im doing the now no need harassing chainfire guys has a life etc when its released its released. Aslong as i have CWM i dont mind :d
[Galaxy S II Original Android Development] animelover:
CWM is a really nice feature but I prefer an OC/UV kernel with compatibility for Tegrak Kernel App!

For now I'm staying with CF-Root KF2! :)
[Galaxy S II Original Android Development] Lennyuk:
you can underclock on cf-root, you don't want to be overclocking as so far there are reports of a lot of bricked phones, from even slightly overclocking. Some phones have died after being overclocked for just seconds so its not even worth the risk of trying at the moment.
[Galaxy S II Original Android Development] vanessa13006:
For phone died by overclocking you can ask Nobnut. He killed his first GS2. And honestly this device doesn't need an overclocking.
[Galaxy S II Original Android Development] runedrune:
Yeah that's true. I've actually brought mine down to 800mhz and haven't noticed a decrease in performance.
[Galaxy S II Original Android Development] Willbuh:
Can anyone answer please? =)
[Galaxy S II Original Android Development] y0.o!:
after a bad flash I can no longer get CWM to work :(. I've done factory reset, then used odin to flash stock rom, then install cf-root and cwm still wont work. when ever i select an option in the cwm menu it just shows the hat picture. i press the power button and it goes back to the main menu.

I've tried lots of different roms and kernals. it's like some file is still being left on the phone even after a wipe and is messing up CWM when ever it's installed.

Does any one have any ideas what I can do?
[Galaxy S II Original Android Development] runedrune:
use the home button to select. :p