yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] kevjef420:
Thanks

I just have to say that Hellcat's kernel is the only way I can get my GPS to get the signal right away. I have tried other kernels and other roms but with CheckRom and hellcat's kernel I get a GPS signal right away. When using other kernel/rom configurations it would take almost 10 minutes for the GPS to get signal. Not sure why but even on stock rom and kernel it was the same case.

thanks a million
[Galaxy S II Original Android Development] ragab mahmoud:
can we see Hellcat kernal with Tegrak 2nd Core

https://market.android.com/details?id=com.tegrak.secondcore&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS50ZWdyYWsuc2Vjb25kY29yZSJd

this will be fantastic
[Galaxy S II Original Android Development] Netskyliner:
I'm on checkrom revolution v3.1. It's 2.3.5 kJ3 based rom. I need Hellcat kernel for this modem please.

Thanks for support

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] HellcatDroid:
Yeah, the next week will be an "unlovely" week at work again (i.e. not much time to tinker on my computer), but KJ* builds are in the pipe.

Got stuck over the weekend at fixing a UI caused crash on the dualboot setup app (yay, finally fixed it) and adding an option to disable the use of compression (not completely done yet).... but next stop is KJ* kernels :)
[Galaxy S II Original Android Development] ragab mahmoud:
can you look at this link

https://market.android.com/details?id=com.tegrak.secondcore&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS50ZWdyYWsuc2Vjb25kY29yZSJd
[Galaxy S II Original Android Development] rameshzombie:
Hi HellCatdroid.

I flashed the Hellcat Kernal. Then I followed the steps below.

Flash this (or any other) custom kernel via Odin

Once your system is rooted run the Companion Tool ("HC-kTool")

Tap "Dump current kernel"

Tap "Reboot to Downloadmode"

When back in downloadmode, start Odin, connect the phone and flash any stock Samsung kernel (this will remove the yellow triangle as the phone is now running on an official kernel again)

when the phone rebooted after the Odin flash start up the Companion Tool again

Tap "Flash kernel from /sdcard/zImage"

Tap "Reboot"

But when i check the kernal version, its the same as stock... also the recovery mode is going to e3.

Please help me on this.
[Galaxy S II Original Android Development] Loc2262:
Hellos HellcatDroid!

I'm glad to have stumbled over this thread, for I'm quite positive you can answer a question that has been puzzling me ever since I installed Cyanogen mod (I'm rather new in the rooting business, but collecting info rather quickly ;) ).

Cyanogen obviously has, just like your kernel according to its feature list, multiple recoveries: When I use the hold-power-button to select "reboot to recovery", I get a CWM 5.x. Using ROM Manager to r-to-r, I get 4.x.

Now, I'm the type of guy who likes to understand how stuff works. :) So, could you maybe explain to me how this multiple-recoveries thing works? As in, where are the recovery images located, and how is the system instructed to boot the one or the other? I've asked this question in several other places already, but gotten no reply.

This would probably also solve a problem I have when I install the Siyah kernel in Cyanogen. After doing so, when I call reboot-to-recovery in ROM Manager, the phone hangs on boot on the Samsung logo. I suppose the Siyah kernel does not contain what it takes to boot to whatever the ROM Manager wants it to. :)

Funny thing is: Also normal boot does not work then anymore! I had to flash a stock kernel through Odin to get my phone back to life.

And I have a theory there: The ROM Manager instructs the system to perform the next boot to the 4.x CWM. The Siyah kernel does not contain that, and the thing hangs. It hangs before it can rescind the instruction to boot to recovery, so also a normal boot fails cause it does not actually take place.

Can you maybe confirm that theory? If yes, how does this "instruct to boot recovery" work exactly? Or can you explain why it's bull**** if it is? :D
[Galaxy S II Original Android Development] mbutandola:
Interesting questions. Would love to know that too :)
[Galaxy S II Original Android Development] mbutandola:
I'm on revolution rom too but won't flash the latest update until you release your kj3 kernel. CF-root has moved to CWM 5, speedmod too I hear. This kernel is the only one offering multiple recoveries and is very smooth without the need for any tweaks.
[Galaxy S II Original Android Development] HellcatDroid:
OK, I looked....

Check if you get any error popups.

What version of kTool do you have?

Is thr zImage present on /sdcard and 8MB in size?

Maybe you just missed a step somewhere?

The recovery (unlike on other Android devices) is part of the kernel.

Basically it's just another executable that gets executed instead of fully booting up the system when recovery is requested.

Now, one can put more than one of those recovery executables into the kernel's ram disk and depending on various triggers run the one or the other.

