yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] :
This is stable on my sgsii running miui with rc1:

#!/system/bin/sh
##################################################
## Voltage Control boot script by xan and nitr8 ##
##################################################
LOG_FILE=/data/volt_scheduler.log
rm -Rf $LOG_FILE

echo "Starting Insanity Volt Scheduler $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

echo "Set MIN Scaling Frequency" | tee -a $LOG_FILE;
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo ""
echo "---------------"

echo "Set MAX Scaling Frequency" | tee -a $LOG_FILE;
echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo ""
echo "---------------"

echo "Set Scheduler for stl, bml and mmc" | tee -a $LOG_FILE;

for i in `ls /sys/block/stl*` /sys/block/bml* /sys/block/mmcblk* ; do
echo "deadline" > $i/queue/scheduler;
echo "$i/queue/scheduler";
done;
echo "---------------";
echo "Set governor" | tee -a $LOG_FILE;
echo "ondemandx" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ""
echo "---------------"

#UV_BEGIN#

echo "Set UV" | tee -a $LOG_FILE;
echo "1400 1300 1200 1100 1000 900 875 850 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo ""
echo "---------------"

#UV_END#

#GPU_BEGIN#

echo "GPU clocks " | tee -a $LOG_FILE;
echo "100 267 " > /sys/devices/virtual/misc/gpu_clock_control/gpu_control
echo ""
echo "---------------"

echo "GPU voltages " | tee -a $LOG_FILE;
echo "850000 950000 " > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control
echo ""
echo "---------------"

echo "Charging current " | tee -a $LOG_FILE;
echo "350 300 250" > /sys/devices/virtual/misc/charge_current/charge_current
echo ""
echo "---------------"

#GPU_END#

echo "Insanity Volt Scheduler finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

Doesn't mean it will be on yours, but to get an idea.
[Galaxy S II Original Android Development] gundin59:
Cannot mount the usb in windows

Galaxy s2

CheckROM RevolutionHD 3.1.1
[Galaxy S II Original Android Development] cheewaca:
Are not you using values ​​too low to charge?
[Galaxy S II Original Android Development] aorifan:
has this issue been fixed yet? i've seen three people got this problem:confused:
[Galaxy S II Original Android Development] :
I always charge overnight so am testing if slow charge has some impact on battery life.
[Galaxy S II Original Android Development] xcarecrow:
So? until now, have you noticed improvement on battery life? or lasts some more?
[Galaxy S II Original Android Development] bgx:
+1 also do that so.. ;-)
[Galaxy S II Original Android Development] :
Well I just lowered it yesterday night so I'll need few more days to test. I'll sure let you guys know.
[Galaxy S II Original Android Development] yahyoh:
i didnt have any freeze with 2.2 Rc1 +lulzactive

do under voltage the cpu?
[Galaxy S II Original Android Development] xcarecrow:
if someone knows what are the changes gokhan made to lulzactive please tell me.

thanks.
[Galaxy S II Original Android Development] du.renato:
Same here... using Stock rom and standard Siyah values and no problem so far
[Galaxy S II Original Android Development] kyakaze:
Im using r1 with villainrom. Uv as in pic, lulzactive with 2cpu always on. No problem so far

Max 1200

Min 200
[Galaxy S II Original Android Development] gokhanmoral:
I know :)

I lowered DEFAULT_DEC_CPU_LOAD to 25 and increased DEFAULT_DOWN_SAMPLE_TIME to 90000.

but for the next beta I set DEFAULT_DEC_CPU_LOAD back to 30 and DEFAULT_DOWN_SAMPLE_TIME to 72000 because I found the problem with hotpluging (I guess)
[Galaxy S II Original Android Development] cmd512:
Running lulzactive here, no freezes after a night of use + charge overnight.
[Galaxy S II Original Android Development] xcarecrow:
good!! ready to test that! thanks!
[Galaxy S II Original Android Development] CamoGeko:
Same here. :)

Although have to say that I'm getting higher battery drain comparing to Beta 15. With the same config.

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
[Galaxy S II Original Android Development] terenceleechan:
Gokhanmoral,

I've managed to insmod lazy governor module and it appears correctly on voltage control. Have tried using scripts (droidphile helped me) so I can have lazy as my default governor on boot but it keeps returning to ondemand. Any suggestions? I'm using voltage control
[Galaxy S II Original Android Development] CamoGeko:
Try clearing data in manage applications, then reboot.

Transmitted from a Galaxy far far away via XDA lightspeed telepathy.
[Galaxy S II Original Android Development] kalpik:
You will probably have to add insmod <lazy governer> before the code that applies the lazy governer.
[Galaxy S II Original Android Development] droidphile:
Did you try adding the line to insmod the governor in /sbin/siyah/tweaks.sh

