yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] hausmanis:
Ive tried for several hours now but i just cant make this work, i know i am a noob but atleast i am trying stuff before asking, but i have run into a dead end, if anyone could make a script with the lowest possible setting for the bus frequenzies in a installable *.zip id be VERY greatfull.
[Galaxy S II Original Android Development] ZeroPDA:
Where can I download cifs.ko which is compatible with this kernel? Cause I've installed this kernel to CM7 build 100. cifs.ko from /lib/modules there doesn't work.
[Galaxy S II Original Android Development] :
I don't want to sound like an ass (which you'll call me anyway), but all those people that don't know how to change things via scripts and don't want to search/google and learn it, do yourself a favor and use Speedmod, it is great kernel, no setup needed, great speed and battery life :eek:
[Galaxy S II Original Android Development] hausmanis:
i did google and searched for it for ages but still didnt find a solution, i have scripts that sort everything except for this new bus freq thing wich i FAIL to find a solution for, to help people learn could be nice sometimes to, id be pretty pissed if the teacher of my children said "****off and google it" at school, but he wont he dosnt got a "net attitude" anyhow if you gave me a day im sure i could manage to solve it but since i do got kids, i cant afford to give myself 1 full day at the computer so a noob like me finaly can make that script so please anyone id be greatfull.

and besides, there is very nice scripts for everything at page 1, except for this new 2.1 feature with the bus frequenzies, would REALY appriciate it.
[Galaxy S II Original Android Development] s2d4:
umm, you demand ppl to give you info again?

there is absolutely no obligation to teach you, the teachers are paid to do so...

You demanded to be shown how to use bus_freq, now that you see scripts of people doing it, you don't understand how and is now demanding someone to further spoon feed you? eer... ummm, weird man..
[Galaxy S II Original Android Development] ebliss:
rather than whining about how many hours you have tried, why don't you post WHAT you have done and what was the result? maybe you can be guided from there by some people.

I'm a newbie when it comes to Linux and Android but that is not stopping me from doing things.

a clue for you. start from http://xdaforums.com/showpost.php?p=18982397&postcount=8571
[Galaxy S II Original Android Development] lambstone:
Apparently you didn't try hard enough. Teachers don't get pissed off at their students when they don't know how. They only get pissed when students do not try at all. Now, there is a script right here in this thread which adjusts the bus freq. I know because I used that script over here to edit my bus freq. To make it simple for you. search for "1 1 1 1 1 1 1" (w/o the quotes obviously).
[Galaxy S II Original Android Development] Bene2k11:
Here's a CWM flashable init.d script that changes the bus frequencies to the lowest settings.

Should work.

EDIT: Here are flashable zips for low mid and high settings. ;)
[Galaxy S II Original Android Development] mustaka:
I don't see why it is not possible to reset the counter. Sure, it is not written on stone :) Preventing its increment would be a step in the right direction though.
[Galaxy S II Original Android Development] mavixda:
I love positive people ;)
[Galaxy S II Original Android Development] timberwolf60:
The cost of the zig is less than a package of cigarette. It not only reset the counter. Maybe one day it can save your trouble phone.
[Galaxy S II Original Android Development] Bene2k11:
Okay here are 3 flashable zips for the lowest, mid and highest bus frequencies.

Have fun. :D

Remember to delete the old script if you want to use other settings. (/system/etc/init.d/S_busfreq_xxxx)

low: 2 2 2 2 2 2 2 2 -> lowest battery drain

mid: 1 1 1 1 1 1 1 1

high:0 0 0 0 0 0 0 0 -> highest battery drain
[Galaxy S II Original Android Development] mavixda:
surely you mean usb cig :D
[Galaxy S II Original Android Development] jujuburi:
I moved to this Kernel from Ninpho 2.1.3 as it had a good reputation. I was using SetCPU with Under Volted settings like this, it was rock stable,

1200 MHz- 1150 mVa

1000 MHz- 1050 mVa

800 MHz- 925 mVa

500 MHz- 825 mVa

200 MHz- 800 mVa, had 'Screen Off' profile of Max 500, Min 200, On Demand with Main profile of Max 1200 MHz, Min 200 MHz, On Demand.

Now I can see that this kernel supports 100 MHz also, which is great, but I can't set it as 'Screen Off' profile, I tried to put 795 mVa and device freezes randomly! So can anyone advice me how are you guys using 100 MHz setting, with which Governor? And also what Governor should I use for 'Screen Off' profile for best battery life?

