yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] karl999999:
/dbdata not backuped?

as far as i can tell this version of CWM3 does not backup all filesystems.

especially /dbdata is not there (i checked by unpacking the yaffs img files)

has anybody actually tried: backup -> wipe -> restore ?

can you check please ...
[Galaxy S II Original Android Development] JJEgan:
Thanks Chainfire Beer donated .

jje
[Galaxy S II Original Android Development] avss:
I will do that.

I came from Supercurio's kernel...will flash a stock Ke7 one and after that flash your kernel back. Lets see if that does the trick :)
[Galaxy S II Original Android Development] LyInIa:
I have a problem :/

I made a factory reset (what a noob i am...) and the phone reboot all the time...i can go in clockworkmod, and i hope i can make a nandroid restore. I have on my computer a back up, but i don't know how restore this one. I can mount the sd-card, put the back up on it but i can't restore it :/ its a file named "2011-05-31.18.50.02" with cache.img, data.img, system.img and nandroid.md5

I hope you can save me :"(
[Galaxy S II Original Android Development] avss:
Flashed back to stock KE7. Wifi connected fine.

Flashed cf-root back and still wifi is waiting on a ipadres.

After the flash this time the device did reboot instead of just turning off (the first thing i mentioned :) )
[Galaxy S II Original Android Development] Chainfire:
Make sure the folder is in clockworkmod/backup, i.e.:

/sdcard/clockworkmod/backup/2011-05-31.18.50.02/cache.img

This is mighty odd ! As I have stated before, CF-Root is a stock Samsung kernel, not recompiled, just modifications to the ramdisk.

Unfortunately, as I cannot reproduce the issue, this is very difficult to fix. I do have some ideas though ...

EDIT: Try this under ADB shell (changes wont stick between reboots) and see if it fixes Wi-Fi. Turn off Wi-Fi before doing so:

su
busybox find /sbin -type l -exec toolbox rm {} \;
[Galaxy S II Original Android Development] FRLinux:
Awesome work man, i followed you on twitter and saw that you worked on that, nice to release it so quickly :)
[Galaxy S II Original Android Development] brenopapito:
XX_OXA_KG2

Works !
[Galaxy S II Original Android Development] radiobicho:
ferreinf - THANK YOU!!!!
[Galaxy S II Original Android Development] ManMOuntain:
Thanks Chainfire :)
[Galaxy S II Original Android Development] saifbechan:
Thanks for the new kernels, and enjoy your weekend!

Anyone have any information on the battery life of the XX_OXA_KG2.
[Galaxy S II Original Android Development] CamoGeko:
Too early to tell about battery life, the kernel was only released within the last hour. I will be able to tell you in few days, even though I'm sure it will be the same as KG1 if not better.
[Galaxy S II Original Android Development] gchildz:
awesome works CF with the XXKG2 CF Root...everything works accordingly...

To others dont bother about the yellow triangle...get a jig or just live with it..afterall..u gonna start flashing another firmware every now and then....heheh
[Galaxy S II Original Android Development] Omnomnom25:
@Chainfire - I cannot -for the life of me- get CWM to flash zImage after following all the usual steps.

I have done the following, in this order :

Wiped everything

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

Flashed VillainRom 2.1

Flashed stock KG2 kernel

-Attempt- to flash zImage

After attempting to flash zImage, it just flashes and stays on the screen, instead of rebooting.

Am I completely missing something?
[Galaxy S II Original Android Development] Chainfire:
Try flashing it before doing the VillainROM thing... that might help. Otherwise, really don't know, and no time to look at it right now ;)
[Galaxy S II Original Android Development] Omnomnom25:
Snip
[Galaxy S II Original Android Development] anupam_luv:
Try flashing via adb (This work 100%)

Put the zimage in to root of sdcard, like /sdcard/zImage

Then start "adb shell": (as a super user) ...

(if it shows permission denied , enable debug mode of device and start SuperUser App on device , and then issue command "su" ... the app on device will ask u 4 permission , allow it and u r in )