and setting governor in your init.d script, like i suggested?

Also give a "sleep 30" on top of your init.d script to make sure something else doesn't override your governor and frequency settings. Wait for a minute after reboot and see if governor is set to lulzactive. (Make sure script is clean by executing via script manager or so, if you have typed lulzactive wrong in your script, governor won't be set)
[Galaxy S II Original Android Development] gokhanmoral:
hmm.. I think I could not explain the purpose of tweaks.sh. it is not supposed to be changed.

if you change that file the changes will revert once you reboot because that file is in initramfs.

you can change it but changes will not persist.

you can overwrite the settings by using the same lines with different values from another init.d script.

tweaks.sh will be applied on boot and then your init.d script will run and change the parameters.

just check /sbin/siyah/run-init-scripts.sh file and choose an appropriate location to save your script.

make sure that the first line is "#!/sbin/busybox sh"

and give executable permissions.
[Galaxy S II Original Android Development] kalpik:
/sbin is in initramfs.. Changes wont persist..

EDIT: Heh.. Gokhan was faster :p
[Galaxy S II Original Android Development] b2rdetor:
2 gokhanmoral

so what about minimal brightness???

i have two galaxy s2 and one of them have a low brigthness by defaulf and dont need too lower brigthness tweaks (too low brigthness with them)

if i cant turn of brightness tweaks - may be kernel version without brithness tweaks

iam talking about that "lowered screen brightness using the same values in speedmod kernel"
[Galaxy S II Original Android Development] incubus_fr:
For a persistant boot script (and also persistant after kernel / non-wipe rom update) use /data/local/customboot.sh
[Galaxy S II Original Android Development] droidphile:
This is so true! The modification won't persists in tweaks.sh.

One solution could be use one init.d script to insmod the governor. And another script to set active governor with a sleep 20 on top. Also, alphabetically make sure script1 appears before script 2 :)

Or simply make use of run-init-script.sh to call the executable.
[Galaxy S II Original Android Development] gokhanmoral:
you'll have to wait for voodoo screen tuning app that supercurio is working on or my brightness curve modification. they will support modifying levels or the response curve. I will leave the brightness low as more people (including me) prefer it because it saves a lot of battery.
[Galaxy S II Original Android Development] minidou-77:
It's not a bug

Siyah kernel is not auto-root

look at the changelog of the 2.0 version in the first page it's written how to download the su package ;)
[Galaxy S II Original Android Development] gokhanmoral:
for v2.2, it is changed and we have auto-root support back.

I am checking that part again.

EDIT: make sure you don't have /data/.siyah/root-installed file
[Galaxy S II Original Android Development] droidphile:
Gokhan

Silly question. So cleancache will be enabled in rc2, for obvious reasons that there could be big improvements in page cache systems in multi-core environments.

Since pages in cleancache has unpredictable lifetime, will it be of any adverse effect in performance if our filesystem while trying to access a page in cleancache fails to fetch it since lifetime of the page in cleancache might be expired? Now it has to fetch the page from disk. So time is taken to fetch is more as compared to a normal fetch from disk...?
[Galaxy S II Original Android Development] b2rdetor:
brightness

ok ))

i tryed change

echo "0" > /sys/class/misc/brightness_curve/min_bl

or

echo "200" > /sys/class/misc/brightness_curve/min_bl

but i cant see any difference in image when minimal autobrightness

and

echo "24" > /sys/class/misc/brightness_curve/max_gamma

or "12" > /sys/class/misc/brightness_curve/max_gamma

max autobrigthness are only half from max when max-gamma 12

so i cant undestud what the min_bl do???
[Galaxy S II Original Android Development] Dukerth:
I came from a complete fresh install (wipe all from recovery, go to download without boot, and install XWKJ3 from odin)

I made a rollback after a few problems with jkay 13.1 themes in KJ3 yesterday, so if you want to test again when you release rc2, I will do it again.

Thanks.

EDIT: I found a .siyah folder in my actual KI3 installation, but is in /system, not data. Anyway, only "cwmmanager3-installed" in it.
[Galaxy S II Original Android Development] xBlackDroid:
I have more drained battery with rc1 than b15

CM7

Motorola Xoom, Overclock 1.4 Ghz, Tiamat Moray
[Galaxy S II Original Android Development] :
Check rc2 changelog.
[Galaxy S II Original Android Development] mavixda:
SiyahKernel v2.1

FEATURES

