yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] gokhanmoral:
I did make that mali 3-step change.

it was hard to keep compatibility and I managed to do it to some extend.

but to use the full potential you need to modify your scripts. I modified battery, defaults and performance scripts (in my blog) as examples.

if you use higher clocks than 300MHz, then you MUST modify your scripts or you will notice performance decrease.

if you are modifying only the lower step, you can use your existing scripts.

to modify the thresholds, you have to provide 4 values in the form of "value% value% value% valule%" and cat it to clock control file.

you can find the examples in the updated preset scripts.
[Galaxy S II Original Android Development] gokhanmoral:
1- yes, it is.

2&3) use stock. frankenstein KK5 is good enough. you can find it in Intratech's thread.

3) is rom related. some roms remove samsung bloats. I recently tested CheckRevolutionHD 4.0 and TurkBey Roms, but almost all roms provide same level of stability because most of them use the same base. just read first & last few pages of a rom's thread and you'll have an idea about the rom.

4- start with stock kernel :)
[Galaxy S II Original Android Development] Moskiller:
No no i see the link and i can download the file but it doesn't stargli, i can't play it
[Galaxy S II Original Android Development] CamoGeko:
Use Voltage Control app from market to change governors.

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Galaxy S II Original Android Development] AndreiLux:
Did you figure out the 300MHz clock? Still weird that it's not a valid clock divided frequency. Maybe we are wrong about how the clock is being fed into the GPU... that or the Tab Plus is different. I guess we'll get to test it once you release it. Nice work on the different threshold values, would be awesome if one could do that to CPU frequencies.
[Galaxy S II Original Android Development] gokhanmoral:
when I was inspecting the sources I noticed something.. I previously thought those "1000000" values were voltage values but the mali_dvfs_table structure has clock, freq, and vol members. so, only the last one is voltage, first one is clock (which has 160-266-300 defaults for 3-steps) and the frequency is 1000000 for all of them.

I did not try to change them but maybe we can :)

but I don't know where that frequency is ticking, it is fixed or not...

for the clock of 300MHz, I am sure there are a lot of users who will run benchmarks and leave feedback tomorrow :)

I set it as the kernel's default highest step as it is used in tabplus which uses exactly the same processor and gpu as our device. and the default voltage is 1100mV.
[Galaxy S II Original Android Development] Hannibal226:
@Gokhanmoral:

Hi,

make it sense to wait a bit or no release "today"?

CHEERS
[Galaxy S II Original Android Development] gokhanmoral:
v2.6.2 is up.

I will spend some time to write documentation for available features and scripts. also, first page is outdated and needs to be cleaned.

anyway.. v2.6.2 is good.. try it.. :) but consider it as beta because there are some new features. I could not stop myself (tolis626: I will blame you if this release has a bug :p )
[Galaxy S II Original Android Development] Hannibal226:
ty mate ;)
[Galaxy S II Original Android Development] :
Nice one Gokh...

Been waiting for this bad boy.:D
[Galaxy S II Original Android Development] Hannibal226:
WTF!!!

This must be the best Kernel, after this first boot-time!!!!!

:D:D
[Galaxy S II Original Android Development] PedroMRP:
@gokhanmoral in the siyah-battery file the governor is ondemandX but that governor is not loaded.
[Galaxy S II Original Android Development] gokhanmoral:
Oops. I knew that there was at least one bug. I shouldnt have released it at 2am. I am already in bed so please help yourself. I hope i compiled it as a module. Anyway i will upload a new version tomorrow.
[Galaxy S II Original Android Development] alcurtis93:
Lulzactive v2 with bfq io is a dream :O downloaded the lulzactive app from the market changed screen off to 200mhz and now it's battery saving and ultra smooth! Shame its 1am here and no more time to test. Btw guys real racing 2 from ios has been released onto the android market!!!!!!!!
[Galaxy S II Original Android Development] neoxack:
Use the unix notation instead of windows.
[Galaxy S II Original Android Development] Sp33d_:
And how can I do this? Sry for the noob questions....
[Galaxy S II Original Android Development] chadouming:
Can't wait to have the 1.7.8 or 1.8 Version up :D
[Galaxy S II Original Android Development] neoxack:
For example, open any working script in notepad++ and replace text to the one you want.
[Galaxy S II Original Android Development] kwerdenker:
I just checked the script on my phone with VI and it doesn't show this symbols. Did you by any chance edit the script with something like notepad under Windows? I attached a scriptversion with the UV values from your screenshot. This is not a flashable zip. Extract it and copy the 96undervolt file to /etc/init.d/.

