yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] droidphile:
Your screen off script should know what to do when screen is on too.

Change the screen on/screen off frequencies and governors in the following according to your taste.

AWAKE_MIN="100000"
AWAKE_MAX="1400000"
AWAKE_GOV="lulzactive"

SLEEP_MIN="100000"
SLEEP_MAX="500000"
SLEEP_GOV="smartassV2"

(while [ 1 ] ; do
AWAKE=`cat /sys/power/wait_for_fb_wake`
if [ "$AWAKE" = "awake" ]; then
chmod 644 /sys/devices/system/cpu/cpu1/online
echo "1" > /sys/devices/system/cpu/cpu1/online
chmod 444 /sys/devices/system/cpu/cpu1/online
echo $AWAKE_MIN > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo $AWAKE_MAX > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $AWAKE_GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
fi
SLEEPING=`cat /sys/power/wait_for_fb_sleep`
if [ "$SLEEPING" = "sleeping" ]; then
chmod 644 /sys/devices/system/cpu/cpu1/online
echo "0" > /sys/devices/system/cpu/cpu1/online
chmod 444 /sys/devices/system/cpu/cpu1/online
echo $SLEEP_MIN > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo $SLEEP_MAX > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo $SLEEP_GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

fi
done &)
[Galaxy S II Original Android Development] :
Which version of kernel and which miui? I'm running galnet icsf with beta8 and it's smooth as butter on default settings and great battery life.
[Galaxy S II Original Android Development] 0355:
Just to know, does this kernel support USB OTG Host mode? (2.1.1 I mean, because I can't seem to succeed in using it)
[Galaxy S II Original Android Development] 11768:
Have you read this? xda-developers - View Single Post - NTFS-3G for SGS2???

You can skip the fuse.ko though, Siyah has them in the /lib/modules folder already.
[Galaxy S II Original Android Development] GDT:
Maybe it was already asked but it's 4 days I'm not reading the forum (my daughter was born last thursday). I've upgraded to beta 8 from beta 6 but adb (android commander) doesn't work anymore. I think it's driver related. What can I do?
[Galaxy S II Original Android Development] droidphile:
Siyah Governors

For those who wonder what governor A or governor B included in this kernel is about, thought we will have a small writeup.

We have 13 governors in Siyah as of 2.2 Beta 8

1) lazy

2) lulzactive

3) lagfree

4) smartassV2

5) ondemandx

6) brazilianwax

7) SavagedZen

8) smartass

9) conservative

10) userspace

11) powersave

12) ondemand

13) performance

Of these, explanations for governors 6 to 13 can be found here

http://xdaforums.com/showthread.php?t=1242323 [This thread also explains all the 6 i/o schedulers included in Siyah]

You can tweak the governors using an init.d script to echo suitable values into:

/sys/devices/system/cpu/cpufreq/name-of-active-governor/tweak-file-name

Example:

echo "20000" /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time

Governors 1 to 5 in brief:

1) lazy:

Basically and ondemand with an additional parameter min_time_state which specifies the minimum time cpu stays on a frequency before scaling up/down. Idea here is to eliminate instabilities caused by fast frequency switching of ondemand. lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state on a step. Lazy also has a screenoff_maxfreq parameter which can be configured to specifiy max frequency while screen is off.

2) lulzactive:

Based on interactive & smartass governors, this governor tends to be the new favorite for many of us. When workload is greater than or equal to 60%, the governor scales up cpu to next higher step. When workload is less than 60%, governor scales down cpu to next lower step. On screen off, frequency is locked to global scaling minimum frequency.

3) lagfree:

Similar to ondemand. Difference is optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree doesn't skip frequencies while scaling up or down.

4) smartassV2:

Modified smartass and one of the favorite governor for many a people. This governor scales down cpu very fast while screen is off and scales up to 500 mhz quickly when screen is on. There's no upper limit for frequency while screen is off. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. Thus ensuring a balance between performance and battery.

5) ondemandx:

Basically an ondemand with suspend/wake profile. This governor is a battery friendly ondemand. When screen is off, max frequency is 500 mhz.
[Galaxy S II Original Android Development] xgeneralex:
I agree with you!(for the lulzactive..)

is a very useful guide. Why not put it on the front page?
[Galaxy S II Original Android Development] CamoGeko:
+ 1

