yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] droidphile:
What're the ondemand tweaks in thunderbolt?

For me ondemand is fine. As good as ondemandx in earlier versions. You should also try setting smooth scaling parameters to 2 2 2.

And the freeze is because of a typo like Gokhan said. Instead of unregister, he put register which might sort of re-start worker threads when ondemand starts.
[Galaxy S II Original Android Development] sahibunlimited:
Any help on this?

I m on XWKL1 2.3.6

Tried flashing with Odin,CWM recovery,Mobile Odin but the same error and also downloaded the kernel many times
[Galaxy S II Original Android Development] veyka:
Cheers, I will redownload!

A watched governor never drops to 200mhz ;)

I shall try again, this time leave it for a bit, I also had the bloody DRM protected content storage going mental once, I froze that and maybe it will behave now.

I shall try ondemand again without the main thunderbolt! script in and report back!

I also had a weird thing where the permissions on all my init.d scripts jumped to everything permitted.
[Galaxy S II Original Android Development] ekjl:
Are there any way of getting old versions of your kernels?
[Galaxy S II Original Android Development] SilverMist1:
so there is no ondemandx in 2.6.6i ? i should use ondemand instead right? and does ondemand in 2.6.6i have screen off limitation to 500mhz?
[Galaxy S II Original Android Development] veyka:
They where removed due to a nasty interactive bug that was causing loads of hung tasks.

Correct, Yes, and Yes
[Galaxy S II Original Android Development] :
No as there was a bug on old versions hence why they have been removed from the site...Was mentioned by Gokhan himself

Just out of curiosity why not just flash through recovery
[Galaxy S II Original Android Development] veyka:
Okies I did the following

1) reflash 2.6.6i

2) wiped cache/dalvik/battery stats(for the luls)

3) fixed permissions

4) rebooted

Everything seems to be working fine now.

PS: USB works fine for me.
[Galaxy S II Original Android Development] VFO:
Been rocking with 2.6.6i on wifi at work and it is going into deep sleep as it should. Thanks for the update Gokhan it's working great!
[Galaxy S II Original Android Development] sahibunlimited:
I can flash this kernel but after flashing it i get this error in CWM recovery in every option related to sdcard

"E:error mounting /sdcard/"
[Galaxy S II Original Android Development] stevehkim:
hye thunderbolt 2.3.7 is causing it to hang at 1400 or whatever max you have it set to. reverted back to thunderbolt 2.6.5 and back to normal. so dont use newest tbolt until pika fixes the scripts to work.

tweaked - by me

kernel - siyah the og

rom- me you eeee.
[Galaxy S II Original Android Development] droidphile:
Thunderbolt! updater-script sets permissions for all scripts inside init.d to 777. Nothing to worry about :)

Sometimes, all it takes is a reboot/reflash!

I guess you're still using thunderbolt! For me combo of thunderbolt+sio+ondemandx (a.k.a ondemand :) ) has been great for smoothness and batterylife. I have removed governor tweaks part in thunderbolt! though since i wanna use my own tweaks from another script...
[Galaxy S II Original Android Development] veyka:
I didn't actually flash thunderbolt! I just manually copied the scripts over, which was why I was wondering what happened.

Also it seems so, goodness know my phone was probs just having a brain-fart.
[Galaxy S II Original Android Development] :
ehh not such problem here..have you tried seeing if there is anything with cwm that you can play around with?
[Galaxy S II Original Android Development] incubus_fr:
The user reflashed its rom w/ full wipe and it now works ok.
[Galaxy S II Original Android Development] pikachu01:
It seems that I can't scale beyond 1.2GHz for smartassV2, ondemand as well as conservative. I can scale beyond that for lulzactive.

And it didn't hang for me.

Can anyone confirm this?

Edit: lagfree is facing this problem as well. Should be due to a kernel issue.
[Galaxy S II Original Android Development] seaweeduk:
No wifi problems so far on the latest version, I couldn't connect to either of my routers initially but after forgetting both in the settings I am able to access the internet once again through my repeater router as well as my main router :)

Had some problems getting on the wpa2 enterprise network today at work on the old version, now I have this kernel I'm hoping I wont have any further issues with it. Everything else looks to be working great, going to stick with ondemand and the default clock speeds for a day or two before I begin changing settings.
[Galaxy S II Original Android Development] :
I am using conservative and just scaled it to 1.6GHz just rebooting now and i shall update for you

