yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] pikachu01:
Hi gokhanmoral,

Is there a reason why CONFIG_SCHED_DEBUG is not enabled for Siyah? There's pretty much no overhead for it, and we get to tune the CFS which brings quite a big improvement in terms of performance for it, not to mention having the ability to disable some non-phone friendly scheduler features to make the scheduler fairer i.e. NORMALIZED_SLEEPER etc
[Galaxy S II Original Android Development] gokhanmoral:
I use architectural optimizations and -Os flag only. fpu flags are meaningless unless you use them in vfp part because kernel use only integer arithmetic. even those-mtune flags have very little or maybe no effect. compiler optimizations do not make much difference because the kernel code is not that complex. If they were useful Samsung or cyanogen teams would use them.

As for the compiler I like codesourcery toolchain more.I cannot say that it is better or worse but I receive more positive feedback when I use this compiler.
[Galaxy S II Original Android Development] mcarans:
Given that SiyahKernel now has battery optimisations with governors having sleep profiles and with the wifi sleep policy set to Never, is JuiceDefender no longer required?

Or put another way, what does JuiceDefender (free version) do over and above the things above?
[Galaxy S II Original Android Development] Ogy77:
Guys for you what is the best version 2.6 S99 or 2.6.1?
[Galaxy S II Original Android Development] v1rtu4l:
hi,

had the same problem. if you only dislike the quick dimming to low brightness you could just edit the script that is doing that.

you need to use root-explorer and mount the internal memory for reading & writing (button up top "mount r/w").

then navigate to /etc/init.d/ and open the textfile "01siyah" with an editor.

now you navigate to the bottom of the file and can set the values for brightness as you wish !

you can set the values to what this quoted example shows.

i did set it to 50 for min_bl, left 0 for min_gamma and set max_gamma to 21...

this should result in your phone only jumping to the lowest brightness settings when the ambient light sensor senses 50 light and not 70 like default in the battery-script. i further changed the maximum brightness from 19 to 21 because i think this will help for better sunlight legibility.

here are the stock values in the battery-script
[Galaxy S II Original Android Development] seaweeduk:
seems we had a similar problem, we also have the same router, I've found as long as I clear cache and dalvick both before and after flashing 2.6.1 the wifi works flawlessly. You might also want to try forgetting your networks and reentering the WPA keys, I did this too but I'm not sure I needed to.
[Galaxy S II Original Android Development] grey77:
2.6.1 is kinda weird one. conservative 50-1600Mhz: under full load (e.g. CF bench or software full HD decoding in mx videoplayer) it never uses 1600 and only in rare cases touches 1400. But ondemand works properly.

another bug that still exists is a laggy (id say micro-jittering) HD video (720P .MKV H264 ~3000kbit) with software decoding over CIFS. It doesnt matter what governors and schedulers and hotplug settings I use - tried sio/deadline, conservative/ondemand, battery/performance optimised sets of settings. I guess the issue with CIFS started from 2.2 final (2.2i).

There is no problem with 2.2beta6 (I keep on coming back to that version as beeing the most stable and optimised for me).

PS: GM, thanks for the great kernel, Ive become addicted to it - never missed a single beta u uploaded for us. =)
[Galaxy S II Original Android Development] blaex:
dont be sorry, it would be nice to get some references linked at the thread-startpage/changelog ;)
[Galaxy S II Original Android Development] droidphile:
Oops! After v1rtu4l quoted my post, just realized i made a mistake on min_bl possible values. It is 0 to 255. Not 250.

Corrected in thread.
[Galaxy S II Original Android Development] gokhanmoral:
I think first one is related with smooth scaling. put all 0-0-0 to smooth scaling parameters and you'll see that the phone uses 1600MHz more.

I received another feedback about CIFS today. I will check it.

I am not sure about the reason because you said v2.2beta6 works well but I will ask anyway: are you using 802.11g or n ? that bitrate it very high for a regular 720p movie and the network speed may be the problem.
[Galaxy S II Original Android Development] grey77:
801g or n. tested both. its bandwidth is around 25-35mbit/seconds, stable connection, 1 meter away from a router, 4 bars. the point is that with 2.2beta6 software decoding over CIFS works flawlessly even for lowbitrate (~7-10kbit/s) 1080P videos over CIFS; for 720P 50-1000Mhz was enuf. Ive just swapped these two kernels w/o changing anything else to make sure.
[Galaxy S II Original Android Development] radicalgel:
data/.siyah location

