yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] alcurtis93:
Set it to 20000 minimum not 10000
[Galaxy S II Original Android Development] gabx:
How to use correctly Siyah kernel functionalities

Hi folks,

I use Siyah Kernel with cm7 nighties for a while now. I fine tune my Kernel voltage via Voltage control light.

I follow this thread (I must say I TRY to follow this thread) in search of a good understanding to how it should be fine tuned. I must admit that with more than 850 pages, it is IMPOSSIBLE to understand anything correctly, even if you do your best.

So I wonder if it could be possible to make some cleaning in this thread.

1-At the begining, have a good How To about anything regarding Voltage/Bus frequencies control, and init.d scripts

2-A separate (as it has been suggested) Q& A answer for basic questions.

3-a REAL dev thread, only for improving the Kernel.

I do think it is in everybody interest to make a good spring cleaning, so we can find EASILY the info.

TY to mods to do something.
[Galaxy S II Original Android Development] dica:
From Superuser app's setting
[Galaxy S II Original Android Development] droidphile:
For "sleeping", you have to echo "0" to cpu1/online. Not "offline".

Also the line before and after for changing permissions, use "cpu1/online".

Is there a file called "offline" there btw?!
[Galaxy S II Original Android Development] mavixda:
CHANGELOG

SiyahKernel v2.1 - not released yet -

I still see it by changelog. is it still not released ?
[Galaxy S II Original Android Development] KcDaRookie:
Is there any link for v 2.0?

I didn't find it at the blog and 2.1.1 is killing my device almost immediately, it sometimes won't start at all or freeze at media scanning process...

I want 2.0 back, please!

edit: I read somewhere putting minimum freq to 200Mhz could fix this issue..

I'll try this and if the phone still is freezing I'll just flash CF-Root kernel until I find Siyah 2.0 kernel or 2.1 kernel is stable to use.

Btw: is it just me or is 2.1.1 a lot smoother everywhere?

Somehow it seems to respond quicker and smoother while scrolling through menus etc.. like that ^.^
[Galaxy S II Original Android Development] BoneMo:
of course that the v2.1.1 is released..it is final...it is only not edited post :)

can be downloaded in first post´s attachments

---------- Post added at 08:08 PM ---------- Previous post was at 08:04 PM ----------

well maybe you have some bad settings because it works without problems,freezing whatever for me.....try change your settings,voltages..ROM ?

but there is 2.0 http://www.aideadsl.com/sgs2/kernel/Siyah-v2.0-CWM.www.aideadsl.com.zip

i have CM7+Siyah 2.1.1 kernel+sio scheduler+lulzactive governor

Voltages:

1600Mhz 1350mV

1400Mhz 1250mV

1200Mhz 1150mV

1000Mhz 1075mV

800 Mhz 1000mV

500 Mhz 925mV

200 Mhz 850mV

and it WORKS
[Galaxy S II Original Android Development] Chris X.:
Hey guys!

Why at the end is standing "mV"?

Can anybody help me?

Pls look @ the pic.
[Galaxy S II Original Android Development] djunited:
tried to play with the gpu clock using voltage control but did not notice any change when playing games like asphalt 6 hd and modern combat 2. set high at 400mhz and kept low at stock. i noticed asphalt 6 lags a little bit when there are too many cars on screen and smoothens out when there are none. did not use to happen on stock cm7 kernel. running cm7 #96 with siyah 2.1.1
[Galaxy S II Original Android Development] KcDaRookie:
Thanks BoneMo, will flash this if I still have problems with freezing...

I used the same settings as with 2.0 kernel and also increased the voltages by 25 to 75 mv.

It seems to work now without freezing with theese seetings:

200 - 1000MHz on smartassV2

200@ 850mv

500@ 925mv

800@ 1025mv

1000@ 1150mv

Before it was at 100 - 1000MHz