That's how this kernel does it, and likely CM does something similar.
[Galaxy S II Original Android Development] mbutandola:
Any ideas when the KJ3 version will be coming? I know the rule is not to ask for ETA but my fingers are itching here :). Anyway, I 'll be waiting.
[Galaxy S II Original Android Development] Loc2262:
Aah, so it's somewhat similar to some "safe boot" on PC Linux, where the boot process drops you to a shell instead of starting up all the services and stuff.

Thanks for the info!

Could you maybe point me to some explanation how I can "dissect" a zImage file? I'd like to take a look at the various kernels (mostly CM, CF-Root and yours) and maybe find out how they are instructed to load the different recoveries, and find out why Siyah bails out on CM.
[Galaxy S II Original Android Development] HellcatDroid:
To check out the contents of the initramfs, just install a termknal app or start an adb shell and go

cd /

and you're right in the middle of it.

There is also a few unpacker scripts floating around here.
[Galaxy S II Original Android Development] isaackenny:
give it A a try now mate thx u
[Galaxy S II Original Android Development] Loc2262:
Wait, you're saying that in Android, the initramfs stays active and mounted at "/" after the boot completes? Whoa, that's interesting. :) And quite deviates from what I'm used to on PC Linux, where the initram is only for boot and then replaced with a root file system from HDD.

Thanks for the info! :D
[Galaxy S II Original Android Development] jay_993:
hey hellcat, what do you think about the playstation Vita? Worth getting it? Also, do you reckon we can port android onto that lovely device?

Just in case i miss your reply, if you PM me, it would be nice lol
[Galaxy S II Original Android Development] HellcatDroid:
Definitaly getting one.

Android on it will be whole lot of a different story though.

First it'd need to be FULLY hacked, then someone would need to write all the HW drivers.

THEN, of course, it should be possible.
[Galaxy S II Original Android Development] ragab mahmoud:
so Hellca i need your advice it is good for my phone (battery life) to use this app or not

waiting fo your answer
[Galaxy S II Original Android Development] al5911:
Forgive me if this was asked. I downloaded kTool from market and run it on my 9100G

(rooted with doomlord v2 method) but it said that the apps is incompatible with my

9100G? The latest kTool (from market) still didn't support G variant? Thanks.
[Galaxy S II Original Android Development] HellcatDroid:
No idea, haven't tried it (yet).

I guess the only way to find out is to just try and see :)

Hi.

Just uploaded a v1.25 to the market, should be live shortly.

Please try that one, and let me know if it works :)
[Galaxy S II Original Android Development] ragab mahmoud:
ok. thank you
[Galaxy S II Original Android Development] cereal killer:
Which version?

Hi there.

I´m wondering which Hellcat's kernel version should I use.

I have stock 2.3.3 Android and KG2 kernel.

In the first post it says KG2 is for 2.3.4

SGS II system info attached.

Little doubt, do I need a custom rom for BLN or just the BLN app from market?
[Galaxy S II Original Android Development] Netskyliner:
wainting for KJ3 kernel

Will be soon???
[Galaxy S II Original Android Development] mbutandola:
You need to have a look at the pda version and check if there is a kernel version that matches it here. As for BLN, you would need a mod if you want it to work with stock sms. Search xda or the checkrom revolution thread. It is a mod that alter services.jar. So it needs to match your current firmware. A bit of a hassle I know but you'll soon get used to it. :)

Edit: you could get the modded services.jar [URL="http://xdaforums.com/showthread.php?p=16414706]here[/URL]
[Galaxy S II Original Android Development] mbutandola:
Been waiting the KJ3 version too. HellcatDroid said that he'd have a busy week although the kernel were already in the pipeline. ;)
[Galaxy S II Original Android Development] HellcatDroid:
Will try to get them compiled over this weekend :)
[Galaxy S II Original Android Development] cereal killer:
Thanks!

I just ran Kies to check my PDA version and it updated the phone to KJ3 :P

Thanks for the services.jar info.
[Galaxy S II Original Android Development] mbutandola:
Good to know I helped. It's the best way to thank those who helped me :). This is why I like xda.
[Galaxy S II Original Android Development] HellcatDroid:
*pfehw*

finally managed to upload KJ1, KJ2 and KJ3 kernels :)

v1.25 XWKJ1 (2.3.5): [ DOWNLOAD ]

v1.25 XWKJ2 (2.3.5): [ DOWNLOAD ]

