yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] the^one123:
Gov: Lulz - 200:1200 mhZ

Scheduler: sio

100mhz @ 850

200mhz @ 850

500mhz @ 875

800mhz @ 975

1000mhz @ 1075

1200mhz @ 1175

1400mhz @ 1275

1600mhz @ 1425

GPU: 160Mhz @ 900 mV - 267Mhz 950 mV

Three phones here with same configuration, no SOD no freeze @ all.

theone
[Galaxy S II Original Android Development] didopidobg:
beta 16 problem

A problem after flashing beta 16. I can not mount internal sd-card nor in CWM, neither when the GUI is running. That way I can not restore a backup or flash another kernel.

Please give me some tips.

Thanks
[Galaxy S II Original Android Development] giyear:
an NTT DOCOMO user. I never find any 2.3.7 rom working on any siyah kernel...:confused:
[Galaxy S II Original Android Development] navodwickra:
did you try cleaning up delvik before flashing the kernel? clean delvik and cache then flash the kernel again. I never had this problem.
[Galaxy S II Original Android Development] John E Dante:
Nope, no freezes on:

Lulzactive / sio

100MHz@800mV

200MHz@825mV

500MHz@850mV

800MHz@950mV

1GHz@1025mV

1,2GHz@1075mV

1,4GHz@1175mV

Stable since Siyahkernel 2.1.1

And VERY smooth

If you have crashes, make sure dalvik and cache has been cleaned. If the problem still persists, try reflashing the kernel. Still not working? Deactivate every third party startup scripts/tools you've got. Does it work now? Good, now activate one at a time again too find the bandit.. Although I don't see the point in wiping the caches, never do it myself.
[Galaxy S II Original Android Development] didopidobg:
Always flash kernels like this:

clear cache

clear dalvik

flash kernel

Update:

