yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] HellcatDroid:
A pleasure :p

Nah, seriously, I was investigating this issue and already had thoughts it was caused by the kernel (missing/broken loopdevice support).

Weirdly I had flashed Siyah kernel to test it - and it did work! :confused:

I hate errors I can't reproduce :mad:

Anyways, I am already tweaking it some more, for one kTool is now bundled with an own busybox for cases where that causes incompatibilities and some more stuff.

I also added a small tweak that hopefully might solve the issue you posted - but w/o being able to reproduce, I can only hope....

Well, I'll post a tweaked v1.21 eventually (hope to find some time over the next weekend - yay, and it's only just monday *lol*) so you guys can try and break it :D

// EDIT

About Update3 sources:

I toyed around with those sources a bit last night and everything works nicely (as far as I can tell so far).

I'll do some Update3 build, just dunno exactely when I'll manage to actually make them.
[Galaxy S II Original Android Development] Shinfei:
Thanks for the reply ;)
[Galaxy S II Original Android Development] jlieu:
Can anyone get me a stock kernel? for XXKI4 odin flashable.
[Galaxy S II Original Android Development] zking:
I tried to flash your kernel on KI8 (2.3.5) and on KI4 (2.3.5) but in vain. my phone get stuck on boot logo with yellow triangle.

Even I am not able to flash any other kernel's such as Siyah...

Would you know what will be the problem.
[Galaxy S II Original Android Development] DarkNiz:
XXKI4 Stock Kernel: http://www.multiupload.com/2FF735VQD5

Password: intratech@XDA
[Galaxy S II Original Android Development] netchip:
How do you have included busybox in apk file?

And do you use a ShellCommand.java for your app?

Regards,

Netchip

Sent from my GT-I9100
[Galaxy S II Original Android Development] jay_993:
Is this HellCat the one from PSP? It sure looks like it from logos. Then I must say...

HI YOU ****ING LEGEND :D
[Galaxy S II Original Android Development] HellcatDroid:
I put the binary into /assets, upon launch I write it into the cache space and call it from there.

Nope.

Hehee, yah, same :D

Hi \o_
[Galaxy S II Original Android Development] netchip:
What do you use than for the shell commands :D?

Sent from my GT-I9100
[Galaxy S II Original Android Development] HellcatDroid:
rootRunCommand( ":D \n" );
[Galaxy S II Original Android Development] Tricky103:
Been using your Kernel today, now I see the easy set up app for LolBoot kernel.. Nice. That is where I am off to.
[Galaxy S II Original Android Development] netchip:
Must I save it as .java file?

Also self writed :)?

Sent from my GT-I9100
[Galaxy S II Original Android Development] Neo.:
Thanks and I've got a simple question

Can we use kTool companion tool v1.21 to remove yellow triangle IF I'm on Speedmod kernel? Can I use it with other kernels?

Thanks
[Galaxy S II Original Android Development] HellcatDroid:
Copy'Paste that snippet as function/method into your activity class and then just call it.

Or add it as method to w/e class you want to use.

Yes, should work fine.

If it gives troubles, tell me and we try to fix them :)
[Galaxy S II Original Android Development] thanksgiving60:
please release a XXKI4 version built on update3 source!

thank you!!!
[Galaxy S II Original Android Development] HellcatDroid:
Yah, going to rebuild the 2.3.5 kernels from update 3 source.

But I have to (re)apply all patches and edits to them and let them run through the compiler, so it might take a bit.

But it's on the list :)
[Galaxy S II Original Android Development] thanksgiving60:
thanks

looking forward to it!!
[Galaxy S II Original Android Development] KennyLegend:
Hellcat are any of these versions compatible with KJ1?
[Galaxy S II Original Android Development] Tricky103:
I am using ki8 kernel on kj1
[Galaxy S II Original Android Development] KennyLegend:
Cool ;)
[Galaxy S II Original Android Development] thanksgiving60:
hi

