yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] gokhanmoral:
exactly..

kernel uses purely integer arithmetics (except for some very tiny part maybe) and using those fpu blah blah options has no effect.

-O2 is already good enough for balanced stability and speed...

I used some other parameters anyway, even though they may have very little or no effect.

I think I will remove most of them in the next release.

I think jhash, sha1 and crc implementations and code optimizations make huge difference but compiler optimizations are almost worthless..
[Galaxy S II Original Android Development] Milchbeck:
Where can download? Can you send a link? Please?

Thank's I Found this on First site
[Galaxy S II Original Android Development] andrewin:
Dear gokhanmoral,

Thank you very much for a great job.

Now running 2.1.1 with sio + conservative (lulzactive is good but takes ages to wake up while ringing; smartassv2 is good but not when running Asphalt 6).

Can I ask you one question: What is the status of CIFS support in your kernel?

Is it embedded of requires additional cifs.ko module?

I've tried several modules, but no one could be loaded ("invalid module format"), I guess CIFS module should be compiled together with kernel?
[Galaxy S II Original Android Development] chadouming:
I have a lot of hang when unplugging USB. It's not the whole phone who's crashing, it's more like the framework crash. I still have my live wallpaper working, haptic feedback and i can screen off/screen on but there is nothing else working.
[Galaxy S II Original Android Development] GDT:
Sprinkle works fine here, I'm on the same rom, sprinkle 1.5 and chainfire 3.3 pro (paid).
[Galaxy S II Original Android Development] kartalgurhan:
Ok ...about bus freq... Here's what i did and achieved... I did the following using Script Manager:

#!/system/bin/sh

echo "enabled" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static

echo "1 1 1 1 1 1 1 1" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static

The values in /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static changed as above.

Hope this helps & means anything to somebody ;)
[Galaxy S II Original Android Development] GDT:
Is there any gui/app for changing bus freqs?
[Galaxy S II Original Android Development] chadouming:
Gokhanmoral is cooking one :D
[Galaxy S II Original Android Development] gokhanmoral:
cifs module is in /lib/modules

you can "insmod /lib/modules/cifs.ko" to have it loaded.
[Galaxy S II Original Android Development] akira888:
Could anyone tell me whether the governors in the latest version are as smooth as the unmodified ondemand governor. B4 I always didn't feel like using this kernel due to that jerky response.

Any colour oversatuation tweak? Coming from speedmod kernel, feel like the colour is overly done in this kernel.

Thanks guys.
[Galaxy S II Original Android Development] gokhanmoral:
I did not finish with usb modifications. it requires some more time...

I have to implement different usb code execution paths for cm7 and samsung roms. I didn't want to have any problems in samsung roms in this release and did not implement it.

also, there are still some new concepts I need to learn in usb drivers.

by the way, I received my OTG cables yesterday and I think ntfs automounting will be available in near future :)
[Galaxy S II Original Android Development] andrewin:
Thanks a lot!
[Galaxy S II Original Android Development] gokhanmoral:
I don't want to release 2 different versions and, sorry, I favored samsung roms in this release :) cm7 behavior has more problems in samsung roms than samsung behavior in cm7 roms...

cm7 users generally have more advanced skills and they can find other ways to achieve goals.

but that doesn't mean that I will let them suffer :p
[Galaxy S II Original Android Development] lambstone:
Perhaps you could elaborate further?

Sent from a Galaxy S 2 Far Away
[Galaxy S II Original Android Development] gokhanmoral:
one more thing I want to note is that: please keep in mind that it's been only 1.5 month since the first release.

before than, I was only compiling "near-stock" kernel for myself just for fun...

I wasn't expecting this many of posts and interest from the users...

1+million views and 8000+ posts in a month is not bad at all :)

thanks to all of you for your support and and also for your patience with all those beta releases. ;)
[Galaxy S II Original Android Development] gokhanmoral:
read the file /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static with a text viewer.

all the information you need is in that file.
[Galaxy S II Original Android Development] tanoxxx:
thank you for your great work :)
[Galaxy S II Original Android Development] terenceleechan:
gokhan,

is it possible to make 3d performance for games smoother in future releases? i really like all the features/flexibility your kernel brings but games like real football 2011 stutter like crazy. in other kernels like ninphetamine and speedmod the stutters do not occur. i am on stock voltage and no undervolt siyah 2.1.1
[Galaxy S II Original Android Development] gokhanmoral:
for 3d performance increase, I will suggest you to fix gpu steps (both of them) to 267 mhz (or even 400, but that would require overvolting) and set bus frequency level to 0 for all frequency steps..