Also I/O schedulers as well. :D

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
[Galaxy S II Original Android Development] MrPhilo:
Anyone getting a smooth browser (stock) then later it starts to be a laggy?
[Galaxy S II Original Android Development] lrbpereira:
ON 2.2BETA8 with 114 CM7 rom BLN support is not possible any more. Can anyone tell me how to get BLN working again? The BLN app says that the lib is missing on the kernel...
[Galaxy S II Original Android Development] CamoGeko:
Tried looking for the answer in the Q&A thread?

xdaforums.com/showpost.php?p=19329831&postcount=365

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
[Galaxy S II Original Android Development] Alienfreak:
You don't have the USB Problem?

I use 1.11.9 with B8 Kernel and I have it for sure ;)
[Galaxy S II Original Android Development] lrbpereira:
Thanks mate
[Galaxy S II Original Android Development] :
What usb problem? I rarely connect it to computer. Will test tomorrow.
[Galaxy S II Original Android Development] ermacwins:
I'm on miui 1.11.14 with standard kernel and ki4 modem

What's the best governor to use for gaming and browsing? Also I take it I need to use setcpu to make changes?
[Galaxy S II Original Android Development] :
Errrm.. Standard kernel?
[Galaxy S II Original Android Development] greatmagician:
i wanna know if the mouse and keyboard working.. coz not working with me in v2.2 beta 8
[Galaxy S II Original Android Development] Alienfreak:
USB Debugging stays on once disconnected from the PC
[Galaxy S II Original Android Development] DobermanS:
Got frustrated of MIUI,i don't imagine what TheRealWells call grate buttery life,

moved to CheckRev 3.1.1,found that there is bug with storage and sd mount on beta8,even from recovery :(
[Galaxy S II Original Android Development] frankcilo:
I didn't know lazy and lagfree governor, I tried them now, but I do not think that they are valid governor to conserve battery power:

in fact, strangely enough, I noticed that the highest frequencies are preferred with this two governor, especially with the Lagree, the processor is still working with the two latest frequencies up!!

I prefer Conservative governor for Galaxy i9100!!
[Galaxy S II Original Android Development] omegajester:
I can't complain with lulzactive... good performance, better battery...
[Galaxy S II Original Android Development] :
6 hours screen on time not good for you?

There is a bug in recovery with b8 and it will be fixed in beta9.

Storage and sd mount issue on Check rom: find which script in init.d is causing it or power off and power on instead of rebooting your phone.

To rhe the other guy, I will check usb debugging issue tomorrow.
[Galaxy S II Original Android Development] shahulvm:
Conservative is a slower ondemand governor...you must checkout lulzactive governor inorder to witness the power of performance coupled with battery life
[Galaxy S II Original Android Development] TecQuality:
So with the beta 9 we can fairly use the checkrom?
[Galaxy S II Original Android Development] tolis626:
Ermm...Not to spoil it for you,but lagfree is called lagfree for a reason.If it was named longlastingbatteryjuice I would expect it to be battery friendly! ;)

As for lazy,it's nothing but a finely tuned ondemand with some features added that COULD make it more battery friendly.I'd bet it ain't anything spectacular...
[Galaxy S II Original Android Development] TecQuality:
Superb mate, please ask to OP, cause we need this post inyo the first page.
[Galaxy S II Original Android Development] frankcilo:
Conservative not is slower on i9100, test it please, and then tell me....:o
[Galaxy S II Original Android Development] Grimmy1st:
Hi, thx for the Kernel, seems to be great!

but i don't get BLN to work with stock SMS notifications... maybe a problem with the "auto-install of liblights with BLN support" or is stock SMS not included?
[Galaxy S II Original Android Development] gokhanmoral:
I dont think that unmodified stock sms support bln. I never use bln but AFAIK handcent supports bln.
[Galaxy S II Original Android Development] maikash2747:
can confirm that app protectors are now working fine with 1.5, this now has become my favorite kernel, thanks for all your hard work mate, much appreciated

will test it and report back i fi run into any problems

Regards
[Galaxy S II Original Android Development] gokhanmoral:
Can you also try v1.4 and tell me if it works with app protectors? That will help a lot
[Galaxy S II Original Android Development] Muskito87:
Hi, thanx for the quick reply...

I flashed v1.4... and I have bln pro, i will try what you said and post back.