EDIT: Works fine here Pika..Overclocked to 1.6Ghz using voltage control saved on boot and rebooted and opened the app and i am still overclocked..using conservative governor and sio scheduler
[Galaxy S II Original Android Development] pikachu01:
It seems that it works when set as boot. It won't work if its done in real time. Weird.
[Galaxy S II Original Android Development] :
Pika sorry my bad...if you mean setting your clock speeds to overclock and staying with those frequencies and not reverting back to stock ie 1.2GHz then yeah mine stays overclocked...But i just noticed something...When using conservative, smartassv2 they do not go any higher than 500 or 800 but mainly stay at minimum..now when changing over to performance it quickly scaled to what i have set the clock which is 1.6...hope that answers more
[Galaxy S II Original Android Development] pikachu01:
No.. What I mean is, when you booted up with 1.4GHZ overclock, CPU spy will scale to 1.4. But, if you select 1.2, apply, then 1.4 again, CPU spy won't scale correctly.
[Galaxy S II Original Android Development] sahibunlimited:
Ok i have found this error

It happens if their is no external sdcard but when their is external sdcard it mounts external one but i need to install the zip from internal sdcard

So any help on this?

I m new to sgs2,i come from xperia x10 in which its only one sdcard
[Galaxy S II Original Android Development] pikachu01:
I've also encountered that wifi suddenly dies after a while. Still connected, but just can't get any data. Connection timeout. Restarting solves the problem. Intermittent and hard to reproduce. I'll root cause this one as more time is spent.
[Galaxy S II Original Android Development] :
Right just double checked for you..CpuStats shows that it scales normal..Also check in the voltage control were it shows you the scaling like cpu spy and also scaled up perfectly using conservative governor....:) Regarding wifi no problems so far my friend
[Galaxy S II Original Android Development] N6666661:
Lulzacive with 2.6.6i is a big deception : every benchs, or GPS maps or browsing the web are amazingly low/slow.

It realy looks like you went back to 2.6.5 regarding the Lulzactive governor.

I will test other governor now since Lulzactive seams now clearly to give you problems to tweak...
[Galaxy S II Original Android Development] :
i am no expert my friend but i have an external sd card on my phone and when i download anything it goes on my internal one. then i just go into cwm manager and then press flash update and choose the kernel zip and flash away no problems nothing..:) hopefully someone else can explain more in detail sorry i cant help more
[Galaxy S II Original Android Development] el_tute:
well. I've tested ondemand, smartassv2 and conservative, If I change the max freq with voltagecontrol from 1.2 to 1.4 the cpu spy shows correctly the scale, but if I change from 1.4 to 1.2 the cpu spy doesn't refresh the scale, I must press on reset timers and then refresh to show me the correct scale.

But, in all cases, I use cputemp widget, it shows the cpu freq in real time, and all the max freq works perfectly, so, the only problem is cpu doesn't refresh the scales automatically

PS: please sorry my rusty english, jejeje
[Galaxy S II Original Android Development] CamoGeko:
One of the options in CWM should lead to contents of the Internal SD. :)

What you can do, is mount USB storage and copy the zip onto the External SD and flash it from there. Don't see why something wouldn't flash like that, always worked for me.
[Galaxy S II Original Android Development] :
for me i started using cpustats as cpuspy is kinda all over the place lately..also the little feature in voltage control extreme were you can see the correct scale also shows that cpu is scaling properly.:)

EDIT: Birdman you are here:) New kernel rocks buddy...;) plus on batista latest man im flying with you on the enterprise:D
[Galaxy S II Original Android Development] el_tute:
well, in CWM recovery, you must go to:

Install zip from sdcard

then go to

choose zip from INTERNAL sdcard, and that it, just browse to the zip. file that your are looking for and flash it.

if you want to flash a file that is on EXTERNAL SDCARD you need to select "choose zip from sdcard".
[Galaxy S II Original Android Development] poochewer:
Originally Posted by sahibunlimited>

"It happens if their is no external sdcard but when their is external sdcard "

WTF????
[Galaxy S II Original Android Development] sahibunlimited:
Thanks Mate!(really 8 thanks limit)

Just noticed it!