I am still unable to located the /data/.siyah folder. :( Can someone pls help me locate this folder on my phone. I have root explorer but can't see this folder.
[Galaxy S II Original Android Development] v1rtu4l:
file and folder names that start with a "dot" are hidden by default. perhaps your file explorer just does not show it!
[Galaxy S II Original Android Development] Rampler:
I am using voltage control for uc uv. If I understand the things right,I have to remove the voltage control settings in order to have the siyha defaults for UV and UC. But when I want to use my own uc and UV via voltage control I have to do nothing.is it correct? Do I have any disadvantages when using voltage control?

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Original Android Development] stevehkim:
just clear out vc and setcpu setting prior to flashing the kernel and zips. once that is done you can tweak the settings as you please with voltage control and setcpu.
[Galaxy S II Original Android Development] minidou-77:
Maybe it hasn't been created ?
[Galaxy S II Original Android Development] Rampler:
So far so good, but I want to understand why. The new kernel sets also UV UC in a script, at the end I have two scripts which modify the voltages....

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Original Android Development] KcDaRookie:
I never deleted any scripts or settings in SetCPU/VC, I last time I changed my bootscript was at kernel 2.2 and it's in my init.d folder ever since, only thing I changed about it was having to add a line for insmodding ondemandx, I don't understand the whole deleting and reconfiguring thing while changing kernels, never done that, never had any problems...

@Rampler: just leave your settings as they are, you don't need to use default settings of the kernel

(hast das schon ganz richtig erkannt, kannst deinen einstellungen bei vc lassen wie sie sind. vc bringt keine nachteile mit sich)
[Galaxy S II Original Android Development] stevehkim:
i flashed 2.6.1 + battery zip yesterday. i unplugged my phone at 100% last night at 9:30 pm. it is now 1:20 pm and im still at 55% batt. ive been surfing texting calls music (1hour) 6 benchmarks wifi on most of the day, 30 mins of gps. pretty much heavy use. simply amazing. not a single hiccup. you out did yourself Gokhan. absolutely the best. long live siyah! oh and miui. amazing batt life and 6900-7000 benchmarks. if anyone wants to know my setup is, bfq, ondemandx, 1 screen off profile, 100-1400 min/max. and some extra uv'ing. gpu overclocked to 400. oh i forgot to add cpl of camera pix and vid recording of my daughters decorating for christmas. if you want my exact uvs pm me and dont clutter up this thread.

supercharged sgs2 i777 galnet rom/siyah kernel = beast
[Galaxy S II Original Android Development] Ogy77:
I use 2.6 S99 version with CM7 nigthly no OC/UV,but when I on wifi phone freeze and then must pull off battery and turn on,why this?
[Galaxy S II Original Android Development] lpsi2000:
Wifi issue

Just wanted to add that I am also having the WiFi issue. It does not seems to connect with 2.6.1. It seemed to work fine with 2.6
[Galaxy S II Original Android Development] DreddJudge:
I am also getting this. Even with 2.6.1 it happens. Im also using cm7 nightly. Thought it was because of my UV settings but was not still happens.
[Galaxy S II Original Android Development] singingshiver:
Has anyone got a link to the original siyah battery zip (not with lower brightness levels)?
[Galaxy S II Original Android Development] fasst:
deleted.........
[Galaxy S II Original Android Development] fasst:
Try Search in Root Explorer. Search for 'siyah' and you will find it on top of the list.
[Galaxy S II Original Android Development] L0cutus:
i have it (.siyah) under /system/
[Galaxy S II Original Android Development] stevehkim:
i think the new wifi drivers are causing some issues for some people. have you tried re-configuring your wifi settings?

supercharged sgs2 i777 galnet rom/siyah kernel = beast
[Galaxy S II Original Android Development] BigCeyCey:
I like this Kernel.

Sagolasin siyah kardes.
[Galaxy S II Original Android Development] stylez:
Pretty sure this is original one

I've shared a file with you through Box. To access this file, please visit the following link: https://www.box.net/shared/996u3djpd67iee85t90b

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] fracmo2000:
Is this for 2.6.1? Do you flash using cwm? Thanks, I have been searching for these mods!
[Galaxy S II Original Android Development] b2rdetor:
hm, seems like nobody cant confirm low 200-1400 antutu scores?...

may be its ROM\any f#cking app depended??? but how???

CPU loaded 100% but CPU freq down to 800mhz.

