yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] gokhanmoral:
v2.6.4 is up. I have also pushed the changes to bitbucket, together with initramfs.

I tried to fix "mr bones" problem (hd youtube video) but I failed :)

there is something wrong with clock or timer which causes small drifts while scaling frequencies. when you use 1200-1200ondemand (or performance) you don't have any frame drops. lulzactive seems to be the best governor for "mr bones" movie :) anyway.. I will look into that later.
[Galaxy S II Original Android Development] TecQuality:
Supercurio did a terrific job for us, he 'changed the game' with the LOUDER app so i think that every single cent that he makes with this app, is absolutely deserved.

From my (KL1) SGS2 using xda premium
[Galaxy S II Original Android Development] iamsmallpang:
hi gokhanmoral,

Happy New Year ! 2012!

Thanks! the last v2.6.4

just downloaded
[Galaxy S II Original Android Development] dgmorland:
I must be blind - I cant see the enablelogger.zip attached to the first post. Post #2 says this is what is needed to enable logging. Is there an alternative way to enable logging now?
[Galaxy S II Original Android Development] gokhanmoral:
it is already enabled
[Galaxy S II Original Android Development] wollax:
do we upgrade CMW even though the 2.6.3 version seems to be "bugged" or is it better to make the upgrade with odin ?

thanks for your work
[Galaxy S II Original Android Development] gokhanmoral:
I always recommend flashing the kernel with CWMManager (already installed if you have siyahkernel) or DarkyRomTool2 apps.

I never use recovery to flash a kernel.
[Galaxy S II Original Android Development] KennyLegend:
+10 here . Supercurio is a genius.
[Galaxy S II Original Android Development] KennyLegend:
Mobile Odin is an excellent and foolproof wAy to do it also. CF is another genius !
[Galaxy S II Original Android Development] iamsmallpang:
i just flashed v2.6.4

can i flash ThunderBolt! v2.3.3 and screenstate_scaling 1.4.3 too
[Galaxy S II Original Android Development] wollax:
ok perfect I will do it !
[Galaxy S II Original Android Development] karlesg:
"android logger won’t be loaded if you create /data/.siyah/disable-logger file"

have you kept this? or is it always enabled?
[Galaxy S II Original Android Development] PedroMRP:
Whenever I want to flash with CWMManager its fails...
[Galaxy S II Original Android Development] gokhanmoral:
it is always enabled.
[Galaxy S II Original Android Development] Hertz33:
God damn Gokhan, don't you ever rest? Just said that i'm gonna try the new Hyperdroid kernel and you sprung the 2.6.4 on me.

Aaaargh I just can't help myself.:eek:

Why dont you suggest flashing via recovery though? I allways flash this way and never run into any trouble.
[Galaxy S II Original Android Development] pro.aggro:
Now with 2.6.4 Voltage Control works fine.

Freaky :D
[Galaxy S II Original Android Development] xuxuzao:
flashed siyah 2.6.4, thunderbolt and screenscale

everything ok until now.. testing the smoothness and battery

only one issue.. swype dissapered and i had to install it again

anyone else?
[Galaxy S II Original Android Development] iamsmallpang:
Voltage Control setting didn't save after reboot return to default ?????

how can i solve it?
[Galaxy S II Original Android Development] karlesg:
I don't know if this option creates somekind of a problem, but if it doesn't, I think it's better to keep that option for anyone who wants it.

By enabling it by default you wont have users complaining if something doesn't work, but if an "advanced" user wants to disable it intetionally knowing all the risks, he can still do it.
[Galaxy S II Original Android Development] hausmanis:
thanks for the answere, nah i was hoping you id say that i didnt have to, think i have the world record in recalibrating my battery, almost never had a fully calibrated battery it feels like after all the flashes.

---------- Post added at 11:43 AM ---------- Previous post was at 11:42 AM ----------