just echo "0 0 0 0 0 0 0 0" to /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static and then echo enabled to that file.

then 3d performance should be way better than stock.
[Galaxy S II Original Android Development] Molitro:
You're doing a good job, and on top of that giving us what we want.

I'm going to use 2.1.1 to see how the battery behaves. In this second try it seems to be performing well as far as smoothness is related.

I hope I see the 1% every around 2 hours I had on b16.

Enviado desde mi GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] terenceleechan:
thanks will try it. how do i do the second part "echo enabled to that file"? i can use gscript to set bus frequency level to 0?

edit:

okay i can see how to echo enable in post above. thanks! but what are the stock bus frequencies so i can return them to stock when im not playing a game? do i also have to echo enable when returning to stock bus frequencies?
[Galaxy S II Original Android Development] chadouming:
you are the guy :D
[Galaxy S II Original Android Development] lambstone:
so I am assuming that echoing it to 2 would result in largest battery savings because of smaller freq steps?

Sent from a Galaxy S 2 Far Away
[Galaxy S II Original Android Development] jdmcivic:
at what expense will it affect the phone if bus speed tweaking is applied. i know that phone will operate faster since data speed is across bus is increased.

batt life would be affected much?
[Galaxy S II Original Android Development] gokhanmoral:
yes, echoing 2 for 8 times (i.e. "2 2 2 2 2 2 2 2") will result in using 133MHz for all frequency steps.

there may be memory or bus bottleneck when using 1200MHz but it will save battery.

there are 3 steps: 0, 1 and 2

0 = 400MHz, 1 = 266MHz, 2 = 133MHz

I will introduce another step in between of 1 and 2 in the next version (166MHz) and maybe change the scaling decisions a little bit...
[Galaxy S II Original Android Development] tolis626:
Gokhan,I have a proposal regarding the threads about your kernel to avoid stupid questions in the thread that is about development.Just swap the two threads!That way,all those idiots who can't understand that questions(Not all,you know whic questions I'm talking about) are for the Q&A section will come to development but post in the Q&A thread! :p

Anyway,enough bull****.I've been checking bus frequency options and I absolutely have to ask.400MHz is stock frequency or overclocked frequency?That and the schizofreniac's question.Can we overclock it past 400MHz?Like,say,533Mhz?If yes-WOW!If not...Well,still-WOW! :D :p

2.1 is awesome by the way.Didn't bother with 2.1.1 yet.
[Galaxy S II Original Android Development] lambstone:
Nice. All done. Time to see if I observe any battery savings and performance trade off

Sent from a Galaxy S 2 Far Away
[Galaxy S II Original Android Development] jdmcivic:
you wanna know why people still post questions here instead of q&a thread?

thats because gokhan doesnt reply in that thread! would u rather direct your questions to others or to gokhan himself that knows his kernel best?
[Galaxy S II Original Android Development] gokhanmoral:
we can use 533MHz and that was the reason why one of the 2.1 betas was the most unstable release in siyahkernel history... I forgot to rollback that experimental modification in that beta :p

but let's have the second wow for now. I am not sure if it can be stable or not, but we'll see in 2.2beta :)
[Galaxy S II Original Android Development] gokhanmoral:
good point :)

I should start answering questions in other thread and never answer user questions here, but only development related questions.
[Galaxy S II Original Android Development] tolis626:
I clearly stated that I'm referring to a certain type of questions.You know the "I'm an idiot and can't read the first post" type of question?I have no problem with the guys asking about things such as new features or problems with SoDs,but all those idiots asking things like "How can I overclock my CPU?" or "How do I root my phone?" don't belong in any thread in development.If you,or someone,disagrees,I'll be glad to hear your opinions.

And to answer your question.Such simple questions,or stupid ones,can be answered by anyone who knows the basics about Android in that thread.It doesn't need Chuck Norris to tell you how to root. ;)

---------- Post added at 04:13 PM ---------- Previous post was at 04:11 PM ----------

You are going to let me test that one first man.I don't accept no as an answer! :p

Anyway,maybe it'll need more voltage...
[Galaxy S II Original Android Development] jdmcivic:
lol.anyway i dun quite get this bus thingy.

since by default it is disabled, what is the settings its running on when stock untouched form? or its it not running at all??
[Galaxy S II Original Android Development] terenceleechan:
+1 10chars
[Galaxy S II Original Android Development] Yoyoa:
Very good kernel at all, it's my favorite now, all is working great!!!

