yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] [-Amrish-]:
Chainfire,

The kernel works on my SGSII. Got superuser and root access!

Also the zimage works :D

Confirmed by me :D
[Galaxy S II Original Android Development] It_ler:
Ok, here is - especially for you, my friend - a short description of what I have done to complete the rooting of my phone successfully:

I came from XXKI3 with CF-Root kernel (XXKI3 4.2).

Then I flashed Intratech's Frankenstein version (non-wipe) XWKI8 with MultiCSC XXKI2.

(I am using Windows XP, so on Windows 7, you should remember to start Odin and SuperOneClick as Adminsistrator!)

And then I rooted my phone as described in Intratech's Quick Root Guide:

1. Shutdown the phone and then go to download mode.

2. Start Odin and click on the PDA button and select the insecure KDD kernel from Chainfire. Remove the USB cable when the phone reboots.

3. After the phone reboots, go to: Code: settings > Applications > Development

and put a tick in USB debugging if it's not already ticked.

4. Start the application SuperOneClick v1.9.5.

5. Connect your USB cable.

6. Click root (including the install of Busybox) and wait for it to finish.

7. Assuming this is successful, you can then shutdown the phone and go to download mode.

8. Now you can flash the Stock kernel (XWKI8 from Intratech's thread) to get rid of the yellow triangle.

That's how I have done it ... and it worked fine on my phone.

Afterwards I updated busybox to v1.19.0 and everything is OK !
[Galaxy S II Original Android Development] mitko76:
Chainfire pls provide ki8 cf kernel
[Galaxy S II Original Android Development] Sleepycat3:
It should still work. I previously even used KG series CF-Root kernel on KH1 firmware back when it just came out and it worked fine.
[Galaxy S II Original Android Development] fluke2k:
Yes it works.. You can use any kernel you want unless the OS are depending on some functions that are only available in an updated kernel, but I don't think that is a problem yet as all stock kernels has used the same linux kernel version base.

I flashed KI8 via odin and then flashed the CFKI4 kernel in odin. Then I flashed the stock KI8 kernel through CFW app. You will retain root, but not CF's recovery..
[Galaxy S II Original Android Development] MeX_DK:
+ Back Light Notifications

+ CWM with save to External SD
[Galaxy S II Original Android Development] fluke2k:
You dont need to wipe if you come from stock, but if you are on any CFW like Villain or any other, you will need to wipe after flashing..

I had Villain 3.0 and my SGS2 just boot looped after flashing the KI8.

Also be sure to flash the old bootloader so you can reset the custom rom counter. (not required, but nice non the less)

I used Intratech's version with the replaced old bootloader, found here:

http://xdaforums.com/showpost.php?p=18194930&postcount=31

---------- Post added at 12:59 AM ---------- Previous post was at 12:51 AM ----------

- I just flashed Intratech's KI8 version (w/ old bootloader, here:http://xdaforums.com/showpost.php?p=18194930&postcount=31) in Odin.

- Wiped my phone (since I was on Villain 3.0) (I took out the battery and put it back in since mine was boot looping, and hold volume up + home + power)

- Flashed CF's KI4 kernel in Odin (found here at the bottom: http://xdaforums.com/showpost.php?p=17704099&postcount=6)

- Flashed Stock KI8 kernel in CF's CFW app (App menu: "Flash kernel") (found here at the bottom of the page: http://xdaforums.com/showpost.php?p=16781156&postcount=2)

= Rooted stock KI8 phone without the yellow triangle.. Just missing CF's recovery

(I also used my JIG to reset the custom ROM counter)
[Galaxy S II Original Android Development] maxvanni:
XWKI8 rooted with any problem with cf XXKI3, also flashed zip in recovery ;)
[Galaxy S II Original Android Development] jerome.d:
I am also interested in a understanding the difference between those two modes. I don't saw any answer to this message, did I miss it?
[Galaxy S II Original Android Development] kmax.pt:
Hello.

