yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] laptaman:
Reset Binary Counter with USB Jig

The XXKI3 firmware has a block to stop the binary counter being reset by a USB Jig. This link will give you the old boot loader so the binary can be rest once more:

Intratech gave the following workaround:

I've attached the old bootloader repackaged in a tarball for Odin. Anyone who's flashed the full firmware package and cannot reset their binary counter flash this with Odin and then try the Jig. Place tarball in the PDA section of Odin

Multiupload link: XXX.multiupload.com/LQQBRQVJUD

Sorry not able to put actual link as newbie, but you'll know what to put in front of multiupload.
[Galaxy S II Original Android Development] adejager1:
usb jig

The problem with the counter is also addressed in the following thread

http://xdaforums.com/showthread.php?p=16781156#post16781156
[Galaxy S II Original Android Development] cmloo:
Can these Root files be used for GT-I9100G ? I tried flashing the DXKH4 onto my G model and it got stuck at the boot screen with the Yellow !

Had to bring back to Samsung to reflash. Now I just used Kies to upgrade to 2.3.5

Baseband : I9100GDZKI1. Cant find any CF-ROOT KI1 to flash
[Galaxy S II Original Android Development] donalgodon:
Just an observation. After first flashing 4.2, CWM Manager 2.0 app didn't show up in my homescreen where I had it or recognize my kernel version (said 'unknown') in 4.2 but it did recognize it in 4.1. I reflashed it again via the app itself which is how I flashed 4.2 the first time, and now it recognizes the kernel version as 4.2... until I reboot.

Then, it goes back to 'unknown.'

I reset the super user 3.0 prefs and this seems to have fixed it. Somehow, it seems that CWM app can get denied, even if you approve.

At least, that's my experience. Just posting this in case someone else runs into it.

New Super User is white by default? bleh! (Can't seem to find a way to default to the old black.)

Are we using CWM 4.0.0.2 for any particular reason? Not complaining, just asking. :)
[Galaxy S II Original Android Development] Chainfire:
That's a well known issue with Superuser, said issue has been around for quite a while.

As for CWM, every once in a while I build my own version of CWM with the fixes to make it work properly on Samsung devices. Perhaps the main branch now finally supports Samsung devices properly, I don't know. This works, when I have a few days of absolutely nothing better to do, maybe I'll upgrade it again. (This is not a "stock" CWM build)
[Galaxy S II Original Android Development] gkahd:
Superuser from the market is an apk not a zip so I cannot flash it.

I tried to replace all instances in system and misc but it didn't work.
[Galaxy S II Original Android Development] gkahd:
Hi chainfire thanks for your work.

It seems that cf-root is the most popular way and I did not think it would matter which way I got root.

Coming from HTC it is normal once I get root to be able to flash anything.

Rom manager seems to recognise gs2.

If I cannot replace recovery or superuser with cf root is there a link to show me how to do this with another method?
[Galaxy S II Original Android Development] jonny_ftm:
Just for the feedback to others:

Updated from CF KI4 v4.1 to CF KI4 v4.2 through CWM using the flash kernel option

On restart, got an FC from SU

I restart system

CWM is ok, but old su shows as full apk name and there's also an unkown app under su list: I deleted them both

Restart, no issues

Not so smooth like previous updates, but seems to work

---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------

Also, since this update, Market bugs me to update SU. But, when I open SU in market, I only have the option "Open", meaning I'm uptodate :confused:

Update check from SU shows I'm up to date

I also tried to force an update from inside su ---> it told me busybox was updated. Will this alter the CWM functions?
[Galaxy S II Original Android Development] :
Guys,

I posted this in the other thread - however I figured I would get the experts to see if they can help me here?

A mate of mine got a Vodafone AU locked 9100T S2.

Network unlocked it with Vodafone. Tested with another Sim works fine.

Now I updated it with Modaco's KH3 and the phone came up fine. But Wifi wouldn't work. It connects, gets IP address. But none of the pages or any other internet activity doesn't work. Is there a ping test or something I can do?