I noticed just one little things with lulzactive, when i listen music after my screen off, my music become crapy, with smartass2 all is fine. Anyone noticed this thing?

By the way it's not really important :)
[Galaxy S II Original Android Development] SpaceCeph:
Same here.
[Galaxy S II Original Android Development] recz:
2.1 is very bad can` go down under 875 bit 2.0 can so remove 2.1.1
[Galaxy S II Original Android Development] desean:
if you read /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static, i believe the stock bus frequency is already shown there
[Galaxy S II Original Android Development] chadouming:
LOL, why should he remove test release because YOU can undervolt like you want ? Stick with the stock kernel or use Speedmod dude.
[Galaxy S II Original Android Development] jdmcivic:
but the first line states its disabled.

disabled as in? custom settings are disabled or the other? cos when u enable it, stock settings are applied. do i need to.enable for the stock.values to be functional? confusing
[Galaxy S II Original Android Development] Muchoaliento:
Same thing here but on RC3 and Poweramp 2.0 beta 3 I think. Had to switch to smartass2 in order to restore audio quality
[Galaxy S II Original Android Development] Schindler33:
I dont know what the stock frequencies are but this file just overrides them. In older kernels this file is not created so I assume this file is the tool gokhanmoral implemented to easy change the frequencies.
[Galaxy S II Original Android Development] hjrxda:
Now I have to quote myself ,-)

I have testet v2.1.1 now. The cpu-state enters deep-sleep as it should be.

To validate the behavior in v2.1, I switched back to it and what can I say? Still no deep-sleep with v2.1. So, I don't know what changes in detail have been made ​​by you, Gokhan, but they were the right. v2.1.1 runs very well now.
[Galaxy S II Original Android Development] jdmcivic:
awaits gokhans.reply

weird cos a user here commented that his 3d games especially real football 11 is stuttering like crazy while on stock form. no oc/uv. gokhan suggested upping the gpu and bus freq.

myself, i am undervolted and uc 100-1200

ondemand profile. my games run smooth. asphalt 6 and rf11 no problems at all.
[Galaxy S II Original Android Development] kalpik:
May I know what the difference in config is? For me, 2.1 seems smoother than 2.1.1. Maybe you should should look at maintaining 2 versions? :D
[Galaxy S II Original Android Development] joeyfong:
For my own feeling, 2.1rc2 still the best
[Galaxy S II Original Android Development] desean:
Did you even see kartalgurhan's post on how to enable and change the bus frequency? This file is not the tool. If you are not comfortable with creating your own init.d script then I suggest you wait until the tool is released.

This is the output when it is enabled and changed correctly.

cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static
1600mhz: 2 mV
1400mhz: 2 mV
1200mhz: 2 mV
1000mhz: 2 mV
800mhz: 2 mV
500mhz: 2 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)
[Galaxy S II Original Android Development] jdmcivic:
im not asking how to enable or how to edit the values. what i wanna know is what are the settings by default? is it the one on the script itself? if yes, are the default settings functional in siyahs kernel stock form since the busfreqstatic states it is disabled by default or do i need to enable it for it to function.
[Galaxy S II Original Android Development] Schindler33:
Yeah I know. But I think that this file did not exist on older kernels.
[Galaxy S II Original Android Development] and1_vj17:
thanks to u now i have a new hobby : flashing! :D
[Galaxy S II Original Android Development] karlesg:
If I remember correctly gokhanmoral said that there are not default fixed values. The bus clock is determined dynamically.

So by enabling these values you enforce the bus clock at certain fixed steps according to cpu frequency. If you don't enable them, the system dynamically decides which is the best bus clock depending on load and cpu frequency I guess.

If I'm wrong please gokhanmoral correct me.
[Galaxy S II Original Android Development] xuxuzao:
do we have this enabled on siyah?

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

tks
[Galaxy S II Original Android Development] jdmcivic:
yes thank you. that explains alot why its named "static"
[Galaxy S II Original Android Development] kartalgurhan:
Reporting:

I have echoed 2's for all freqs and been testing for the last 3 hrs.... Lulzactive, sio, siyah v2.1.1, 75-200-300-800, Uv'ed slightly.

No SODs, no freezes, no problems whatsoever, except the fact that lulzactive lets me pick up the phone in 3 seconds... Everything else is smooth.

I wonder if anybody can explain (gokhan?) if the savings on the bus freqs are drastically higher than a heavy CPU UV'ing? Or -again- a minor improvement on the battery juice?

Regards
[Galaxy S II Original Android Development] Schindler33:
I am wondering this too, but I think it is up to us to find it out and discover how much we will benifit.

I am on 133 MHz (mode 2) for an hour and tried different frequecies. No problems or differences so far.
[Galaxy S II Original Android Development] psychoid:
i think it is enabled by default. cmiiw ;)
[Galaxy S II Original Android Development] xuxuzao:
i dont think so

i've made the test and the problem was on

when u start moving your finger, it is a little bit laggy and jumps, like the video
[Galaxy S II Original Android Development] Auridran:
Yup. It's set to 8 rather than 0 though.
[Galaxy S II Original Android Development] energie:
2.1.1 and MIUI .28, sio and lulzactive, no problems so far.

Even waking up is fast enough:)

great work;)
[Galaxy S II Original Android Development] xuxuzao:
why not 0?
[Galaxy S II Original Android Development] davelinders:
Strange with OC to 1600 on lulzactive and ondemandx and voltage on 1425 I

get not higher then 5900 with antutu and with quadrant not higher then 6800.

With speedmod I get with no OC 6186.

What am I doing wrong then with the OC settings?
[Galaxy S II Original Android Development] Drazen2003:
Maybe it has been reported yet but using 2.1final one needs to make a wipe dalvik cache each time the phone is rebooted because the content of the sdcard is not shown.

Anyone can tell if the bug is solved in 2.1.1 or any other truck for not having to make the wipe dalvik cache in each reboot?
[Galaxy S II Original Android Development] BoneMo:
i am running 2.1.1 and can see /sdcard content.....rebooted.....still can see /sdcard content without any wiping dalvik cache
[Galaxy S II Original Android Development] xuxuzao:
is it possible to remove that super user messages that appear everytime i unlock the phone?
[Galaxy S II Original Android Development] galanakop:
with 2.1 dk oc 1600 perfomanse
[Galaxy S II Original Android Development] davelinders:
Did you only set it to 1600/performance and what is it giving on ondemandx?
[Galaxy S II Original Android Development] stylez:
Superuser has "not show messages" in options ;)
[Galaxy S II Original Android Development] R16:
I think smartassv2 is better, in my opinion of corse.
[Galaxy S II Original Android Development] gokhanmoral:
there is nothing wrong with the gps driver.

it works for me and it can work for you if you reset the AGPS data.

use gps status application from the market, reset agps data and download it again.

then it will work. it has nothing to do with the kernel as long as the gps driver can communicate with the gps device, and it does...
[Galaxy S II Original Android Development] dkflint723:
Great kernel! So far the only issue that I've seen on my SC-02C with the ntt v1.7 is that my 1Seg TV no longer works. Not that this is really a huge issue, but it would be nice to have it working along with this awesome kernel.
[Galaxy S II Original Android Development] hausmanis:
Changed the S99GPUV in System/ect/init.d/ to 114/133 and 800000 / 850000 phone is stable, do you reccon this is agressie UV numbers or could i go even farther down without risking instability ? i know this is different for different phones but i got no clue about what is high and low numbers here, would realy love some hints

And about the govenors, is conservative still the most effective batteryefficient govenor ? im currently using it and i dont feel my phone is slow or anything so only reason i would change to smartassV2 is if i can get even more juice out of it.
[Galaxy S II Original Android Development] TheMatrix2000:
hmmm.. same issue here. I use the script in init.d mentioned some pages back.

I can't set the USB value wright.

When i delete the script and reboot the USB value switch back in original state of 450.

Has anyone noticed also. I can't fix it.
[Galaxy S II Original Android Development] CA3iR0:
smartassv2 is more effective and efficient IMHO. I always used it and with some heavy use I always get 2-3 days of battery.
[Galaxy S II Original Android Development] hausmanis:
Could any other batteryfreak share theire GPU UV settings please
[Galaxy S II Original Android Development] chiggah:
Just tested with 1.7 RC3 with VillainROM 2.5

Battery feels like its better than Beta3.

I'm still at 99% after 1.5 idle and 10 minutes on screen time
[Galaxy S II Original Android Development] ebliss:
hi,

I had no problems with rc1 with freq 100 to 1600. but with rc3 and the official release, my phone either hangs or self reboot after a while. no UV, no uc. no init.d scripts. running vr 2.5.
[Galaxy S II Original Android Development] beaver2233:
try changing min to 200
[Galaxy S II Original Android Development] ebliss:
Well, that defeats the purpose of why I use this kernel then. And besides, rc1 was ok with min of 100.
[Galaxy S II Original Android Development] juanyunis:
When you said NTFS support in features, that means that support SDCARD NTFS FileSystem? So if i format my sdcard to NTFS, my device could read it?

Also, thanks for your work, is really nice.
[Galaxy S II Original Android Development] jasonkx:
Anyone got any overheating while chargin???

Ive got one today and my phone crashed had to remove battery...
[Galaxy S II Original Android Development] DarkDwarf:
Yep, this morning I woke up next to a heater!

I was on Siyahkernel 1.7 with UV,no OC, ondemand, with Lite'ning 6.1.
[Galaxy S II Original Android Development] dandroid13:
Happened with 1.6 here. 1.7 is fine so far. :)
[Galaxy S II Original Android Development] Остап:
In 1.7 touch improved ! Awesome !
[Galaxy S II Original Android Development] frankcilo:
Hi Gok, can you insert compatibility with daemon dual core tweak?
[Galaxy S II Original Android Development] kartalgurhan:
Exactly the same problem here.... anybody any ideas???

Thanks
[Galaxy S II Original Android Development] rinoa19:
Rom:Lite'ning 5.0

Kernel: Siyahkernel 1.7, no OC, UC to 100mz, smartassv2, UV -50mv (or even -25mv) for each stock voltage

Issue: sometime can not wake from sleep, with stock voltage is back to normal. problem is my phone??? or the kernel...

...Thanks advance...;)
[Galaxy S II Original Android Development] hayspat:
I've upgraded su to 3.0 w/o any problem. But when i rebooted the phone it was downgrading to 2.3. I think your auto-root script did that. Can you upgrade your script to compatible with 3.0?
[Galaxy S II Original Android Development] YoungMuscle:
Since I've added a new init.d script, I'm getting BLs.

What is wrong with this script?

95CpuManage

#!/system/bin/sh

#CPU Frequencies
AWAKE_MIN="100000"
AWAKE_MAX="1200000"
AWAKE_GOV="lulzactive"

SLEEP_MIN="100000"
SLEEP_MAX="500000"
SLEEP_GOV="conservative"

#CPU Frequency
FREQ_MANUAL="true"
FREQ_STEP_1="1600"
FREQ_STEP_2="1400"
FREQ_STEP_3="1200"
FREQ_STEP_4="1000"
FREQ_STEP_5="800"
FREQ_STEP_6="500"
FREQ_STEP_7="200"
FREQ_STEP_8="100"

#Misc
PROFILE="true"
LOGFILE="/sdcard/external_sd/sysvalues.log"
LOGMODE="1" # Logmode 0=Console only | 1=Startup | 2=Every Change #

#================================================= ===============================================#

if [ -f $LOGFILE ] ; then
rm -f $LOGFILE
fi
if [ "$LOGMODE" = "1" ] || [ "$LOGMODE" = "2" ] ; then
touch $LOGFILE
fi
###########################
# Setting CPU Frequencies #
###########################
if [ "$FREQ_MANUAL" = "true" ] ; then
if [ "$LOGMODE" = "1" ] || [ "$LOGMODE" = "2" ] ; then
echo "Set Frequency Table" | tee -a $LOG_FILE;
fi
echo "Set Frequency Table"
echo $FREQ_STEP_1" "$FREQ_STEP_2" "$FREQ_STEP_3" "$FREQ_STEP_4" "$FREQ_STEP_5" "$FREQ_STEP_6" "$FREQ_STEP_7" "$FREQ_STEP_8 > /sys/devices/system/cpu/cpu0/cpufreq/freq_table
fi
echo "Setting CPU to "$AWAKE_MIN"-"$AWAKE_MAX
echo $AWAKE_MIN > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo $AWAKE_MAX > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
####################
# Setting Governor #
####################
echo $AWAKE_GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
####################
# Starting Profile #
####################
if [ "$PROFILE" = "true" ]; then
if [ "$LOGMODE" = "1" ] || [ "$LOGMODE" = "2" ] ; then
echo `date +%X`" - Profile activated" | tee -a $LOGFILE
fi
echo "Profile activated"
(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/offline
echo "0" > /sys/devices/system/cpu/cpu1/offline
chmod 444 /sys/devices/system/cpu/cpu1/offline
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 &)
fi