This Kernel "XX_OXA_KI3: 2.3.5" accept Setcpu settings?

Many thnaks :D
[Galaxy S II Original Android Development] beakeroo:
Hi, noob question but it's better to be safe than sorry, my kernel is KEB, I'd go with KE2 right?
[Galaxy S II Original Android Development] joeherlev:
I'm just fine after updated from KI4 with CF-ROOT to new KI8

Have now ROOT with CF-ROOT KI3 - No errors so far
[Galaxy S II Original Android Development] beakeroo:
I ended up using KE7 with my KEB, worked fine, no problemos.
[Galaxy S II Original Android Development] It_ler:
Ok, I think that I have to try it again.

What CF-Root kernel have you used?

XXKI3 secure (4.1) or insecure (4.2)?

My first try was to use the insecure (4.2) CF-Root kernel.

Maybe, my second try should go for the secure one.

Edit: I stopped my second try, as Chainfire posted his CF-Root XWKI8 kernel and used this version ... successfully !
[Galaxy S II Original Android Development] akbarhash:
Go for secure on.

Me too rooted.
[Galaxy S II Original Android Development] Chainfire:
XW_NEE_KI8 posted.
[Galaxy S II Original Android Development] petsasj:
Yes! Thank you very much.
[Galaxy S II Original Android Development] a67543210:
Just flashed with CF root K18 NEE. No problem so far.

Just had one android process crash upon first reboot. Wiped the dalvick cash and did a reboot. No process crash.
[Galaxy S II Original Android Development] akbarhash:
Why insecure. It can lead to problems. Isn't secure better.

P.S. Thanks Chainfire.
[Galaxy S II Original Android Development] Rinoko72:
Just flashed KI4 CF-root kernel with KI8 FW, works fine cannot find any problems at all :)

But I see that Chainfire has just posted KI8 kernel :D so I think I'll just pop that in so that all the numbers match :D

Thanks Chainfire, great work.! :D
[Galaxy S II Original Android Development] CamoGeko:
Yes, that's fine

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] maxvanni:
% battery mod here: http://xdaforums.com/showthread.php?t=1188132 :D
[Galaxy S II Original Android Development] fasst:
Thanks Chainfire.

When you have time maybe you can make a secure version?
[Galaxy S II Original Android Development] BoneMo:
just question...can i do what i could before without this commands ?? i mean backup/restore, flash kernel, rom or is there any functionality missing ??
[Galaxy S II Original Android Development] Chainfire:
The commands are not gone, they are simply no longer in /sbin. STOP WORRYING ABOUT THEM. The softwares that use those commands know where to find them.
[Galaxy S II Original Android Development] jetv1r:
hi i'm on a kernel

2.63.5.7-719100XWKE7-CL215725

root@DELL103 #2

can i flash your kernel over it?
[Galaxy S II Original Android Development] sumeshd:
ok..reflashed..got it..thank you very much..
[Galaxy S II Original Android Development] jack_p75:
Hi i have the same 2.6.35.7-I9100xwke7-cl215725 root@dell103#2 and i flash via odin the 3.6 why is the same
[Galaxy S II Original Android Development] kab89:
Thxs new update fixed DroidWall for me
[Galaxy S II Original Android Development] schack:
error when wiping cache

When wiping cache is get these messages (and error)

-- Wiping cache ...

Formatting /cache ...

Cache wipe complete .

E: unknown volume for path [/sd-ext]

/Henrik Schack
[Galaxy S II Original Android Development] zyxeu:
CF-Root and Data Encryption problem

How to reproduce the CF-Root Data Encryption problem:

1.	Install CF-Root (v3.5/v3.6) KE7 over the latest generic XEU (GT-I9100_XEU_I9100XWKE7_I9100XXKE4_I9100XEUKD1). So far everything was working as expected.

