yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] slind:
Can someone

please

tell me what's going on here:

Problem with VillainRom 1.4 and ESET Mobile Security. [...] I need acces to the phone via cwm and adb shell.

Strange thing is: a few hours ago it wasn't showing in the list after "adb devices", then it was when being in CWM mode, now again it's not recognized, and I am going to go berserk really soon :)

Normal boot doesn't help because I can't accept the pop-up prompt for root acces, ESET blocks the screen right from the start.

Is there anythin' in CWM I have to do before it's starting the adb service?

THX :)
[Galaxy S II Original Android Development] xfighter11:
KF3 works fine really fine. And CWM 2.0 is awesome. Thanks Chainfire.
[Galaxy S II Original Android Development] inoam:
Please help me

:(

My dad got the phone and I was trying to root it for him.

After using ODIN the process seems to go smooth and the phone restarted at the end. Now when I try to connect it to the computer it is not recognized anymore. I cannot see the phone in storage mode either. I also cannot go back to ODIN. It's is not recognized in download mode either.

Please Please help. I am scared I ruined a phone that is not even mine.

Itai
[Galaxy S II Original Android Development] vladleo:
question

i have a question chainfire.....why didn't you root JPKF3 kernel and chose XWKF3 kernel?....is something wrong with JP? everything working fine anyway...just running an older kernel
[Galaxy S II Original Android Development] Chainfire:
Normally I always use the XX/XW variants. In this case, I didn't even know there were two different ones.
[Galaxy S II Original Android Development] vladleo:
Yes there is....JPKF3 is 11 days newer than every KF3 availble....if it is not a big problem for you...or for your time...do you think you can root this kernel...i guess most of kf3 users are on JPKF3..so...maybe this kernel is an improvement....in another note...i love your work and thx for your time dedicated to xda....have a nice evening:)
[Galaxy S II Original Android Development] skorzo:
Is BLN Control supported (or can it be supported) in CF Root 4.0 ?

Thanks.... :cool:
[Galaxy S II Original Android Development] kshting:
Hi,

Ok, so you have successfully flashed a cf root kernel in odin and the phone booted up normally but your pc does not recognize your phone nor does download mode. SO this is what you do:

1. If you do not have Kies, download it and restart your pc; (you most probably do:D)

2. Start Kies and connect your phone to the pc, Kies would now try to connect to your phone, you should be able to see your phone connected once Kies has successfully done so;

3. If item 2. does not work, go to TOOLS in Kies and click on INSTALL DRIVERS, you should be connected once the drivers have installed or disconnect and reconnect your phone and should be good to go;

4. Once you are done with Kies, exit the program completely and exit the same on your phone as well. And you do not want Kies to run on your pc while trying to use odin at the same time;

5. Now, to use adb or download mode, you must then enabled usb debugging. It is in Settings>Applications>Development>USB Debugging (checked it);

6. You should now be able to connect your phone as usb storage or flashing in download mode.

However, if you wish to use Kies again, which I don't, please disable USB Debugging.

Hope this helps :)
[Galaxy S II Original Android Development] Eukanaba:
I have used the ZSKF4 kernel because it is CF-ROOTED but i get a better battery life on my phone when i use the stock XWKF4 that came with my original firmware from carrier 3.dk.

Is there any chance you will make this kernel with CF-ROOT? Link: http://www.multiupload.com/7Z0F6HJHJU

Thank you..
[Galaxy S II Original Android Development] Arielo1:
Hi chainfire

i am following your GREAT work from the galaxy s 1

now my friend got the 2 and i flashed your kernel and installed him a rom

all went SMOOTH (its the same procedure as SGS1) so it was easy since i already know how to deal with this ****.

say guys is there any AOSP based rom for the SGS2 like Miui or CM7 ?

i just ****ing hate samsung based roms

and if there is ...is it in stable stage ?

thnx u for all !
[Galaxy S II Original Android Development] buBleZ:
I just updated to the new firmware KF3 released in India using Kies. Previously I was rooted using CF-root and now after upgrading my firmware its lost.

Can I install CF-root again? Will it just provide root access without affecting the kernel or firmware which I newly upgraded? I guess not according to Chainfire's post #3.

Here is the snapshot of my new kernel version.

@chainfire: A request here to provide CF-root for this Kernel version.. Thanks.
[Galaxy S II Original Android Development] fossie:
hello again.

which kernel is the best for rooting?

Kernel Version:

2.6.35.7-I9100BOKE4-CL18638 root@DELL102#2

Build:

GINGERBREAD.BOKE4
[Galaxy S II Original Android Development] athulag:
Just recieved the paypal for selling my HTC HD2