Now i can finally enjoy this kernel!

Just my phone can't handle more than 1575 mhz(just to show of my friends)

Thanks to Neo3000 and el_tute also...
[Galaxy S II Original Android Development] CamoGeko:
Flying here too buddy, config 3 is ready. Finding it hard to drain my battery at the moment. :p

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] Hertz33:
Yeah I'm not about to do full wipe/ROM reflash. It seems easier to reflash earlier version of the kernel.
[Galaxy S II Original Android Development] :
You welcome buddy..Glad the other guys helped you out and was thinking about what the others said but did not want to say anything just incase i was wrong..

Dude trust me with the latest settings that i am using my battery will be hard to drain also...Used my own settings previous ones that i use to use with ninp and with a few adjustments by reading from other users and well you got mine..Will post shots later in the week

just reflash the latest kernel..redownload from the site as GK updated the kernel with an odd fix...then your problem will have gone
[Galaxy S II Original Android Development] sahibunlimited:
Mate as i said i m new to this external and internal sdcard system

I didn't noticed the option for installing zip from internal sdcard

and i don't have a external sdcard in my s2

just placed one external sdcard to try and saw my n00b error
[Galaxy S II Original Android Development] incubus_fr:
Sure but it didn't work for him!
[Galaxy S II Original Android Development] legionxx:
Hi guys, its strange... 2.6.6i is giving me battery drain and seems like it doesn't go into deep sleep. any ideas? i'm on sio, ondemand
[Galaxy S II Original Android Development] :
BetterBatteryStats applications...Install that check what causes wakelocks and then report them here with screenshots...And another thing...how the freaking hell can you judge about battery drain when this version has just been released? give it a few days and a few cycles let the kernel and battery get use to each other and then you shall see a difference...But in the matter of few hours you can not really judge if you have battery drain or not..Anyway install BBS see what your wakelocks are and then someone can help
[Galaxy S II Original Android Development] Dark_Lord0122:
Send me your Config :P
[Galaxy S II Original Android Development] can7:
when i use this kernel with NDT Miui rom for some reason it affects the ringtone.it rings twice then goes silent,but if i do a fresh install of miui with stock kernel the ringtone is fine,then if i flash to siyah it goes silent again ???
[Galaxy S II Original Android Development] stylez:
Please use PM so not cluttering thread.

Note to all users requesting.

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] Codex0:
Flashed 2.6.6i but USB won't work, device shows as unkown. Same problem I had with 2.5

Using miui 1.12.23 (since .30 bloody crashes constantly -_-) and have now reverted to default kernel that comes with miui, usb working again o-o
[Galaxy S II Original Android Development] veyka:
1) Try flashing the kernel twice

2) Try running fix permissions

3) Try cleaning cache/dalvik cache
[Galaxy S II Original Android Development] legionxx:
hi neo3000, these are my bbs and i appreciate your response. i thought it was safe to assume as some are reporting to have good battery life already and that is not the case with me here. i guess i'm too quick to comment and will wait a few cycles to see if it adapts well :) other than that, kernel is running smooth and great :)
[Galaxy S II Original Android Development] CamoGeko:
Thanks dude, I was about to say exactly the same thing. Unfortunately I was occupied replying to 10 PM requests recieved within 2 mins lol. Just proves once again that this is still the leading kernel for our powerful SGS2s. :D

Yeah, mycfg v3 is ready. So, without further ado as stylez says above.... send me a PM to my Inbox if you want it. Please do not ask here for it as that will add clutter to the thread. Thanks.

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] shanume:
hi gokhanmoral, thanks for this new version with merged ondemandx+intellidemand on ondemand governors! :D this is the best one I have use from siyah kernel so far, everything just work perfect with criskelos rom v38 :D

check my screenshot with a standby time on my battery :)

keep the good work :D
[Galaxy S II Original Android Development] veyka:
Looks like airdroid has been keeping your phone awake (Transferring stuff?)

Also it might be a good idea to check with cpuspy to check that its deep sleeping/clocking down

I had some weird issues with ondemand at first, seemed to be fixed with a reflash/fix permissions
[Galaxy S II Original Android Development] cmd512:
Not sure if this might help, but when I first tried to plug in my phone this morning after flashing v2.6.6i, I got the unknown device as well. However, after uninstalling the current Samsung USB driver install, installed the latest package from http://xdaforums.com/showthread.php?t=961956, and then did a reboot on the computer system, the phone was picked up immediately.