Also which Main profile should I select for best battery performance, I've read the first post and also the Governor related page thoroughly and found that IneractiveX as the best one for battery, so should I use that or Smartass? I am confused! Seems Smartass is the best all around governor out there but InteractiveX is good too! Actually I am totally confused with too many profiles :p

Any advice is greatly welcome.

Regards.
[Galaxy S II Original Android Development] Bene2k11:
It's 100Mhz not mVa. Set Voltage from 800 - 850... just try out. Usually the same Voltage as the 200Mhz step works. ;)
[Galaxy S II Original Android Development] timberwolf60:
I bought usb jig and OTG both for S$16 from a local person from Hardware zone forum in Singapore.
[Galaxy S II Original Android Development] jujuburi:
Thanks a lot for your response.

I had a typo, sorry.

So I will set on 800 mVa for 100 MHz and see if it works or not.

Can you please tell me which Governor should I use as Main and Screen Off profile?

TIA.
[Galaxy S II Original Android Development] chadouming:
To get 100 Mhz working, you will probably have to put more like 850 mv. Like i would recommand to put 850 mv to 200 and 500 mhz too. I never been able to Uv under 800Mv. For the governor, you should use Smartassv2 for the best battery life. It does not have a max freq limit for screenoff, but it has a high tendancy to stay on lower freq.this will give you sweet battery perf ^^. Next time you should also post this kind of question in the Q & A thread for siyah kernel. thanks.
[Galaxy S II Original Android Development] maximus23:
For me 800mv on 100MHz work like a charme

--[Kernel]--

2.6.35.14-Siyah-v2.1.1

--[Voltages]--

1600mhz: 1400 mV

1400mhz: 1250 mV

1200mhz: 1175 mV

1000mhz: 1075 mV

800mhz: 975 mV

500mhz: 875 mV

200mhz: 850 mV

100mhz: 800 mV

--[Max Freqency]--

1200000

--[Min Freqency]--

100000

--[Active Governor]--

ondemandx

--[IO scheduler]--

noop deadline cfq bfq [sio] vr

--[GPU Voltages]--

Step1: 900000

Step2: 950000

--[GPU Freqencies]--

Step0: 160

Step1: 267

[charging current]

AC: 800

Misc: 700

USB: 450
[Galaxy S II Original Android Development] jujuburi:
Thanks for your response sir.

OK, I'll use Smartass V2 as Screen Off profile, and should I use the same for Main profile too?
[Galaxy S II Original Android Development] timberwolf60:
I never used set CPU. I purchased CPU Master, power saver and CPU Spy. Set low battery profile under CPU Master. Set low battery in power saver at 75%. Once under it my Max and low frequently change to 800 and 100 MHz(lolzative). Once screen off, my phone went to deep sleep thus my battery last longer than before with smooth running. Enjoy!
[Galaxy S II Original Android Development] chadouming:
yup, it's good for the main profile too. You can also try to lower your UV setting from what i said. Every phone is different and you need to find the settings working for you.
[Galaxy S II Original Android Development] Bene2k11:
If you want to save battery, yes. If you got lags with smartassV2, and don't like that, try lulzactive or ondemand. ;)
[Galaxy S II Original Android Development] lambstone:
You got ripped off. Only good thing is that you got it immediately I supposed. Jig plus OTG can get it for as low as... idk.. single digit sum. Mine cost me $8.
[Galaxy S II Original Android Development] chadouming:
i bought one on ebay for like 5$ and it has a good quality ^^
[Galaxy S II Original Android Development] jujuburi:
Thanks again.

Well sir, I have Voltages set already lower than 850 mVa in both 500 and 200 MHz, so I guess my device won't be stable at any below point than those, I just thought as I had set 800 mVa for 200 MHz, so I'll be able to UV more on 100 MHz, but it wasn't the case. I think I'll set 800 mVa for 100 MHz too, same as 200 MHz.

I really appreciated your work and all the fast replies guys.

Regards.
[Galaxy S II Original Android Development] xan:
I'm finding it hard to develop on this kernel.

I've enabled the logcat by EnableLogger.zip, however the output is not complete. It omits most (usually not-so-usable) logs, but I really need some of them to work.

Also, usb keeps failing at incredible rate, I need to reconnect it every 2-5 mins because connection is dropped.

Anyone confirm this?
[Galaxy S II Original Android Development] BoneMo:
Does it make phone faster when using high option ?
[Galaxy S II Original Android Development] Bene2k11:
Well I'm running the lowest settings and it doesn't make any noticable changes to speed and smoothness. ;D
[Galaxy S II Original Android Development] holyshit1:
Performance!!!