2.	Set up a corporate email account (Outlook Exchange ActiveSync).

The corporate exchange server enforces Data Encryption of (SD-Card, USB storage, etc.)

Using CF-Root the device does not get to the "boot" PIN query and loops at the Samsung logo.

Installing the stock I9100XWKE7 kernel results in a "clean" boot and the boot PIN query, which previously appeared with its background picture, now (after data encryption) appears without the background picture. It looks like now at boot time it has no access to the background picture and hence does not show it.

The problem is clearly connected to some CF-Root problem with data encryption.

I did all possible wipe and reinstall combinations to get to my conclusion.

Is this a known issue?

Thanks.
[Galaxy S II Original Android Development] Chainfire:
Well, somebody (not sure if it was you) has reported it before. However, I am currently unable to test this problem, so it's hard for me to fix. I have no idea where to start or to look. It will likely be a bit before this is fixed.
[Galaxy S II Original Android Development] sjaanjean:
Cache wipe worked fine.

The error message just tells you, you don't have an extra partition on your external sd card.
[Galaxy S II Original Android Development] DJViking:
Sorry, my bad. Just read the rm commands and feared the worst.
[Galaxy S II Original Android Development] gogua:
Thank you so much. To upgrade from 3.5 to 3.6 only with this ??

thanks
[Galaxy S II Original Android Development] Sboulema:
Yes I succesfully updated using those steps!
[Galaxy S II Original Android Development] spyrale:
hey guys, does facebook sync and picasa upload works for you after the update?? :confused:
[Galaxy S II Original Android Development] DaFileFather:
yes. just flah it with CWM or Odin selecting the TAR file.
[Galaxy S II Original Android Development] gogua:
Yeahhh.

I flashed with CWM to avoid yellow triangle.

bye
[Galaxy S II Original Android Development] irenutia:
Flashing right now also via CWM. Thanks... Also I flashed directlty zImage file instead of zip file... I suppose it´s the same and I see I have now CWM 1.8 installed.
[Galaxy S II Original Android Development] bu2askoor:
would like to know as well. Thanks
[Galaxy S II Original Android Development] DaFileFather:
Here you go...
[Galaxy S II Original Android Development] crypticc:
erm, one or two pages before this one.

I flashed it just cos I wanted to try out the new CWM. Cheers Chainfire.
[Galaxy S II Original Android Development] paocavallo:
mee too...but this way the kernel version came back to ki3.....
[Galaxy S II Original Android Development] spline1:
Thanks Chainfire for the Rootkernels since 2010

my donation 6ES759044M328413A
[Galaxy S II Original Android Development] akbarhash:
Ki8 is out.

Sent from my GT-I9100
[Galaxy S II Original Android Development] MeX_DK:
Please add support for Backlight Notifications and please allow CWM to save the backups to the external SD rather then the internal NAND.

And which of the 2 Busybox installers should I install and use to update my Busybox in order to not break your kernel...
[Galaxy S II Original Android Development] Urimagination:
Quick question guys im downloading the KI3 update stock kernel. Which CF-Root are people using as there are 2 available for download? also are these versions fine to wipe as in the USB JIGG will work etc?

Thanks
[Galaxy S II Original Android Development] RejjvarN:
Anyone been able to flash CF-Root-SGS2_XW_NEE_KI8-v4.3-CWM4.zip?? My odin freezes at zImage part... :/

EDIT: Tried through CWM aswell but got " Can´t open .zip (bad) Installation aborted
[Galaxy S II Original Android Development] CamoGeko:
BLN is not gonna be added, with regards to external_sd I think that's an issue with CWM.

As for busybox, I use busybox installer from the market. Works fine

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] maddoguk:
Silly question - have you tried downloading it again and trying?

Worked fine for me.
[Galaxy S II Original Android Development] _cummoo:
Maybe corrupted dl, or try to flash with DarkyRom 2 Tool.
[Galaxy S II Original Android Development] davelinders:
Do I first install this one XW_NEE_KI8 with root+CWM4.