I cant get below 825Mv guess i got a bad copy of my phone :P
[Galaxy S II Original Android Development] antt00:
Running on 1.7.8 so far no issues with wifi or SU. It could be just me but 1.7.8 seems smoother than 1.7.7. Using ondemandx 200 - 1200 no UV.
[Galaxy S II Original Android Development] gokhanmoral:
I have the same problem :) I start the calibration but then I need to flash again...

you don't have to calibrate battery after flashing a modem or a kernel.

battery calibration file is in /data folder and if you have calibrated your battery it will stay there.

opposite to the common belief, battery calibration won't make your battery last longer.

it will just let the phone give you more accurate information about your battery level.

remember old nokia's... their battery levels were staying at 5 for 3-4 days and reaching 1 in just a day...

calibrating the battery will teach your phone about the levels of your battery and how fast it discharges at each level.

so, it is normal to reach 99% faster after you calibrate your battery because staying at 100% during the calibration is just an illusion.

just like every device is different also every battery is different and that is why we need to calibrate.
[Galaxy S II Original Android Development] plex88:
everything works fine, lots of updates thank you!
[Galaxy S II Original Android Development] Flasher8:
hi mate,

u are using daemon controller or setcpu ?

im using Dlev v2.0 and inside had daemon script...should i use daemon controller instead of setcpu ? :confused:
[Galaxy S II Original Android Development] :
I am using no frills as I don't care for undervolting atm and it is great and simple ;) .. trying ondemandx for a change :)
[Galaxy S II Original Android Development] gokhanmoral:
it should be :)

I forgot to say that I have tweaked ondemand and made it a bit more responsive because a lot of people were complaining about it.
[Galaxy S II Original Android Development] hausmanis:
thx for your always fast replies, and thx for an awesome kernel

Keep up the good work, feels great that i can relax with my calibrations now :D
[Galaxy S II Original Android Development] :
both ondemand and ondemandx? :)
[Galaxy S II Original Android Development] antt00:
I am using setcpu on touchx-power+ rom. Setcpu is easier for cpu and voltage control (but i don't UV).

Daemon controller is ok also, just be careful if you got UV scripts.

---------- Post added at 06:03 PM ---------- Previous post was at 06:02 PM ----------

Ah thats explain it and it is not my imagination. Great job
[Galaxy S II Original Android Development] gokhanmoral:
yes :)

they are the same...

but maybe I can make further adjustments on ondemandx for screen-off scalings...
[Galaxy S II Original Android Development] :
great, great :) will test is for some time,

I am really suprised how smooth you did .14 merge, amazing..

I'll find a way to donate at least for a beer :)
[Galaxy S II Original Android Development] Heimiko:
i found that "powersave" scaling locks up the phone when in sleep mode. (can't turn on screen anymore)

i have a profile to switch phone to powersave 100-500 when screen off, and smartass 500-1200 when screen on.

so i don't know if the profile switching is going wrong, or the "powersave" itself. as soon as I select a different scaling method (conservative) for screen-off, all is well.
[Galaxy S II Original Android Development] Flasher8:
hmm, should i delete anyone of this if i wanted to use setcpu

74-OCDaemon , s97ramscript , S98kickasskernel & S01sysctl ?
[Galaxy S II Original Android Development] gokhanmoral:
100-500 powersave is the same as 100-100 powersave and 100-100 conservative.

can you try 100-100 conservative screen-off profile and tell me if you still have the problem?
[Galaxy S II Original Android Development] :
oh, btw. I don't see /data/.siyah directory anymore in 1.7.8 (don't know if I should), but in 1.7.7 it was there :)
[Galaxy S II Original Android Development] antt00:
Just remove 74-OCdaemon and /system/etc/virtuous_oc folder.

You don't have to actually delete them, just move them to your sd card in case you need it in the future.
[Galaxy S II Original Android Development] gokhanmoral:
.14 merge took a day and I only merged the files that I compile for SGS2.