and 100 was at 775mv, now it crashes if I activate 100MHz at all, also if its on 825mv..

I guess it really is an issue with freq < 200MHz... I like the smoothness but I have to see how batterylife will change with these new settings..
[Galaxy S II Original Android Development] Piretia:
ICS

gokhanmoral

I have the rom ICS MIUI Development Public Build: 1.11.2, android 4.0 :eek: with your kernel and this super super fast

good work
[Galaxy S II Original Android Development] BoneMo:
there is nothing wrong with 2.1 from 2.0 just increase voltages :)

with 2.1 you need to increase voltages because it is based on update3 from samsung.....i have same experience...min must be 200Mhz....

also from my experience....when phone cannot wake up after some time = not enough voltage on lowest speeds like 200Mhz....when phone is crashing,,suddenly rebooting, freezing = not enough voltage on highest speeds like 1.4-1.6Ghz
[Galaxy S II Original Android Development] KcDaRookie:
For now it seems to work on these settings, but I will remember your hints if the phone crashes again and will tune the voltages a little bit more.

Thanks for your help BoneMo.
[Galaxy S II Original Android Development] gokhanmoral:
it is just a copy&paste leftover :)

I will remove that mV thing in the next release. I just copied & pasted the return statement from the uV interface and forgot to remove those mVs..
[Galaxy S II Original Android Development] kuzotronic:
Using CheckromHD 2.0/ICS V2 theme with siyahkernel 2.1.1, the internet browsing is smooth compared to 2.1, but i've noticed that my voltage control doesn't set the values after reboot. i saved them as boot settings but it still reverts to stock.

Does anyone have the same issues?
[Galaxy S II Original Android Development] m00moo:
hmmm my phone is now stuck in the MI boot sreen after crashing. Any idea how to jump start it please?

reinstalled MIUI over again and all fine. Just need to restore the Kernel again thx
[Galaxy S II Original Android Development] xuxuzao:
looks like battery is draining fast on 2.1.1

using official miui 1.10.28

just me?
[Galaxy S II Original Android Development] m00moo:
My Antutu Bench appears to crash at the last Knight part when it is swinging its sword. I UC my GPU by 50mV each. That cant be too much right? Could anyone tell me if the knight crashing is normal? thanks
[Galaxy S II Original Android Development] Auridran:
Why would you ever think anything crashing is normal?

Put your voltages back up, run it again, and see if it still crashes.
[Galaxy S II Original Android Development] chadouming:
Crashing is never normal xD. I can end antutu benchmark easily. Did you OC to 400 mhz ? If yes, then try lower this first. Your phone might not handle that. If you just UV by 50mv, then try remove the UV and try bench again. If it still crash then there might be a trouble.
[Galaxy S II Original Android Development] m00moo:
sorry when i say crashing I mean the knight freezes but the test still completes. At 1.4ghz i get about 6902 on my bench. I just watched a video on Youtube of the benchmark and on that video the knight video stops and it does a SD test. I think it may be doing the SD test while the screen is still showing the knights.
[Galaxy S II Original Android Development] fasst:
Does anyone have an indication of, on 2.1.1, what the mA draw is in deep sleep, or is it to many variables involved to have a reading that could be a "guideline"?

Mine, the last 2 hours in deep sleep, has a draw of -14mA. (Battery Monitor Widget). Sometimes, after boot, and directly into deep sleep, I have earlier seen -2mA for hours, but I don't know how mutch I can trust the readings of these battery monitor apps.
[Galaxy S II Original Android Development] Molitro:
The messurment that you could trust is, in any case, the difference between moments. An absolute messure (like, right now there's a 2 mA drain) will be probably off. But if you want to compare different states, try different sync options, and such, you probably can use it to have a notion of what drains more, and maybe how much more.
[Galaxy S II Original Android Development] frankcilo:
With 2.1.1 uv script not work, voltages set by me not change.

Why?
[Galaxy S II Original Android Development] m00moo:
ok turned all my voltages up and will toggle each one down -25mV at a time and run a Bench to see which is causing the problem. Outside of bench it appears to run fine though but for stability purposes 100% i will find out the hard way :)
[Galaxy S II Original Android Development] myakove:
My setting, so far stable.