For reference, I'm using Windows7 Ultimate 64-bit with all the latest service packs/updates.
[Galaxy S II Original Android Development] Codex0:
Tried this, not sure why it's not working. I must be doing something wrong since I have this problem when trying darkknight also :/ wonder what I've derped.

I did it this way.

Get kernel

Reboot into CWM

Install zip

Clear cache and dalvik

reboot recovery

Install zip again

Boot to miui, unknown device

Recovery mode again, clear cache dalvik and install zip a third time

Same unknown device

Given up for now lol
[Galaxy S II Original Android Development] ajvulcan:
I´m still having problems in miui with siyah 2.6.6i, governors doesn´t scale properly and sometimes are stuck in some frecuencies. I´m seriously thinking in change to samsung based roms.... or come back to siyah 2.6.5
[Galaxy S II Original Android Development] veyka:
Maybe try the new drivers from the post above yours, uninstall the drivers, install the new ones, maybe change USB ports.

Its a weird problem.
[Galaxy S II Original Android Development] Codex0:
Tried different port and a different pc. The samsung driver wouldn't do much I wouldn't think since it's just mounting generic usb storage. Working again now with default miui installed kernel o-o
[Galaxy S II Original Android Development] cmd512:
Wrong, if you follow the Samsung USB install after uninstalling and doing a fresh install of the USB drivers, it installs a whole bunch of Samsung specific mounting drivers after properly detecting your phone.
[Galaxy S II Original Android Development] TecQuality:
Guys, some one can give me a good starting point for a GPU UV ?

From my (KL1) SGS2 using xda premium
[Galaxy S II Original Android Development] nikzDHD:
Lower both frequencies by -25mV first. Voltage control lowers by -50mV.

Low power and high performance states is what needs reducing.
[Galaxy S II Original Android Development] incubus_fr:
The steps are 50mV so 25mV is useless...
[Galaxy S II Original Android Development] CamoGeko:
PM'ed my latest config to you. That's a good starting point. ;)

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] Delacor:
+1

Got this problem in every kernel, even in the stock one. My Mac says the Filesystem is corrupted but my II is still recognizing his Storage.. Windows says there is a problem with the usb Port or something like that but flashing with Odin is no problem so my Hardware is fine.

Hate it.. Copying new files now via USB-OTG...

Send from my SII ;)
[Galaxy S II Original Android Development] N6666661:
not sure exactly why you did use PM to "share" your undervolted frequencies...

Maybe are their the next winning Euromillion numbers:rolleyes:
[Galaxy S II Original Android Development] CamoGeko:
Well, the reason for this was explained way waay back when v2 was released. You can try to find this post by searching the thread. I'm certainly not gonna explain it again, plus I don't think writing one short sentence in a private message takes too much effort.... do you?

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] N6666661:
Now man, I can confirm, after hours of strong thinking, brainstorming, Headache, 2048 coffes, 4096 cup of tea that you are a member of SIS MI5 intelligence agency!:D
[Galaxy S II Original Android Development] xcarecrow:
People, what do you think about this values? you think are good?

#Set GPU clocks (valid values are 100 114 133 160 200 267 300 400)

echo "100 200 300" > /sys/class/misc/gpu_clock_control/gpu_control

#Set GPU voltages (changes possible at +/-50mV ie at 50000 steps)

echo "800000 900000 950000" > /sys/class/misc/gpu_voltage_control/gpu_control

#Set GPU Up and Down thresholds

echo "70% 40% 85% 60%" > /sys/class/misc/gpu_clock_control/gpu_control

are these values battery friendly?

thanks in advance
[Galaxy S II Original Android Development] CamoGeko:
Been heavily draining my battery since flashing 2.6.6i earlier, these are the results:

That's what I call extreme usage, I bet my SGS2 hates me now something fierce lol

PS. I didin't even let the kernel settle after flashing. :p

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] jonamafun:
Don't worry dude, I also had battery issues with the same settings. Mine got stuck on 800mhz and wasn't sleeping too. Despite what the other guy said it's usually pretty obvious if your phone isn't entering deep sleep.

I checked my BBS and no significant wakelocks.