v1.25 XWKJ3 (2.3.5): [ DOWNLOAD ]
[Galaxy S II Original Android Development] Netskyliner:
First to read the post :) First to try :)

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] Netskyliner:
First to read post, First to try

Error :(

Failed to open /etc/recovery.fstab (no such file or directory)

E: Unknown volume for path [/cache/recovery/log].......

what 's the issue???

Flashing other kernels : no issue!!!

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] mbutandola:
Same problem here. Seems the sd-card can't be mounted :confused:
[Galaxy S II Original Android Development] HellcatDroid:
Awww, sorry guys, missed an edit in the recovery.rc :o

Uploaded updated builds, first post updated, here's the new links:

v1.25 XWKJ1 (2.3.5): [ DOWNLOAD ]

v1.25 XWKJ2 (2.3.5): [ DOWNLOAD ]

v1.25 XWKJ3 (2.3.5): [ DOWNLOAD ]

Hope it works now.
[Galaxy S II Original Android Development] Netskyliner:
Can upload a cwm flashable version??

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] mbutandola:
CWM recovery is not working anyway. The sd-card can't be mounted. You'll no choice but to flash via odin.
[Galaxy S II Original Android Development] Netskyliner:
I'm on speedmod with cwm 4 now so I can flash. I think it's always interesting to have cwm flashable things like in the kitchen app.

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] mbutandola:
Use darky's app. Search it on the market. You could then be able to flash .tar files. You also have chainfire's CWM manager. Works pretty well. :)
[Galaxy S II Original Android Development] Netskyliner:
working like a charm

Working like a charm now :)

---------- Post added at 09:12 PM ---------- Previous post was at 09:06 PM ----------

Best info since i discovered kitchen app :)

Thanks a lot
[Galaxy S II Original Android Development] mbutandola:
My pleasure. This is a community. Sharing and helping one another. :).

Mind you that Darky's app is very fast when flashing. So much so that you might wonder if it actually worked. It usually does but don't hesitate to check your kernel version in "about phone".

As for this kernel I can now confirm that everything is fine now. And together with it's smoothness I've got BLN working again ;)
[Galaxy S II Original Android Development] HellcatDroid:
CWM .ZIPs are worst thing that ever happened to Android IMO.

I'll add .tar handling to kTool, those .tars can then directely be flashed using it, no need for CWM .ZIPs

That's good :)
[Galaxy S II Original Android Development] mbutandola:
@Netskyliner there's one more app that will make you happy. It's Mobile Odin developed by Chainfire. You can flash anything just like using odin on your phone! :)

I've bought the pro version on the market because it allows you to root your rom directly upon flashing. Just read the instructions carefully here.

I call this app "REVOLUTION "

No more yellow triangle, no more worries about custom binary counts! Just check it out :)

Edit : if you wanna stay on the safe side, flash CF-root prior to flashing an entire rom.
[Galaxy S II Original Android Development] mbutandola:
Great idea! Thanks! :)
[Galaxy S II Original Android Development] Netskyliner:
Great Thanks

thanks a lot

just update link(not working)
[Galaxy S II Original Android Development] mbutandola:
Oops! Sorry lol. Link updated. Should be working now. The link can be found in the market as well.
[Galaxy S II Original Android Development] HellcatDroid:
Just FYI, started pimping on kTool :D

Far from being done, the buttons do nothing as of now, but it's a start.

I hope I'll have some/enough time over the weekend to tinker around at it.
[Galaxy S II Original Android Development] mbutandola:
Looks great! Is it gonna flash the .tar file directly or shall we have to extract the zImage?
[Galaxy S II Original Android Development] HellcatDroid:
Just drop the .tar as /sdcard/stock.tar onto the internal storage and the app will take care of the rest.
[Galaxy S II Original Android Development] mbutandola:
Thanks
[Galaxy S II Original Android Development] mjb:
Hear Hear.
[Galaxy S II Original Android Development] mjb:
Hellcat, would you be able to explain in detail what you do to root a kernel? I can't find any technical details anywhere... I know there's some editing of scripts being done.. but I'm guessing there's some interesting stuff done to disable signed code checks or something?
[Galaxy S II Original Android Development] HellcatDroid:
He, have to disappoit you, rooting a system is a rather simple step, no signatures or encryptions to evade.

Basically, all you need to do is to install a (new/different) "su" binary in /system/xbin and the Superuser.apk.