I updated it to Stock KI3 and tested Wifi connected, got IP, internet worked fine. I then rooted it with CF and the Wifi Stops working again! It connects gets IP but no internet.

Now I have reverted back to stock KI3 and internet won't work. I have a feeling if I update to KI4 or a later firmware then KI3 and don't root it - internet will work.

I am stumped that rooting is causing the wifi to not function. Anyone else experience this?
[Galaxy S II Original Android Development] mikesaint27:
Hello, just got my GS2 unlocked version.

Following the steps in the OP, I am doing everything correctly but when my phone is plugged in running download mode and I hit "start" on ODIN, nothing happens.

Does anyone know what's going wrong?

Thank you for any help.

---------- Post added at 11:01 PM ---------- Previous post was at 10:48 PM ----------

Here is what I'm seeing after following all of the directions and clicking start
[Galaxy S II Original Android Development] CamoGeko:
Well, it looks like ODIN didn't even detect your phone....

Try reinstalling the USB drivers, and make sure there aren't any KIES processes running when you are trying to user ODIN.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] donalgodon:
Do you have the drivers installed? It looks like the COM port isn't connecting with your phone.
[Galaxy S II Original Android Development] mikesaint27:
Could someone direct me to the proper link to download the USB drivers for windows x64?

Thank you
[Galaxy S II Original Android Development] donalgodon:
I lost root on 4.2 somehow just by turning off notifications in Superuser. :confused:

Turning them back on let's Titanium Backup work again.
[Galaxy S II Original Android Development] blunted09:
anybody know if there is a way to deodex the stock e7 ? I have rooted but im assuming this doesnt deodex.

Any help would be great
[Galaxy S II Original Android Development] mmmmbeer:
Hello Newbie here

I want to debrand my Irish o2 S2 and update the firmware.I cannot connect to my S2 with Kies though as I'm running 64 bit windows 7 and its not compatible.I have downloaded it and installed it anyway to install the drivers.

Can I still root my phone or does it have to connect via kies?

It connects via usb storage no problem

Cheers for any replies.
[Galaxy S II Original Android Development] Chainfire:
Updated KE2 and KE7 to CF-Root v3.6

Updated KE2 and KE7 to CF-Root v3.6

Changes include:

- CWM Manager v1.8; should fix the faulty parent folder entry that will crash the app when clicked

- Removed from /sbin: depmod, insmod, lsmod, modprobe, rmmod; should fix some issues like those with DroidWall

- Modified "rm"; should fix deletion of files that have spaces in them
[Galaxy S II Original Android Development] cerealfreak:
And then there was root

3 weeks of having a Galaxy S II and it hit me how easy it was to root my Galaxy S, 5 minutes on XDA and BOOM! ROOTED, thank you chainfire,a beer will be on it's way shortly
[Galaxy S II Original Android Development] jack_p75:
Thanks chainfire we can use wipe factory now or is not available sorry for my bad english
[Galaxy S II Original Android Development] DJViking:
Aren't these commands/programs needed? Sure you are not breaking something?

depmod - handle dependency descriptions for loadable kernel modules

insmod - install loadable kernel module

lsmod - list loaded modules.

modprobe - high level handling of loadable modules

rmmod - unload loadable modules
[Galaxy S II Original Android Development] Chainfire:
Don't know.

Yes.
[Galaxy S II Original Android Development] Araf:
Hi Chainfire,

I just got my SGS2 and root it today, here's my data:

1. my Baseband Version: I9100XXKE2

2. Build Number: GINGERBREAD, XXKE2

3. Kernel Version: 2.6.35.7-I9100XWKDD-CL161513

root@DELL103 #2

Can I use your "CF-Root-SGS2_XW_XEU_KE2-v3.6-CWM3.zip" to my SGS2?

I am sorry if this is "newbie" question :-)

Thank you and Regards,
[Galaxy S II Original Android Development] swatsbiz:
Yes you can ;-)
[Galaxy S II Original Android Development] Chainfire:
Go for it.
[Galaxy S II Original Android Development] Café King:
I'm on XWKE2 - Can I use this as well? :)