Issue follwing two commands carefully one by one and u r done!

dd if=/dev/null of=/dev/block/mmcblk0p5 bs=256 count=32765

dd if=/sdcard/zImage of=/dev/block/mmcblk0p5 bs=256
[Galaxy S II Original Android Development] Omnomnom25:
Thanks for posting this, however it didn't work.

Code below -

C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
$ su
su
# dd if=/dev/null of=/dev/block/mmcblk0p5 bs=256 count=32765
dd if=/dev/null of=/dev/block/mmcblk0p5 bs=256 count=32765
0+0 records in
0+0 records out
0 bytes (0B) copied, 0.000270 seconds, 0B/s
# dd if=/sdcard/zImage of=/dev/block/mmcblk0p5 bs=256
dd if=/sdcard/zImage of=/dev/block/mmcblk0p5 bs=256
32765+0 records in
32765+0 records out
8387840 bytes (8.0MB) copied, 3.530887 seconds, 2.3MB/s
#
C:\Program Files (x86)\Android\android-sdk\platform-tools>

After rebooting, that annoying triangle is still there.

I'm thinking I may just buy a jig and call it a day. Not sure if I feel like dealing with it or not :P

Edit - Disregard all of above post. I got it working in the end. Had to do it a few times and a few reboots. Silly phone and probably idiot user as well. Thanks again for the how-to, going to save that for another day :]
[Galaxy S II Original Android Development] Chainfire:
You can skip the /dev/null, my kernels are padded to the correct size so it isn't needed :) (specifically to be able to easily dd manually)
[Galaxy S II Original Android Development] saifbechan:
Still good if you buy the jig. Once you have it it's so handy, and it's so cheap. I use it everytime I flash the ROM.
[Galaxy S II Original Android Development] kedai:
HI

Just got here from DHD. Totally different ways of working.

I've read the official rooting guide, and went through this thread backwards, and would like to ask for clarification before i proceed.

- i can choose any firmware i want (from the rooting guide) and download via odin

- i can then choose any cf-root that matches my firmware above and get root

- then what? choose roms that uses cf-roots?

Thanks for any help
[Galaxy S II Original Android Development] tygoger:
- Download the ROM from here http://xdaforums.com/showthread.php?t=1075278 (go with the XXKG2 it is the newest)

XXKG2

Firmware info

PDA:XXKG2

PHONE: XXKG2

Date: 12/07/2011

OXA Poland:http://www.multiupload.com/DNHTR6WES9

XXKG2 Stock Kernel: http://www.multiupload.com/0OOHFI08Y5

Password: intratech@XDA

- Download the Kernel "CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4.zip" from the first page.

- Then flash the ROM "XXKG2 ROM" with Odin.

- Then flash the kernel "CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4" with Odin.

- You now have root (see post 2 at page 1 for removing the triangle)

Hope this helps. Good luck!

(P.s. Always make a backup)
[Galaxy S II Original Android Development] EarlZ:
This is based on the latest XXKG2 2.3.4 right?
[Galaxy S II Original Android Development] daleski75:
According to twitter chainfire has posted KG2 with root but I suppose the only way to tell is give it a go!
[Galaxy S II Original Android Development] kedai:
thanks much. how does one backup? in my previous life, i just do a nandroid from cwm. sorry for the newbie question
[Galaxy S II Original Android Development] turborider:
got it,thanks
[Galaxy S II Original Android Development] the_major:
CWM Manager is an app on your phone called CWM, you use that not recovery or odin
[Galaxy S II Original Android Development] rustyx3:
Sorry if this is a stupid question, but I searched and couldn't find a definitive answer. Some say the kernel must match the ROM, others say it can be a newer version.

Is it possible to use a KG1 kernel (2.3.4) with a KF3 ROM (2.3.3)?

Has anyone tried it?

Thanks
[Galaxy S II Original Android Development] networkn:
Hi My Phone States:

Android V2.3.3

Baseband i9100xxkdj

kernel version: 2.6.35.7-i9100xwke1-CL181974

root@DELL103 #2

Which file do I download and flash please?

or do I need to update via kies first?
[Galaxy S II Original Android Development] cerede2000:
Hi,

With the root kernel XXKG2 i have problem!

When i go to CWM i no have root.

ADB shell is $ and if run su i have a access denied message :(

Why?

Thanks ;)
[Galaxy S II Original Android Development] kalpik:
Read first few posts.
[Galaxy S II Original Android Development] cerede2000:
What posts ?

Before I was root and since I flashed the Stock XXKG2 I can no longer have the root in recovery: (

Please help me :(
[Galaxy S II Original Android Development] rustyx3:
Why did you flash stock ROM? If you flash stock ROM or kernel, then root is gone.
[Galaxy S II Original Android Development] cerede2000:
Yes but after i flashed root kernel and have superuser and CWM apps.

My problem is just to get root permission in the CWM recovery :(
[Galaxy S II Original Android Development] forgetmyname:
[Q] Flash KG2 on top of KF2

Hi,

I have this installed:

PDA XXKF2 (CF-Root)

PHONE: XXKF2

CSC XXKE2 (MultiCSC)

Is it safe to flash PDA KG2 straight over this without any problems?

I don't fancy factory resetting, but I would wipe the Dalvik cache.
[Galaxy S II Original Android Development] tjtj4444:
I do not now if there something special with KG2, but in general you do not loose root if you flash a stock kernel.
[Galaxy S II Original Android Development] cerede2000:
I have flahsed a full stock KG2 ROM.

I have not root is normal for stock ROM.

I have flashed the root kernel of XXKG2. I have superuser and CWM apps but no root access in CWM Recovery.

How to add root permission in CWM Recovery :(
[Galaxy S II Original Android Development] plazzTT:
I had to use this older root method to get root with XXKG2: http://xdaforums.com/showthread.php?t=1056334

The kernel I used for root was XWKDD_insecure.tar
[Galaxy S II Original Android Development] cerede2000:
Ok i try this old method.

But i don't understand why the rooted kernel XXKG2 don't root my CMW :(
[Galaxy S II Original Android Development] thay:
what do you mean for root in clockworkmod?
[Galaxy S II Original Android Development] cerede2000:
ADB shell prompt is $

When run su i have permission denied error :(
[Galaxy S II Original Android Development] sumatrix:
I am facing a problem with rooting.

Ill define the exact method i followed and the problem i am facing.

I downloaded ODIN v1.85 from the link below and also downloaded the KE8 rooted kernel.

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

I switched my phone to download mode by pressing volume up key + home key + power key.

then i clicked on PDA on ODIN and attached the tar file.and i clicked on START.

I waited for 20-25 mins and there was no response either from ODIN or from the phone and so i rebooted the phone.

Am i missing something here ???
[Galaxy S II Original Android Development] Vulpix:
Don't use your front USB ports, use the ones on the back of your PC.
[Galaxy S II Original Android Development] tygoger:
With the ClockworkManager inside the CF kernel.

-Go to CWM in your apps menu and select Make backup.

or

-Reboot in clockwork and make backup

.

Hope this helps?! Again good luck!
[Galaxy S II Original Android Development] munwaioblivious:
Thanks chainfire! Now just one question. Im on XWKF1 Rooted . Its on 2.3.3. Can i flash it with chainfire XWKG2?
[Galaxy S II Original Android Development] sumatrix:
I have connected the USB cable to the back ports itself and not to the front ports.
[Galaxy S II Original Android Development] cerede2000:
I have tested root with XKDD_insecure but is same :(

No # in the recovery i don't custom my ROM :(

Other idea?

Thanks!
[Galaxy S II Original Android Development] B3311:
Volume up + home + power and then volume up

Sure you did that last step? Have seen more than one poster that has forgotten to do so...
[Galaxy S II Original Android Development] harolds:
It's Volume down + home + power and the volume up when prompted.
[Galaxy S II Original Android Development] CLShortFuse:
Hey Chainfire,

I'm working SuperOneClick v2 and your kernels are excellent.

Since less and less phones can be rooted via an ADB shell exploit, I had to make a lot of changes to keep up with new exploit methods.

I've managed to auto detect the manufacturer, model, build and kernel via ADB and also I've managed to create my own Odin v1.85 API.

I was thinking of using your kernels for Galaxy S II users but I'd hate to not give credit where it's due.

Here's what happens when SoC detects a Galaxy S II with a compatible build (in this example, it's a XWKE7):

Let me know if this is alright and/or you want something changed.

Thanks and keep up the good work!
[Galaxy S II Original Android Development] B3311:
:o:o:o

Sorry and thanks.
[Galaxy S II Original Android Development] 5hamz:
Thanks...I'm now rooted.

that was easy!

:-)
[Galaxy S II Original Android Development] hotsync100:
Did you install Kies ? or samsung usb drivers ?

http://xdaforums.com/showthread.php?t=961956
[Galaxy S II Original Android Development] alibecks:
hi guys

i need your help my sgs2 is root only now i want to unroot my sgs2 can you tel me what i have to do?thanks
[Galaxy S II Original Android Development] deepsleo:
Flash the stock firmware or just the kernel. Could be found somewhere in the GS2 android section. Flashing the stock firmware will delete all user data though.
[Galaxy S II Original Android Development] geforceonline:
battery disconnected

i rooted my i9100 as instructed (with the odin, pda etc.) and i got root access however, now i am unable to charge my phone getting this message with a beep every time i connect a charging source

plus battery indicator tells me that phone is "Not Charging since..."

:confused:help?

update - just rebooted and replaced the battry now seems fine no errors yet waiting for superoneclick v2 for future rooting(if req'd)
[Galaxy S II Original Android Development] kedai:
sorry to be an impatient bugger, but do you have any eta for superoneclick v2?
[Galaxy S II Original Android Development] zmirburger:
ummm, my phone doesn't sleep! not sure if its the kernel or something I installed recently.. anyone else having this problem?

(left it on overnight, CPU spy shows 8 hours of 200mhz, 44 seconds of deep sleep)
[Galaxy S II Original Android Development] bossman74:
Canadian SGS2 GT-I9100M help

I have the just released, Canadian version of the SGS 2, which files should I use ???

Here's the info I pull from the phone

Model : GT-I9100M

Android Version : 2.3.3

Kernel Version : 2.6.35.7-I9100MUGKG2-CL371789 dh130.yoo@SEP-48 #2

PDA : I9100MUGKG2

PHONE : I9100MUGKG2

CSC : I9100MBMCKG2

Build info : Tue Jul 12 10:19:43 KST 2011

Can anyone help ?
[Galaxy S II Original Android Development] kedai:
thanks - i am now rooted! now, any good rom to test?
[Galaxy S II Original Android Development] bossman74:
I tried CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip and have successfully rooted the phone.
[Galaxy S II Original Android Development] CamoGeko:
VillainROM 2.1. :D

The link is in my sig.
[Galaxy S II Original Android Development] knowthenazz:
I'm interested in this as well for the I9100MUGKG2.

I notice there are 3 variants for the KG2 model:

File Type: zip	CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip - [Click for QR Code] (5.97 MB, 1775 views)

File Type: zip	CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.zip - [Click for QR Code] (5.97 MB, 1450 views)

File Type: zip	CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4.zip - [Click for QR Code] (6.08 MB, 1851 views)

Does anyone know which of these would be the most appropriate?

Thanks!
[Galaxy S II Original Android Development] mach0boi:
OXA KG2 is 2.3.4. The rest is 2.3.3
[Galaxy S II Original Android Development] knowthenazz:
Thanks for the input!

Is this kind of information listed anywhere?

Thanks!
[Galaxy S II Original Android Development] zmirburger:
a simple restart fixed it!
[Galaxy S II Original Android Development] rab1412000:
i want to try cf-root but i inadvertently flashed a kernel to my phone thinking it was a full blown fw upgrade (see pic):

so now my question is, what kernel should is use toenable cf-root?

tia
[Galaxy S II Original Android Development] bossman74:
But our version runs 2.3.3, even though the firmware ends with KG2.

Should I still use the file your suggesting?
[Galaxy S II Original Android Development] mach0boi:
If you're using version 2.3.3, then use the kernel and modem matching it. OXA KG2 is for 2.3.4, so it's better not to use it and use the kernel that match with your firmware instead :)
[Galaxy S II Original Android Development] hone2009:
no, the kernel with "oxa" in its filename is only for the latest (or fairly new) 2.3.4 FW...post your current kernel, so s.o. can suggest a appropriate CF-kernel
[Galaxy S II Original Android Development] knowthenazz:
Hi,

Thanks again for your response.

Here are the specs that bossman74 listed:

Model : GT-I9100M

Android Version : 2.3.3

Kernel Version : 2.6.35.7-I9100MUGKG2-CL371789 dh130.yoo@SEP-48 #2

PDA : I9100MUGKG2

PHONE : I9100MUGKG2

CSC : I9100MBMCKG2

Build info : Tue Jul 12 10:19:43 KST 2011

Which variant should we use? The three most compatible seem to be these:

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

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

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

So I guess we should try CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.zip, or CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.zip.

Which one would you suggest?

Thanks!
[Galaxy S II Original Android Development] mach0boi:
Oh too bad I don't what MUG firmware is. The only advice i can give you is try one of the two and see if there are problems or issues. I dont see any problem with it as long as you're using a 2.3.3 KG2 kernel based :)
[Galaxy S II Original Android Development] tygoger:
I have the stock ROM for the moment. But I hear/read good things about the ROMS here on XDA. Just try some and have some fun with them. There all pretty new. The themes on most ROMS are pretty awesome though. And there will be many more cool ROMS to follow!!
[Galaxy S II Original Android Development] djase:
for remove yellow triangle:

flash stock kernel Kernel_GT-I9100_I9100XXKG2

flash via CF-ROOT via CWM CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4

force close

never happen before !
[Galaxy S II Original Android Development] more2come:
After I flashed the KG2-Kernel on the newest firmware (XXKG2), I experienced some issues with my mobile date connection. Even though it shows HSDPA or 3G, it's goddamn slow. Didn't happen with stock kernel. and no, it's no problem with my data plan.
[Galaxy S II Original Android Development] pepxl:
Yeah same here, could just be my location but im receiving full 3G signal, latest XXKG2 firmware, modem, CSC and CF OXAKG2 kernal

Sent from my GT-I9100
[Galaxy S II Original Android Development] bossman74:
I've experienced a few reboots after some force-closes, could this be related to the new kernel ?

I'll give the "CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4.ZIP" file a try to see if there is a difference.
[Galaxy S II Original Android Development] CamoGeko:
KF1 would be perfect for you.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] bossman74:
No dice, the phone reboots after a force-close...

CHAINFIRE, how can we unlock the GT-I9100M ???
[Galaxy S II Original Android Development] xfighter11:
I also have the problem with data connection. I'm using CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4. Is there something wrong with this version?
[Galaxy S II Original Android Development] CamoGeko:
Sounds like its something to do with the modem, not the kernel.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] knowthenazz:
Does anyone know if bossman74s force close/reboot issue could be caused by the kernel he installed on the Canadian version of the SGS2?

And if so, is there any chance that Chainfire might release a kernel version specifically for the Canadian market?

Thanks!
[Galaxy S II Original Android Development] robbiev80:
I rooted my new Bell SGS2 with CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.tar.

No issues here.
[Galaxy S II Original Android Development] knowthenazz:
Have you experienced any force closes, of any kind, yet?
[Galaxy S II Original Android Development] tygoger:
I am rooted with CF-Root-SGS2_ZS_OZS_KG2-v4.1-CWM4.tar. No modem problems or FC's. Wifi is good etc etc..
[Galaxy S II Original Android Development] bubblewhop:
No problems here with CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4 and the KG2 wipe-fw. After installing the non-wipe-fw over the wipe-fw I had plenty of fcs. Since I didn't update from a lower firmware version without wipe I see no reason for the fcs after using the non-wipe fw. Perhaps the non-wipe version has some bugs.
[Galaxy S II Original Android Development] knowthenazz:
Thanks for the information guys!
[Galaxy S II Original Android Development] kedai:
yeah - browsing through the two sgs2 dev forums. Came from dhd and been flashing ROMs every other week (sometime days:))
[Galaxy S II Original Android Development] equlizer:
Do you notice a difference coming from the desire hd to SGSII? Im thinking about doing the same.
[Galaxy S II Original Android Development] kedai:
only the initial rooting process. after i flashed cf-root and got cwm recovery, eveyrthing else is the same.

note: initial root, get the latest firmware (XXKG2) and corresponding cf-root and flash away.

next step: get KG2 ROMs and flash via cwm.

oh, and i think ROM collections are almost as diverse as ones in DHDs given that it's just released.
[Galaxy S II Original Android Development] equlizer:
Thx for the quick reply. But i meant in speed as in opening programs, surfing the net, playing games, etc :cool:
[Galaxy S II Original Android Development] CamoGeko:
I notice a fair bit of difference... and I am only running my SGS2 at max 1Ghz, plus I'm undervolting as well. So yeah I think its a lot more fluid as a whole, every operation is snappier.

I did love my DHD when I had it though, managed to get more than 2 days out of it with CM7.

:)
[Galaxy S II Original Android Development] EH15:
I rooted using CF-Root-SGS2_JP_XSG_KG2-v4.1-CWM4 on my Bell SGSII yesterday. How do I proceed to update to 2.3.4 but still keep it rooted?
[Galaxy S II Original Android Development] CamoGeko:
Just proceed to update to 2.3.4, then after you have updated you can root again.