hellcat

sorry for the noobish question

but whats the dump current kernel in the tool do???

i can extract the kernel from the rom?
[Galaxy S II Original Android Development] HellcatDroid:
Yep, it saves the currently installed kernel to /sdcard/zImage

It can then be used to be flashed back using the "flash kernel" button, when for example you flashed a stock kernel via Odin to remove the yellow triangle - just tap the "flash kernel" button and you got the dumped one back.

The zImage saved to the sdcard is the same as found in the FW update .tar files.

So you can do w/e you like with it :)
[Galaxy S II Original Android Development] arnoldod:
Hellcat, XXKI4 based kernel performs very well in terms of battery life & performance. I can get 1 1/2 day with what I consider heavy use considering I left my signal auto switch with Fast Dormancy on & I did repetitive Antutu benchmark.

I know benchmark score doesn't mean much but I do care if the score difference between custom ROM+kernel is less than 100 points in benchmark. I'm on CheckROM Revolution V.1.0 and Hellcat's Root Kernel XXKI4. Here's the lowest score I get after 3 runs of Antutu. The other 2 score is higher than this but still lower than +50 points so I think the score is good enough to conclude the power of the ROM+Kernel:

I appreciate the features you built into the kernel. I am not into OC/UC/UV on my smartphone& I think your kernel is the only kernel with no OC/UC/UV that packed with cool features such as custom boot animation, custom bootlogo, BLN, and touchscreen sensitivity fix. :)

Cheers for the great kernel! :)
[Galaxy S II Original Android Development] thanksgiving60:
thanks :D:D:D
[Galaxy S II Original Android Development] HellcatDroid:
I have no idea what that app is, what it does and why something of it doesn't work.

And the thread you linked to is rather long.

Could you link directely to the post (or just quote it here) describing the problem and what to do about it?

The SGS2 isn't listed in the app's compatibility list on the wordpress page you linked to, so it's basically not supposed to work and it's the job of the app's maintainers to fix it.

Though, if it's an easy patch I surely can look at implementing it - but I'd need info on what to do.
[Galaxy S II Original Android Development] eranox:
now it's the dafault kernel in the CheckRom Revolution 2.0
[Galaxy S II Original Android Development] 11768:
How do I revert the bootanimation and sound back to stock?

Edit: Someone showed me this thread http://xdaforums.com/showthread.php?t=1091186

Download the stock version there. Next time do a backup first. :p
[Galaxy S II Original Android Development] everydayedin:
Odin Problem

Hi there .

I try to follow the post instruction with Odin.

But i couldn't make my running Odin having the ID:COM become to yellow at all.

Can anyone tell me is there anything i make a wrong move ?

1 : Vol down + menu + power button = select Download mode

2 : start Odin 1.85

3 : insert PDA with the downloaded .tar

While the phone screen is stucking at the " Odin Mode " ---- Downloading... Do not turn off target!!

Well as the instruction i think i'm doing exactly the same as described . but why there is n.th happen on my Odin ?

Is there anything wrong with my USB ? Although my USB port can transfer and recharge battery normally .

Please tell me what should i do to have the Odin known my phone ? and able to flash the kernel via Odin.
[Galaxy S II Original Android Development] NunxPT:
Hello,

Make sure you don't have any kies process running (check also on tray).

Also check if you didn't get an error related with driver installing (they're different from mass storage). If you have, try installing this:

http://www.mediafire.com/?ebvxlq17u3b994i
[Galaxy S II Original Android Development] mbutandola:
Hi,

Whenever I flash a new mod or theme from recovery I get bootloops and for my phone to boot I need to flash another kernel via Odin.

Don't know if it has anything to do with CWM recovery 5 but doesn't seem to happen with other Kernels.

Is there a fix to that?