I did not merge anything irrelevant. this makes it easier to compare the source code with the original samsung code.

I will release another source for v1.7.9... but I need to clean the code some more before doing that :)
[Galaxy S II Original Android Development] antt00:
I still have this folder.
[Galaxy S II Original Android Development] myakove:
With this kernel i get lot of this in logcat

W/SchedPolicy( 1375): add_tid_to_cgroup failed to write '6577' (Permission denied); background=1

1375 is pid of system_server

with CF-root i don't have this line.
[Galaxy S II Original Android Development] RotesMeerJogger:
don't flash with the option "flash a kernel". take "flash an update.zip". that works.
[Galaxy S II Original Android Development] tomeks:
+ 1
[Galaxy S II Original Android Development] KennyLegend:
Anything can be packaged in a zip file... Get it?

I always prefer to flash the tar or at least extract the zimage .... Its much safer.
[Galaxy S II Original Android Development] xcarecrow:
Gokhan, can you tell me how to edit the vdd_levels voltages? you said in changelog of 2.6.3 that was an interface, but i don't know how to edit the values.

thanks in advance
[Galaxy S II Original Android Development] gokhanmoral:
if the user is advanced enough there is no reason that he might want to disable it intentionally.
[Galaxy S II Original Android Development] pro.aggro:
With 2.6.3 i had the same problem. Now with 2.6.4 it works fine.

Try this: Choose Apply. Close VC. Restart it and then go to menu "set as boot settings".
[Galaxy S II Original Android Development] gokhanmoral:
that interface is provided to have compatibility with some tuner apps which supports vdd_levels interface instead of UV_mV_table.

have a look at the examples at http://xdaforums.com/showthread.php?t=1056727

you either echo it a single voltage diff value (such as +25 or -25) to change all levels or echo it two values in "frequency voltage" form ("800000 1050").
[Galaxy S II Original Android Development] N6666661:
Hi gokhanmoral and happy new year!

I thank you for your amazing hard/fast/responsive work.

I have just made a (small : 10€) donation to you.
[Galaxy S II Original Android Development] dtekkt:
Gokhan, it seems that assert test doesn't work on the latest release in cwm, also on 2.6.3. So people who want to flash latest Jkay mod aren't able to do that, could you look into it?
[Galaxy S II Original Android Development] ggogolewski:
Yes, it is true. I have this problem too. With 2.6.2 it works.
[Galaxy S II Original Android Development] Shinfei:
Hi thanks gokhan, and happy new year ^^

So if i understand the file /data/.siyah/disable-logger has no meaning anymore right ?
[Galaxy S II Original Android Development] cooldfuzion:
Same gere, i can install your kernel, but it gives error when i try to install a new rádio!
[Galaxy S II Original Android Development] singingshiver:
Running 2.6.2 + thunderbolt...if I upgrade yl 2.6.4 do I have to install thunderbolt again?
[Galaxy S II Original Android Development] atomic339:
Where can I find thunderbolt app? I try on market and Google but can't find.

Wysłane z mojego GT-I9100
[Galaxy S II Original Android Development] ggogolewski:
Thunderbolt is not a app... This is a pack of scripts

http://xdaforums.com/showthread.php?t=1296927
[Galaxy S II Original Android Development] Vaedryn:
Thunderbolt is no app. It is only a script.

Cyanogen Mod 9 Tapatalk
[Galaxy S II Original Android Development] hawkerpaul:
The problem in cwm 5.5 in version 2.6.3 is not in the assert command but in the getprop command itself. This returns a null string so all assert commands are going to fail. Any cwm flashable zip file that checks anything that getprop returns such as firmware will not work correctly and most will abort the script if this is being run as part of an assert.