Rebooted several times, card mounted in GUI, succeeded to flash another kernel. I`ll wait for this issue to be cleared.

Thanks.
[Galaxy S II Original Android Development] :
sorry to ruin the party, but clearing cache/dalvik has nothing to do with flashing kernel (it might have to do with bln support or similar rom related issues, but to flash kernel there is no need to wipe anything).
[Galaxy S II Original Android Development] starbase64:
Hi,

lulzactive@sio

500MHz@825 or 850 = device freezes immediately

edit

100MHz@800 or 825 = device freezes immediately

200MHz@825 or 850 = device freezes immediately

edit

100MHz@850 = ok

200MHz@875 = ok

with friendly greet

starbase64
[Galaxy S II Original Android Development] John E Dante:
Tried flashing the b16 on another GS2 with the same configuration as I (without clock/voltage modding) and it crashes randomly. B9 works though with modding on the same device. Could it be that some devices ain't as compatible as others with the new beta? What could be the cause?
[Galaxy S II Original Android Development] :
I don't know really, but I had some similar thoughts regarding compilers used. Anyway, I will leave it to guys that know what they are talking about :/.
[Galaxy S II Original Android Development] joeyfong:
I am so happy I can plug my sd-card back!!!! Awaiting for rc1!!!!!
[Galaxy S II Original Android Development] alcurtis93:
Works nice here too. Thanks
[Galaxy S II Original Android Development] terenceleechan:
How to insmod lazy governor module in beta16? I need lazy back :p thanks!
[Galaxy S II Original Android Development] shahulvm:
is kernel 2.2 close to release

@Gokhan, is the siyah kernel v2.2 to be released as i see in your portal 2.2 rc1
[Galaxy S II Original Android Development] droidphile:
in adb shell or terminal emulator

insmod /lib/modules/cpufreq_lazy.ko
[Galaxy S II Original Android Development] starbase64:
Hi,

here is my safe undervolting table: http://goo.gl/2iMrh (Google Docs)

with friendly greet

starbase64
[Galaxy S II Original Android Development] terenceleechan:
Thanks! Will it stick through reboot?

Edit: it doesn't survive a reboot. How to make it survive?
[Galaxy S II Original Android Development] droidphile:
Make it a line in one of your init.d script. (Note that init.d scripts are executed 30 seconds after boot, so wait for some time after you boot before you use voltage control/setcpu to check if lazy is available)
[Galaxy S II Original Android Development] terenceleechan:
Thanks for the response. I use voltage control so I just put the line anywhere in s_volt_scheduler script, reboot and set it as default governor on boot using voltage control?
[Galaxy S II Original Android Development] kyakaze:
Im using this uv setting (attached) in setcpu, no sod or random reboot since ages . Gpu -50mv from stock.

Recently I use 2nd core app to force duo core at all time, still no reboot or sod. It's super smooth and fast, same battery life or minimal difference

Also I notice that when running with 2 cores, it rarely reaches 1200, ussually stays at 800-1000 max
[Galaxy S II Original Android Development] droidphile:
Yes. Add the line before setting governor. May be add a check to make sure lazy is available before setting the governor

$CHECKGOV=$(grep 'lazy' /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors)

if [ -n "$CHECKGOV" ]; then

#set governor here
[Galaxy S II Original Android Development] joeyfong:
OndemandX or smartassV2, which one is better for battery?
[Galaxy S II Original Android Development] kyakaze:
should be smartassv2
[Galaxy S II Original Android Development] dave_p_b:
Installed beta16 last night and woke up to sod this morning (had to force reboot to turn my alarm off :)

Gone back to beta15 which has been running great for me.

I wipe dalvik cache after each new kernel flashed.

I've been using lulzactive govner 100mhz - 1600mhz.
[Galaxy S II Original Android Development] wesley.mrocha:
Does anyone can give me the link for the 2.0 version?

Please! I've tried to use the search button already, but wasn't able to find it :-(
[Galaxy S II Original Android Development] the^one123:
http://www.gokhanmoral.com/

that's all we have .....
[Galaxy S II Original Android Development] terenceleechan:
hmmm i tried this but still my governor on boot is ondemand (default), not lazy which i want as default. although lazy appears in the list of governors. what did i do wrong? thanks!
[Galaxy S II Original Android Development] wesley.mrocha:
Thanks but I couldnt find it here :-(
[Galaxy S II Original Android Development] droidphile:
http://www.gokhanmoral.com/public/files/siyahkernel/Siyah-v2.0.tar

---------- Post added at 05:49 PM ---------- Previous post was at 05:45 PM ----------

Try adding the line to insert lazy module in tweaks.sh (/sbin/siyah/tweaks.sh)

And set governor in your init.d script as before.

Afaik, tweaks.sh is executed before inti.d scripts (immediately after boot).
[Galaxy S II Original Android Development] terenceleechan:
ok thanks will try this
[Galaxy S II Original Android Development] iamsmallpang:
beta16 = smartassV2 = better for battery:)
[Galaxy S II Original Android Development] starbase64:
+undervolted :D
[Galaxy S II Original Android Development] joeyfong:
Thx, I just switched to smartassV2 from lulzactive since there is sod issue in beta16, want to try ondemandx later.

---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------

how much battery can u gain?
[Galaxy S II Original Android Development] Evollution:
Which governator is the best for battery life
[Galaxy S II Original Android Development] shahulvm:
powersave, then conservative then all others

suggest to go with lulzactive
[Galaxy S II Original Android Development] incubus_fr:
How long will we have to read this on every page in this

development thread

before the moderators act appropriately ? :mad:
[Galaxy S II Original Android Development] alcurtis93:
I find smartass v2 is terrible for screen on time battery. It jumps frequency all over the place even on idle just watching the frequency in the second core app. On idle its the winner as it locks the frequency to the lowest frequency. Lulzactive is best overall for me. No jumping of frequencies. And it uses profiles.

What's everyone else's opinion?
[Galaxy S II Original Android Development] Radikaal:
any other known problem with b15 with battery brain other then sched_mc=2? I set it to 1 but still having drain..3% in 1 hour with data off and in deepsleep 97%, i usually have 0.4%/hour like this :/

Really annoying since i think its soo good performance & smooth otherwise :(
[Galaxy S II Original Android Development] droidphile:
Try beta 16.

It's high time someone among us or Gokhan himself should pm a moderator. This thread requires some 'treatment' like it was done for CM7 dev thread!
[Galaxy S II Original Android Development] KennyLegend:
I'm getting SOD on beta 16 with miui. I tried ondemand and ondemandx. Anyone else get this?
[Galaxy S II Original Android Development] Yoyoa:
Have you seen the post with scripts, tweak? What do you think of it?

I just want to know if it doesn't break the tweaks in the siyah kernel or it could be usefull or not?

[CWM][SCRIPTS][TWEAKS] ThunderBolt! v2.1.1.1 - 11/21/11

http://xdaforums.com/showthread.php?t=1354709
[Galaxy S II Original Android Development] Radikaal:
sorry it was not meant as a complain, just a question if there was a known problem thats been fixed (other then sched_mc=2 whic mentioned in changelog) in b16 since i really enjoy b15. :)

And yes i tried b16:)
[Galaxy S II Original Android Development] droidphile:
You sure you have no screen off profiles? (in your init.d or Rom's oc-daemon)

I wasn't referring to your post ins specific.

Anyways, Beta 16 has sched_mc set to 1, aftr enabled too. Should be good on battery.
[Galaxy S II Original Android Development] KennyLegend:
No screen off profile that I know of and I don't have oc daemon .. Stock settings too in voltage control app.

I was using 100-1200 but I changed to 200-1200 and it still happened.

I'm back on beta 15 now and its fine.
[Galaxy S II Original Android Development] :
It will be fixed in rc1, some phones seems not to like some things :p
[Galaxy S II Original Android Development] xan:
~ # cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
1600mhz: 0 mV
1400mhz: 0 mV
1200mhz: 0 mV
1000mhz: 0 mV
800mhz: 1 mV
500mhz: 1 mV
200mhz: 2 mV
100mhz: 2 mV

bus frequency static mode: enabled
You can echo the frequency step values to this file or 'enable'/'disable' status.
Valid frequency step values are: 0 (400MHz), 1 (266MHz), 2 (133MHz)~ #

Gokhanmoral: two things about this.

mV values doesnt seem to be right here,

no newline at the end of the output.

Its already hard to parse. Wouldnt it be simplier:

~# cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
0 0 0 0 1 1 2 2
~#

Also, why do I need to enable/disable it?

I propose following behaviour:

Unless output to this sysfs its disabled.

If there is output: leave on to until reboot.

The way its now I really cant integrate it into VC :(

WIP:
[Galaxy S II Original Android Development] rodries:
Maybe?

~# cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
E 0 0 0 0 1 1 2 2
~#

E: enabled

D: disabled

or

~# cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
0 0 0 0 0 1 1 2 2
~#

First value

0: disabled

1: enabled
[Galaxy S II Original Android Development] incubus_fr:
# cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static | awk 'NR<9 {print $2} NR==10 {print $5}'
0
0
0
0
1
1
2
2
disabled
#

HTH
[Galaxy S II Original Android Development] nikzDHD:
I suggest you try Smartass v2, lulzactive, conservatve & ondemandx on a daily basis each one with similar usage then you will identify which works better for battery. As said many many times we all have different usage patterns so all our results will differ.

Personally I find lulz and smartass v2 better for battery but my usage is not consistent so it really differs on a daily basis.
[Galaxy S II Original Android Development] emmanueldmc:
alone is not happen to me but with the v2 has happened to me several times that the screen brightness up to max .. just a bug?
[Galaxy S II Original Android Development] xan:
:D

Made my day.. Anyway thats clever, however I need to be.. clever'er.

What if Gokhan adds another state into kernel?

Or someone implements this interface in different kernel having 5 states?

FC FC FC fest.

At current stage VC needs to support i9000 kernels, i9100 kernels, Siyah kernel...

i9000ish world is so fragmented that there is no single similar kernel. Dozen of devices, most of them having 2-3 kernels differing a little in functionality and design.

Thats why I really need this to be... easier and flexible.

Yet the sysfs doesnt look clean, if something is changed: FC FC :D

I need a decision from Gokhan, if this supposed to be left exactly like that or simplified/reworked
[Galaxy S II Original Android Development] incubus_fr:
awk is very powerful. There is no problem to make tests on the lines so it can be fail safe. I will post a new version later.
[Galaxy S II Original Android Development] woodykr:
to thing it serves of precise?
[Galaxy S II Original Android Development] KcDaRookie:
Anyone here still on 2.2 Beta 15 or below?

Could you provide me a list of governors that can be choosen on 2.2b15 or below?

Thanks in advance =)

edit: Thanks MikeVirtual! =)

Maybe someone still on 2.1.1?

Else I guess I have to downgrade myself to look it up.
[Galaxy S II Original Android Development] Yoyoa:
@woodykr

Sorry my english isn't really good, I just want to know if this kind of tweaks can do a really improvement of the Rom+Kernel (like gain of battery and perf), and if it's didn't break any tweak with siyah kernel.
[Galaxy S II Original Android Development] woodykr:
say that improve the battery and doesn't have any problem with siyah kernel..... but according to me is to try! then it also depends on the type of installed rom according to me......
[Galaxy S II Original Android Development] Boonyard:
How the bloody hell do you download from his website?!

All I can find are posts talking about releases!
[Galaxy S II Original Android Development] gokhanmoral:
oops I just thanked to your post accidentally..

you will see "tar" and "zip" parts at the end of each post "IF" the beta is released.

if you cannot see the links then there may be a problem with your browser or you don't scroll down enough...
[Galaxy S II Original Android Development] Boonyard:
So sorry, my fault. I've just realised that the rc1 isn't released yet which is why I couldn't seem to download it! Sorry, and thanks!
[Galaxy S II Original Android Development] gokhanmoral:
it's been just released...
[Galaxy S II Original Android Development] bala_gamer:
@gokhan

How is the progress on your siyah app interface going? Any alpha build? Will be happy to see one
[Galaxy S II Original Android Development] gokhanmoral:
I had some problems in applying the settings during boot.

I do not want to create any scripts because the leftovers of scripts cause a lot of problems when upgrading/changing roms/kernels.

I've subscribed to google market today. I will publish the app soon but I cannot tell when...
[Galaxy S II Original Android Development] cmd512:
rc1 is nice and smooth, thanks gokhan!
[Galaxy S II Original Android Development] scorpion667:
2.2 RC1 Still as smooth as b16.

Personally I did not have issues with SOD or Random power off with b16 as other users have reported, but RC1 looks legit.

I can confirm the changes to external sdcard location was reverted for CM7.
[Galaxy S II Original Android Development] Vaedryn:
Fantastic , SD Card under CM works ! Great :)

Thank you , after 6 betas without sd now it works , no sd card and mnt error.

Very nice :)

Notification light works , all is fine.

Thank you Gokhan to bring me my sd card back , i am very happy now :)

SGS II Cyanogen Tapatalk
[Galaxy S II Original Android Development] incubus_fr:
@xan

awk ' NF > 0 {
for ( i=1; i<=NF; i++ ) {
if ( $i ~ /^[0-2]$/ ) {print $i}
if ( $i ~ /^(enabled|disabled)$/i ) {print $i; exit}
}
}
' /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static

Parse every line.

If a word is 0, 1 or 2 then print it.

If a word is enabled or disabled then print it and exit the lines parsing.

If you think of another logic tell me.
[Galaxy S II Original Android Development] _cummoo:
xan, have you sent a pm to gokhan?
[Galaxy S II Original Android Development] gokhanmoral:
yes he did, and I hope he got his answers...

I was about to reply in the thread but then saw his message.

I will summarize the pm that I sent him:

busfrequency is dynamic as default. that is why we need to "enable" the static behaviour.

normally, the bus freq is set to 400MHz if freq >= 1200MHz

and it dynamically changes according to busload for lower frequencies.

if you want to ignore the busload and set the busfrequency statically for each step, you need to specify the steps and then enable the static settings (in other words you disable the dynamic behavior)

since I copied and pasted the code from UV_mV part (show and store functions, because they are very similar as we have a single value for each step), there was "mV" left in version 2.1 (I think)

I removed that in the current version.
[Galaxy S II Original Android Development] xan:
Lookin good, its just a damn overkill for a thing that should be as easy as cat/echo combo. I really dont see any reason beyond current sysfs implementation.
[Galaxy S II Original Android Development] gokhanmoral:
I tried to give hints in the sysfs file. I can remove the hints if it will make your parsing easier.

however, don't you already parse the same kind of file for undervolting?

you just need to parse one more line which has the line number of (#of frequency steps + 1) and see if the static behaviour is enabled or disabled.
[Galaxy S II Original Android Development] xan:
Maybe Youre right, I'll rely on # of freq steps.

That sounds easy and should work :)

(NFI why I didnt notice it earlier..)

Came here for ideas and now I got one, Thanks!

Ok: here we go [java ahead]

o = msp.getString(
Command.valueOf(
VoltageStateListCommand.BUS_FREQ_STATIC
.name()).getName(), "");
if (!o.contains("such file or")) {
String tmp[] = o.split("\n");
for (int i = 0; i<frequencyList.size();i++) {
if (tmp[i].split(" ")[1].contains("0")){
bus_freqList.add(0);
} else if (tmp[i].split(" ")[1].contains("1")){
bus_freqList.add(1);
} else if (tmp[i].split(" ")[1].contains("2")){
bus_freqList.add(2);
}
}
bus_freq_static = tmp[frequencyList.size()].contains("enabled");
bus_freq_support = true;
}

Hope to get this baby running tonight ;p
[Galaxy S II Original Android Development] Boonyard:
Ha ha! Brilliant, thank you!
[Galaxy S II Original Android Development] xan:
~ # echo enable > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
echo enable > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
sh: write error: Invalid argument

hmm.. ;p

//edit: now it works..

If someone has a lot of time to read:

http://lwn.net/Articles/378884/

Some guidelines about sysfs, may be worth/not worth reading.
[Galaxy S II Original Android Development] navdra:
@gokhanmoral

Amazing on Oxygen 2.3.2 (KI4)

From what I can tell in first hour experience, all problems that I was reporting earlier are gone.

- no 'double' Music songs

- Recovery sees both internal & external SD (uses external as default for backup which is fine)

Congrats on job well done!
[Galaxy S II Original Android Development] scorpion667:
Hey Xan I'm a big fan of your work keep it up brother =D.
[Galaxy S II Original Android Development] joeyfong:
Cannot mount the usb in windows
[Galaxy S II Original Android Development] bala_gamer:
Guys, how about contributing a logo for siyah kernel ?( Ofcourse with the permission of gokhanmoral). Interested designers here can give it a try... It would be nice to have one.
[Galaxy S II Original Android Development] sadonlyone:
v2.2rc1 is nice and smooth.

I have one question (off topic, I guess) but I'm sure there is someone who could help me: how can I decrease 'long press' time on screen. for example, I gave up to default keyboard to smart keyb just for this option. I want to change this time in every app of android.

thanks
[Galaxy S II Original Android Development] ivangs1:
Is there battery life improvement in v2.2 rc1?

Can anyone share info?
[Galaxy S II Original Android Development] ram3n:
Rc1 is very smooth.

But I lost 10 % overnight, with all data off.

It seems that there's a kernel wakelocks which has drained my battery :

"Main" 24min 38s

Does anyone how to solve it?
[Galaxy S II Original Android Development] shahulvm:
Not for me atleast :(
[Galaxy S II Original Android Development] iamsmallpang:
v2.2beta16,RC1 Battery drain fast

need to improve

when i flashed to RC1 my GS2 was very hot suddenly and 100% battery remain 76%
[Galaxy S II Original Android Development] o0sYkOo0o:
Heeelllllppppp

Hi Gokhan,

My setup:

Villian 3.0

Siyah v2.2beta15

no uc

a little bit uv

Yesterday my SGS2 suddenly rebooted and I lost my GSM and internet connection. After searching the forum I realized that my /EFS and/or IMEI may be corrupted. I have these symptomes:

- unknown baseband

- a lot of FC (phone, MMS ...) after booting

- cannot check IMEI with *#06# (no result)

- FC when I check settings --> about --> status

I have already tried, with no result:

installed KI1 and KI3 modem by CWM recovery (still unknown baseband)

http://xdaforums.com/showpost.php?p=19522688&postcount=10711

http://xdaforums.com/showpost.php?p=19522938&postcount=10713

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

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

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

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

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

I have found by backups (efsbackup.tar.gz and efsdev-mmcblk0p1.img.gz) made in oktober 2011 in /data/.siyah. How can I restore? Can you help me with a dummy tutorial? Other suggestions are welcome? Please help me ...

Thank you.
[Galaxy S II Original Android Development] spaxx24:
Why does my script say

Script:

Is it something with the new script manager or..?
[Galaxy S II Original Android Development] droidphile:
Download EFS Pro app from this thread (for windows)

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

Make sure you have .net framework 4 installed.

You can restore your .tar backup or .img backup using this tool.

Read the instructions in OP carefully, and make sure device is not in mass storage mode.
[Galaxy S II Original Android Development] Dukerth:
I have detected a problem in rc1. Steps:

- Install XWKJ3 clean from odin

- Boot

- Flash siyahkernel 2.2 rc1 from odin to root

Well, after that, superuser app cannot detect "su" binary. It also gives the update option, but don't work.

- Flash CF-Root from odin

Everything works again.

- Flash siyahkernel again

All correct

For any test you need, please feel free to ask me when you want (PM).

And congratulations, you have in my opinion the best kernel so far.
[Galaxy S II Original Android Development] droidphile:
I have modified your script slightly to remove illegal characters. Download the attached file. (it's the same script you posted, difference is that it may work now!)

Remove the .txt extension, push to init.d, check with script manager, set correct permissions, reboot.
[Galaxy S II Original Android Development] b2rdetor:
hello gokhan!!! i like you kernel - its best for s2, but i have some questions:

1. lowest brightness are too low on my new s2 with latest beta&rc1 (the older s2 brighter by default espessially on lowest level) and i havnt problem with stock values of minimal brightness. How can i back the brigthness settings to default values????

2. how can i use voodoo screen??? the app working fine and i want to set by default M2 mode (but its setting are reset after reboot & i need to reinable it after every reboot) or some other way (scripts maybe) to increase my brightness.

3. with some of your beta i explane some artefacts - lines, espesially inda archmage game. 16beta have than problem. beta 14 isnt.
[Galaxy S II Original Android Development] yoplaboum:
2.2rc1 luzlactive = freeze.... ;)

I return to 2.2b16
[Galaxy S II Original Android Development] spaxx24:
Thanks man! Worked great.
[Galaxy S II Original Android Development] knights.JayTana:
Hope the OP will like this