--[Kernel]--

2.6.35.14-Siyah-v2.1.1

--[Voltages]--

1600mhz: 1425 mV

1400mhz: 1325 mV

1200mhz: 1150 mV

1000mhz: 1050 mV

800mhz: 950 mV

500mhz: 850 mV

200mhz: 850 mV

100mhz: 850 mV

--[Max Freqency]--

1200000

--[Min Freqency]--

200000

--[Active Governor]--

lulzactive

--[IO scheduler]--

[noop] deadline cfq bfq sio vr

--[GPU Voltages]--

Step1: 950000

Step2: 1000000

--[GPU Freqencies]--

Step0: 160

Step1: 267

--[charging current]--

AC: 950

Misc: 950

USB: 450

--[bus freq]--

1600mhz: 0 mV

1400mhz: 0 mV

1200mhz: 0 mV

1000mhz: 2 mV

800mhz: 2 mV

500mhz: 2 mV

200mhz: 2 mV

100mhz: 2 mV

bus frequency static mode: enabled
[Galaxy S II Original Android Development] poyda69:
myakove

What app are you using to set these values?

Thanks.
[Galaxy S II Original Android Development] myakove:
It's script that someone posted here earlier.

#!/system/bin/sh
#Checking Stuff to see if init-scripts work as intended

echo "--[Kernel]--"
echo $(uname -r)
echo "--[Voltages]--"
cat /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo "--[Max Freqency]--"
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "--[Min Freqency]--"
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "--[Active Governor]--"
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "--[IO scheduler]--"
cat /sys/block/mmcblk0/queue/scheduler
echo "--[GPU Voltages]--"
cat /sys/devices/virtual/misc/gpu_voltage_control/gpu_control
echo "--[GPU Freqencies]--"
cat /sys/devices/virtual/misc/gpu_clock_control/gpu_control
echo "--[charging current]--"
cat /sys/devices/virtual/misc/charge_current/charge_current
echo "--[bus freq]--"
cat /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static

echo "--[Done]--"
[Galaxy S II Original Android Development] kremator:
Can You post a step by step guide ? I am completely lost in this mega thread ?
[Galaxy S II Original Android Development] Lownita:
Doesn't voltage control support this kernel anymore?
[Galaxy S II Original Android Development] frankcilo:
Hi Gokhanmora, can you tell me why my favorite voltages set via script not are really set in 2.1.1?

Thanks
[Galaxy S II Original Android Development] xeq544:
Iam getting permissions error no matter what app I use. Script manager, manualy editing it through root explorer (says its saved but the values stay unchanged) Im running CM7, is that a problem ?.
[Galaxy S II Original Android Development] ghmail2:
2,1,1 way better on Leomar HD2.0 than darknight version:)
[Galaxy S II Original Android Development] Chris X.:
Doesnt work!

Pls try it again with script manager.

...but I made a mistake.

In the second Line you have to type in "enabled"! Not "enable" Sorry!

(* = press the Enter button)

the complete howto here ... but in German only (with many pics):

http://www.pocketpc.ch/samsung-gala...ed-siyahkernel-v2-1-final-42.html#post1232422
[Galaxy S II Original Android Development] jonny68:
does it work with the Kitchen though if it does ill flash it :)
[Galaxy S II Original Android Development] olifee:
Why shouldn't it? All Siyah-versions have always been working fine with kitchen.

A problem with CWM 5 hit those who did not use CF-Root / formatted internal SD and had an external SD.

