yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] cmd512:
First of all, thank you for very clearly explaining ondemand, I think we all have a much better idea of what's going on with the logic behind how it scales. And, now that the down_differential details have been corrected/clarified, I agree that a higher down_differential doesn't make sense. HOWEVER, I still stand behind a higher sampling_down_factor (which you initially also called "stupid").

The key to your scenario above is the term "theoretical." As we're all well aware, in the real world, rarely are tasks always at a constant load. Personally (which means my personal preference), I don't want it throttling down in-between usage points unless there is a good second or two stoppage in use. If it is merely microseconds (or even milliseconds) of idle time, I would prefer my CPU stay strong at max freq and complete what I want done, especially if it's a task that I want to get done asap. Maybe this does take away from some of the elegance of what ondemand is trying to accomplish, but like I've said multiple times: When I use my device, I want it running at 110% so I can get done with what I need it to do. (Again, I use my device mostly for productivity.) And, the fast scale up and very slow scale down from max freq from lulz is something that I prefer and the ondemand settings allowed me to do just that.

Ultimately, this is why I prefer ondemand above all the other governors: I can set the scaling up/down behavior to EXACTLY the way I want it with the parameters available... without the oddball bugs from lulzactive. And,

this is PRECISELY why Siyah Kernel rocks

: You can customize the parameters to exactly the type of performance that suits your needs.
[Galaxy S II Original Android Development] AMDPOWERFIST:
Can someone give me a quick little run down of how to change the charging values to a higher value, so that my phone charges at a faster rate. At the moment, it currently doesnt even break even when i am using GPS in the car with a car charger... It drains (only slowly 1% per 20-30min block) but still would prefer it not to drain at all....

Thanks in advance,
[Galaxy S II Original Android Development] cmd512:
I just knock the max frequency down to 800 mhz via Voltage Control, plenty fast for Google Nav and doesn't drain when charging.
[Galaxy S II Original Android Development] jonamafun:
Just like to say I'm quite impressed with 2.6.7.

7% drop over 4:30 hours, with a 10 minute phone call, some light web browsing, and the rest on 3G standby.

This is also on default voltages/clocks.
[Galaxy S II Original Android Development] stevehkim:
i honestly dont know what to say. after 3 full days on this version today my battery life has bettered itself by another 30%. battery was amazing during those first 3 days as well. only thing i have done is uv and scaling cpu 200-1400. sio/ondemand. all while performance is still top notch. no SOD, no reboots, nothing. definately a keeper!!

MIUI rommed, Siyah kernel synthetics, V6 supercharged, struck by a bolt of Thunder!

SGS2 I777.
[Galaxy S II Original Android Development] shawnaye:
hey what modem are you on?

my 3g drain is killing me..
[Galaxy S II Original Android Development] gorillaCF:
have you tried DXKL1?
[Galaxy S II Original Android Development] shawnaye:
i am on DXKL1, signal is as good as it can get, but idk what more i can do about battery life.

already severely undervolted.
[Galaxy S II Original Android Development] Hawkeye1103:
I personally have a big problem with siyah and don't know how to fix it. Same apps same everything keeping siyah stock i get 9-10 hours of use after my battery is drained with speed mod i get 1 day and a half. Help a brother out:))
[Galaxy S II Original Android Development] RotesMeerJogger:
ondemand governor with stock settings is not smooth. my go launcher EX stutter much time. with lulzactive governor all is very smooth, no stutters or lags. cmd512, now i will try your ondemand tweaks. what setting do you reccomand for down_differential with your new knowledge? :)
[Galaxy S II Original Android Development] CamoGeko:
Go Launcher works smoothly for me with my VC config. BFQ + Ondemand 200Mhz - 1200Mhz. :)
[Galaxy S II Original Android Development] jonamafun:
I'm using XXKI4 on Telstra here in Australia, a 850hz network.
[Galaxy S II Original Android Development] torchedlh:
Also having a huge problem with the kernel wake lock, running v2.6.7. Lost 75% in 10 hours, with very little actual usage. Could it have to do with Toggle2g? Please help! Thanks
[Galaxy S II Original Android Development] gokhanmoral:
settings -> wireless and network -> wifi settings -> (press menu button) Advanced -> wifi sleep policy

set it to when screen turns off.

it will solve your problem I think.