Cheers.
[Galaxy S II Original Android Development] Lownita:
If I install another kernel than hellcat, can I leave your kernel tool/app installed without problems? :)
[Galaxy S II Original Android Development] HellcatDroid:
Might be a CWM issue (that thing's far from perfect).

What ROM are you on and what mods are you flashing via CWM?

Sure thing.

I'd even suggest to update it to v1.23 via the market.

However, if you want to get rid of it, you can always use the deinstall option from the menu.
[Galaxy S II Original Android Development] thanksgiving60:
great!!! ;):D:eek::cool:
[Galaxy S II Original Android Development] keijers:
Can you release one for KI2?
[Galaxy S II Original Android Development] HellcatDroid:
The KI3 one should work perfectely fine for KI2.

Though, I'll throw some KJ* ones into the compiler the next few days....
[Galaxy S II Original Android Development] mbutandola:
Thanks for your reply. I'm on checkrom revolution and wanted to change themes. First via the kitchen app and because it wouldn't work, I wanted to flash from recovery. It also happen when trying to flash a dialer theme or the mod allowing BLN to work with stock mms.apk.

Can I flash another version of CWM and keep the Kernel? If yes, where could I find those?

Cheers.
[Galaxy S II Original Android Development] mjb:
HC,

kTool v1.20 through v1.23 tell me I'm running an incompatible device on startup. (yes, it's definitely an SGSII). What's it checking?
[Galaxy S II Original Android Development] HellcatDroid:
About CWM:

My dream solution (but I have to do more research on how to do it) would be a menu when booting to recovery mode that offers CWM5, CWM4 and stock recovery to be launched.

It checks the model name "GT-I9100".

You maybe got one of the variants like 9100T or 9100G or w/e they are?
[Galaxy S II Original Android Development] mbutandola:
That would be great yes. But in the meantime is there a way to manually change CWM recovery versions? Or at lest release a the same Kernel with CWM recovery 4? Because if I wanna flash something, I need to change kernels first if I wanna stay on the safe side.

Cheers
[Galaxy S II Original Android Development] HellcatDroid:
Unfortunately no, but that gave me an idea:

If a recovery executable placed in in somewhere like /sdcard is found upon recovery-boot, that one's used instead of the built-in.

Almost as cool as the menu (though, the menu would be a lot cooler :D)

That would definitaly be a "yes, can do", or just the above, or a combination of both.
[Galaxy S II Original Android Development] mbutandola:
Thank you. Will be waiting for that :)
[Galaxy S II Original Android Development] mjb:
Bingo, yes. GT-I9100T. are you able to add that as a valid device? (As I understand, it's functionally identical to the GT-I9100).
[Galaxy S II Original Android Development] netchip:
Check huawei ideos x6 forum, there is a solution.

Sent from my GT-I9100
[Galaxy S II Original Android Development] mbutandola:
Codeworkx has told me that you can't do it on Samsung phones because they have only one boot partition.
[Galaxy S II Original Android Development] netchip:
It can be done easily with some scripting ;)

Sent from my GT-I9100
[Galaxy S II Original Android Development] mbutandola:
Unfortunately, I haven't got the skills to write such a script. Would be nice if HellcatDroid did that. But he said that he could release the Kernel with CWM 4.0.1.5 recovery. That would do to me :)
[Galaxy S II Original Android Development] netchip:
I know for sure HellCat is able to do that ;)

Sent from my GT-I9100
[Galaxy S II Original Android Development] HellcatDroid:
Hehe, yah, it's fairly easy to implement the idea of running like a "replacement" recovery when one is found on /sdcard or the likes.

When I ever come to setting up a full AOSP build env. I can even (try) make the menu at the beginning where one can choose which recovery to run.