Installing stock firmware always removes root.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] EH15:
"CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4.zip" is the one I should use?
[Galaxy S II Original Android Development] CamoGeko:
That's correct, you can use that to root 2.3.4. ;)

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] liamR:
Hi guys,

How can I root this SGS2 (which CF-Root file to use) ?

PDA: I9100TJIKG3

PHONE: I9100TJIKG1

CSC: I9100TCELKG2

Kernel version

2.6.35.7-I9100TJIKG3-CL368732

root@DELL136 #2

Kies registry info

I9100TJIKG3/I9100TCELKG2/I9100TJIKG1/I9100TJIKG3

Thanks :)
[Galaxy S II Original Android Development] golaner:
hi, i have kernel-version - 2.6.35.7 codeworkx@cyanogenmod #8

i am not sure which one schould i download

thanx
[Galaxy S II Original Android Development] pierro78:
If you're still looking for some cifs modules for kg1 the 2.3.4 modules here : http://xdaforums.com/showthread.php?t=1113191 are working :)
[Galaxy S II Original Android Development] CamoGeko:
Any of the KG kernels should work, 2 of them are for 2.3.3. The last one is the 2.3.4 release.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Sounds like you're running Cyanogenmod, if so then you should stick with that kernel. Since that rom requires its own kernel to run on sgs2 as far as I know.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] golaner:
Thank you, but i want to change to villain rom 1.4 (because of arabic support), the cynogenmod is still in early beta
[Galaxy S II Original Android Development] dsmaori:
Not sure what I'm doing wrong? When I plug my phone into the computer it recognises it fine but when I start Odin, move the tar file and plug it in again, it's not recognising it so can't root it obviously?