Thanks in advance

/CK
[Galaxy S II Original Android Development] Chainfire:
Again, yes.
[Galaxy S II Original Android Development] Araf:
thanks you for your fast feedback...appreciate so much :-)

I 'll flash it now...
[Galaxy S II Original Android Development] Hrti:
Should I flash the 3.6 on top of 3.5 (got CF-root 3.5 already)? Thanks in advance.
[Galaxy S II Original Android Development] Chainfire:
If you need those changes, yes. If not, no. Really it's your call.
[Galaxy S II Original Android Development] freakonaleash:
here is a drink for you :)

thx for your work

id: 4GF92267JS3534127
[Galaxy S II Original Android Development] arii1986:
I'm trying to flash this using CWM and it keeps coming up with E: Can't update from SD card/cf-root v3.6 etc finishing with

(bad).

Installation aborted.

Sd cards fine... just checked it
[Galaxy S II Original Android Development] freakonaleash:
unzip and use odin
[Galaxy S II Original Android Development] sumeshd:
hey chainfire..

Got my sgs2 today..in India..

it has:-

1.baseband ver : I9100DDKE2

2.BUILD NO : GINGERBREAD.XWKE8

flashed ur kernel : CF-Root-SGS2_XW_XEU_KE7-v3.6-CWM3

so now kernel ver is 2.6.35.7-I9100XWKDD-CL161513 curio@caton #voodoo..

I cant seem to find cwm in applicaton anywhere..

and even when entering recovery mod, it enters android's recovery..

PLZ HELP!!
[Galaxy S II Original Android Development] Chainfire:
You failed at flashing, and are still on supercurio's kernel.
[Galaxy S II Original Android Development] douglatins:
Is the

compatible/same version as this:
[Galaxy S II Original Android Development] kshting:
Yes, it is compatible. Just flash it.

---------- Post added at 12:43 PM ---------- Previous post was at 12:10 PM ----------

Here are the samsung usb drivers. Just double click on the file to install. Restart your pc after that.

http://db.tt/LP21m3wl
[Galaxy S II Original Android Development] liamR:
Hi guys,

I'm running 2.3.3 rom with KH3 kernel CF-Root. When I try to upgrade to KI3 kernel CF-Root (tried v4.1 and v4.2) I get "Installation aborted". What am I doing wrong ?

Could the problem be that I'm on 2.3.3 rom ?

Thanks.

EDIT:

I did it through Odin, it worked flawlessly.
[Galaxy S II Original Android Development] hirokoboi:
Do you have a ki2 version for 2.3.3?
[Galaxy S II Original Android Development] douglatins:
What does it mean to be insecure kernels?
[Galaxy S II Original Android Development] thegodth:
Chainfire already said:

It means you always have root over "adb shell", without going through "su" or "rootsh" commands.
[Galaxy S II Original Android Development] douglatins:
Thanks but that is gibberish to me, does it mean a good thing? :o
[Galaxy S II Original Android Development] BrandoHD:
Next time give credit where credit is due.....

You didn't attach anything, that link is from Intratech's thread
[Galaxy S II Original Android Development] petsasj:
Chainfire, i have an issue with the latest 4.2 XXKI3 insecure kernel.

Sometimes it denies superuser permission to apps like your CWM mod and Titanium Backup.

Exiting the application and re-entering several times does seem to work.

Anyone else have this?

Usually this happens when i remove the USB plug from the PC.
[Galaxy S II Original Android Development] jonny_ftm:
So, it seems there are many reports of issues with this CF root 4.2 and SU 3.0

Till now, people reporting them are using the CWM kernel flash and not odin

I personally got an FC of SU on restart after kernel update to KI4 v4.2. After a second restart, SU showed its self under SU log with the full apk name instead of superuser and there was an unknown authorized app in the list.

After delete the 2 entries, things seem to work. Reported this a few posts above after someone else reported the need to reset SU settings after flash

This update is not trouble free like previous ones. Maybe an odin flash would work better for now!
[Galaxy S II Original Android Development] donalgodon:
I have this too. It's only with Titanium Backup. All other root level requests are handled properly.