Edit : I entered bln it seems there is no test in the pro version :/
[Galaxy S II Original Android Development] jameslfc5:
thanks!!!!!!!!!
[Galaxy S II Original Android Development] gokhanmoral:
Can you try the free version? I think they can coexist. I am pretty sure that there is no problem with bln support at the kernel side.
[Galaxy S II Original Android Development] mehmetenis:
Hi Gökhan Brother,

What's difference ver.1.4 to 1.5

Are you recommended this vers.(1.5)

And request from you please make cwm install.

When installing on a computer should not be needed

I'm trying ver.1.4 today in dolphin hd web browser

Download files phone very warming,why?

So you said that "my phone never hot"!!!

Important thing for me is not warming.

Finally I'm not find oc my phone don't delete.

(Bahsettigin overlock dosyası benim telefonumda yok.)

Rom:Batista 3.7.7

Kernel:siyahkernel 1.4
[Galaxy S II Original Android Development] kartalgurhan:
Thank you! Sagol!

Thanx friend, eline saglik.

Regards

---------- Post added at 11:47 PM ---------- Previous post was at 11:43 PM ----------

Batista could be the problem, not the kernel....did you try wiping dalvik?

...even more, consider doing a full wipe , delete all oc AND uv files if any...

Regards
[Galaxy S II Original Android Development] maikash2747:
Just ran into another problem, cannot install other themes via recovery anymore, the same theme i can apply without a hickup via recovery using ninphet 2.0.5

Any ideas ?
[Galaxy S II Original Android Development] yeahtyeaht:
ellerine saglik :)
[Galaxy S II Original Android Development] Muskito87:
Ive tried with the free version without pro (cannot coexist :( ) and test is non responsive... and still no BLN support.

But still I dont really GOTTA have BLN... I'll try flashing thru Odin without the Triangle process and see if it works if not nvm... Will wait for further versions of this kernel for sure.

Thankx again
[Galaxy S II Original Android Development] grolof:
Bu kernel ile ilgili türkce anlatımı yaparmısınız yada türkce açıklama olan linki verirmisiniz
[Galaxy S II Original Android Development] uronfire:
Bln working perfectly for me on 1.5 on stock kh4 ..thanks for this awesome kernel phone is super smooth will report back on battery life tomorrow
[Galaxy S II Original Android Development] ChilliBo:
BLN works wonderful on Check dark Knight 3 with KH3 bb =)

thanks!
[Galaxy S II Original Android Development] supermen34:
Great work nice kernel :)
[Galaxy S II Original Android Development] kartalgurhan:
Sorry for the noob question but really searched and found nothing..

What are the stock voltages for 200, 500,800,1000,and 1200 mhz?

Cok tesekkurler/thank you
[Galaxy S II Original Android Development] dandroid13:
If you've used custom voltages then just untick "set on boot" option. If not you're on stock.
[Galaxy S II Original Android Development] kartalgurhan:
First, thanks for the kind reply, but i need the numbers as I will ask a dev to write a new app (apk) that changes the voltages for virtuous and andrev scripts and he requires the default values.

Regards
[Galaxy S II Original Android Development] dandroid13:
1600MHz -1425 mV

1400MHz - 1325mV

1200MHz - 1275mV

1000MHz - 1175mV

800MHz - 1075mV

500MHz - 975mV

200MHz - 950mV

;)
[Galaxy S II Original Android Development] Остап:
Not yet be born ))) :D
[Galaxy S II Original Android Development] kwerdenker:
A little update on that: looks like 1.7.2 is again as stable as 1.7rc1 with my UV. The change in the flags seems to have done the trick :)
[Galaxy S II Original Android Development] sebsasko:
Battery is a very "sensible" component of our phones... I suggest you not change charging values if you don't know what you do (you don't change charging voltage but charging current...)

If you want to increase charging speed, you can perhaps add 100mA on stock values, but in most cases chargers are limited in current...
[Galaxy S II Original Android Development] neoxack:
How to change the governor through the Init.d script without SetCPU?

It is possible?
[Galaxy S II Original Android Development] ‬1‬:
great work.keep it up.
[Galaxy S II Original Android Development] kwerdenker:
Check my underclock script in this post, especially the part in the if-else-block :)
[Galaxy S II Original Android Development] jonny68:
I tried to flash 1.7.2 (the EU version) via CWM on the latest Gadget Check V4 ROM and it says "kernel flash failed - no zimage found" any ideas as to why this is happening?