Can be flashed on Samsung ROMs and AOSP Based ROMS. Currently all Samsung 2.3.4 & 2.3.5 based ROMS, CM7 and MIUI ROMS are supported.

Based on linux kernel 2.6.35.14 + drivers from Samsung sources

Auto-Rooting

...........

.........

So v2.1 also supports auto-rooting :D

read features of v2.1
[Galaxy S II Original Android Development] minidou-77:
Sorry I don't read all the changelogs every time :-&

Shame on me...
[Galaxy S II Original Android Development] timberwolf60:
http://xdaforums.com/showthread.php?t=1319653

I thing you keep it as unrooted kernel is the best. Now we have an more easy rooting method by

dooMloRD then used DARKYROM2. to flash the tar file in the result we have no warning triangle and no binary counter increase.

If rooted kernel flashed by Odin, We will have warning triangle and counter increased. Need another step to get rib of the triangle and USB jig to reset the counter.

Easy rooting:

http://xdaforums.com/showthread.php?t=1319653
[Galaxy S II Original Android Development] mavixda:
I can not do without Auto-rooted kernel. That I should :rolleyes:
[Galaxy S II Original Android Development] xBlackDroid:
Thnx, waiting for rc2

Enviado desde Galaxy SII CyanogenMod
[Galaxy S II Original Android Development] gokhanmoral:
On-demand users: in rc2 I set the upthreshold to 95 which is default. If you find it lagging you can decrease it by using your favourite voltage controller or using the commented part in tweaks.sh in an init script. I will upload it in 20 minutes.
[Galaxy S II Original Android Development] Dukerth:
You are right, but I don't mind the yellow triangle at boot. I prefer to flash the kernel and forget the rest. And the counter... Well, Im at 15 custom flashes now, and I dont have the JIG, so if something bad happen... you know ;) I assume the risk.

Enviado desde mi GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] :
70 and counting and proud of it :D
[Galaxy S II Original Android Development] yahyoh:
ٌٌRc2 is up for download : www.gokhanmoral.com/gm/
[Galaxy S II Original Android Development] mavixda:
Me to
[Galaxy S II Original Android Development] gokhanmoral:
cleared after releasing 2.1...

"custom binary download: yes (200 counts)"

just flashed rc2.
[Galaxy S II Original Android Development] Dukerth:
Same with RC2,after KJ3 fresh install :(

Do you want any debug info before install cf-root and solve it?
[Galaxy S II Original Android Development] cmd512:
Yep, same here. All is well, the app drawer in ADW Launcher EX seems slightly choppier on lulzactive, but probably more to do with the launcher.
[Galaxy S II Original Android Development] eason101:
anyone else experiencing an issue with bt with aosp roms? I'm using miui and it would disconnect after half a minute. it doesn't seem to do this with the stock kernal. or is it just me?
[Galaxy S II Original Android Development] :
Ah well when I grow up I will be like you :D

Anyway, also just flashed new rc2 and Mobile Odin is nice, just flash zimage from anywhere so lets see..

Undervolted and testing deadlined conservative for a change.
[Galaxy S II Original Android Development] lpsi2000:
no issues with BT here. I have talking on the phone 20 mins with BT headset without interruptions.
[Galaxy S II Original Android Development] Vaedryn:
Rc 2 works fine ,no lag ,sd card works. Thank you again Gokhan :)

Greetings

SGS II Cyanogen Tapatalk
[Galaxy S II Original Android Development] scorpion667:
Scrolling lag is back due to this change. Was this causing issues or why was it reverted to stock?

So what was this set to in B16 and B15? Those were lag free.

cpufreq/ondemand/up_threshold: ??

I can not seem to modify up threshold using Voltage Control Extreme.
[Galaxy S II Original Android Development] gokhanmoral:
use setcpu and set up_threshold to 80.

it was causing power drain and I prefer a little lag (it is not even noticeable for me) instead of that drain.

if you prefer otherwise you have the option to change the settings.

look at the script /sbin/siyah/tweaks.sh

you will see two commented lines for ondemand. just run those.
[Galaxy S II Original Android Development] scorpion667:
Ah, yes I have a tendacy to be OCD with microstutter, it doesn't bother most people. I'm a little sad that it's not as smooth in RC2, but the battery life should increase quite a bit as a result, which appeals to more people =P

B15 and B16 were absolutely perfect in that regard, with B16 having significantly better battery life. While using CM7 Nightly 111 at least.

I plan on using B16 until ICS comes out, I've never had my phone this smooth before it's unbelievable.