The key problem - as always - is to find the time to actually do all these things.... :-/
[Galaxy S II Original Android Development] mbutandola:
It might be less time consuming to release a CWM recovery 4.0.1.5 version of your current Kernel. I mean, I have come back to it after using siyah's, Speedmod and CF-root. The only issue is recovery 5.0.2.3 which I hear is still experimental. Some people wrongly think that the Kernel is buggy and won't use it whereas it's actually the recovery and sometimes the mods we try to flash that have issues. :)
[Galaxy S II Original Android Development] HellcatDroid:
Status update:

when v1.25 will leave the compiler, you will easiely be able to choose what recovery will come the next time you boot into recovery! :D

Available recoverys will be: CWM5, CWM4 and stock

If you just don't do anything, CWM5 will still come up as default.

If you create a file on /sdcard called "opt.recovery.cwm4" you'll get CWM 4.0.1.4 the next time you boot recovery

If you create a file on /sdcard called "opt.recovery.stock" you'll get original, stock recovery

delete the opt.recovery.* file(s) and you'll get CWM5 again

Content of the files doesn't matter, they just need to exists (0 byte lenght is fine already).

So, even you end(ed) up with some bootloop or w/e, since CWM offers the option of mounting /sdcard to the PC as mass-storage, you can "on the fly" choose another recovery, reboot and be happy.

(very nice to fix the bootloop caused by CWM when using the factory/data wipe!)

Now I just need to go through the tedious job to (re)compile them all.

Will do only some of the more recent ones for now, if someone really still runns an old FW and needs a build for that, I'll do those on request :)
[Galaxy S II Original Android Development] mjb:
I'm keen to give your kernel a go HC... could you do XXKH1? Are you also able to add the 9100T as a valid device for kTool?
[Galaxy S II Original Android Development] HellcatDroid:
Yes and yes :)
[Galaxy S II Original Android Development] mbutandola:
Why recovery 4.0.1.4? Thought the latest stable version was 4.0.1.5.

Thanks for the great work.
[Galaxy S II Original Android Development] sakana:
Hi

I just installed this kernel, and it's great.

Remove de yellow triangle too.

Installe de bln pro app, and now i have the phone blinking after a received call. Is there a way to blinl also after a received sms ?

CMW is still 2.0 and no new bootlogo. Is something missing from me ?

Thanks.
[Galaxy S II Original Android Development] NunxPT:
You need a modded services.jar, you can look here for the right version for your rom (check the last pages for the latest patches):

http://xdaforums.com/showthread.php?t=1206726
[Galaxy S II Original Android Development] sakana:
no XXKI3 version :(
[Galaxy S II Original Android Development] NunxPT:
Here you go:

ONE.PT.XXKI3.Services.Patch.BLN.zip

ONE.PT.XXKI3.Services.Patch.BLN.DEODEX.zip
[Galaxy S II Original Android Development] HellcatDroid:
Can someone with an I9100T please try if this build of kTool runns on it (i.e. doesn't give the "device not supported" message):

http://f.lui.li/get_174_13af.html

Thanks :)
[Galaxy S II Original Android Development] fighter_foo:
Any kernel for KI2?

TIA:)
[Galaxy S II Original Android Development] HellcatDroid:
Just use the KI3 one, there is no difference but the version number.
[Galaxy S II Original Android Development] Netskyliner:
1.25 soon?

Any release date for 1.25?
[Galaxy S II Original Android Development] mjb:
*perfect*. Installed fine, ran fine, dumped kernel fine, and backed up EFS fine. and the backup verified 100% ok.

Top notch HC, cheers!
[Galaxy S II Original Android Development] HellcatDroid:
Cool, that's what I was hoping for.

Will put that version into the new kernel builds and also update the market version. :)
[Galaxy S II Original Android Development] talonlan:
just got my new GS2 and it has a build number of 2.3.3 Gingerbread XWKF4.

Gather I can just use the KF3 kernal?

thanks in advance
[Galaxy S II Original Android Development] HellcatDroid:
Posted XWKI8, XXKI3 and XXKI4 builds of v1.25 of the kernel.

Some more are going to follow soon.

Changes:

now built from "update3" sources

now supports multiple recoveries you can boot into when booting to recovery mode :D

Switching recoveries in action:

http://www.youtube.com/watch?v=qljMqrNVOgE

Details on how to use'n'choose are in the first post in the feature describtion.

(short version: create a file /sdcard/opt.recovery.cwm4 to get CWM4 and /sdcard/opt.recovery.stock to get original stock recovery)

Yep, will work fine :)

// EDIT

XWKI4 and XXKH1 posted as well.
[Galaxy S II Original Android Development] mbutandola:
Not working. Whenever I wanna reboot into recovery 4, I get recovery 5.0.2.3. Have created the opt.recovery.cmw4 :(
[Galaxy S II Original Android Development] HellcatDroid:
Uh, that shouldn't happen.

Which one are you using, i.e. which XWxxx or XXxxx one?
[Galaxy S II Original Android Development] mbutandola:
Using XXKI4
[Galaxy S II Original Android Development] HellcatDroid:
Hmm, just flashed XXKI4 kernel onto my phone and tried and it worked as expected, 4.0.1.4 came up....

".cmw4" or ".cwm4"?
[Galaxy S II Original Android Development] Netskyliner:
not working on Revolution ron

Always booting on cwm5

ROM CheckReV HD2
[Galaxy S II Original Android Development] s2d4:
Did you do this

create a file /sdcard/opt.recovery.cwm4 to get CWM4?
[Galaxy S II Original Android Development] Netskyliner:
Yess. But after reboot when I check in sdcard file automatically desappears. It's automatically ereased in reboot even if I uncheck all permissions on root explorer and even it's more than 0kb!!!
[Galaxy S II Original Android Development] HellcatDroid:
Hm, weird.

Seems to be a ROM issue as everyone for whom it doesn't work is on CheckRom (so far, might also just be a coincidence....).

Meh, screw that thought, I just re-read, one is RevolutionRom....

The file disappearing is strange, that really shouldn't happen....

You're doing a clean shutdown/reboot or are you using the "reboot to recovery" of kTool?

Hmm, we could try a different filename/path....

I'll see to grab CheckRom tonight and slap it onto my S2 to try.
[Galaxy S II Original Android Development] Netskyliner:
I did not use ktool. It was a the reboot on recovery of jkay tools I used. Trying clean reboot now

Edit

Same issue after clean reboot.

Why do not release a kernel with only cwm4???

Till now all that cwm5 brings is problems.
[Galaxy S II Original Android Development] mbutandola:
How stupid am I! Feel ashamed lol

Was my mistake. I mispelt the thing lol. Sorry. Now works perfectly :)
[Galaxy S II Original Android Development] mbutandola:
Strange. My file still here. Have you created a file or a folder? Don't know if it's got anything to do with that.
[Galaxy S II Original Android Development] HellcatDroid:
And yet it doesn't work for you.... or does it now?

That's a good thought!

It indeed must be a file, not a folder/directory.
[Galaxy S II Original Android Development] Netskyliner:
I created a file with rootexplorer.

I don't think i missed something special in creating the file. Any request for another method?
[Galaxy S II Original Android Development] mbutandola:
Yes! Working perfectly now :). I just mispelt the file name. Thanks for spotting it. Besides, SwiftKey had learnt the word, so whenever I deleted and recreated it, the same mistake would come up. Would have taken days to see that lol
[Galaxy S II Original Android Development] NunxPT:
Files created with rootexplorer are not instantly recognized I presume. Try running this app to rescan media:

https://market.android.com/details?id=com.addz.mediascannerroot
[Galaxy S II Original Android Development] mbutandola:
Why not use ES or the stock file manager to create files?
[Galaxy S II Original Android Development] NunxPT:
Yup, that would be the best way because media content is re-scanned after a file creation with My Files app.