Then, for some more features/convinience on the commandline level, busybox (and all it's symlinks) should be installed as well (either in /system/xbin or in the kernels initramfs in /sbin).

That's it, system rooted :D

The editing of scripts in the kernel's case is the init's .rc scripts so these things are done automatically upon bootup.
[Galaxy S II Original Android Development] niko1986:
Chainfires Mobile Odin app is also great for this. Not sure about the others but Mobile Odin can flash without causing a yellow triangle or incrementing the kernel flash counter. As well as auto rooting and injecting CWM etc.
[Galaxy S II Original Android Development] HellcatDroid:
kTool can flash from .tar files too now :p

(at least param.lfs, modem fw and kernel)
[Galaxy S II Original Android Development] mjb:
Aha... I actually had initially thought that, but also thought "Surely it's not that simple". Thanks for the clarification! I suppose the "difficult" part is initially working out how to get those binaries in with setuid perms.
[Galaxy S II Original Android Development] icecore:
Hey :) wanted to say that your Karnel is the stables i used along time!.

Second thing, what is "modules_XWKJ3" folder that attached in the 'rar' file and where to put this?or how to install that?
[Galaxy S II Original Android Development] HellcatDroid:
Glad to hear that :)

About the modules folder:

If you want to use CIFS (SMB/"Windows Share" mounting via network) you need to copy the cifs.ko to /data/lib/modules or /system/lib/modules.

If you don't want to use it, or don't exactely know what it is, you can just ignore it :)
[Galaxy S II Original Android Development] icecore:
Helpful answer, thank you very much :)
[Galaxy S II Original Android Development] flogger:
XWKK2 ?

Hello. Is it possible for you to post the hellcat's for kernel version XWKK2?

I'd like to change to that ROM and as I always use your kernel because of BLN and stuff.

Thanks!!!!

Edit: XWKK5
[Galaxy S II Original Android Development] Netskyliner:
Next version of Checkrom will be on KK5.

Will my favourite kernel update?

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] HellcatDroid:
KK2 will hit the compiler tonight :)

There is a KK5 already? :eek:

I guess it's in Intratech's thread, yes?

Is it an XW or XX? 'cause I was about to smack KK2 onto my phone, but if there's a XW/XX KK5.... :rolleyes:

Oh, and yes, KK5 kernel shall be spit out be the compiler as well, then.

I just hope I find the time tonight to do it, but I'll do my best :)
[Galaxy S II Original Android Development] HellcatDroid:
I am going to rebuild/compile all versions tonight anyways for my kernel's v1.20 (BLN and the companion tool added), so I'll just throw in another build for your version, no problem :)
[Galaxy S II Original Android Development] HellcatDroid:
v1.20 with BLN support finally posted (yes, I was slow :o but it's the updated code with less wakelocking, so it's something ;)).

ZSKG2 build will follow later tonight, still need to fetch the original initramfs and recompile the kernel.

// EDIT

OK, I did some tests about the wakelock thing and BLN.

It works: When the LEDs turn OFF again (to be configured in the BLN controll app) the phone goes back into deepsleep.

While the lights are lighting the wakelock prevents deepsleep and the phone runns at 200MHz.

I had my test settings set to 20min blink and 40min static, then OFF again. did cost me ~1% maybe 2% battery, so battery consumption is totally OK IMO.

Since after the OFF timelimit is reached the phone goes back to deepsleep - just don't set notification times too long (like 12h blink *lol*) and your battery should be save and sound :)

// EDIT 2

And ZSKG2 posted :)

// EDIT 3

XXKG5 posted as well
[Galaxy S II Original Android Development] miketwn:
big thanks again ;) will test it out tonite and come back to you if any problems pop-up

cheers
[Galaxy S II Original Android Development] BuHaneenHHHH:
would you mind making a custom kernel for this kernel

http://www.multiupload.com/KV4NKMZFLC

it is for the latest arabic JPKG5 rom.

it is Gingerbread 2.3.3 version

thanks
[Galaxy S II Original Android Development] mystifiyer:
Can I check if there is any plan to incorporate faster charging capability?

Samsung has set a soft limit in the amount of amps (450mAh?) which is below most USB (500mAh to 900mAh max)

I read it somewhere that this is slightly higher than the USB port charging but not by much. Hence, charging time can take quite a while.

Would it be possible to raise it slightly higher, say maybe 600mAh to 700mAh? (maybe it wouldn't overheat the hp that much?)
[Galaxy S II Original Android Development] HellcatDroid:
No single USB port supplies more than 500mV (for the "500 to 900" you mention, you need a Y-cable to get power from two ports) so increasing the drain would only overload and kill your USB ports but not affect charging time....

....so let's consider that one a "no" ;)

Use the AC plug if you're in a hurry.
[Galaxy S II Original Android Development] Nightlight:
Hi Hellcat :)