Back to Samsung Rom tonight, what's bug free nowadays? It's been awhile
[Galaxy S II Original Android Development] du.renato:
I'm sooooo noob! Still under 20...
[Galaxy S II Original Android Development] eason101:
which rom are you using? I didn't have an issue with this kernal in the past with non aosp roms either.
[Galaxy S II Original Android Development] navdra:
There is problem with CWM Manager app in both rc1 and rc2 on Oxygen 2.3.2.

I get FC when I try to backup from CWM app.

I'm using 'Use internal storage' option, but it looks like it doesn't matter either it's on or off (just tried).
[Galaxy S II Original Android Development] Boonyard:
Battery life is incredible.

15h 35m with 2h 5m of screen time, data through wifi and 3g, syncing all day.

60% left.
[Galaxy S II Original Android Development] lpsi2000:
Galnet MIUI ICS
[Galaxy S II Original Android Development] raviluke:
WWOW...at 6:15 in the morning you check benchmarks?? lol
[Galaxy S II Original Android Development] terenceleechan:
I'm new at this. Just checked sbin /siyah/run-init-script.sh and I see it gives the order if what should run at boot. What should I do? Stick a script in one of these locations shown in the file? The script should contain the one that sets the governor? While the insmod should be in init.d script because it runs first?
[Galaxy S II Original Android Development] NXUS:
What's your setup like? Rom? Kernel settings? I want this good battery life

Sent from my GT-I9100
[Galaxy S II Original Android Development] antt00:
All scripts go to init.d. Just number your scripts to run the insmod first then only run the one that set the governor.
[Galaxy S II Original Android Development] shr33kant:
-off topic- I've been using CheckRom Revolution 3.1.1 without any issues. Has that added bonus of the kitchen for some customisation. Just be sure you have your modem ready to flash because it'll be KI1 when it's done with you :P.

-on topic- Just flashed RC2 and loving it :D Awesome work as always gokhan! No issues whatsoever using the aforementioned rom. The battery drain was getting a bit serious, I make a lot of calls on my phone every day and I was having to charge it twice a day!
[Galaxy S II Original Android Development] cheewaca:
With RC2 lag has returned. With RC1 no lag.

Stock rom KJ3 with kernel at stock values.
[Galaxy S II Original Android Development] fasst:
On RC2 and KJ3, lutzactive, no UV.

Reboot while browsing. Tried again, browsing and just a big freeze. After reboot the battery had dropped from 40% to 12%, in 3 minutes.

Back to b9, again. And everything is normal.
[Galaxy S II Original Android Development] omegajester:
Strange. RC2 runs great for me. Awesome battery life. Like I said previously, maybe it has to do with the fact that I use LauncherPro? I'm using lulzactive with custom battery values and I'm doing great...

Sent from my GT-I9100
[Galaxy S II Original Android Development] terenceleechan:
its enough to name them "script1" and "script2"?
[Galaxy S II Original Android Development] veyka:
S80insmod

S81govenor

Named like that, S(number)(script name)
[Galaxy S II Original Android Development] terenceleechan:
one last thing.

so for s80insmod i put the insmod script

for s81governor i can just rename my regular voltage control-generated script? thanks!
[Galaxy S II Original Android Development] veyka:
You dont need to rename the voltage control script, the script with the insmod in just need to have a lower Snumber than the voltage control script.
[Galaxy S II Original Android Development] terenceleechan:
voltage control script is named S_volt_scheduler with no number. so i just add any number higher then my inmod script? for example s1insmod and s2_volt_scheduler? thanks!
[Galaxy S II Original Android Development] veyka:
Update your voltage control and resave the script, the name should change to S91voltctrl so just call it s90insmod or whatever as long as the number is below 91
[Galaxy S II Original Android Development] terenceleechan:
thanks a lot!
[Galaxy S II Original Android Development] droidphile:
Anybody knows what's this new paramater "down_differential" in ondemandx, 2.2rc2? Is it in anyway related to sampling_down_factor. Ondemandx is reluctant to settle down when screen is idle (while on) at threshold 90/85/80. Jumping around too much.
[Galaxy S II Original Android Development] terenceleechan:
veyka,

i made a script s90insmod with the following lines

#!/system/bin/sh

insmod /lib/modules/cpufreq_lazy.ko