Please try it and see if it fares better (remember to remove the other script from init-folder) :)

Edit: neoxack had the same idea, I just didn't saw it :)
[Galaxy S II Original Android Development] myakove:
try to run dos2unix on the scrip.

dos2unix <filename>
[Galaxy S II Original Android Development] Sp33d_:
Already tried but didn't worked.

Tried it but I got the same error when I try to execute the file: "line 18: blablabla". When I open the file with vi I see this fu**ing ^M again :mad:

Don't know why it doesn't work... I also tried to reboot and to check with the dump.sh but still the standard values...
[Galaxy S II Original Android Development] myakove:
did you try this?

try to run dos2unix on the scrip.

dos2unix <filename>
[Galaxy S II Original Android Development] Sp33d_:
I try tomorrow, have to go now. Thank to all for your support :D
[Galaxy S II Original Android Development] kwerdenker:
Didn't know that command existed. Thanks for that! :)
[Galaxy S II Original Android Development] kartalgurhan:
@ andreilux

it was your script mentioned above which was provided by the OP .

Any comments?

Regards
[Galaxy S II Original Android Development] kapa75:
*noob question*

how do i manage my gpu's clock and voltage? :D

what are your gpu voltages?
[Galaxy S II Original Android Development] kartalgurhan:
Friends,

How do you measure the current mA ? Which app please? Need this to measure the performancwe of the charger to see if my charger is good enough for 1000 1000 450 charge_current values

thank u

---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------

Come on, reAd the 1st post! Answer is there....
[Galaxy S II Original Android Development] shr33kant:
has anyone tried using tegrak's overclocking app to change gpu voltages/frequencies? because i've been using it on darkyrom2 KI3 to bump my gpu to lock at 267mhz whenever i wanna play gameloft games etc,. I might flash this kernel just to see if it works...currently on supercore 2.0.
[Galaxy S II Original Android Development] chadouming:
just tested again, not working.
[Galaxy S II Original Android Development] kapa75:
thanks mate, i didn't see the zip file :D

btw, what gpu settings do you recommend, to save some battery life? :) (i'm not familiar witch gpu settings ^^)
[Galaxy S II Original Android Development] xsillian:
Hmm dumb question i guess... But how can is see the script is working. Did i missed something while i was speed reading the thread?

send from my criskelorommed samsung galaxy s2..... ;)
[Galaxy S II Original Android Development] kwerdenker:
10chars....
[Galaxy S II Original Android Development] kartalgurhan:
100/267 with 800000/800000 is what i use atm...

Hth
[Galaxy S II Original Android Development] sebsasko:
You can find BMW (Battery Monitor Widget) on market (paid app) but if i remember there is a free version. This apps works great on HTC HD2 with Android flashed in Nand.

But i think this app doesn't work well on sgs2... This app can't read informations comming from battery and/or "fuel gauge" (I don't know if samsung sgs2 hardware has a fuel gauge (coulomb counter) implemented)

If you have an european charger from the box... I'm pretty sure that it is limited to 700mA... So the script change almost nothing (+50mA, stock is 650 so even if you write 1000)... But you will not break anything, chargers (in many cases) are protected against over-current !

Hope I help you ;)
[Galaxy S II Original Android Development] HellcatDroid:
Hi there :)

Siyah kernel seems to be missing the j4fs FS driver since a few revisions.... any plans on bringing it back, or should I look for a solution of my own?

People who want to change the bootscreen kinda need that driver for partition 4 mounting :rolleyes:
[Galaxy S II Original Android Development] PedroMRP:
It's seems that voltage control app with lulzactive v2 the lower freq is 200MHz but CPUspy shows that in fact the lower freq is 100MHz.

Can anyone confirm this?
[Galaxy S II Original Android Development] :
Im using Voltage Control and seems only have lulzactive but not v2
[Galaxy S II Original Android Development] PedroMRP:
It's lulzactive V2 but it only show as lulzactive
[Galaxy S II Original Android Development] :
Thanks. :)
[Galaxy S II Original Android Development] ksantoshh:
Use Voltage Control Apps from the market to change /use any governor.
[Galaxy S II Original Android Development] tolis626:
Fair enough.Put the blame on me boy!(Who was the chick singing this?Can't remember) :p

Anyway,I once convinced LeeDroid to release a 2GHz kernel for the Desire HD and got away with it.Maybe I will get away with it this time too. ;)

Wait for feedback! :D
[Galaxy S II Original Android Development] mobilio:
Just wonder to ask if anyone using "App Protector"?