I wanted to put the funds to good use by sending small donations to the developers who are making my new SGS II a great device :D

Confirm code 7XJ69715896841912
[Galaxy S II Original Android Development] jonny68:
thanks for your response.
[Galaxy S II Original Android Development] rodeo_calling:
I just updated mine too. Isn't the third link in post #4 for XWKF3?

Edit:

Probably the CSC is different.

Edit2:

Just installed and works great. Thanks CF :)

Edit3:

Apparently the CWM does not work. In the primary menu if you select anything you just get a black screen with the logo (with the hat or whatever) in the middle. No options to choose from. Please help.

Edit4:

Sorry my bad. I was used to using the power button for making a selection, coming from SGS. CWM works fine with the home key. Cheers
[Galaxy S II Original Android Development] nightranger73:
LOL it's the first time I see someone questioning with himself on a forum ;)

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button
[Galaxy S II Original Android Development] fairyshacker:
cf-root version ?

PDA: I9100XWKF1

PHONE: I9100DXKF1

CSC: I9100OLBKE5

which CF-R00T should i use with ODIN ?
[Galaxy S II Original Android Development] Rainbow86:
Were to place the Samsung kernal?

(1) Make sure you have CF-Root flashed (see the first post). You must have the "CWM Manager" app available.

(2) Make sure you have the same version of CF-Root extracted until you have the zImage file. (ZIP --> extract --> TAR --> extract --> zImage).

(3) Push the zImage file to /sdcard . It must still be called zImage !

(4) Find an original Samsung signed stock kernel (preferably from the same stock firmware you have, but it's not terribly important)

(5) Reboot into download mode (adb reboot download, or boot the device with home and volume-down pressed)

(6) Fire up ODIN, and flash the Samsung kernel

(7) Boot the device with the stock kernel. CWM Manager will still be available.

(8) Start CWM Manager, select Flash Kernel, and select the zImage from CF-Root you previously put on your SD-card. The kernel will flash and the device will reboot.

(9) You will now notice you no longer have the warning triangle during boot, but you are actually running CF-Root with all it's goodies!

(10) In the future, if you only use the Flash Kernel option inside CWM Manager instead of ODIN, the triangle will not return, neither will your flash counter increase. But keep in mind, that CWM Manager can only handle a direct "zImage" if you are NOT running a kernel with full busybox support (this is currently needed for flashing kernels out of .TAR and .ZIP files)[/QUOTE]

Hi...

Maybe a stupid question but were should I place the Samsung kernal when I flash it?

PDA, Phone or CSC?

Would appreciate any help.

Thanks in advance :)
[Galaxy S II Original Android Development] Araf:
Hi...

Maybe a stupid question but were should I place the Samsung kernal when I flash it?

PDA, Phone or CSC?

Would appreciate any help.

Thanks in advance :)[/QUOTE]

PDA
[Galaxy S II Original Android Development] Rainbow86:
PDA

Thanks...

Do you know how to remove the yellow triangle and still keep the wifi?

Everytime I remove it the wifi disaperes and I cant get it back until I use the cf-root again.
[Galaxy S II Original Android Development] d3sm0nd:
Chainfire, could you please enable loop devices in the kernel of CF-ROOT so we can enjoy chroot? Thanks
[Galaxy S II Original Android Development] Kaibosh:
I use the micro-usb jig that you can can get on ebay (or make your own if you're capable) to get rid of the triangle after flashing CF-Root. Although I never tried the reflashing method to try & get rid of it, so there's no guarantee that you wouldn't get the same issue - but it would be unlikely.
[Galaxy S II Original Android Development] aottesen:
Is there any European XWKF3-CF? (Only want root on my newly updated KF3).

Sorry if this has been mentioned, but 96 pages is a lot to read.
[Galaxy S II Original Android Development] skorzo:
mmmm... .anybody? Please....

Thanks!!!!
[Galaxy S II Original Android Development] SiSL:
Problem with me about removing triangle was, I could not see zImage from "Flash kernel" option at all. Therefor I don't have CWM recovery boot menu now (did with Odin) (still got root tho)
[Galaxy S II Original Android Development] Araf:
[/QUOTE]

after you follow the instruction in the OP, have you tried restart your wifi modem?
[Galaxy S II Original Android Development] Rainbow86:
Not sure how to do that...

after you follow the instruction in the OP, have you tried restart your wifi modem?[/QUOTE]

Not sure how to do that can you explain how to restart my wifi modem on the phone?
[Galaxy S II Original Android Development] Rainbow86:
Thanks...

Thanks...

But I cant make one not capable and the internet in China and the postal service is sometimes at its best so so witch mean I cant and dont want to buy one over internet.
[Galaxy S II Original Android Development] Araf:
[/QUOTE]

Not sure how to do that can you explain how to restart my wifi modem on the phone?[/QUOTE]

sorry..what I mean is router..not modem :-)