it is better to find the source of those wakelocks though. it may be a local infected computer which tries to connect to you phone by scanning the network or an app which tries to sync but fails all the time.
[Galaxy S II Original Android Development] poochewer:
Thats exactly what I have found. Like I said in a previous post,I am finding that LULZ is now the smooth gov. and ondemand is now the jittery one.

I have found this to be the oposite in past versions.
[Galaxy S II Original Android Development] Igor 3:
What are your opinions guys on conservative gov.? Im running noop+conservative 200-1200mhz
[Galaxy S II Original Android Development] poochewer:
So what has it been like on those settings? (BATT&PERF)

edit: actually I just tried those settings and boy it really is super smooth for me. I will test further.
[Galaxy S II Original Android Development] ct85msi:
I am on Siyah 2.6.7 and my NTFS drives won`t mount. I installed mass storage watcher and won`t mount. Isn`t mounted eighter in /mnt/usb.

Installed also AL Mass storage manager, when I plug the NTFS stick it sees it, ,reads the size and says it`s full when the stick is empty and has only a TEST folder. When I want to mount with Al mass storage manager it does nothing..

I am on KI8...2.3.5
[Galaxy S II Original Android Development] Igor 3:
Yeah, i dont understand much about gov. so I ask what are your opnions on this setting. Member geko95gek recomended them to me and its been super smooth with excelent battery life for a few days now.
[Galaxy S II Original Android Development] fluidz:
Find battery is dying at 1% every minute while in general use such as browsing the xda application while using 2.6.7 with sensation rom 3. :(
[Galaxy S II Original Android Development] beston94:
Battery life

Guys, if you want better battery life overall then you should PM geko95gek for his CFG settings. That pretty much sorted my phone out with perfect stability and no over-heating and no random reboots. I mean whats the worst thing that can happen right??

Siyah 2.6.7 and geko95gek 0.3 CFG settings= GOD-LIKE!
[Galaxy S II Original Android Development] CamoGeko:
Glad it's all working as expected, you must be number 400 by now. :p

Ondemand is as smooth as spreadable butter for me here matey, using my config v0.3. :D
[Galaxy S II Original Android Development] Namoi:
For me sio and conservative give the most smooth experience. Battery is not so bad either. More or less 10 hours of heavy use.

On idle, got this evening 86 % after 12 h but with a few calls and maybe half an hour of surf (wifi and 3g were on all the time).

2.6.7 seems very good indeed.
[Galaxy S II Original Android Development] :
Guys, i know about defaults and governors logic, but i am doubtful: in 2.6.7 is conservative tweaked to be easier on battery but also less performant than ondemand, or is it more inclined towards raw performance thanks to gokhan tweaks??

Before testing it on my own, I ask this otherwise obvious question because ondemand is giving me an unbelievable battery life on default settings (7h screen on in over 17h with 2000mah battery) without ANY lag or glitch or whatever. With previous versions i didn't manage to get similar results even using conservative gov (which should be more battery friendly, hence the question) nor using scripts to tame ondemand...

I think this kernel has become a masterpiece both for tweakers and for basic users...i once used to believe it was quite difficult to get the maximum out of it for a newbie, now even on default settings it is just as valid as others on every front...but with that bonus of being customizable in case someone wants to learn more ;)

I hope that future versions will bring welcome improvements without changing this winning logic that made 2.6.7 such a great success.

Thanks a lot gokhan, and everybody who contributes to tutor in this thread!! :)

Sent from my SGS2 - Hyperdroid v5.2 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] Alucardis666:
Day 4 of running this kernel with the configuration in my Sig. And I'm at 15hrs with 75% left :-)
[Galaxy S II Original Android Development] cmd512:
Really? I actually switched from ADW Launcher Ex to Go Launcher Ex because Go Launcher Ex is so much smoother... even when using effects for screen changes in the app drawer.

My new settings are as follows based on the corrected down_differential definition in droidphile's thread. Note that I'm still staggering it quite a bit from max freq with a high scaling_down_factor:

80 for up_threshold

25000 for sampling_rate

40 for sampling_down_factor

15 for down_differential