I had to downgrade to 4.1.

Problem solved by doing so. Give it a try. It seems that SuperUser 3.0 is not quite ready for prime time.

---------- Post added at 09:37 AM ---------- Previous post was at 09:34 AM ----------

Odin doesn't help. I tried both flashing methods and SU still has this problem. Downgrade to 4.1 is the only solution I've found.
[Galaxy S II Original Android Development] petsasj:
Try uninstalling Titanium and Reinstalling. That helps with SUv3. I updated SU before Chainfire updated his kernel, and that was giving me root problems back then as well and was fixed by uninstalling.
[Galaxy S II Original Android Development] donalgodon:
It's still not stable or consistent. SU forgets CWM Manager 2.0 settings often. Maybe SU 3.0.1 is around the corner. Reinstallation works temporarily, but on reboot, the problems are back.

Downgrading to 4.1.
[Galaxy S II Original Android Development] sakai4eva:
Quick question:

My kernel is KF3, so from reading the OP I should be using the KF1 file right? Anyone can confirm this? I have yet to root the SGS2 before.
[Galaxy S II Original Android Development] petsasj:
Am afraid downgrading isn't an option for me since i can't live without insecure kernels for development.
[Galaxy S II Original Android Development] tanseerj:
Whats the difference between these new insecure kernels compared to the older oneas?
[Galaxy S II Original Android Development] petsasj:
It's been mentioned quite a few times.

Secure kernel doesn't allow for ADB support (only in recovery), whereas insecure does.
[Galaxy S II Original Android Development] xyz_1232005:
Can anybody please tell me if i am on firmware kf3 unrooted,and want to flash with the new xxki3(2.3.5) firmware,is that possible ?
[Galaxy S II Original Android Development] miesjaa:
Wrong version of CWM?

I installed the insecure KI3 kernel. When i boot into recovery i get the blue recovery menu.

When i try to install a update zip, the error "Signature verification failed" is always shown.

I think i have a wrong version of CWM (i remember i've seen an orange menu once (when using another rom). I also don't have the CWM manager app in my applications menu.

I tried it with the secure kernel as well.

Can somebody point out what i/m doing wrong?

Thanks!
[Galaxy S II Original Android Development] Batskoning:
Please Help Me..!! CSC Quistion..

Hi all...

My question:

1. I'm from the netherlands and my provider (network) is Vodafone, after installing PDA: XXKI3| Modem/phone: XXKI3| CSC: OXAKI3 my internet connection is very slow (market download 70kb/sec, normal +200kb/sec)

My CSC is OXAKI3, Is it better to install

XXKI3| Modem/phone: XXKI3| CSC: XEUKD1..?

And this one:

Vodafone VAUKF4 CSC: http://www.multiupload.com/J4BQQM61FU

What to install for Vodafone (Netherlands)

Greetings..

---------- Post added at 09:40 AM ---------- Previous post was at 09:36 AM ----------

U need to install http://xdaforums.com/attachment.php?attachmentid=732531&d=1317117018

What rom do u use..?

Greetings
[Galaxy S II Original Android Development] miesjaa:
Thanks!

Wow great! That did the trick! On which thread of the forum did you find this Kernel (maybe i can learn a bit ;))

I'm running the original rom with the old bootloader, so i can use a jig to reset the counter. Downloaded from http://xdaforums.com/showthread.php?t=1075278. Direct link: http://www.multiupload.com/7JTWS2E37R

Thanks again. You made my day. I needed this version of CWM to install a custom battery icon (with percentage).
[Galaxy S II Original Android Development] Batskoning:
Found it in the thread we are right now ;)

U Had to download: CF-Root-SGS2_XX_OXA_KI3-42-v4.2-CWM4.zip - [Click for QR Code] (6.36 MB, 3018 views)

I think u downloaded this one:

CF-Root-SGS2_XX_OXA_KI3-v4.1-CWM4.zip - [Click for QR Code] (6.08 MB, 9702 views)