gokhan can u comment dat???
[Galaxy S II Original Android Development] stevehkim:
have you tried re-flashing the kernel? are your scores running any zips?
[Galaxy S II Original Android Development] radicalgel:
Ok so I found /system/.siyah but the only file inside is cwmmanager3-installed. No sign of EFS backup. :(
[Galaxy S II Original Android Development] runedrune:
Check if you have efs backup in sdcard.
[Galaxy S II Original Android Development] veeruchinnu143:
Guys I'm wondering is this kernel available for samsung galaxy s...? I searched whole form but didn't find it. If yes plz tel me...I'm satisfied with this kernel,my frnd wants to use this kernel...
[Galaxy S II Original Android Development] b2rdetor:
trying reverted back criskello from 34 to 32

trying 2.5.1, 2.4.2 siyahs and with 2.4.2 cpu freq down much less (to 1000) and only when low cpu load.

somebody have same problem (and other rom) somebody havnt> cant understand why...

---------- Post added at 07:50 AM ---------- Previous post was at 07:46 AM ----------

hard to see problem if you are not use cool tool because 800Mhz - its a good freq - many apps work fine with that freq. First time i saw that problem while playing GTA3 and the game became slideshow. after that ill tryed test and other games and they have the same issue, even my golauncherex.
[Galaxy S II Original Android Development] zzz777:
didn't find info about

1/ i just have to flash it via CWM ?

2/ how to create "/data/.siyah/disable-logger file" ?

3/ realy better battery life ?

thanks
[Galaxy S II Original Android Development] surya_mca:
Humm..

U have Semaphore kernal for Galaxy S.. which is very gud almost like Siya....
[Galaxy S II Original Android Development] Bushido76:
Hey guys,

just a short explaination for all of you who wonder about the /data/.siyah/disable-logger file, which has to be created.

In the folder siyah/sbin/ you can find a file which is called modules.sh. When you open it, you can see the following lines:

if [ ! -f /data/.siyah/disable-logger ];then

insmod /lib/modules/logger.ko

fi

That's the check for the disable-logger file. If it's present, logger.ko won't be loaded.

Btw. MERRY CHRISTMAS TO ALL OF YOU!

Bushido

EDIT: If the folder /data/.siyah/ does not exist just create it (i.e. using root explorer).
[Galaxy S II Original Android Development] zzz777:
i have no \data\.siyah folder :confused:

i tried to understand many posts ago about that

1/ I found /system/.siyah but the only file inside is cwmmanager3-installed.

2/ I have EFS backup folder . in SD card
[Galaxy S II Original Android Development] ksantoshh:
Set the preferences in root explorer to show hidden files and you should be able to see the folder.
[Galaxy S II Original Android Development] droidphile:
@b2rdetor

Your problem is cpu not spending enough time on higher frequencies right?

If you're using ondemand/ondemandx make sure you haven't changed the value of powersave_bias via script/setcpu or any other similar apps.

If you're using conservative and the values are heavily tweaked for better battery, that would also cause less time spend on higher frequencies since conservative scale up gradually and scale down rapidly.

If you're using any of Gokhan's script, disable smooth scaling parameters by editing the script. If you don't use, put these lines in one of your script.

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/smooth_target

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/smooth_offset

echo "0" > /sys/devices/system/cpu/cpu0/cpufreq/smooth_step
[Galaxy S II Original Android Development] b2rdetor:
tryed some recommended beta version and found that 2.2beta6 working PERFECT (100-1400ondemand - 6600antutu), but cant automount ntfs (manual mounting work fine) and have HDvideodecoding bug

but CPUscalling work perfect - it not scales down to 800 when CPUload 100% and not scales up (randomly) when minCPU 100!!! ondemand default.

after i flash 2.6.1 back - all almost fine (6300 antutu with 100-1400 because CPU scales down to 800 but less time than conservative) with ondemand !!! cant understand why (may be sampling rate are reset after that and other params of governor 120000 80 0 0)

but next runs give me a unstable results 5800-6300 - depend of time 800mhz during test.

then i test conservative and found that all my problems are back (instable 100mhz and scaling down to 800mhz when max CPU load) - antutu gives only 5000 and less

can i turn ondemand parms to 2.2beta6??? what had i do for that???
[Galaxy S II Original Android Development] Jagdish84:
Go to the sbin folder, there you'll find the siyah folder containing the module.Ko
[Galaxy S II Original Android Development] b2rdetor:
thanks but its isnt help me... problem still here.

---------- Post added at 10:46 AM ---------- Previous post was at 10:35 AM ----------

also 1400 cant sets with autobootsettings but 100mhz are setting (script by voltage control).

and most of the problem with max 1400 - with max1200 antutu gives normal result but some apps like games can scale down freq to 800mhz not so often but it can
[Galaxy S II Original Android Development] Harsha Raj:
So you mean to say if I create the above folder, only then the efs will be backed up?
[Galaxy S II Original Android Development] Bushido76:
Yes - I did it on my phone too. After the next boot everything was fine.
[Galaxy S II Original Android Development] b2rdetor:
try to set 100-1600 and antutu gives only 5500 with ondemand.... (its always 800 and sometimes 1600) wtf!
[Galaxy S II Original Android Development] KennyLegend:
Got my first SOD this morning using 2.6.1

Went to bed with about 55% in my battery. Set betterbatterystats to run overnight just to make sure I've no wakelocks .

I woke up with SOD and when i rebooted there was only about 10% juice left. I had the battery script flashed with its default settings.

Maybe the GPU voltage & frequency was too low.
[Galaxy S II Original Android Development] gokhanmoral:
seriously, do you ever use your phone or just spend your time with benchmarks and watching setcpu/cpuspy screens?

if you have any problems with the latest version while recording/watching video, playing games or have any crashes I will be glad to think about the reason.

but if you are not happy with the current scaling methods and you are unable to set them, there is nothing I can do for you.

I know Russia is cold this time of year, but it might not be the best way to use your phone to get warm.

I set all smooth_* settings to 0 after applying siyah-performance.zip and do not have any problems with antutu. I got 6400+ with my current 100-1400 setting.

I also used setcpu's longbench and then checked time in states part, 1600mhz was being used.

If you are after benchmark scores, this is not the kernel you are looking for.
[Galaxy S II Original Android Development] KcDaRookie:
@gokhan: yeah, I'm pretty impressed how you managed that, the scores I get from benchmarks are getting lower and lower with every update but at the same time overall smoothness and performance is increasing with such speed ^^

I love that! =)