Hopefully the next version of cwm will address this soon.
[Galaxy S II Original Android Development] gokhanmoral:
fixed it. just download again. getprop in cwm should be working now.
[Galaxy S II Original Android Development] PedroMRP:
I don't know if an kernel or thunderbolt related problem but when the phone rings on a incoming call and the screen is off the phone takes about 5secs to wake up.
[Galaxy S II Original Android Development] gokhanmoral:
it is lulzactive related problem.
[Galaxy S II Original Android Development] PedroMRP:
The governor I'm using is ondemandX
[Galaxy S II Original Android Development] hawkerpaul:
thanks gokhan.

So are you saying 2.6.4 comes with cwm 5.5 now, not cwm 5.0?
[Galaxy S II Original Android Development] mavixda:
I could not flash it with these aaps (v2.6.3) :o

Edit: with v2.6.4 same problem! I can't flash anything ( with CWM, darky ROM OTA and CWM. nothing work. strange :confused:0
[Galaxy S II Original Android Development] gokhanmoral:
v2.6.4 comes with CWM v5.0 but the problem was related with the init binary.
[Galaxy S II Original Android Development] omarqasim:
Can anyone advise which governor should I use to save battery? I have thunderbolt 2.3 on siyah kernel 2.6.4.
[Galaxy S II Original Android Development] Prasad:
Any chance this kernel works on the newer ICS Sammy ROMs ie. KP8 ? :o Amazing work btw! :D
[Galaxy S II Original Android Development] ggogolewski:
Yes! It is work! Thanks!
[Galaxy S II Original Android Development] PedroMRP:
Anyone else is getting problem on receiving calls when the screen is off?

V2.6.4 with latest thunderbolt, ondemandX and sio scheduler?
[Galaxy S II Original Android Development] msgfromside3:
governor doesn't save battery. please read before asking - this has been discussed many times before in other threads.
[Galaxy S II Original Android Development] mavixda:
+1 same here (I re-downloaded v2.6.4 and flash again, problem solved. I can now flash new modem :D)

Thanks a lot Gökhan. Harikasin :o
[Galaxy S II Original Android Development] veyka:
I would imagine we will need to wait for a official ics build so we can get kernel sources first.
[Galaxy S II Original Android Development] atomic339:
Can someone look that I make all good?

1. Mount /data, /system and /sdcard in CWM

2. Install ThunderBolt-CWM v2.3.3 and ThunderBolt-CWM screenstate_scaling addon v1.4.3

It is all which I have to do, to make this script work or I have to do something in Script Manager?

Open up Script Manager and launch /sdcard/bolt_scripts/remount[device] (e.g. remounti9000) as Root (The skull icon) and as Boot (The wheel icon).
Open up Script Manager and launch /sdcard/bolt_scripts/sqlite_optimize as Root (The skull icon). This script can be used arbitrarily at anytime that you want. Don't load it as boot or copy it to

But I don't have /sdcard/bolt_scripts/

So all make good?

I have installed VC to make OC UV and uninstalled luzactive app.
[Galaxy S II Original Android Development] xuxuzao:
extract it from the thunderbolt zip and copy to your sd!
[Galaxy S II Original Android Development] Hannibal226:
Anybody can tell me good CPU settings?

I can't play GTA III without crashing after max. 2min.

Except I choose just ondemand.

But ondemandx let it crash, too.

Maybe anybody can tell me "optimal" options there.

@gokhan: Maybe u shouldn't use so hight CPU changed settings. Every phone react unlike the other (I sure know) and so it's a bit stupid for people who think then kernel is bad.

CHEERS and to in advanced.

EDIT: Conservative also works OK so far... (not long tested)

Sent from my Galaxy S2 - I9100 with SensatioN Rom!
[Galaxy S II Original Android Development] rainyguy:
Do you have external SD card in your phone? I had the same problem initially then found out that the directory was created on my ext sdcard.

Hope this helps!

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

Hi all,

I realised that the auto brightness value is probably near/same to stock levels. If I like the brightness settings (echo 70, 0 and 19) in the battery.zip, how should i apply those values in the new 2.6.4?