Very smooth for me. Just make sure in Go Launcher EX under "Advanced" that you do NOT check "High quality drawing." I personally can't see a difference, and that DOES make it laggier.
[Galaxy S II Original Android Development] legendasboy:
had one sod today, hope it was a one time event
[Galaxy S II Original Android Development] stevehkim:
i think GK said in this version conserv. is more performance.
[Galaxy S II Original Android Development] rav4kar:
Hi Guys, I come from AT&T i777 community, I just installed 2.6.7 today (first time this kernel, thanks to Gokhanmoral for his great work and support). Going good so far, except one weird issue.When lock button is pressed, it captures the screen shots instead of locking the screen, any idea? I am forced to reboot the phone to get rid of this issue.Thanks in advance!
[Galaxy S II Original Android Development] stevehkim:
you sure you downloaded the correct version? usually when you DL the wrong version the key mapping is off. also try reflashing after clearing dalvik and cache.
[Galaxy S II Original Android Development] rav4kar:
Yes, I flashed right (at&t version) source, in fact zip file is still on my sdcard (Siyah-v2.6.7-att-CWM).

Sure, I will re-flash and see, thanks for tips!
[Galaxy S II Original Android Development] poochewer:
Doing really well on geko95gek's settings so far (1% batt used in 2hrs!!!)

And that was texting rather heavy as well!!

Thanks again geko95gek:)
[Galaxy S II Original Android Development] torchedlh:
But then nothing will ever sync when the screen is off?

How do i figure out which app is constantly using my wifi?
[Galaxy S II Original Android Development] omniwolf:
gok updated the 2.6.7 download with a DL that fixed some wifi issues, if you downloaded 2.6.7 before then you might have the old one. either way it might be worth downloadign again and reflashing.

i had a similar issue to you - wlan_rx_wake was keeping my phone awake, but i rebooted the phone and since then i haven't had any problems. until last night - i lost 40% battery over night (which is way more than i usually lose, it usually goes down by 5%), but the phone ran out of battery before i could check what the wakelock was :( i would suspect wlan_rx_wake again, but i have no proof.

i don't think the sleep policy would help me - my phone is connected to wifi over night, and wifi only "sleeps" it if you're not connected to a wifi AP.. right?
[Galaxy S II Original Android Development] Auridran:
No, it sleeps even if you're connected. It shuts off the WiFi and you go back to your data connection while it's asleep.
[Galaxy S II Original Android Development] MistahBungle:
Yep had one of those on Monday. Phone had been sitting on the couch in idle for about 2 hrs, went to wake it up & no go. The only time it's happened & the only issue I've had running 2.6.7. Apart from that minor annoyance, it's been brilliant ;)
[Galaxy S II Original Android Development] nk7:
Really? I got the worst reception with that modem. Reverted to original telstra stock modem found in this

link

(both in reception and data speeds) - also recently tested these modems and KI3 in QLD driving from Nth QLD to QLD/NSW border. Give it a try - and since you're with Telstra as well, make sure APN for mobile network is set to Telstra.iph (tested also but test for yourself as well).

Good luck
[Galaxy S II Original Android Development] ziroxs:
Last 2 nights i saw no wlan wake ups on my phone. Nothing ! not 1 sec. (using BetterBatteryStats)

Check perhaps 2G during the night. With 2G the battery usage i nearly the same as wlan. (in my case)
[Galaxy S II Original Android Development] RotesMeerJogger:
hey thanks for your settings. i will try this soon. you are right have set "high quality drawing" in go launcher ex but this can't be a problem because we have a dual core 1,2 GHz rocket smartphone. isn't it? ;) :) okay also will try this without this setting but with lulzactive governor no stutter while high quality drawing. have made yesterday some tests but xda was offline so i couldn't post it. here is my addition:

i have tested this configurations (with siyah 2.6.7) and high quality drawing in go launcher ex:

vc setting (without uv and gpu oc):

sio/noop/bfq + ondemand 200-1400 mhz: a lot of stutters and micro lags in go launcher ex.

sio/noop/bfq + ondemand 200-1400 mhz + cmd512 ondemand tweaks: sometimes micro lags but better performance then without tweak script.

noop + lulzactive 200 - 1400: with siyah 2.6.7 this setting rocks my S2! extremly smooth, no stutters or lags anymore.

in quadrant benchmark all settings gave same point result +/- 50 points. this is a perfect example that banchmarks not really give informations about performance in real use of a smartphone.

i use zoom in/out effect to get app drawer in go launcher. with this effect you will see the lags with ondemand governor very good if you wait a few seconds after every klick on home/menu button (i think ondemand scales up cpu too slowly and lulzactive is here much quicker).
[Galaxy S II Original Android Development] stylez:
Probably the problem "High Quality Drawing" really not needed and doesn't make that much of a difference...