And after that must I flash the stock one again?

And will it keep cwm4?

I have now only root on KI8 and its fast as the speed of light.

Or can I use darky's rom tool to install zip's then I don't needed

this insecure kernel.
[Galaxy S II Original Android Development] It_ler:
In the zip file, there is a tar file.

Just try to flash the tar file (in PDA section) using Odin.

It just worked fine for me.
[Galaxy S II Original Android Development] strix75:
Can i flash this CF-Root-SGS2_XW_NEE_KI8-v4.3-CWM4.zip over my XXKI3
[Galaxy S II Original Android Development] DarkNiz:
I have XXKI3 kernel. When will XXKI8 be available?
[Galaxy S II Original Android Development] akbarhash:
Its available look on the first page.

Extract the zip file to get the tar file and flash that.
[Galaxy S II Original Android Development] DarkNiz:
XWKI8 is available. I'm looking for XXKI8.
[Galaxy S II Original Android Development] petsasj:
There is no XXKI8 as a firmware, or its kernel for that matter.
[Galaxy S II Original Android Development] Rinoko72:
Jepp, no trouble here.. :) used Odin and did everything "by the book" :)
[Galaxy S II Original Android Development] Rinoko72:
If you're running KI3 stock rom, why don't you flash the KI3 kernel in the first posts..? It's in no 5 or 6 I think.. :)
[Galaxy S II Original Android Development] Rinoko72:
Intratech has posted the stock KI8 rom in his tread on xda.. ;)
[Galaxy S II Original Android Development] It_ler:
I am not quite sure, what you mean.

If you have XWKI8 as ROM running on your phone and flashed CF-Root XXKI3 kernel onto it, then YES, you can just flash the CF-Root XWKI8 kernel over that.

I have done it the following way - just to be on the save site:

1. I flashed the tar file of CF-Root XWKI8 (v4.3) via Odin to my SGS2.

2. Then I copied the zImage file out of that CF-Root XWKI8 kernel on the internal SD card of my phone.

3. Then I flashed the stock kernel of XWKI8 via Odin to my phone.

4. And then I used CWM to flash kernel -> selecting the zImage file of CF-Root XWKI8 kernel.

Maybe there is a shorter / easier way to come to the same result, but I wanted to be "safe".
[Galaxy S II Original Android Development] MeX_DK:
When I had the O2x, there was a version of CWM which could save on the InternalSD and a version that saved on the ExternalSD. I must thus assume same "functionality" can be mirrored on Chainfires kernel no?. Call me old fashioned but I prefer to have things on my ExternalSD in the event I have to completely wipe the phone and InternalSD.

And if BLN is not going to be added can someone then tell me how to add it myself then since I am going insane from not having a notification LED. I dont know whats up with the phone makers these days with saving every few penny and not ptting a LED on the phone.
[Galaxy S II Original Android Development] westsider:
hi guys

i have just updated ma 9100 to stock 2.3.4 and root is of course lost

where to find root kernel for 2.3.4? the first post here shows only for 2.3.3 or not?
[Galaxy S II Original Android Development] H a R 0:
I tried to flash back to this kernel via CWM but it says installation aborted.

Im on Batista ROM and Siyah Kernel btw (KI3)

Shall i flash thru odin instead?
[Galaxy S II Original Android Development] Musket:
Kies updated my stock unbranded UK SGS2 to 2.3.4 last week and so I lost root access.

Having a look at the available kernels, the closest is:

CF-Root-SGS2_XW_NEE_KI4-42-v4.2-CWM4

I guess to be perfect the "NEE" should be "XEU" to match my phone, but does it really matter? Would I get issues if I flashed the above onto my phone?

Otherwise, anyone know where I can find the XEU variant of stock KI4?

:)