I found that in v2.6, the App Protector works normal. But in v2.6.1 or 2.6.2, it keeps asking for password.... Any idea?
[Galaxy S II Original Android Development] override182:
Tested siyah on illusionXT and my config wont stick in voltage control.. generated init.d and set on boot..but still it dosent.. checked most places but cant find whats conflicting perhaps.. anyone have an idea or faced the same issue? I love the rom but i prefer siyah on mine :)
[Galaxy S II Original Android Development] stevehkim:
confirmed. i just noticed.this as.well. can anyone enlighten me about lulzactive and how to adjust tegraks apps for battery and performance? i researched and not much came about. im new to all these governers as my atrix 4g's kernels had only 2 options powersave and interactive.

miui+siyah = beast
[Galaxy S II Original Android Development] pikachu01:
Hey gokhan,

Saw that ThunderBolt! was integrated to the /sbin ;)

However, I saw that last few lines of tweaks.sh is not being set as CONFIG_SCHED_DEBUG is not enabled. Kernel debugging will need to be ticked for CONFIG_SCHED_DEBUG to appear. And yes, using the CFS scheduler tweaks will significantly increase the performance (it's very visible).
[Galaxy S II Original Android Development] zer:
Same with ondemandx shows as ondemand? Can't find ondemandx.ko in /lib/modules/ folder.

In siyah script:

Deepsleep level 4 is refered to freq. Step 4 (800mhz)?

Thanks in advance
[Galaxy S II Original Android Development] stylez:
Ah that's why it happened ;) Didn't realize kernel dependant..
[Galaxy S II Original Android Development] HellcatDroid:
Yeah, finally found out the core cause for the app failing.

I am now storming my brain about what to do.

Just adding a dialog "No worky on this kernel" would at least tell people what's up and all, but I don't find that a satisfying solution ;)

I just d/l'ed his source from that repository thingy, maybe I can compile "my own" j4fs.ko from his kernel source and include it in the app.

j4fs.ko's from earlier Siyahs don't work, already tried that....

Would be cool if that'd work, we shall see :)
[Galaxy S II Original Android Development] siculo83:
Why the OTG NTFS does not work?
[Galaxy S II Original Android Development] bclark:
Obviously b.c you broke it...

Maybe you should provide a little more information than "hallllpppp my foonnneess brokeeeddd"

What are you using, how are you approaching it, what did you try to fix it.

Then maybe you'll get an actual answer
[Galaxy S II Original Android Development] barrist:
I can't seem to get the setting in lulzactive app to stick with 200 sleep off after reboot. It keeps going back to 500. Also Shouldn't it ask for root access too?
[Galaxy S II Original Android Development] stylez:
Cool hope it can be tweaked ;)

gokhanmoral,

can you include the needed so as pimpers can modify there boot/charge screen? Would be much appreciated. :)
[Galaxy S II Original Android Development] siculo83:
I was using 2.1.1 and when I open a hard disk to NTFS FORMAT, through GScript could do this easily. Now with 2..6.2 I can not do this because in GScript says there is an error:

stderr:

stderr: insmod: can't insert '/lib/modules/fuse.ko': File exists

stderr:

stderr: ntfs-3g-mount: mount failed: Device or resource busy

stderr:
[Galaxy S II Original Android Development] HellcatDroid:
lol, yeah, I'd just put a "update your kernel to latest release" dialog in, then xD

Going to push out an update with at least the notice dialog but app still not working, so people are not left in the dark while a solution is being worked on.
[Galaxy S II Original Android Development] stevehkim:
Gokhan seems as though the lulzactive app is not holding upon boot. Also is there a build.prop edit for this version? I'm trying to adjust my build.prop and it keeps reverting back to different settings such as dalvik vm heap size and max events. I'm not complaining as I love your work. Just giving a heads up. Keep up the awesomeness mang!
[Galaxy S II Original Android Development] xos84292:
N.E.A.K. Kernel

- SAMOLED+ screen UNDERVOLT (3V ---> 2.5V) to save battery (= performace)