BFQ/Lulz U/V no OC handling Go and everything else thrown @ it.........
[Galaxy S II Original Android Development] Rampler:
I want to use the handy control function within the app myphoneexplorer. The mpe developers said that this functions needs the "monkey services" installed. Is their any possibility to install the monkey services in the kernel ?
[Galaxy S II Original Android Development] speed10:
hi me and all my friends share the same problem, when we tray to mount from usb

instead of mounting the internal sdcard it mounts the external sdcard can you please tell me how i can fix it? (we use SiyahKernel v2.6.7)
[Galaxy S II Original Android Development] xsycox:
Fyi, two crashes in 4 days since using 2.6.7. Before none in months.
[Galaxy S II Original Android Development] VFO:
Yes I have that same thing happen every once and a while as well. You don't have to re boot though, just press the home button a couple of times and it should all go back to normal. I am not sure what causes it to happen but yes it is weird. It actually almost got me in trouble the other day. I was in a meeting at work and checked my email. When I went to lock the screen it snapped a screen shot instead. Everyone was wondering where the picture shutter sound came from and why wee they taking pictures.
[Galaxy S II Original Android Development] pikachu01:
Crashes due to? Details please :)
[Galaxy S II Original Android Development] RotesMeerJogger:
have now tested some settings and lulzactive with bfq or noop scheduler is the smoothest governor for me. ondemand governor with cmd512 tweaks is also good but lulzactive is in my case a little bit smoother :)

cmd512, thanks for your help and feedback. with your help i have made my first init.d script :)
[Galaxy S II Original Android Development] nickporwal:
I tested 2.6.7 without OC with Ondemand. Result was the laggy drawer and screen transitions. Even scrolling in settings menu was stuttering.

Then i tested with lulzactive governer. Everything was smooth without any lags and stuttering. i have noticed that lulzactive scales up the CPU frequecncy to 1200mhz much faster than ondemand even for the small load task. thats why even for small scrolling CPU uses 1200mhz frequencies.

My question is, doesnt lalzactive will give inferior battery life since it gets scaled upto higher frequencies quickly? Even if like i am watching a video for 30 min, then CPU will remain in high frequencies for that much of time compared to ondemand and will deplete more battery life.

Correct me if i am wrong. Right now i am using conservative (with lionheart tweaks) in NEAK kernel. Its giving me good performance (zero lags with Go launcher and static wallpaper) with relatively good battery life.

i just keep switching between NEAK and siyah kernel as both are awesome kernel in their own. Also both kernels doesnt make any changes in stock colors which i love to watch in videos and pictures.
[Galaxy S II Original Android Development] CamoGeko:
Perfect result once again. :)
[Galaxy S II Original Android Development] :
I must say Lulzactive governor plus being overclocked to 1.6GHz undervolting and using Pikas scripts plus the screenscale script not only i have gorgeous screen now (thanks to yes Bravia Engine links you can find in the Android Development) but my phone is smooth when scrolling through the screens...Battery life is also brilliant..Been over 15hours now i am down to 23% and over 4hrs screen on time:)
[Galaxy S II Original Android Development] nk7:
I found lulz to be the smoothest but keeps wanting to stick at 1600 Mhz frequencies (or 1400 Mhz or 1200Mhz when I use that as max) for a long time after I run a game. Then doesn't want to drop down to lower frequencies.

Switch to ondemand and immediate reduction in cpu speed (this is all according to cpustats 0.1 - may be old..).

On a side note lulz is just as smooth in gaming (e.g. Asphalt, NFS) as Ondemand governor, which is different from usual.
[Galaxy S II Original Android Development] Sergy330:
I have issues with HD Videos again.

In v2.6.7 the "read_ahead" value is 1024 and only works well with 256.
[Galaxy S II Original Android Development] jonamafun:
Thanks for the tip dude. I just read your thread, and when you quoted the speed test results, KI3 seemed to give you higher DL throughput? Slightly confused as to why you think KF2 is better.

In my experience I haven't really noticed much difference between the two. When I'm at work in Melb CBD I can regularly hit 11mb/s download.