It is on 1.6ghz with 133 bus freq for all frequencies.
[Galaxy S II Original Android Development] kwerdenker:
The Siyah Kernel cheat sheet

[Edit: This post has been relocated to the Q&A thread. You can find the new post here. I also added a small section on how to test these settings with a terminal emulator on your phone. See you in the other thread :) ]
[Galaxy S II Original Android Development] Dennys_Santos:
friend!

There were some gains in the economy of the battery with the script "S_busfreq_low"?

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

Thanks...
[Galaxy S II Original Android Development] lpsi2000:
I can confirm the logging is not really there. USB stays connected for me.
[Galaxy S II Original Android Development] m00moo:
anyone using modified charging power? I want to increase the AC and other but am afraid :rolleyes: want to get a general idea of what most of you guys are using so I know a baseline of what is safe. Thanks
[Galaxy S II Original Android Development] Bene2k11:
Can't tell right now, I'm using it since some hours.
[Galaxy S II Original Android Development] bclark:
No dropped connection with USB but I have had a freeze when trying to disconnect.

@gokhan I and as you can see others would love if we could get a version with logging enabled. As a user with only a slight experience it makes it hard to learn and understand when output isn't quite there.
[Galaxy S II Original Android Development] Dennys_Santos:
Yes!

#customize the following line

# AC MISC and USB charge current respectively

NEW_CHARGE_CURRENT="950 850 750"

I set the USB to 750 and I had no problems of instability.

I noticed that when connecting via USB the energy charge was faster.
[Galaxy S II Original Android Development] kwerdenker:
USB specifies 500mA as the maximum current a device can draw from a standard USB port. That's why the standard value ist 450[mA] in the kernel for USB charging current (probably slightly lower than the max for safety reasons). Anything higher than that can be dangerous for your USB port and/or your device under certain conditions.
[Galaxy S II Original Android Development] m00moo:
wow, from 650>950, 550>850, 450>750. That seems pretty high to me, about 60% increase per option. Does the phone get hot while charging now? Im worried my phone explodes while i sleep LOL
[Galaxy S II Original Android Development] lambstone:
Yes. Mine cost me $6. The OTG was $2
[Galaxy S II Original Android Development] Dennys_Santos:
No. ..

I did not notice any change in temperature of the cell during charging energy.
[Galaxy S II Original Android Development] davelinders:
Did someone noticed more smoothnes with OC (Not higher score but less lag/ if you had lag with 1200)?

When I OC with ondemandx or lulzactive to 1600 my score stays around 5800 in antutu.

With speedmod I have higher scores with no OC.

Must I set scailing to performance then or what do I wrong?
[Galaxy S II Original Android Development] Dennys_Santos:
First I want to thank you for the script very well documented.

I would like to drain the battery is too high?

And what the result in the quadrant?

Thanks again ...
[Galaxy S II Original Android Development] :
For benching use ondemand or performance.
[Galaxy S II Original Android Development] kwerdenker:
Don't be mistaken. That there is *not* a script in itself. It's just a documentation which features of this kernel can be manipulated in a script and how to do it, so everyone has a reference as to what they have to put in an init-script. For how to make an init-script you can have a look at the ones linked in the first post and extrapolate from there.

Finding the right settings for your device is a personal experience and I would encourage you to try different things and see how it works out for you. Most of the time the main energy drain does not come from the kernel but from the apps you use, so that would be the first place to start if you ask me. Search for BetterBatteryStats in the xda forum for the tool and some great threads about it. If you still want some reference for configuring the kernel, you can see some modifiations I made in my signature and I get around 2-2.5 days out of my phone with what I consider light to medium usage.

As to the topic of benchmarks: I have never run any benchmark what so ever on any android device I owned. They are just synthetic tools to generate a number so everyone can compare how big their e-wiener is and by no way are they a measuremant how smooth your experience with the phone is. If I can use my phone without any problems and I don't notice anything that bugs me (like ui lags or stuttering), that's good enough a benchmark for me.
[Galaxy S II Original Android Development] Dennys_Santos:
Friend!

You could release a copy of the script that you made to adjust the durability of the battery 2 to 2.5 days?

"(Gov: lulzactive CPU_Freq: 100min/800max + UV / GPU_Freq: 100/267)"

As I am beginner in this world settings, I am afraid of damaging my phone.

I would like to test here in my SGS2 and see how it behaves.

NOTE: Thank you for guidance ...
[Galaxy S II Original Android Development] supermult:
Thanks for the awesome Kernel!

It´s incredible how battery saving it is.