Thanks a lot in advance.
[Galaxy S II Original Android Development] z2k:
I would think that governor has one of the biggest impacts on battery life. My recommendation is the tweaked ondemandx in siyah.
[Galaxy S II Original Android Development] stevehkim:
ondemamdx here for battery as well. its the i/o scheduler that doesnt do much to the battery.

miui+siyah = beast
[Galaxy S II Original Android Development] droidphile:
You apply the same way as in any of those zips.

echo "70" > /sys/class/misc/brightness_curve/min_bl

echo "0" > /sys/class/misc/brightness_curve/min_gamma

echo "19" > /sys/class/misc/brightness_curve/max_gamma

Governor does have impact on battery life. That's one of the reasons why we have lot of governors.

With user tweaks, the same governor can be made a battery-sucker or a battery-sipper.
[Galaxy S II Original Android Development] xBlackDroid:
****Forget it****

Testing v2.6.4
[Galaxy S II Original Android Development] rainyguy:
Thanks for the reply.

Sorry, I am pretty noob in the scripts.

I saw that the battery zip has many parameters. Should I only keep the busybox line and the brightness parameter then flash it?

Appreciate your patience.
[Galaxy S II Original Android Development] droidphile:
All the parameters in battery zip is valid for 2.6.4 too. Only thing you have to take care is to provide three steps, 4 thresholds and 3 voltages for GPU.

If you want other tweaks also, flash the battery zip after modifying GPU parameters and brightness curve parameters.

Else, remove all other lines and just leave brightness curve parameters.

See my thread , 3rd post about setting GPU parameters with explanation.
[Galaxy S II Original Android Development] rainyguy:
Thanks you very much. I will give it a try!
[Galaxy S II Original Android Development] pikachu01:
Nope. Graphics scaling is a kernel issue. CPUfreq needs to be fixed for that.

If your kernel supports the latest didle patch, you can't use screenstate_scaling.

Yup. Lulzactive (and all other interactive governors lags). It's not a governor problem, it's all the interactive cpufreq code that is problematic. It needs to be fixed in the kernel.

Cool! Let me get to that.

Hmm, some Orbot users are reporting SODs anyways. Just be cautious. :)

I'll upload a newer version that fixes some problems faced by some people. Hold on before flashing, k?

Yes, graphics votlages not saved is my fault. Will be fixed in the next version.

You should. Just to be safe.

Yup, OndemandX will be fixed in the next version.

It depends on your usage. Try each and see which is better for you.

Extract it from the zip file onto your /sdcard. It's mentioned in the original thread.
[Galaxy S II Original Android Development] dtekkt:
Just to confirm, CWM works now again as it should, thanks :D
[Galaxy S II Original Android Development] mchu6am4:
Hi...I'm running latest MIUI and Siya kernel 2.6.3, however my signal seems quite weak...I'm on Vodafone UK...what can i do to improve please?
[Galaxy S II Original Android Development] wellibob:
What miui are you on ?
[Galaxy S II Original Android Development] aqualeris:
Why is it that in Voltage Control the minimum voltage I can set is 850mv. It used to be able to go below 800mv. Thanks in advance!

2.6.1 + battery script.

Edit: Realised it's because I'm using the Lite version.
[Galaxy S II Original Android Development] MistahBungle:
Try flashing a different modem.
[Galaxy S II Original Android Development] crm4:
That is quite low. For me, 100 MHz @ 825 mV is the minimum stable.
[Galaxy S II Original Android Development] iamsmallpang:
Thanks! gokhanmoral v2.6.4

just flashed ThunderBolt! v2.3.4 and screenstate_scaling script v1.4.4

VC fixed saving

Thanks! pikachu01
[Galaxy S II Original Android Development] Rampler:
I just installed the 2.6.4 Version.

Now my Voltage Control doesnt work anymore after boot. It says unsaved. My UC values will be lost every time a boot. I have already cleaned the cache of VC, without success...