Just got a SGS2 with XWKF3 kernel, as this is my 1st time trying to root the S II which of your kernels should I use?

fyi I'm udgrading from a desire with AdamG's oxygen.

many thanks,

Nightlight
[Galaxy S II Original Android Development] phunkycow:
What about this or this?

From a quick look you need 1000/1100 mA to charge an iPod/iPhone/iPad and with that (official) mobo software it's possible. Not sure how safe it is to use, though. :)
[Galaxy S II Original Android Development] HellcatDroid:
EXTERMINAAAAAAAATE!!!!

(sorry, your avatar just made me do that xD)

For the time being he XWKF1 kernel should work fine for you - there is close to no changes at all anyways, but I can make an actual KF3 build too, later tonight.

(Have to setup a new Linux VM for compiling the kernels, HDD on the current one just ran out of space *lol*)

@phunkycow:

Official USB specs only specify up to 500mV per port. (at least the ones up to USB2, not sure about USB3)
[Galaxy S II Original Android Development] mystifiyer:
Hmm, alternatively, how about for AC charging then? I believed that was toned down quite abit by Samsung too. Default should have been 1A but I recalled it was about 650mAh (?) or so. Hence, there are some kernels that incorporate voltage tweaking (Speedmod for example).
[Galaxy S II Original Android Development] Nightlight:
LOL Hellcat !!

Many thanks for your incredibly fast reply :)

As I'm somewhat nervous about flashing this new phone..lol..I might wait till you have time to do a F3 version if thats ok by you, then I have to go through the remove yellow triangle procedure ooooo..

cheers to you,

Nightlight
[Galaxy S II Original Android Development] Phk:
Great work, keep on with it!!!

Also, include some Benchs!!!! Benchmarks!! Charts!! Comparisons!!! =))))
[Galaxy S II Original Android Development] :
I flashed your kernel yesterday for testing it and went back to my daily kernel, but the icon of the K-Tool remains in my phone. I tried to install the standalone K-Tool apk and then remove it without success.

Any idea?

I don't like useless icons in my phone.
[Galaxy S II Original Android Development] HellcatDroid:
Delete /system/app/kTool.apk
[Galaxy S II Original Android Development] :
Thanks for the quick reply, but I've already tried it and there is no kTool.apk in system/app.

What is the name of the icon and its extension?
[Galaxy S II Original Android Development] HellcatDroid:
Hmm, but that's exactely where it is:

// EDIT

I'll put a de-install option into the app's next version....
[Galaxy S II Original Android Development] sids911:
Much Thanks!!

I'll wait for KF3 version to drop by. By the way, does this support Rom Manager?
[Galaxy S II Original Android Development] HellcatDroid:
If ROM Manager works with this, it's a coincidence - I never used ROM Manager so far.... but might look into it :)

Also:

Kernels updated to custom version v1.22 (now include the touchscreenfix) and XWKF3 version has been added

:)

It's easy, the Companion Tool can help you, a run-down on what and how to do is in the first post.
[Galaxy S II Original Android Development] 3f1f37:
@ Hellcat

I instantly recognized the name and just wanted to say welcome to the android world and I see you wasted no time contributing to the Android community, I’m sure a new legacy is in the making. Probably doesn’t matter here but your work is legendary in the classic PSP community I mean everybody who owns a PSP used … HELLCAT’S RECOVERY FLASHER.
[Galaxy S II Original Android Development] Nightlight:
Hellcat my Lord.

What can I say, your instructions were clear and flawless, I now have a rooted SGS2 without the yellow triangle of death :)

I have to point out that of all the rooting sites I've had a look at yours is by several orders of magnitude THE BEST !!

Thank you for all the hard work you have done sir uber kudos to you!!!!!!!

a donation from a happy noob is on it's way.

all the best to you and yours Hellcat,

Nightlight
[Galaxy S II Original Android Development] steslatt:
It's XWKK5 and yes it's in Intratech's thread :)
[Galaxy S II Original Android Development] HellcatDroid:
Fresh kernels :)

v1.25 XWKK2 (2.3.6): [ DOWNLOAD ]

v1.25 XWKK5 (2.3.6): [ DOWNLOAD ]
[Galaxy S II Original Android Development] mbutandola:
Man that was quick! Thanks! :)
[Galaxy S II Original Android Development] Netskyliner:
Testing now on new checkrom v4 kk5.

Working fine till now

Sent from my Galaxy SII.
[Galaxy S II Original Android Development] HellcatDroid:
Yeah, running stock KK5 here, 2.3.6 yay :D