I am assuming that you are using wifi router at your home
[Galaxy S II Original Android Development] ithehappy:
Have two queries,

1- Is the XWKF3 kernel posted on the first page of same CSC version of India, which is DD? It's written as CLK instead of ODD, so I wonder. I just upgraded to this (pic attached), now if I root with this kernel will it change my CSC, which is DDKF3?

2- May I have a link to download the Stock/Samsung Signed XWKF3 kernel? That I need to remove the Yellow triangle on boot. I could find the one posted by Intratech, http://www.multiupload.com/27Q9LQEB94, will this do?

Thanks in advance.
[Galaxy S II Original Android Development] DarthOps:
I'm so confused!

Can anyone tell me which is the latest kernel please?
[Galaxy S II Original Android Development] kwyjibo83:
I just want to be sure:

I have a LKADBT phone (Germany). Kies: PDA:KE7 / PHONE:KE4 / CSC:KE4 (DBT)

Kernel verson: 2.6.35.7-I9100XWKE7-CL....

I want keep the stock ROM, i just want to root the phone.

So i just need to flash CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4.zip ? Thats all? Dont need to flash another kernel after CF-Root?
[Galaxy S II Original Android Development] loungecat:
Followed instructions,the phone passed the flash,but nothing seems to have changed,any ideas???? did i do something wrong maybe??im on ke7 firmware,and used this CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4:confused:
[Galaxy S II Original Android Development] rantzzz:
Check:

1) Do you have the yellow triangle on startup?

2) Do you have Clockwork mod icon and Superuser icon in your apps drawer?

If yes to both, you are rooteD! :p
[Galaxy S II Original Android Development] loungecat:
Originally Posted by loungecat

Followed instructions,the phone passed the flash,but nothing seems to have changed,any ideas???? did i do something wrong maybe??im on ke7 firmware,and used this CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4

Check:

1) Do you have the yellow triangle on startup?

2) Do you have Clockwork mod icon and Superuser icon in your apps drawer?

If yes to both, you are rooteD!

No have none of these, do i just repeat the steps,again.????

thankyou
[Galaxy S II Original Android Development] brynweb:
:confused:

Does it matter which CF-Root zip I use? My kernel jobbie says ...BOKE3, and I'm guessing it's the 'E3' that's relevant?

My researches seem to affirm people matching those numbers with their existing kernel oojemaflip, which I obviously can't do.

**EDIT - For anyone with same question, I took a gamble and went for my favourite number (E7), which didn't brick my phone and has rooted it successfully.
[Galaxy S II Original Android Development] rsb007:
Nope.

Its XXKE4 :)

Tks
[Galaxy S II Original Android Development] hitu:
KF3 works fine .. Just updated
[Galaxy S II Original Android Development] bthefirst:
I have Cifs support with CF-Root v4.0. First flashed this kernel and after that the CF-Root. My I9100 (KF2) combines the best of the two...
[Galaxy S II Original Android Development] davedontmind:
I'm also confused.

I flashed the CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4 file from the 3rd post in this thread. (I'm in the UK with an Orange-branded handset, if that's relevant).

I can boot to the CWM recovery screen, I have the yellow ! triangle on boot, and I have the Superuser app in my app drawer. I definitely seem to have root access (Titanium runs with no problem).

However, I don't have a Clockwork Mod app in my app drawer which is mentioned in various places in this thread. Why might that be?

I was hoping to use it as per the 2nd post in this thread to get rid of that yellow ! icon on the boot screen.

UPDATE: OK, never mind. On further inspection I find that I'm blind. I do have CWM in my apps after all. D'oh! I didn't see it because it appears at the end of my apps, not in alphabetical order like all the rest, for some reason.

TL;DR: Nothing to see here, I'm blind, move along please.
[Galaxy S II Original Android Development] sianzb0i:
Hi,

I just flashed the KF1 .tar and i have been having network data issues. it shows connected but no data is coming in or out.

any help?

EDIT: after restarting the phone for 5 mins, everything seems to be working fine. However the network speeds are not as good as before
[Galaxy S II Original Android Development] brenopapito:
Hi !

You can make with this kernel?

UHKE4 - BRAZIL STOCK

Firmware info

PDA:UHKE4

PHONE: UHKE2

CSC:ZTOKE2

Build date: 19/05/2011

UHKE4 Stock Kernel: http://www.multiupload.com/3P5AEHVIA6