I also just tried the telstra.iph APN. It's not bad. Seems to give slightly higher throughput, although ping time is about double compared to telstra.internet, at least here in Camberwell VIC. Will try again at work tomorrow.
[Galaxy S II Original Android Development] bbeni:
any idea?
[Galaxy S II Original Android Development] rav4kar:
Thanks mate, anyhow I have re flashed now after "Clean Cache/Dalvik", let me keep my fingers crossed, I had almost same experience like you did in office!Good day!
[Galaxy S II Original Android Development] nk7:
No look at the attached image as well: http://xdaforums.com/showpost.php?p=19874823&postcount=48 . DVK was better that day and every day after that. But written results showed otherwise, which was weird.

The time between tests was a tad long and network strength is quite volatile in some areas here in Nth QLD, but never out of signal. Yeh KI3 is still decent but give the original a go and see if makes a difference to you in the CBD or city area.

Ping is also hit and miss, even this morning I got 90ms ping with DVK modem when it almost never is less than 100. That's telstra for you but. It's incredible the amount of variation in results even from testing in the one spot.

Another really good one (although network signal strength was slightly lower than DVK at the time I think) is the modem found in this rom http://xdaforums.com/showthread.php?t=1377069 (check version 3.3). Good rom by the way. I'll try to find the modem for you.
[Galaxy S II Original Android Development] :
Brilliant kernel best version so far for me. Thanks.
[Galaxy S II Original Android Development] mobs84:
Perfect settings from geko95gek Thanks again mate.. Very low decline on battery level. I think my S2 juice will last for 48hrs+ in this rate with moderate/heavy usage. Let me wait and watch :)
[Galaxy S II Original Android Development] ilikesamsung:
when u all talk about lulzactive and ondemand governors, how do i change them? or mus i use setcpu?
[Galaxy S II Original Android Development] CamoGeko:
It is recommended to use Voltage Control app from market.
[Galaxy S II Original Android Development] droidphile:
1) Search button is fun and easy to use

2) Use Voltage Control to change governors & take better advantage of Siyah for additional functionalities like GPU UC/OC/UV, bus frequency mod etc.

3) Use SetCpu also with Voltage Control if u wanna tweak ondemand governor parameters.

4) Use lulzactive app to tweak lulzactive governor parameters
[Galaxy S II Original Android Development] mcarans:
Is there a way to search just this thread? Maybe it's obvious, but I can't seem to find a search thread option on xda-developers.
[Galaxy S II Original Android Development] Rampler:
@gokhanmoral

It is possible to add the monkey services in the kernel ?

Can i install the monkey services by myself, for example with a zip ?

The app MyPhoneExplorer needs this services for the remote control function ....

Thanks in Advance
[Galaxy S II Original Android Development] ziroxs:
Gokhan is now jobless. All runs good, only wishes he has to fulfill. :D
[Galaxy S II Original Android Development] droidphile:
He ain't jobless :)

It's just that he is too 'jobfull' and busy with work.

He will be back with even more better releases with dual boot support, new governor, the opensource app, more batteryfriendly tweaks, and much more in the coming days and weeks....
[Galaxy S II Original Android Development] rajarshi10:
It says my Voodoo Control Plus is not compatible with the kernel ? Why ? :(
[Galaxy S II Original Android Development] KcDaRookie:
Because it isn't o.o

Please go to this thread and ask there for scripts:

http://xdaforums.com/showthread.php?t=1325831

This is for developing and bugtracking, not for best config.
[Galaxy S II Original Android Development] lpsi2000:
LOL, I am always laughing when I see these posts regarding the top secret config:p. Now I hear it is God like for my phone, I do have a bible on my phone and wondering how many Hail Mary would be needed for my config to become God like :D

Now I only hope the 400+ users will stop complaining about battery issues an hour or 2 after a release.
[Galaxy S II Original Android Development] speed10:
someone plz
[Galaxy S II Original Android Development] veyka:
If you mean

That, then there's nothing you can do, CWM only allows you to mount one or the other, and it has to be changed before it is compiled.
[Galaxy S II Original Android Development] rajarshi10:
Can anyone give me a link to custom boot animations that are supported with this kernel ???? And can I put custom boot animations on stock rom?
[Galaxy S II Original Android Development] bclark:
I haven't seen anything in regards to this in the thread but I may have missed it. There its the Ubuntu and back track install guides

http://xdaforums.com/showthread.php?t=1390351

I get full reboots with siyah. It works fine on the hyperdroid kernel and also speedmod (not sure about void) terminal goes to finalize completion and then boots to splash screen. I tried multiple scripts that were posted and still get the reboots. I was wondering if anyone else got it working or if gokhan could look at it.