I applied some undervolting and underclocking and its really helping to get through a heavy day with miui, which wasn´t possible before!
[Galaxy S II Original Android Development] hausmanis:
thx alot !!
[Galaxy S II Original Android Development] scorpion667:
Thank you for fixing homescreen lag. As great battery life this kernel has, I couldn't get myself to switch over due to microstutter, but this is now a very smooth kernel with the most advanced customization options available.

I commend you for your great work Gokhanmoral.
[Galaxy S II Original Android Development] m00moo:
How do I enter this script? I would like to try the 2 2 2 2 2 2 2 2 bus to try drive my power consumption down further. Thanks
[Galaxy S II Original Android Development] xuxuzao:
man, how did u applied the undervolting and underclocking?

wich values did u set? and how?

im also a miui user and doesnt know how to do it

tks
[Galaxy S II Original Android Development] rbalu72:
Best ever Display on time !!!!

This is the best ever Display on time I got on SGS2 :D:D:cool: (watched couple of movies continuous with no screen off to drain battery quick)

Siya 2.0 + Batista 2.3 + ki3 modem , 100-1200mhz no OC, slight UV

Freq : 1600 1400 1200 1000 800 500 200 100

Voltages : 1425 1325 1200 1100 1000 900 875 850

Auto brightness off and brightness at minimum
[Galaxy S II Original Android Development] incubus_fr:
Gokhan, should it be possible to reflect custom cpu frequencies in /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state to get accurate values in Voltage Control or CPUSpy?
[Galaxy S II Original Android Development] TKLex:
+1 !

Btw this kernel is great ! Thank you ! Having very good experience with conservative and some cpu freq tweaks !

Sent from my mobile phone
[Galaxy S II Original Android Development] randomhkkid:
Awsome kernel and great work gokhan Got 37hours with moderate use 1.5h video, 10 pictures, 40min music, 30min 2d game with 20% left!!!

lulzactive, 800-100, 2.1 siyahkernel
[Galaxy S II Original Android Development] the^one123:
bus_freq

Hi!

Ok guys, i try to understand what the bus_freq does or means.

I see that i can use several steps 0 or 1 or 2 but what i not understand how it works.

For me to understand.

First Step 100 200 500 800 1000 1200 these are my available frequenzies.

What does it mean if i set bus_freq to "1 1 1 1 1 1 1 "???

I know that valid values are: 0 (400MHz), 1 (266MHz), 2 (133MHz) but how it works.

I try to understand in which case which step is good for me. The easiest way is "11111111" ,"2222222" etc but can anyone please explain how it works and how the system translate these steps.

thx theone
[Galaxy S II Original Android Development] kwerdenker:
Guys, I just realized that my post is better suited to be in the Q&A thread so this thread can be cleaned out a bit. I will relocate my post and maybe extend it a bit in the process.

I will update this post and the original one with a link as soon as I'm done. Please consider asking stuff about init-scripts and/or other settings related stuff that is not directly related with the development of the kernel in the Q&A thread.

[Edit: Relocation is done. You can find the new post here. I also added a small section on how to test these settings with a terminal emulator on your phone. See you in the other thread.]
[Galaxy S II Original Android Development] bgx:
+1 for that!
[Galaxy S II Original Android Development] jmblazquezh:
Can I flash one of this three files if i don´t have folder /init.d?. I only have folder /system/etc

Thanks and regards.
[Galaxy S II Original Android Development] gokhanmoral:
adding it to my todo list. since it is easy to do I will make that change very soon.
[Galaxy S II Original Android Development] _cummoo:
Gokhan maybe i've missed something, but 3 days ago you mentioned that there will be a legendary "Siyah Kernel Tool" available very soon.

Have you released it in the meantime ;) :confused: ;)
[Galaxy S II Original Android Development] kyo_udon:
i've flash the kernel with CWM. how do i change the governor to smartassv2? on the first post it says the default governor is lulzactive.
[Galaxy S II Original Android Development] camro:
have you removed the logging logcat for 2.1 final ?

because if i enable the logcat i only get:

C:\Users\Camel>adb shell
~ # logcat
logcat
--------- beginning of /dev/log/main
E/su ( 3566): sudb - Opening database
E/su ( 3566): sudb - Database opened
E/su ( 3566): sudb - Database closed
D/su ( 3566): 10145 com.mhuang.overclocking executing 0 /system/bin/sh using shell /system/bin/sh : sh
D/su ( 3966): 0 /sbin/recovery executing 0 /system/bin/sh using shell /system/bin/sh : sh

and no info any more ?

can this be activated to get more in detail via another script ?
[Galaxy S II Original Android Development] BoneMo:
NoFrills or Voltage Control apps for example can change it