Password: intratech@XDA
[Galaxy S II Original Android Development] galaxyII:
one question. i have rooted already with S2 root 1.0

I think that does not have CW

I wanted to use this and root again. Do i need to first unroot and then root?

Below is my product spec.

Product Code: GT-I9100LKADBT (From RegEdit)
PDA: I9100XWKE2
Phone: I9100XXKDJ
CSC: I9100OXXKE2
Baseband: I9100XXKDJ

I am not happy with the stock firmware as battery life sucks. Mine is an unbranded unlocked phone from Samsung

Any help would be appreciated
[Galaxy S II Original Android Development] rsb007:
I've Already asked but no responses. :(

PLEASE, Chainfire, do this for us
[Galaxy S II Original Android Development] netcitizen:
I flashed the KF3 ( India ) stock ROM and the Kernel from intratech's ROM thread.

Then rooted by flashing the KF3 with CWM 4 from this thread.

Then to remove the boot warning-triangle , i flashed the original kernel again.

Once the phone restarted there were consecutive error messages of various android programs crashing unexpectedly.

So I went and flashed the KF3-CWM4 kernel again. The phone booted smoothly and there are no errors except for the fact that the warning yellow triangle has returned.
[Galaxy S II Original Android Development] dread123:
my stock kernel is

2.6.35.7-I9100xwke7-cl215725 root@dell103#2

which kernel do i need to keep same?which is latest ...unsure pls help? thanks
[Galaxy S II Original Android Development] omar.abbas:
Help

Has anyone yet able to get the boot animations working? n in what directory is that file bootanimation.zip located in sgs2?
[Galaxy S II Original Android Development] CamoGeko:
Yes, custom bootanimation are working as it has been said by Chainfire in the first post of this thread.

This shouldn't really be posted here though since its way off topic. Anyways, check this thread for some bootanimations:

http://xdaforums.com/showthread.php?t=1103688
[Galaxy S II Original Android Development] Pfeffernuss:
Amazing work. This saves so much time, couldn't be happier. Donation sent :D
[Galaxy S II Original Android Development] zxz0O0:
Thank you very much. Will buy you a beer (or two) ;)
[Galaxy S II Original Android Development] Murfle:
I notice that CWM has a 'Wipe Battery Stats' option that can possibly recalibrate the battery... Anybody that's been reporting bad battery life try this yet?
[Galaxy S II Original Android Development] Hrti:
The Wipe Battery Stats option in CWM removes the battery data located in /data/system/battstatt.bin (can also be removed with i.g. Root Explorer). After wiping the battstatt.bin you should fully charge and then discharge your device. It doesn't do any magic to the battery, but it resets its memory so that you get a precise reading of battery level.
[Galaxy S II Original Android Development] avss:
Does anyone has tried launching a script from /system/etc/init.d ?

Somehow i cant get the script to execute.

Permissions are correct, using a script with no extension.

Has anyone succeeded to launch a script from init.d ?

grtz

AVS
[Galaxy S II Original Android Development] logey18:
WOW so easy had to keep double checking cwm is the goods

Thanks CF cant wait for further goodies

I feel so dumb when I see work like this " Beers" are on their way ID:4VN81303J9855230S
[Galaxy S II Original Android Development] Murfle:
Good info, thanks! I'm a command line junky, so information like this is really valued.
[Galaxy S II Original Android Development] Hrti:
Brilliant work :)

As for the sake of it, it would be nice to have a quick guide of how to completely unroot and factory restore the device in the OP or in the dev forum(incl. removing all busybox components like /system/xbin etc.). Never know when warranty purposes requires a complete unroot! Coming from the HTC camp this part was quite confusing as there really aren't any general unrooting guides in the Galaxy S II forums ;)
[Galaxy S II Original Android Development] bentez2003:
Things are really starting to pick up for the SGS2 now, great work Chainfire.

Can we flash cooked roms through this or should we still use ODIN?

Thanks, thanks & thanks!
[Galaxy S II Original Android Development] wellers:
Thank you!

Brilliant work, donation happily sent :)
[Galaxy S II Original Android Development] sorrowuk:
So basically if we remove this kernel we lose ClockworkMod ?

What happens if other devs want to release there own modified kernels etc but we want to keep clockworkmod ?

On my other phone clockworkmod was on a recovery partition which you flashed with fastboot and it didnt interfere with the kernel image. It was independent.
[Galaxy S II Original Android Development] Murfle:
Seconded! I was just about to post a reply asking something similar... Mostly, I'm just wondering about the recovery partition... I'm fairly confident about flashing kernels and firmwares, however, this is the first I've seen regarding CWM (still learning Android in general).