This has been fixed by recreating a file with Siyah >=2.1rc2 or by using CheckRom 2.0.
[Galaxy S II Original Android Development] lambstone:
RTFM. Or in other words read the previous posts. Enough information has been revealed with regards to this. In a nutshell, ignore it.
[Galaxy S II Original Android Development] xeq544:
Thank you!
[Galaxy S II Original Android Development] ChongoDroid:
1.4GHz with 100mhz min on lulsactive and my phone sips battery and I can run the leaves on water live wallpaper with zero lag. Feels like a new device honestly. 2.0 gave me problems but 2.1.1 is truly the bees knees
[Galaxy S II Original Android Development] jonny68:
no problems thanks;)
[Galaxy S II Original Android Development] Chris X.:
Due to the strict laws in Singapore for tourists (german only?) is the danger of unconscious defiance of a law to come into conflict with law enforcement.

God Damn You've read all ~ 870 pages?

No!

That was his answer to my question.

You people do not always have to comment on everything later!!!
[Galaxy S II Original Android Development] chadouming:
I read the last pages again - Stupid post - my bad
[Galaxy S II Original Android Development] blaex:
Had to raise the mw for 500 mhz back to 950 mw with 2.1 dk using vr and smartassv2.

So far so good keep going
[Galaxy S II Original Android Development] Chris X.:
@ chadouming

Yes You once again missed in the comments!!1! :rolleyes:

Why am I not surprised now? :eek:

You would be a bad mod!

With so many pages that can ever happen.
[Galaxy S II Original Android Development] dragon546:
I started trying to clean up the Q & A thread, but I have a lot of holes in my knowledge ( I just MIUI with 2.1.1). Would like some contributions from CM and other rom users. Also OC\UV specialists and script users. I am trying, all of those who can will be credited.

If you guys can PM me with info would be awesome.
[Galaxy S II Original Android Development] sebsasko:
It works, i tried it few minutes ago with the Muveszur'Mms.apk mod from kitchen ;) (with Siyah 2.1.1 final)

EDIT : The famous file .salted_hash that solve issues with CWM5 has appeared with finals versions (2.1) of Siyah not with RC (for me....)
[Galaxy S II Original Android Development] chadouming:
You happy now ? I can't stop from comment everything but i know how to excuse myself when it's time for it. Just tired of people asking always the same question that already been asking like hundred of times ( not yours :P ) like " I can't use my old voltage setting, why ?" or "My phone is crashing ?". This made this post too big, and i am trying to make learn people asking stupid question or question that has been already asked that searching is not hard. Sure it's harder than ask, but it worth much more.
[Galaxy S II Original Android Development] fenomeno83:
there was an error: must be "online" not "offline" that doesn't exist
[Galaxy S II Original Android Development] Chris X.:
Yeah I're right but you can't change it.

It will happen again and again.

O.K. my friend, here in Germany it's time to go to bed (12:52AM)

Good night! ;)
[Galaxy S II Original Android Development] chadouming:
Good night xD, you see, i'm still commenting, even on this :P. I also know that i can't be right at everything, but i try to use the best of my knowledge and learn new thing every day.
[Galaxy S II Original Android Development] shadowofdarkness:
I would like to change my sdcard file system to ext4 but according to a thread the initramfs enforces a vfat policy and I was wondering if you could remove said line and maybe change any other lines that mount the file system from vfat to something like auto so people could have a fs choice.