PS: also a SetCPU can change governor
[Galaxy S II Original Android Development] kyo_udon:
just bought setcpu.so i just need to change the scalling to smartassv2 and done?

is there any other recommended tweak or thats it?
[Galaxy S II Original Android Development] myakove:
I have the same problem.
[Galaxy S II Original Android Development] alcurtis93:
Just create a folder called init.d in /system/etc :)
[Galaxy S II Original Android Development] MrPhilo:
Undervolting stablity seems to not be that good in v2.1

I use the same undervolted value and I often get freezes which I then have to restart my phone.

Switched back to v2.0 everything fine.

Must have been the bus freq. you've changed or something.

Anyways good kernel!
[Galaxy S II Original Android Development] hausmanis:
Thank you so much!
[Galaxy S II Original Android Development] Zanr Zij:
Raise your voltage @200MHz about 50mv if using 2.1 :)

Sent from my GT-I9100
[Galaxy S II Original Android Development] Bene2k11:
It will create it for you. But you should have this folder already?! Oo
[Galaxy S II Original Android Development] xuxuzao:
wonderfull kernel, as always

but battery on miui is draning really fast! =/

anyway to solve this?
[Galaxy S II Original Android Development] Zanr Zij:
busfreq low + 25MHz step made best result for me. I got about 6h 30p screen on ( best ever ) with MIUI 1.10.28.
[Galaxy S II Original Android Development] THUDUK:
Bluetooth music stutters when phone is in sleep mode, with v2.1
[Galaxy S II Original Android Development] extract1:
Your phone won't be in deep sleep mode if your listening to music, it will be using 100mhz and 200mhz settings so increase those voltage levels by 50mv and see if it helps.
[Galaxy S II Original Android Development] lambstone:
What do you mean by 25mhz steps?
[Galaxy S II Original Android Development] voriax:
+1

the same with my settings: lulzactive 100-1200 on stock voltages...

when in sleep mode music stuttres playing on speakers

playing on headset is ok

Greetings!

V.
[Galaxy S II Original Android Development] joeyfong:
do u have any sod problem while incoming call?
[Galaxy S II Original Android Development] mach0boi:
Hoping to beat my previous record :D
[Galaxy S II Original Android Development] YaocH:
You frequently use screen on time to determine e battery life potential? Wont it cause screen burn in? Seems a waste on such a superb super amoled screen
[Galaxy S II Original Android Development] Antonyart:
Small Problem!!!

first i want to say thanks for this great kernel!!! it really is a battery saver with great performance... but i have a small problem with the usb connection... 9 out of 10 times when i disconnect my phone from the computer it hangs...needs hard reset... I tried it with 3 different Miui roms and i have this problem with this kernel only from version #B14 to this 2.1.1... Am i the only one???

Auto mount is enabled

Miui Galnet 1.11.2
[Galaxy S II Original Android Development] almog93:
How did you do it? Its amazing ! What rom and values on set cpu do you use?
[Galaxy S II Original Android Development] mach0boi:
Frequently? No. I've done it only once and took a screenshot coz I was amazed. So you're basing your batt potential on screen off/idle time? It's much better to base battery life on screen on time than when ur not using your phone at all.

:D
[Galaxy S II Original Android Development] loveleeyoungae:
Nice. Do you use a 2000mAh battery :p Please list your rom and your tweaks etc. :)
[Galaxy S II Original Android Development] mach0boi:
Nope. Using only the stock battery that time. That was on Villain Rom KG3, Ninphetamine 2.0.2 and kf2 modem. Now i cant reach more than 6 hrs screen on time :confused:
[Galaxy S II Original Android Development] skiflyer:
You could use another kernel if everything is so bad, hm? :rolleyes:

Sent from the Siyah-powered galaxy "S2"
[Galaxy S II Original Android Development] voriax:
+1

I am having the same problem but with less occurance

1 on 10 times after usb disconnects

I do use usb a lot because of some tries of app developement so it is a problem for me.

also still not resolved auto removing notification about USB debugging

after usb disconnection, you have to manually disable USB debugging in settings to remove icon and notification from notificaton bar, then it is possible to unplug usb without icon & notification problems...

V.
[Galaxy S II Original Android Development] paaaulo:
What a wise answer...

He develops Voltage Control app for Siyah.
[Galaxy S II Original Android Development] Moskiitto:
Here's my battery usage.

Great kernel :)

Sent from my GT-I9100 featuring Cyanogenmod and Siyah
[Galaxy S II Original Android Development] huwande1acruz:
Wow! 9hrs of screen on? Is this correct ? Hahaha.