I was however using the first version of 2.6.6i and had been playing with governors through VC, so it seems like a reboot fixed it. I have re-flashed the revised 2.6.6i for good measure though.
[Galaxy S II Original Android Development] thunderteaser:
@gokhanmoral are you planning on implementing didle and led-notif in the future? :)
[Galaxy S II Original Android Development] pikachu01:
Implementing the didle patch will break screenstate_scaling :(

Also, my Wifi connecting keeps dying on me every few minutes. A reboot fixes it again until the next few minutes where it just dies >.<
[Galaxy S II Original Android Development] stevehkim:
pika your newest scripts doesnt allow my cpu to scale above 1200. i have my parameters set to 200-1400. i deleted the scripts and it scales to 1400 again.

tweaked - by me

kernel - siyah the og

rom- me you eeee.
[Galaxy S II Original Android Development] olifee:
Actually, on linux it really looks like 'normal' usb storage with some additional stuff. How is your device-id in the hardware-manager in Windows? Can you check if it works using a Linux live boot disc? If it does notwork, you can post / pastebin the last lines of output from the command

dmesg

so we can look for a lead ;).

Did you try enabling / disabling USB debugging in settings and rebooting after that, or did you try whether adb works?
[Galaxy S II Original Android Development] thunderteaser:
I know, pika, :( I've been running smartassv2 as awake and conservative as asleep on the i9000 with the screenstate scaling script, but we (well, YOU, actually!) found out that smartassV2 was sleeping better than conservative, and didle fit just perfectly! Well, gokhan could release a separate test version (as Zach did), just to see if it gives any benefits to the S2. What do you say, gokhan? :)

On the other hand, what I really miss is led-notif way more than didle.

What?! :confused: You mean, just stock Siyah 2.6.6i without your scripts?
[Galaxy S II Original Android Development] pikachu01:
It's a CPU stats issue. try rebooting after setting it. It will stick.
[Galaxy S II Original Android Development] olifee:
What does 'corrupted' mean? It should say something more helpful in the kernel log ;).

As it says the file system is corrupted, you should also be able to fix it using fsck (don't know how the GUI-tool for that is named on MacOS, but I guess fsck will be there in terminal).

Can you check the exact error message Windows is popping up? Maybe you can fix that by updating the Samsung drivers as written some posts before.

If you do not like USB-OTG and have WiFi at home, you can use all the convenient features a Unix-based OS such as MacOS offers you. scp, rsync and sshfs are just a few commands / clicks away, you can copy them without plugging your phone into your computers USB and mounting / unmounting anything and you can even access files "live" without copying them (in case of using sshfs).

Have fun :)
[Galaxy S II Original Android Development] Codex0:
No joy. I uninstalled the device and any drivers along with it. Installed the latest package from here: http://xdaforums.com/showthread.php?t=961956 restarted and plugged in phone again with siyah 2.6.6i but device installed again as unknown, the only thing the driver did was allow me to mount while in recovery which is a bonus.

Completely didn't think about that, enabled usb debugging and now it's working normally lol. I don't mind leaving usb debugging enabled but would it not be better to have it working with or without debugging enabled?

I can disable it again and collect the info if you're still interested.
[Galaxy S II Original Android Development] olifee:
It 'should' work without USB debugging. Maybe it does now, if you disable it again and reboot?

Personally, in case I really need to connect my phone (I mostly use WiFi to copy stuff) I have USB debugging turned on, because I also want to use adb in case something weird happens ;).
[Galaxy S II Original Android Development] stevehkim:
@ pika! I did as you said by rebooting and still same issue. It won't scale above 1200 mhz. Can anyone else test this out for me? new thunderbolt scripts and see if cpu scales above 1200? I have my cpu scaling set to 200-1400 on demand.

**oops sorry meant to post this in thunderbolt thread** Too many windows open.
[Galaxy S II Original Android Development] cmd512:
Something seems very, very wrong with v2.6.6i on lulzactive + sio. With the same exact settings I've been using for Siyah since 2.2, I've had to reboot twice today because after a few hours of use, the entire phone just starts pausing intermittently, sometimes for 10+ seconds. The phone is scaling up properly to 1400MHz (my max), but for some reason, the entire system just pauses abnormally long when switching between screens, E-mails, etc.

Back to v2.6.6 for now...