If I could provide you with informations how to get the benchmark results even lower I would tell you immediately! ;)

I also stopped using benchmarks since 2.3.* because your kernel proves that overall smoothness and snappiness has nothing to with any scores archieved by benchmarks!
[Galaxy S II Original Android Development] lutanica:
By the way, BLN is not functioning on this kernel. BLN manager says that the "lightlibs" doesn't support BLN or something like that. :)
[Galaxy S II Original Android Development] xsycox:
Similar situation. At 4 o'clock in the morning (after clubbing *g*) I went to bed with 42% battery and forgot to turn on plane mode.

At 11 o'clock I woke up and I just could not turn on my phone. I took off the battery and put it back. Still not working. Then I connected it to a laptop and saw, the battery was down to 0%.

I mean, losing 42% battery with doing nothing in only 7 hours is crazy.

Well, I have a feeling something is odd with 2.6.1. I remember, 2.6 was running just fine (for me), but it has an error, as I read.

Btw, I am using the first battery-script (as Kennylegend) and in SetCPU there is standard ondemanx (set on booting) and nothing else is changed.
[Galaxy S II Original Android Development] grey77:
re-mounting is easy with the below scripts (for simple 1..2 partition disks). I use GScript Mod.

1st script to check file system and size:

#!/sbin/ext/busybox sh
fdisk -l dev/block/platform/s3c_otghcd/sd?

2nd script to unmount current read only one:

#!/sbin/ext/busybox sh
umount /mnt/usb/sda1
umount /mnt/usb/sda2

3rd script to re-mount as writable:

#!/sbin/ext/busybox sh
#insmod /lib/modules/fuse.ko
mkdir /mnt/usb
sleep 1
ntfs-3g -o rw /dev/block/platform/s3c_otghcd/sda1 /mnt/usb/sda1
ntfs-3g -o rw /dev/block/platform/s3c_otghcd/sda2 /mnt/usb/sda2

as for video decoding, in my case, 2.2beta6 (and presumably upto 2.2 rc3) versions dont have any troubles with CIFS unlike recent releases. In daily use I strongly rely upon watching 720P video and other NAS related stuff over CIFS.
[Galaxy S II Original Android Development] b2rdetor:
antutu - only example! i am not a benchmarkfreak

i have a problem with GTA3, 9mm games which i playing now. when i started a game cpu works with max freq, but after a few min cpu scales down to 800 and freeze that freq for a few min and game became like slideshow (GTA3 especcially), but no reason for scalling down because CPU have a max load.