Can Siyahkernel add this undervolt setting?
[Galaxy S II Original Android Development] chew1188:
nice just flash it, so far so good... keep the nice work :)
[Galaxy S II Original Android Development] kobi63:
If I want max performance from 2.6.2 Should I flash the performance.zip?
[Galaxy S II Original Android Development] droidphile:
Like entropy says, (http://xdaforums.com/showpost.php?p=20702118&postcount=14552) that voltage is used by screen controller, not by our SAMOLED screen itself. It will not bring about any significant power savings.

To save power, reduce auto brightness levels/reduce brightness.
[Galaxy S II Original Android Development] pikachu01:
Did you tick the "Set on Boot" in lulzactive app?

I think gokhan already did this:

https://bitbucket.org/gokhanmoral/siyahkernel/changeset/b8706a69295c
[Galaxy S II Original Android Development] gokhanmoral:
I have reuploaded v2.6.2 files.

changes: last 3 items in the changelog

-ondemandx fix

-j4fs added back

-sched_debug enabled to be able to enable/disable scheduler features via scripts
[Galaxy S II Original Android Development] gokhanmoral:
I did that but then I realized that the change is related with the controller and not the screen&pixels and I removed it.

it can make a difference though, but it is so small, like the earth in whole universe :)
[Galaxy S II Original Android Development] radicalgel:
"New mali drivers from Galaxy Tab Plus, PLUS the DVFS part which has 3 steps instead of 2. The second step clock is set to 267 instead of 266 to provide compatibility with voltage control app."

Can someone be kind enough to explain this to me pls. What is DVFS and how is the 3 step scaling beneficial? Also what is the lulzactive app used for? I would be very grateful for a quick mini tutorial. :)
[Galaxy S II Original Android Development] gokhanmoral:
we had 2 clock steps previously: 160MHz and 267MHz.

higher is better. 267MHz is used when you play games or play HD content.

now we have 160, 267 AND 300MHz steps.

and the scalind is done dynamically. normally, you don't have to do anything. on high load, 300MHz will be used automatically and give you additional performance.

lulzactive is a cpu governor which changes the cpu frequency dynamically.

there are some parameters that you can tweak, such as screen-off frequency which is 500MHz by default and you can set it to a higher or lower level.

that governor is coded by tegrak and so is the app.

you have to choose lulzactive (using voltage control or setcpu) and then you can use lulzactive application (from the market) to tweak the settings.

all of those settings can also be changed via scripts, but that is the hard way.
[Galaxy S II Original Android Development] fdbailes:
with the 3 step frequencies of gpu we have to wait for new VC app update to show correctly the 3 steps

cause on my script i have 100 267 300 frequencies and 800 950 1000 voltages settings, but on the app i see it mixed on gpu tab

lower state 100 mhz 950mv

high end state 267mhz 1000mv

maybe is a stupid question, sry if it is :P
[Galaxy S II Original Android Development] stevehkim:
i did hit set on boot for lulzactive. didn't stick. also my build.prop settings keep changing as I have my dalvik vm heap set at 80m and max events set at 120. after the 2.6.2 flash it goes to dalvik 48 and max events to 60.
[Galaxy S II Original Android Development] HellcatDroid:
:D

Some people will get happy mail from me now.

*deletes fs checking code again*
[Galaxy S II Original Android Development] radicalgel:
Hey thanks for that man. Flashed 2.6.2 and switched to lulz. Looking good so far. I'm currently on bfq, is there a scheduler that goes better with lulzactive or should I just leave it default?

Btw, in case I haven't mentioned it enough, Awesome kernel and brilliant support!
[Galaxy S II Original Android Development] pikachu01:
It's ThunderBolt! that is setting the vm heap size to 48MB and max events to 60.

About the lulzactive, let me reboot mine and see if it sticks. If it doesn't stick, I'll release a script to control them ;)
[Galaxy S II Original Android Development] jacky.toh:
I have a problem on lulzactive governor. When I use this governor, I noticed that if I am playing mp3 at the background and let the screen off. The mp3 will become very laggy.... Any parameter to tweak to avoid this happen?
[Galaxy S II Original Android Development] pikachu01:
How did you tune the governor? What parameters did you change?

My lulzactive parameter (ondemand-like):

int_cpu_load: 95%

pump_up_step: 4

pump_down_step: 1

screen_off: 200MHz

up_sample_time: 10,000us

down_sample_time: 40000us
[Galaxy S II Original Android Development] jacky.toh:
I did not change anything. The default value causing the lagging when screen off.

I just now tried to increawse the screen off limit to 800MHz, it did helps...

Now, I am going to try your settings.

Thanks!!!

---------- Post added at 03:17 PM ---------- Previous post was at 03:14 PM ----------

Tried your setting. If screen off limit set to 200Mhz, it caused lagging as well.

I have increased back to 500Mhz, but keep the rest of the value as what you have set.

It helps!! Thanks.
[Galaxy S II Original Android Development] guitarz:
Can I apply battery patch from 2.6.1 to 2.6.2?
[Galaxy S II Original Android Development] Visentinel:
HOLY CRAP!!!!! It's SO fast and responsive with the smartass v2, pretty much all the other governors take so long to scale up setcpu shortbench can even give a result of 400+ ms but smartass first result after an idle period kicks of 105ms on avg.