I guess my question would be what would we need to restore if we need the stock recovery partition? Or does the recovery partition stay in tact and CWM is embedded directly in the kernel? Just trying to wrap my head around this particular implementation...
[Galaxy S II Original Android Development] elban:
I think the stock samsung recovery is left intact.

AFAIK there even isn't a recovery partition on the sgs2.
[Galaxy S II Original Android Development] Hrti:
This is some of the info that would be useful to compile in the OP or another dedicated thread. Which partitions are on the SGS2, which partitions are touched by rooting (which folders and files are created, where are they stored, how to remove them etc.). Somehing like "Rooted phone heading for repairs - step by step guide for complete factory state" ;) Shouldn't be that much of a job for the experienced devs in this forum.
[Galaxy S II Original Android Development] why_999:
Sorry about a very nooby question... After using CF-root how do we remove all and every trace of custom kernel for warranty purpose..

Will flashing an official Samsung ROM do the trick?

Thanks in advance..

Once again sorry if this has been covered already.
[Galaxy S II Original Android Development] sheridan2000:
+1 to this
[Galaxy S II Original Android Development] tready:
Awsomeness iv sent you a beer 9R451555AF8581721
[Galaxy S II Original Android Development] tready:
Just flash your phone with a stock rom via odin or kies
[Galaxy S II Original Android Development] ermacwins:
where do i get a stock kernel from? I had a bokd1 kernel then flashed ke7. Now I flashed this chainfire mod

Sorry this is my first samsung device
[Galaxy S II Original Android Development] nobnut:
Look in the OP of this thread.
[Galaxy S II Original Android Development] CamoGeko:
You need the KE7 CF-root kernel. ;)

http://xdaforums.com/showpost.php?p=14283383&postcount=3
[Galaxy S II Original Android Development] DooMLoRD:
yes "CF-Root-SGS2_XW_CLK_KF3-v4.0-CWM4.zip" posted by ChainFire is compatible with XWKF3 Indian region FW... i just rooted my SGS2 following the instructions posted by CF... everything is working as expected... no more yellow triangle too ;)

thank you ChainFire for this solution...

Cheers,

DooMLoRD
[Galaxy S II Original Android Development] shivaranjan:
I can confirm that KF3 works fine on my SGS II :)
[Galaxy S II Original Android Development] _JKay_:
Anyone know of a kernel where I can boot into recovery and use ADB shell to write to /system ? Neither CF-kernel nor Odia's kernel will let me do it!?!?!
[Galaxy S II Original Android Development] Chainfire:
CF-Root does, you just need to read up. I suggest the first post. Also, try mounting /system before using it.
[Galaxy S II Original Android Development] _JKay_:
Ah! Rootsh! Got it. Thanks... Will try it now!
[Galaxy S II Original Android Development] hg3atintin:
I cant get this script to work. Cfroot kf3.

Is it faulty?

#!/system/bin/sh

if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]

then

/system/xbin/echo "3072" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;

fi;
[Galaxy S II Original Android Development] Chainfire:
I think you maybe missing a ; after ], not sure though.
[Galaxy S II Original Android Development] hg3atintin:
Tried that, it did not work :(
[Galaxy S II Original Android Development] Chainfire:
-f instead of -e ?

*shrugs* I really don't know :)
[Galaxy S II Original Android Development] hg3atintin:
-f did not work either thanks though :)
[Galaxy S II Original Android Development] nightranger73:
BTW I've tested it and 3072 it's not a good choice IMO. I've found it lagging on db reading and found a compromise to 768

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button
[Galaxy S II Original Android Development] xinfinityoO:
Anyone updated their busybox to the latest version whileusing CF Kernal.. i have done it using "stericson" installer.. ddint get any errors.

@Chainfire

is there anyway to check that the update hasnt broken anything..which you may have done in your kernel, etc.

thanks
[Galaxy S II Original Android Development] brenopapito:
Thanks!

Everything worked perfectly with the KF2 Kernel.
[Galaxy S II Original Android Development] galaxyII:
Any help on this guys?
[Galaxy S II Original Android Development] LP6:
And here's some more confusion about KF3...

Does anyone know if CF-Root for KF3 works with PDA:XWKF3 PHONE:XXKE7 CSC:OXXKF1, which is the version distributed at least in the Nordics?

Will it make any difference that CF-Root is made for CSC:CLK?

Cheers,

LP
[Galaxy S II Original Android Development] DooMLoRD:
well keep the stock FW (kernel + main FW) at hand... and just give it a try ;)

u should always be able to get back to stock by flashing stock FW for ur region...