Thread with info http://xdaforums.com/showthread.php?t=1123833
[Galaxy S II Original Android Development] hausmanis:
this question has been asked...20 times now ? still no answere :(

---------- Post added at 01:43 AM ---------- Previous post was at 01:29 AM ----------

Noob question now but should i make a script like the above ? or type that in console ?
[Galaxy S II Original Android Development] Sonic7:
Where did you get that from ?
[Galaxy S II Original Android Development] chadouming:
It is not a real ICS environement, otherwise Siyah kernel would not be working with it ( ICS kernel need to load one more file from init.rc which is not included in this kernel since it's not needed for GB ). Galnet team merged the framework of 4.0 with miui. It's a huge step forward, meaning we a bit of the great feature of ICS, but it's not a working port of ICS.
[Galaxy S II Original Android Development] lambstone:
Not that nub. Script is good. It'll autorun on boot.
[Galaxy S II Original Android Development] ceragon:
kernel 2.1

periodical freeze when opera mobile or another task running.:( ki8
[Galaxy S II Original Android Development] rbalu72:
This script not doing anything (not even creating log file in /data/) when used with Batista 2.4 and Siya 2.1.1 cwm version. Changed permissions group/owner etc similar to other scripts in /system/etc/init.d ..

Any one experiencing the same? I just kind of trying to modify the freq steps and minimum to 50mhz etc
[Galaxy S II Original Android Development] KcDaRookie:
I know this probably is because of some changes made in the new kernel sources and not the fault with this kernel but on 2.1.1 the screenlock feature for GO SMS PRO won't work.

On 2.0 you couldn't bypass it at all and on 2.1.1 you just start GO SMS, press back on the lockscreen and just start it again and it won't ask for the pattern...

Is there any possibility to make it work on 2.1.1?
[Galaxy S II Original Android Development] netchip:
How have you solved the problems with cpufrq_high?

Simply commented out?

Sent from my GT-I9100
[Galaxy S II Original Android Development] netchip:
Of course, that is easy, simple swap a few sentences in init.rc

Sent from my GT-I9100
[Galaxy S II Original Android Development] Miguel-:
Is anyone else seeing a lot of freq jumping in VoltageControl when idling on 2.1.1?

On beta I was previously (and of course I dont remember what beta it was but it was some of the latest ones) there wasnt jumping at higher speeds when idling.. Now on ondemand etc the freq stays quite a lot in 800Mhz -lulz goes down to 200 but hardly reaches 100 and often jumps to higher speeds.
[Galaxy S II Original Android Development] gokhanmoral:
it would be good to prevent binary counter increase instead of using a jig to reset it, wouldn't it?

I thought it would be possible maybe, and it seems that it is possible ;)

does this mean no more yellow triangles? hmm, we'll see...
[Galaxy S II Original Android Development] faiz2036:
I/O scheduale

Can i know what I/O Scheduler for this new kernel?? sio?? vr? for good battery life. any suggestion?
[Galaxy S II Original Android Development] crypticc:
Reminder..if yours is a question that typically ends in a "?" and starts, does it? can i? anyone know? how do I? Anyone else see? Ask here..

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

unless you've logs to help the dev. and can pin point the moment of freeze or issue. And then post them in this thread

Regards
[Galaxy S II Original Android Development] faiz2036:
already go in there.. majority of the link to refer is death. that's why i'm here.. :D
[Galaxy S II Original Android Development] fasst:
And by that you mean on bootloaders in new ROMs where the jig doesn't work to?

If so would be great :)
[Galaxy S II Original Android Development] elban:
BT carkit problems

I'm still getting random bluetototh car kit disconnects.

That's bad because it is forcing me to switch to another kernel, even though I really like this one :-/

- Siyah 2.0 and 2.1.1

- miui .21 and .28

- lulz, smartass, ondemand

- sio, cfq

- stock clock/volt or tweaked

- repaired from scratch, carkit reset

works with stock kernel or xcell 69 instead.

sorry no logs (alogcat is empty).

please help!
[Galaxy S II Original Android Development] dica:
After flashing 2.1.1 on chek revolution 2 i can't find anymore the alarm clock app

edit:

i mad a mistake, i uninstalled involuntarily
[Galaxy S II Original Android Development] crypticc:
I drafted before seeing your post do not directed at you specifically.

However your question had already been answered in the bygone days. Schedulers tend not to affect battery much I hear. There are links to governor and scheduler descriptions in OP (the scheduler aster on second outrage of the linked post:
[Galaxy S II Original Android Development] crypticc:
Turn on logging then
[Galaxy S II Original Android Development] BoneMo:
have you tried CyanogenMod7 ?

---------- Post added at 09:24 AM ---------- Previous post was at 09:22 AM ----------

isnt the alarm clock inside Clock app ?
[Galaxy S II Original Android Development] :
hi,

i doubt if this script is saving battery life or contributing to spend before.

is deep sleep activated when you exec this script?
[Galaxy S II Original Android Development] fasst:
I'm lost here and can't figure out whats happening. I have tried every possibility with Setcpu and Voltage Control and still, after boot, the max_freq reverts back to 1200. Have done, save as boot and all other things I can think of. But after every boot Cpu Spy show 1200 at top. When opening Voltage control and changing to 1400 again and apply, 1400 shows on top. But even with save as boot on Setcpu and with Voltage control, it won't stick.

Any suggestions on what to try next?
[Galaxy S II Original Android Development] jsompis:
Workaround is manually add some delay at top of voltage control script.
[Galaxy S II Original Android Development] fasst:
Thanks, but could you be more spesific on what's needed on top of s_volt_scheduler?
[Galaxy S II Original Android Development] jsompis:
try to add this statement at top of your script:

sleep 30
[Galaxy S II Original Android Development] fasst:
YES, that's it. It worked.

Maybe it's mediascanner that screws up scanning sd and ext_sd.

Thanks :)
[Galaxy S II Original Android Development] itman-ch:
Good luck on that - Sir!

I for myself just stopped dead commenting about those lazy folks. Felt a bit like Don Quijote. Now there's a new policy in effect: let'em hang dry.

have a nice day
[Galaxy S II Original Android Development] extract1:
Is anybody else having problems installing the charge current script? CWM is telling me installation aborted. Can i manually change /sys/class/misc/charge_current/charge_current to my new values?.
[Galaxy S II Original Android Development] timberwolf60:
I was on xwkj1, Criskelo thame/ROM V29. Lolzactive

scaling. Tried 2.1 rc3, 2.1 final and 2.1.1. Worked great. No SOD problem. Always go into deep sleep when sreen off. Min 100 max 800 frequency run smoothly and battery life great for me.
[Galaxy S II Original Android Development] netchip:
Crack the samsung signature for the bootloader or write your own bootloader :p

Sent from my GT-I9100
[Galaxy S II Original Android Development] YaocH:
At the rate things are going, I see that as a high possibility:p
[Galaxy S II Original Android Development] gokhanmoral:
It is not the only way. you'll see if I can manage to get it working...
[Galaxy S II Original Android Development] alcurtis93:
mV is a unit of voltage (1mv = 0.001v)

Simple science people. How tthe **** you got through school without learning that
[Galaxy S II Original Android Development] apeiron6:
1mV=0, 001V Did you finished your school?
[Galaxy S II Original Android Development] alcurtis93:
It is :) I always know it as 1 exp(-3)
[Galaxy S II Original Android Development] alcurtis93:
I'm still at my school ;)
[Galaxy S II Original Android Development] gabx:
I totally agree. Lots of people already asked for a How To, but it sems nobody really care. I am watching this thread like a TV debate with 10 people all speaking at the same time ! Even with some research on my side, I am lost and not sure how to setle evrything correctly on my phone.

This Kernel is cretainly a great one, but without any clear indications, all these tweaks are useless.

So please, could someone, in a separated thread, write a guide.

TY in advance
[Galaxy S II Original Android Development] YaocH:
Dude, it's 1*10^-3 (0.001V) So stop posting such sarcastic remarks if you are nowhere better.
[Galaxy S II Original Android Development] alcurtis93:
Also known as 1 exp(-3)

Exponential mate.
[Galaxy S II Original Android Development] netchip:
Please contact me, I like it to know how :D

Sent from my GT-I9100