Ideas ?
[Galaxy S II Original Android Development] RotesMeerJogger:
i have the same problem. screen takes a view seconds to turn on. have lulzactive governor. is there a chance to fix this problem in next kernel/governor version or are my settings in lulzactive app the problem?
[Galaxy S II Original Android Development] Rampler:
Regarding 2.6.4

When i reboot all my Applications are gone...

After Shutdown, and manually boot, the apps will appear.

I went back to 2.6.2

After downgrading to 2.6.2 VC is also working ...
[Galaxy S II Original Android Development] :
These are my stats from 2.6.3 with pikas thunderbolt 2.3.2. Now using 2.6.4 and new bolt scripts. Happy new year gents
[Galaxy S II Original Android Development] despy1989:
I am on vodafone UK too,

Try KI3 or KL1 modems. I have had the best performance from those. There is a separate thread for various modern versions off you wanted to download any of the different versions.
[Galaxy S II Original Android Development] RotesMeerJogger:
do you have deleted all files in system/init.d folder before flashing 2.6.4? you come from 2.6.1 right? then it is necessary. after that make your settings in VC and set "save as boot settings". it works for me.
[Galaxy S II Original Android Development] Rampler:
Thanks

I came from 2.6.2

Shall i delete all files from init.d ?

I have:

02modules

05module

90ram-tweaks

98mounts

99complete

s91voltctrl

s95zipalign

So far is a know S91voltctrl is for VC

The rest can be deleted right ?

PS: My signature is not uptodate

---------- Post added at 11:15 AM ---------- Previous post was at 10:59 AM ----------

I deleted all, exepct the S91voltctrl, and now VC works very well ....

---------- Post added at 11:19 AM ---------- Previous post was at 11:15 AM ----------

After deleting all files in init.d, except the S91.. file, it is running....
[Galaxy S II Original Android Development] hawkerpaul:
Those are CheckROM's startup scripts.

Its up to you if you keep them or not. They are not essential, and I dont notice any difference with or without them.

one script zipaligns all apps so this is done once per app so shouldnt be needed unless you install new apps after the scripts have been deleted.
[Galaxy S II Original Android Development] Rampler:
Does it mean:

I need it, when i want install new applications ?

You want to say, i should not delete the zipaligns script ?

regards Klaus
[Galaxy S II Original Android Development] incubus_fr:
GTA III is very demanding. I managed to have it run with OndemandX and now with Lulzactive on default settings, GPU on default settings too (any GPU UV will crash it quickly on my phone).

FYI my phone max freq is 900MHz@1025mV
[Galaxy S II Original Android Development] veeruchinnu143:
After installing v2.6.4 do I need to flash battery.zip(or performance.zip or defaults.zip). Or by default there are present in v2.6.4...??
[Galaxy S II Original Android Development] RotesMeerJogger:
there are no longer battery or performance.zp files. now all is included in new kernel.
[Galaxy S II Original Android Development] gokhanmoral:
right.. the kernel will give you a balanced performance&battery life.

it will use the front facing camera to detect your reactions. the kernel will increase the performance if you frown, decrease the performance and favor the battery life if you smile. to have better performance, cover the FFC with your finger before unlocking the phone. if you prefer battery life, use a laser pointer (red is preferred) and point it to the camera while unlocking. just don't use any scripts. the kernel tends to give you the worst performance and the worst battery life if you use any scripts... :)
[Galaxy S II Original Android Development] ole12:
How to do i install screen scaling script? I have thunderbolt running.
[Galaxy S II Original Android Development] miisterlim:
The script is in the second post of pikachu's thread. You can either flash it or copy and paste it into your init.d folder.
[Galaxy S II Original Android Development] droidphile:
lmao!! :D

Oops. I hope no-one heard me laugh soo loud in the office. :D
[Galaxy S II Original Android Development] crypticc:
in other words, lio ekans