Thanks!
[Galaxy S II Original Android Development] lianghua2012:
Hi, please add me a CF-Root for KH2, I can't find it anywhere, thanks
[Galaxy S II Original Android Development] aidfarh:
Hi Chainfire,

If it's not too much to ask, can you please add CF-Root for I9100G_DZKI1? Thanks.
[Galaxy S II Original Android Development] Urimagination:
Hey everyone i flashed the Frankenstein KI3 as the original stock one didnt seem to make any changes.

Then i did a CF-ROOT. Now when i turn my phone off it comes up with the battery symbol then the hot warming symbol.

Also once i can get the phone off, the battery will say charged.

Its like the phone cant register that the charger is unplugged
[Galaxy S II Original Android Development] donalgodon:
SuperUser 3.0.2 still cannot handle permission well.

It forgets TitaniumBackup regularly.

The only workable solution is force TitaniumBackup to use the system (minimal) busybox from the preferences rather than the optimized one built into TB. Backups are slower, but at least it works.
[Galaxy S II Original Android Development] It_ler:
You should flash a newer ROM and then the corresponding CF-Root kernel.

But you may try CF-Root kernel for KH1 on your phone.

That seems to be very similar to your ROM (KH2), as it is also Android 2.3.3 and KH3 is Android 2.3.4.

If you do not want to flash a new ROM to your phone, just give it a try.

Good luck !

---------- Post added at 09:17 AM ---------- Previous post was at 09:08 AM ----------

I am running XWKI8 XEU and used CF-Root XWKI8_NEE kernel ... without any problem.

So, stick to Chainfire's description in his 1. post and use the corresponding kernel version.

The region (CSC) seems to be not important, as CF-Root is only a kernel and not a complete ROM.

Back to your question: Yes, you can use the NEE variant of the kernel, even if you have the XEU ROM installed.

If you really meant the stock kernel, then you can use the one provides by Intratech (=> http://xdaforums.com/showthread.php?t=1075278).

---------- Post added at 09:21 AM ---------- Previous post was at 09:17 AM ----------

Try to wipe cache and Dalvik cache (via CWM) first.

That is what helped me.

Alternatively, you should use Odin to flash another ROM.

---------- Post added at 09:27 AM ---------- Previous post was at 09:21 AM ----------

I think that you have not read the 1. post completely.

I found the following description:

So, you need to identify the kernel version of the ROM running on your phone.

That is what you should look for as corresponding CF-Root kernel.
[Galaxy S II Original Android Development] melorib:
I cannot ODIN, first time no driver, restarted and connected USB, it loaded the driver and showed the SDcard, tried daownload mode again, nothing, didnt ask for driver but didnt show COM port...

Downloaded USB driver from the net, installed, same, doesnt show COM port on ODIN, what am I doing wrong...
[Galaxy S II Original Android Development] timberwolf60:
Reinstalled titanium backup should solved the problem.
[Galaxy S II Original Android Development] CamoGeko:
If you're after BLN so badly then I'd suggest you use a different kernel. Like Ninphetamine for example.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Check and make sure there are no KIES processes running in the background. Also trying a different usb port and a different cable couldn't hurt.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] donalgodon:
It does, but only temporarily, just as the deleting data from SU 'fix' I mentioned earlier in app managment. The only permanent fix is to force Titanium Backup to use the system busy box instead of its own built-in version.
[Galaxy S II Original Android Development] H a R 0:
I did that already before posting and im still getting installation aborted. Flashing thru odin is kinda scary since it's not pushin thru with this CF-root kernel :(
[Galaxy S II Original Android Development] caanda45:
Follow the instructions and odin is a piece of cake. Are you in download mode for odin very common mistake!!! That is the way samsung flashes the software. I only use odin to flash my kernels and roms if required. I sometimes change my kernel a few times in a day as I have flashed different roms. Easy fast and effective and efficient odin is!!!!!!

Do not be scared!!!
[Galaxy S II Original Android Development] CamoGeko:
So true, and don't be put off by the extra exclamation marks in the above post. :p

Bricking an SGS2 is difficult to say the least. Just don't tick any extra boxes in ODIN, only leave it as it is when you open it.

2 boxes should only be ticked (F-Reset time and Auto-Reboot).

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] It_ler:
Have you already tried SuperUser v3.0.5 ?