XW_NEE_KI4: 2.3.4

XX_OXA_KI3: 2.3.5

CE_XEN_KI2: 2.3.4, CF-Root v4.2, SU 3.0, "insecure"

XX_OXA_KI3-42: 2.3.5, CF-Root v4.2, SU 3.0, "insecure"

XW_NEE_KI4-42: 2.3.4, CF-Root v4.2, SU 3.0, "insecure"

U clicked the wrong zip file i guess..

Greetings
[Galaxy S II Original Android Development] miesjaa:
I guess you're right. Thanks!
[Galaxy S II Original Android Development] Sharkypt:
Kernel 2.6.35.7-I9100XWKEB-CL241212 root@DELL101 #2

Hi all,

My SG2 stock kernel is 2.6.35.7-I9100XWKEB-CL241212 root@DELL101 #2.

Can you point me the best CF-Root kernel to download?

Many Thanks
[Galaxy S II Original Android Development] Batskoning:
Download root @ post #2601 :)
[Galaxy S II Original Android Development] Sharkypt:
Hi Batskoning,

In the post #2601 it point me to a kernel KI3 (CF-Root-SGS2_XX_OXA_KI3-42-v4.2-CWM4.zip) but mine is KEB.

In the first post @Chainfire explains that:

This means that I should remain with kernel version KEx and in this case the best one in this thread should be KE8 ?
[Galaxy S II Original Android Development] pan24:
chainfire can you please add cwm 5?
[Galaxy S II Original Android Development] CamoGeko:
Lol, I don't think he's gonna do that.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] mitko76:
hi Chainfire,

could you please provide cf kernel for XXKI3 ?

Intratech said that this is the official one and the kernel is different from the leaked one.
[Galaxy S II Original Android Development] tengoku:
used

downloaded and flashed the kg7...

it works and applied chainfire... the only thing is a yellow exclamation mark on boot screen. the phone is loading correct.

anyone knows what is for?

thanks a lot!
[Galaxy S II Original Android Development] Nagato Yuki:
Waiting for CF-Root ZS_OZS_KI3-42 (2.3.5) ;)

For ZS

Even I know XX_OXA_KI3-42 should be applicable :D

For XX
[Galaxy S II Original Android Development] netcitizen:
there are 2 kernels for KI3 secure and insecure . what is the difference?
[Galaxy S II Original Android Development] acksen1986:
THX，I need it~~~~
[Galaxy S II Original Android Development] brooon:
Hey guys!

May I ask you for the correct version to flash, too? I´ve purchased a used SGSII and I don´t know how to proceed (just have my experience with an HD2, but this seems to be a slightly different process)

I´m on Kernel Version: 2.6.35.7-I9100BUKG2-CL342890 root@DELL102 #2

Android Version 2.3.3

Thank you so much!
[Galaxy S II Original Android Development] CamoGeko:
Use one of the first 2 KG2s, they are for 2.3.3.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
Did you even read post no2?

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] Ty_z:
anyone??????
[Galaxy S II Original Android Development] DarkNiz:
I have Stock 2.3.4 with Chainfire XXKG5 installed. Can I install this kernel? CF-Root-SGS2_XX_OXA_KH3-v4.1-CWM4.zip
[Galaxy S II Original Android Development] petsasj:
By the way, i accidentally did a chmod 644 in my /system/app folder (instead of a chmod to an apk) and that sort of did a wipe of my settings. After i reset-up everything, Superuser works fine, no denied settings and all.

So that makes me think that CF root 4.2 KI3 on a fresh rom would have no issues at all. It's probably the update of the apk and the binaries that's causing these issues.
[Galaxy S II Original Android Development] mguel:
v4.2 and Titanium Backup

With KI3 v4.2 couldn't run Titanium Backup (root denied)

With KI3 v4.1 could run Titanium Backup again :)
[Galaxy S II Original Android Development] CoyotinX:
My kernel is 2.6.35.7-I9100UHKE4-CL218676 - So its KE4...