I just mentioned that app because Netskyliner said he used root explorer ;)
[Galaxy S II Original Android Development] Netskyliner:
Created opt.recovery.cwm4 file with file explorer. Now file is always here but recovery mode always boots on cwm5.
[Galaxy S II Original Android Development] NunxPT:
What File Explorer? Stock? (this one? : http://www.careace.net/wp-content/uploads/2011/09/file-browser.png)

Can you post your file here?
[Galaxy S II Original Android Development] Netskyliner:
I'm on mobile tonight (working). Can't post my file. File explorer is an application from the market just like root explorer
[Galaxy S II Original Android Development] NunxPT:
Run the media scanner app that I posted before or modify any file on stock My Files app so that media is scanned again.
[Galaxy S II Original Android Development] mbutandola:
Isn't the scan done after reboot anyway?
[Galaxy S II Original Android Development] NunxPT:
Yes. Did you try after renaming the file and rebooting again?

Are you sure you're running version 1.25?
[Galaxy S II Original Android Development] Netskyliner:
Media scan does not change anything.

Tried also creating file with ES and file manger... Same issue
[Galaxy S II Original Android Development] mbutandola:
Did you spell it right? Sounds stupid but did the same mistake and a tiny mistake could easily be overlooked. And check that it's a file, not a folder. Last thing : check the kernel version.
[Galaxy S II Original Android Development] Netskyliner:
File

opt.recovery.cwm4
[Galaxy S II Original Android Development] mbutandola:
What rom are you on and what's the kernel version?
[Galaxy S II Original Android Development] Netskyliner:
Checkrom revolution HD2

Was on CF root and now on hellcat 1.25
[Galaxy S II Original Android Development] mbutandola:
What version of the kernel are you using?

Does it read

2.6.35.7-I9100XXKI4-CL611039-HC125

hellcat@droiddev #2

in about phone?
[Galaxy S II Original Android Development] Netskyliner:
Found the error

2.6.35.7-I9100XXKI4-CL611039-HC125

hellcat@droiddev #2 is certainly why it doesn't work for me.

i think i had the wrong mirror

I flashed this morning using kernel 1.25 for kI4.

on the phone I find HC1.24.

wrong mirror? Error of mine? I can't explain.

I will reflash soon and update the post

Hope it will work

---------- Post added at 11:18 PM ---------- Previous post was at 10:39 PM ----------

I was certainly on a wrong kernel. Still can't explain

All I know that I removed hellcat 1.24 from kitchenpro folder in sdcard then reflashed 1.25

and now all is OK.
[Galaxy S II Original Android Development] HellcatDroid:
Yay, cool we solved that mystery :D

Still leaves us witht he "vanishing opt.*" file :confused:
[Galaxy S II Original Android Development] mbutandola:
Glad that it worked finally! :)

Would have been a shame not to be able to use such a good piece of work ;)
[Galaxy S II Original Android Development] Netskyliner:
I'm happy too. Awesome kernel. Working like a charm.

Thanks for support

Advice: don't use rootexplorer to create opt file. :)
[Galaxy S II Original Android Development] HellcatDroid:
Hehe. Well, I'm thinking about adding some buttonish options to like kTool or something.

The original plan is anyways to have a menu when entering recovery mode that lets you chose what to launch - but it's still a long way till there....
[Galaxy S II Original Android Development] s2d4:
you have single handedly gotten around the removal of extendedcommands from 4.0.1.5 upwards as required by OTA apps.....

everyone is happy now :D
[Galaxy S II Original Android Development] Netskyliner:
great work till now

You've done a great job till now. Go ahead
[Galaxy S II Original Android Development] kevjef420:
Ok so I tried the opt.recovery.cwm4 file in /sdcard and it still boots into cwm5

I have version 1.24 installed. Is this option only available in 1.25?
[Galaxy S II Original Android Development] Netskyliner:
Yes only 1.25
[Galaxy S II Original Android Development] Netskyliner:
Explain more please