set the correct permissions and reboot, but lazy governor module does not load (can't see it in voltage control). did i do anything wrong? thanks!
[Galaxy S II Original Android Development] joeyfong:
Switched back to lulzactive from smartassV2, now there is no sod problem, very smooth.
[Galaxy S II Original Android Development] antt00:
How are you creating your scripts? Please use programs such as notepad++ to avoid any problems.
[Galaxy S II Original Android Development] terenceleechan:
i used root explorer.

edit:

even if i use notepad++ my insmod script is not working on reboot. any help? thanks!
[Galaxy S II Original Android Development] cmd512:
RC2 is a bit to dark for me, is there a good explanation of how to adjust brightness steps with scripts?

I revisited the first post, and there have been no updates to the faq...

Thanks in advance.
[Galaxy S II Original Android Development] terenceleechan:
near bottom of this post http://xdaforums.com/showpost.php?p=19519757&postcount=10699
[Galaxy S II Original Android Development] cmd512:
Just what I was looking for, thanks! That post needs to be in the faq.

(And if it already is and I just missed it, my apologies.)
[Galaxy S II Original Android Development] Boonyard:
Miui Galnet latest with siyah rc1, no tweaks, that's it!
[Galaxy S II Original Android Development] shahulvm:
First of all big thanks for this info. Secondly, I would be gald if someone could give me more info on this...

i) sched_mc_power_savings

Question

1 - does this give better battery life at the expense of performance

2 - does this a good balance between battery life and performance

ii) echo "35" > /sys/module/pm_hotplug/parameters/loadl_scroff

cpu1 to turn off when load is less than or equal to 35 %

Question

is this the load of both cores combined? or only the load of cpu1?

iii) Tweak brightness Response Curve

Question

Can you give some info on the powersavings we can gain here
[Galaxy S II Original Android Development] dubist:
Nice Kernel i love that ! :D

I have 2.3.5 and Siyah Kernel 2.1 Final .

Can anyone of you tell me how we can reach the Best Battery life ?

Actually i have smartassv2 and max 800 , min 100.
[Galaxy S II Original Android Development] alcurtis93:
Seen this people/@Gokhanmoral?

" xda-developers member threatened with lawsuit for exposing Android OEM tracking software bit.ly/rp43Aj "
[Galaxy S II Original Android Development] Mayday_XL:
I am back to RC1, RC2 runs not so smooth.
[Galaxy S II Original Android Development] the^one123:
VOODOO :)

hi,

used Voodoo Screen Tuning R&D app from Market to tweak Display. Very impressed of the clear white and sharpness with m2 gammaset on my SGS2.

But after restart settings are gone and i have to start the app and choose the m2 option. Is there a way to set it as default or set via init.d?

thx guys

theone
[Galaxy S II Original Android Development] nicregi:
Got to ask something. I am thinking of changing back to Siyah kernel. Should I got for 2.1 or the Beta and rc? What's your suggestions guys?

Send from my awesome Galaxy S II using XDA app
[Galaxy S II Original Android Development] gokhanmoral:
I've just read a great post about some parameters in tweaks.sh and more.

everything is nicely put together: http://xdaforums.com/showthread.php?t=1292743
[Galaxy S II Original Android Development] Auridran:
So, for me at least, the dynamic hotplug lag has returned with RC2. Possibly even before RC2, but it was fine for all the betas.
[Galaxy S II Original Android Development] aegeuss:
Any Sound Problem?

Hi guys,

I am constantly updating my kernel and now I am on RC2, however I have another problem which has not been said so far. If my ears do not lie to me, the in call volume has gone down for recent kernels, which I think was very good after Gökhan started using patch2 updates from the Samsung. Now I can hardly hear and understand the other party both with built in speaker and headset.

Gökhan, did you change any values concerning the audio, esp. in call volume? And are there any others who have a similar problem like me? I don't want to know that I am getting deaf here :))
[Galaxy S II Original Android Development] gokhanmoral:
no, I did not change anything call or volume related.

it may be a side-effect of something else but I don't know what it might be.
[Galaxy S II Original Android Development] cheewaca:
With RC2 i changed up_threshold to 80 and lag is still present.

I´m Back to RC1, for now, beta 9 and RC1 are the most powerfull of all.

Stock rom KJ3 and kernel at stock values.

Thank´s for your work.
[Galaxy S II Original Android Development] lrbpereira:
Using Siyah for a quite long time and I found it stable and a plus for CM7 roms!

Can it be possible to activate two ways call recording using CallRecorder 1.0.41?

https://market.android.com/details?id=com.skvalex.callrecorder
[Galaxy S II Original Android Development] hawkerpaul:
On every beta after Beta6, I have been having screen freeze issues.

The home+power key responds, but the screen does not respond to any input at all, and I have to long-press the power button to switch off and reboot.

I've narrowed it down to a screen-off profile in SetCPU:

max 500, min 100, priority 100, conservative.

if i disable this, then no freeze

This profile worked without a problem in beta6 and earlier, but in no version after