Maybe this can fix the problem on your phone.

Good luck !
[Galaxy S II Original Android Development] DarkNiz:
Is there anyone who had CF-Root-SGS2_XX_OXA_KI3-v4.1-CWM4.zip installed and then installed CF-Root-SGS2_XW_NEE_KI8-v4.3-CWM4.zip?

Also, what is the difference between secure and insecure modes with CF-Root?
[Galaxy S II Original Android Development] Hype2k:
Back to stock if necessary?

Hi,

if i flash the rooted kernel as described in the instructions i am already rooted, right?

So i can direclty go on and flash Cyanogen 7.1 for exapmple?

To undo the whole process, can i simply flash back to a stock kernel if i want to and flash a stock rom again?

Thanks in advance,

Hype
[Galaxy S II Original Android Development] Musket:
Thanks for the reply. I previously used chainfires kernel, so that's what I meant. OK, I'll give the NEE version a try.
[Galaxy S II Original Android Development] Jennerster:
Can someone please help me. Which kernel would be suitable if any?

CF-Root-SGS2_XX_OXA_KI3-42-v4.2-CWM4.zip?

Thanks
[Galaxy S II Original Android Development] CamoGeko:
KI3 is the one you want.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
That's all correct. :)

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Hype2k:
Thanks for the quick reply.

I think I'll give it a try then...
[Galaxy S II Original Android Development] pinoymutt:
Hi Chainfire, I know the original post was dated a while back, but just curious if there was any new breakthrough or confirmation of the "counter-reset-counter" you mentioned before?

We're having a lively discussion about it in the AT&T SGSII threads, but it wasn't clear if there were any updates on this part. Specifically, some of us are curious if Samsung has actually denied any warranties based on the second counter being reset (after using a Jig to reset the primary counter).
[Galaxy S II Original Android Development] Chainfire:
No breakthroughs. To be honest:

(1) I have stopped looking

(2) I'm not convinced the second counter actually exists

(3) Even if it did, I doubt a Samsung Service Center would actually look at it

I'm not aware of any denied warranties based on the second counter, or even the first counter, actually.

When push comes to shove - and you are brave - you can always flash a pr0n PNG as bootloader. That pretty much kills the device... it is still revivable with a JTAG unit, but most service centers don't have one or know how to use it if they did ...
[Galaxy S II Original Android Development] IronMit:
UK

kies updated me from KF3 to KI4. Lost all my root stuff. adverts everywhere! grrr

android version 2.3.4

2.6.35.7 ......... XWKI4

which kernal do i use... i see some on front page but these date back to may?

XW_NEE_KI4-42-V4.2 and V4.1

is it one of these or is there another one?
[Galaxy S II Original Android Development] caanda45:
Why on earth does anybody use Kies??? Crap product that very seldom works. Tons of other choices that work!!!!! Then you will never have the situation of getting something you do not want (kind of like a Samsung dose of the clap!!)!!!
[Galaxy S II Original Android Development] donalgodon:
Just to confirm....

Has anyone else noticed that flashing 4.3 doesn't produce the 'yellow triangle' indicating a custom kernel?

I tested this twice via Odin, having my jig close by thinking I'd need it, but I didn't.

Is it just me?
[Galaxy S II Original Android Development] DarkNiz:
@Chainfire: Can I install the XWKI8 kernel over my XXKI3 one?
[Galaxy S II Original Android Development] CamoGeko:
If you're running or upgrading to a KI8 ROM then yes.

Transmitted from a Galaxy far far away via XDA telepathy.