thanks
[Galaxy S II Original Android Development] cbeckstein:
Just use "flash update" instead of "flash kernel" in CWM
[Galaxy S II Original Android Development] Joloxx9:
OK i have 1 Issue and its very strange...

I saw only 1 person in this thread has same problem like me, after 1.6 version i have something like that:

I have for example 100% battery and phone is under charging, 2 minutes before alarm(i set it to 8AM phone going off and when i turn it on it has 55% battery, he drained 45% in 5 minets(I see this in battery stats)?! But it is still under charging...

That was on 1.6 version.

On 1.7 same but without charging, phone going off and battery drained in 5 min from 80% to 40...

Today 1.7 I was using phone internet itd, then i will turned off connection, locked screen and after 2 hours same.. In battery stats (I finished using it on 9:30) after 2 minutes phone went off and drained battery from 80% to 40.

Im using Dlev rom 1.3, and yes im using UV, but not much, this guy who had same problem like me wasn't using undervolting, so i dont know where is problem... I did wipe dalvic cashe after 1, maybe i should do full wipe? because i had ~4 roms without full wipe...

Now i used odin to install 1.7.2 (before i was using darkys room tool).

Thank You for respond, and sorry for my laungage....
[Galaxy S II Original Android Development] chadouming:
Before trying a full wipe, try this. Maybe it's a battery calibration problem. Try to reboot in recovery, go to advanced and delete battery stat. Then reboot your phone and make it charge up to 100%. then with the automatic calibration of this kernel, it should be alright.
[Galaxy S II Original Android Development] jonny68:
Please accept your first "thanks" from me, worked a treat :)
[Galaxy S II Original Android Development] Joloxx9:
OK i will try this, but why my phone went off when he wasn't charging? I was at work, had brake, using phone, after brake he went off and drain battery;/ Now at home i turned it and i saw again 40% -.- OK i will Try :) Thx
[Galaxy S II Original Android Development] chadouming:
This phone has an internal prevention against FS corruption. It close automatically when battery level is between 1% and 0%. If battery callibration was corrupted and i tought it was between 1 and 0 percent, it may explain why it closed suddently. Don't know much more, it never happened to me.
[Galaxy S II Original Android Development] Joloxx9:
I hope so:) But tell me, is there any difference if im charging via usb or normal charger? Coz I was using usb last days:)
[Galaxy S II Original Android Development] jonny68:
I'm going to try the smartass governor, usually i use On Demand but it's cool to have a bigger choice.

I'm hearing good reports about this Kernel so look forward to testing it:)
[Galaxy S II Original Android Development] chadouming:
Except the time it will take to charge, there should not be much difference.
[Galaxy S II Original Android Development] chiggah:
71% after 1 day 3 hours with Siyah 1.7

Android OS = 1 hour

Display LCD = 30 minutes

Question - What can smartassv2 governor do for me ? Better battery life ? I never really installed SetCPU before so I was wondering if I actually need it..? Im a light to medium user.
[Galaxy S II Original Android Development] chadouming:
It might give you longer battery life by scaling the processor frequency efficiently. You can also undervolt this kernel which might save you even more battery. Alternatively, you can overclock it and lost more battery but have higher performance. Seeing this pic, if you dont feel the phone laggy, you don't really need it.
[Galaxy S II Original Android Development] zaphod777:
Do you use your phone?
[Galaxy S II Original Android Development] chiggah:
Just to check messages, email and facebook
[Galaxy S II Original Android Development] gokhanmoral:
great post.

I have added it to FAQ. thank you.
[Galaxy S II Original Android Development] :
Don't know what you mean. I could always use kitchen app with siyah, no problem here.

If you mean sd mount issue while rebooting, it is one of the optimization scripts in init.d causing it. Needs to be removed or fine tuned to work correctly.
[Galaxy S II Original Android Development] shahulvm:
slower to kick in, i.e, it takes x/2 to reach the top frequency.

It does not mean the phone would be lagging.
[Galaxy S II Original Android Development] TecQuality:
Folks, just a question: just installed the voltage control .apk, just seen that there is a 'special' tab for siyah, so i need to know if i can change safely the charging values, what's your experience about this?
[Galaxy S II Original Android Development] mrjeffery:
Yep, me and its annoying!
[Galaxy S II Original Android Development] shahulvm:
you can change, doesnt harm.

I had changed the charging options,