Oh yeah and my phone can do 1600mhzs!! Woohoo, but for daily use il go with 1400 lol.

Also can anyone help with linpack. It's often saying inaccurate or inconsistent result for precision.

Is it compatible with the exynos?
[Galaxy S II Original Android Development] boy1010994:
HELP!!!HELP!!!!

After flashing v2.6.2, it say that my "usb storage damaged ", it tell me to format it. I cannot use internal and external memory now. I dont know it can be seen in the computer now, as i dont have computer now. But when i go into cwm mode, i can see the files inside it as well as flash the zip again. Now i flash to v2.6.1.. if i dont format the storage how can i solve the problem?
[Galaxy S II Original Android Development] FrenchSparda:
Try to hook it on your computer ;) and your storage mustnt be corupted anymore
[Galaxy S II Original Android Development] boy1010994:
my english is not too good@@

what do U mean by"hook" ?

Connect the phone with the computer?
[Galaxy S II Original Android Development] pikachu01:
Did you try lulzactive with my settings?

int_cpu_load: 95%

pump_up_step: 4

pump_down_step: 1

screen_off: 200MHz

up_sample_time: 10,000us

down_sample_time: 40000us

And yes, the performance increase was attributed to ThunderBolt! integrated into Siyah ;)
[Galaxy S II Original Android Development] xtremeRadicalz:
does this i mean i need to change to cfs from sio?the scheduler
[Galaxy S II Original Android Development] pikachu01:
CFS is the CPU scheduler. You mean CFQ right? CFQ is an I/O scheduler.

CFS is utilized by default. It's the only CPU scheduler in the OS. I/O scheduler on the other hand is different. I recommend using SIO or Noop for I/O scheduler.
[Galaxy S II Original Android Development] FrenchSparda:
Simply plug your sgs2 on your computer like you did everyday ;) i had the same problem during my honeymoon. I tjought all my pics/vids were lost..but when i was back home..i plugged my sgs2 on my laptop...taaadaa...mass storage wasnt corrupted anymore
[Galaxy S II Original Android Development] Crazy-Silver:
Guys i don't have lulzactivev2 governor....... Why ?

From my Samsung Galaxy S II - Rom : CheckRomRevolution HD 4.0 - Kernel : Siyah 2.6.1 - Theme : Ice Cream Sandwich Domination 1.7

CHECKROM REVOLUTION HD BETATESTER
[Galaxy S II Original Android Development] gokhanmoral:
first of all, thanks for the script :)

I tried to send you a pm before putting it in but I could not :)

I also like SIO but noop may give you some lag because it has no starvation logic.

who comes first is served first... if a process is causing high IO requests that will effect the overall performance. for the starvation logic I think bfq is the best one. that is why I made it default because the responsiveness is higher than others.

pikachu01: I will edit your script a little bit to add checking of existing build.prop values and apply some settings if they are not already set by user. I hope you don't mind...? because I used your script "as is" and the results are very good. thanks again.
[Galaxy S II Original Android Development] kyapkk:
I also don't have lulzactivev2 governor using Turkbey Rom 29.5
[Galaxy S II Original Android Development] pikachu01:
Yup, not having the starvation logic is a killer actually when long I/O requests comes in. With that said, all the other governors are worse off due to their unwieldy overhead when it comes to scheduling.

I haven't fully tested BFQv3 (I only tested BFQv2 in i9000, and the results weren't that good compared to SIO).

The good thing about NOOP is that its light and has very low overheads, enabling it to react pretty quickly to aggressive CFS values. The same with SIO.

I added you as a friend :) You can PM me. Sorry about that.

And yes, you can edit the build.prop to adjust the values. The values I had regarding the max events and dalvik heap was based on i9000. I will edit it on my side as well :)
[Galaxy S II Original Android Development] droidphile:
@Pikachu

I see you've tweaked lulzactive to scale up cpu only at 'extreme' load, and increase is to 4th step w.r.t current frequency. Using lowest up sampling uS possible, the scale up logic is now battery friendly and responsive at the same time. Nice idea :)

With slightly higher down sample time and cpu being scaled down one step at a time, the idea is to gradually scale down cpu at lower loads. This tames the 'wildness' of lulzactive. Good thought.

Thanks to your thunderbolt script once again.
[Galaxy S II Original Android Development] Vaedryn:
I think lulzactive is the lulzactive v2 . When i set it as default i can use the tegrak app. This app dosnt work with v1 so i think it is v2

@gokhan

Is 2.6.1 battery script working with 2.6.2 ?

SGS II Tapatalk