also why 1400 isnt set with init.d, by 100 are setting fine with same script (generated with voltage control)???

with performance.zip scaling parms 0,2,2 - not 0,0,0, but ill tryed with 0,0,0 too - it better, but cant resolve MY problem.

and WHY with beta6 all works fine with max 1200 1400 1600??? by default parms with ondemand. rom apps the same both situations - no changes.

---------- Post added at 12:51 PM ---------- Previous post was at 12:33 PM ----------

imho tuning default governors like ondemand and conservative isnt good idea

may be conservativex ondemandxx for tweaked default governors.

or may be scripts tuning like batery performance - with tuned parms.

something strange but same parms working different on our phones.

its like display brightness - some phones more brighter (but less contrast) some not with same settings.

also may be your usage very different. i wrote that conservative unstable with min100 (it always tryed scales up to 200, 500, 800 - it looks like 100,100,200,100,500,100,800,200,100,500..., but when ondemand its more stable 100,100,100,100,100,800,100,100,100,100,200,100,100,100,500), scales up because cooltool running (update every 5sec) and ondemand work fine but conservative most of time sets 500-800. May be its a cause becouse its smoothness - CPU most of time sets midlle freqs - not min but not max.

but best for batery will be other mode - most of time low freq and not max.

best balance for a batary and performance - its a default ondemand (its not my words - just read some tests inda inet)

IMHO
[Galaxy S II Original Android Development] seaweeduk:
Try clearing dalvick and cache before and after you flash. Fixed it for me.....
[Galaxy S II Original Android Development] grey77:
well, we enable maximum performance settings (2 cores, max CPU/GPU/BUS frequencies, etc) and test overall performance. Just for reference. After that, we switch back to our balanced (smoothness/battery) settings, dont we? =)

As for me, smoothness for daily use (hardware videodecoding of local files, listening to MP3, internet browsing, office formats reading, etc) is ok even with 50-500Mhz range.
[Galaxy S II Original Android Development] hallydamaster:
I had a SOD yesterday with 2.6.1, and I never had one before!

I am running CM7 Nightly #116 with slightly UV, and no UC/OC!

Just funding it weird that it has never happened before, and I have been with Siyah since the first versions!
[Galaxy S II Original Android Development] xsycox:
Read my post/our posts here: http://xdaforums.com/showpost.php?p=20640751&postcount=14421

As if it was a Christmas thing. :)
[Galaxy S II Original Android Development] KcDaRookie:
Nope I only speak about my results which I always measure on the same settings like everyday usage, see the script in my signature which hasn't changes since some versions.

Still the benchmark results are getting lower from version to version and performance is just going right up to the sky.
[Galaxy S II Original Android Development] b2rdetor:
hm, seems like beta6 have bug too...

trying factory reset - may be some app...
[Galaxy S II Original Android Development] grey77:
So do I. I keep my init d script since 1.x that re-sets all the customizable stuff important for me in the kernel. Nonetheless, in my humble opinion it makes little to none sense trying to performance-mark some battery-balanced settings. ;)
[Galaxy S II Original Android Development] xavihernandez:
What ROM are you running on?

Other thing last time I told you people about issues to connect private wifi networks. I had to connect a public hotspot and then I was able to logon my network. It seems that it happens with radio KI4. I have flashed KI3 (which I had before) and it runs well. It may help some users.
[Galaxy S II Original Android Development] lutanica:
Hi mate

I'm running CM7.2 RC0 KANG.
[Galaxy S II Original Android Development] sahidmiah:
This is message to the dev and every body. I have tried all the kernels.everyone of them seems to works well but accept HQ videos issue. When ever I watch a full movie in YouTube half way through the movie. Picture starts to stutter or freeze stops freeze stops. This happens with all version kernels.if you want to checks this out.try playing MR BONES full.movie .forward to 1.05 minutes. Then u will see how it stutters.I also have galaxy s .that works fine.at this moment I am using shia kernel 2.6.1.from my experience shia is the best kernel out there. So thanks to his hard work for that
[Galaxy S II Original Android Development] lutanica:
Why did you quote my post in your post?! And I tested what you said... No freeze or lag. Most of the freezes and lags is because of people's OC/UV-settings.
[Galaxy S II Original Android Development] :
I know this is dev topic, but this is best I ever got with my sgs2 so far. Ok, it's quiet day, but still.. 2.6.1 battery, no sod or anything like.