A/c to 900m, others to 900. LEAVE the USB as it is...
[Galaxy S II Original Android Development] Orka82:
I cant even use my browser. The only change that i can remember is flashing kernels. FC after a couple of seconds. Really strange. I have cleared data and cache but no. I cant see it being kernel related.?
[Galaxy S II Original Android Development] hrzeyni:
Same laggy stock browser here, back to b6 :-)
[Galaxy S II Original Android Development] sebsasko:
Almost agree with you...

Don't change usb charging current...

USB ports are in many case designed to "give" 500 mA max...

AC charger shipped with sgs2 (in france) is limited to 700mA so no need to increase charging current...charger will limit it !

One thing to know, is that Li-ion battery doesn't like heating...

You increase damage risks...

And you decrease battery life !!!!

If samsung choose a 700mA charger... I think there is a good reason... the cost between 700mA and 1A charger in not so signifiant...in comparison with the phone cost....
[Galaxy S II Original Android Development] DobermanS:
10x,i have read the b9 post.

no success,no foreigner scripts.off/on didn't make a trick .

i'm not able to understand deep influence of script,if there is, on mount but if i revert to b6 mount works fine.

which ver of MIUI are you using?? :) ICS 11.9 ? galnet 11.11 hit bottom after 1 day with 2h of call time and less then 2h of screen.
[Galaxy S II Original Android Development] eastonfr:
I have same laggy stock browser b8. Also back to beta 6!
[Galaxy S II Original Android Development] Grimmy1st:
That is true. Every secondary Battery has its own "best" charging mA value, this is tested via so called c-rate tests. Charging with diff. mA decreases Battery life after x circles and sometimes even damage the Battery if the value is too high (heating, etc.).
[Galaxy S II Original Android Development] mark0001_de:
Found the reason - Bitdefender was causing a constant load of 100% with this kernel. Uninstalled it and voila! Tremendous kernel now!

Just for everyones info, I used the app "Usage Timelines" which is like the windows process explorer on android on which you can see all running processes and their current CPU load!
[Galaxy S II Original Android Development] TecQuality:
900 is a safe value for the battery?

Delivered directly from my GT-I9100 using xda premium
[Galaxy S II Original Android Development] :
Gokhan it seem like they've done something to Cm7, to enable a Sgs2 specific submenu in the settings tab. Unfortunately it's greyed out when using Siyah, could you please enable it so that we can use it with Siyah as well?

The app responsible for all this is "C1Parts.apk" in case that helps you...
[Galaxy S II Original Android Development] Alienfreak:
Or tell CM7 to make it work with Siyah :P
[Galaxy S II Original Android Development] chadouming:
Or look at b9 changelog ?
[Galaxy S II Original Android Development] :
Siyah is a kernel for cm, Cm is no rom for Siyah:D
[Galaxy S II Original Android Development] CamoGeko:
Or stop using CM and switch to a real and complete ROM. Instead of using a broken one and then complain all the time because you tried using a kernel that's not recommended by the devs.

Guys, if you're on CM then stick to the CM kernel and you will have a lot less issues.

Simples. :)

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
[Galaxy S II Original Android Development] :
A real and complete one? You mean like one of the "Ill take stock rom, put a theme over it and call it... Speed of light awesome custom rom, wooohooo"? I don't consider stuff like that a "rom".

Anyways, why did you even bother writing that post? This is the development-thread and I asked Gokhan to consider implementing something in his kernel, so what is your problem?
[Galaxy S II Original Android Development] Alienfreak:
Its just that it will be most probably easier for the CM7 guys to just add the string or whatever of Siyah then for Gokhan to even look at CM7 what those are doing and why his Kernel is possibly not recognized.

But the Cm7 developers are... strange... sometimes ;)

Thats why I switched over to the ICS framework MIUI and its great ;)
[Galaxy S II Original Android Development] ermacwins:
I'm on miui 1.11.14 with wolverine kernel and ki4 modem

What's the best governor to use for gaming and browsing? Also I take it I need to use setcpu to make changes?
[Galaxy S II Original Android Development] CamoGeko:
I wrote it because you're about the 15th person that has complained about something that's not working for them on CM. In the past 2 days.

So honestly, you really think its to do with the kernel? Specially since that same thing is working for everyone else who is on a ROM that takes full advantage of this kernel.

Last thing, all Gokhan needs is people on CM coming here and complaining about things that are not working for them. Specially since the CM team have already said many times, things might not work properly if you use a kernel either than the one compiled by them especially for CM.

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.