Should i use Odin with KE2 or KE7? Will both work?
[Galaxy S II Original Android Development] sunseaker:
I'm about to update to PDA:KI4 / Phone:KI1 /CSC:KH1 (CPW) via Kies from my rooted XWKE7 / XXKE4 / CPWKD1 firmware.

Should I be using option 1 or 5 from the above list or neither as the correct kernel still needs to be added?
[Galaxy S II Original Android Development] CamoGeko:
KI3 should work fine for you. :)

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] CamoGeko:
The nearest one should be fine, I'd say use KE2. Or better yet, update your ROM first then use one if the latest CF-Root kernels.

Transmitted from a Galaxy far far away via XDA telepathy.
[Galaxy S II Original Android Development] cad_2011:
i have been following this thread for a while and a bit confused as there are so many versions of kernel to use to root a SGS2.

my phone info is PDA: DVKF4 / PHONE: DVKF2 / CSC: TELKF3, which kernel should i use in order for me to successfully root my sgs2.

thank you.
[Galaxy S II Original Android Development] blackmantis1:
2 days old SGS2

Im not sure which kernel since I have the bastered kernel from the whole forum. My kernel # is 2.6.35.7-SPH.D710.EG30.CL435734
[Galaxy S II Original Android Development] donalgodon:
Pick the one that most closely matches the build number of the ROM you are running. It's not really that complex once you see the pattern as outlined at the start of the thread.

Most of the time, the kernel you pick will work without issue even if you make the slightest effort to get close to your build. If you find one doesn't work, flashing another takes all of a few seconds.
[Galaxy S II Original Android Development] dingkong04:
looping in the start Logo “S”

I have download official firmware: ZSKI3 & ZSKI3 Stock Kernel

use Odin

PDA : ZSKI3

CSC: ZSKI3 Stock Kernel

And press start

OK & Pass

But I have a problem in the I9100 is looping in the start Logo “S” how can I solve it?
[Galaxy S II Original Android Development] waeking:
yellow triangle boot screens only

I have been trying to follow this thread and might have missed something but don't know where.... So I will explain all that I can and perhaps someone can tell me where I went wrong and how to fix..

1) I rooted my phone which was a 2.3.3 with KG2 (CF-Root-SGS2_XX_OXA_KG2-v4.1-CWM4)

2) I upgraded to stock XXKG2 Modem (perhaps not necesscary)

3) Installed CWM Rom Manager

4) Did backup through CWM

5) Install Villain Rom 2.3.5

6) rebooted all was well

7) installed XXKG3 modem

8) Rebooted and worked

9) Installed busybox from apps store to upgrade and rebooted

Now it does not boot.

I am using heimdall on ubuntu. I can still get the 3 button reboot and see my phone from heimdall. I cannot get 2 button boot to work. What can I do? please help?
[Galaxy S II Original Android Development] crypticc:
http://xdaforums.com/showthread.php?p=17939519&highlight=secure+insecure#post17939519

http://xdaforums.com/showthread.php?p=17954716&highlight=secure+insecure#post17954716

http://xdaforums.com/showthread.php?p=17904393&highlight=secure+insecure#post17904393

Later
[Galaxy S II Original Android Development] thegodth:
Did someone use ...

CE_XEN_KI2: 2.3.4, CF-Root v4.2, SU 3.0, "insecure"

root DXKI2 firmware?

Have any problems with Titanium Backup? I read many reply said v4.2+SU3 have some problem with Titanium Backup.
[Galaxy S II Original Android Development] timberwolf60:
re installed titanium backup should solved the problem.
[Galaxy S II Original Android Development] akey:
Which CF-Root to re-root phone

Just upgraded through Kies and lost previous root.

PDA: I9100XWKI4

PHONE: I9100XXKI1

CSC: I9100XEUKH2

Android version 2.3.4

Which CF-Root should I use to re-root my phone.

Thanks,

akey
[Galaxy S II Original Android Development] MeX_DK:
XW_KI4 is your answer

And please make CWM use external SD and NOT Internal SD or at least release a patch that allows those of us that want the other solution the option to do so.