yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] pikachu01:
It's hard to notice a difference in SGSII, but in SGSI where the CPU itself isn't as powerful as SGSII's, using BFQ causes lags when scrolling while SIO performs well.

This is due to SGS1's lack of resources in terms of cache/RAM/bus bottlenecks.

BFQ as with other schedulers is heavily tuned for rotational disks (spindle type hard disks).

http://algo.ing.unimo.it/people/paolo/disk_sched/

Only NOOP/SIO/Deadline is a first come first serve scheduler that doesn't have any overhead of calculating disk weights (backward rotation and optimized spindle movement). This is because flash drives doesn't have any penalty when reading/writing to addresses backwards, nor it has problems doing random seeks of forwards/backwards.

Having the overhead of calculating these algorithms is pointless and deterimental towards performance.
[Galaxy S II Original Android Development] pangiotis24:
i dont know why so many people prefer ondemand.i have a tweaked from the lulzactive app lulzactive governor and has better battery from ondemand and a bit better performance.my values are:

inc_cpu_load:70%

pump_up_step:3

pump_down_step:1

screen_off_min_step:7@100mhz

up_sample_time:2400

down_sample_time:3900
[Galaxy S II Original Android Development] moustro:
I used root explorer from the market.
[Galaxy S II Original Android Development] nitronos:
Hello

It's my 2nd post here and that's because everything was ok ... ti'll now...

My battery is draining 1% on every 1 or 2 minutes and i don't think it is ok. When i checked CpUSpy ... 99% is DeepSleep but when i use my phone my battery is going to 0 very quickly.

I'm using CheckRevo HD4, siyah 2.6.11 with no other scripts. Only VC with some UV and i never had SOD.

I'm using Noop with conservative but with all the others guvernors same result.

Pls help.

Thanks
[Galaxy S II Original Android Development] Dennys_Santos:
I was reluctant to generate a script for CWM, because not all hardware is the same. :o

Here on my phone everything works fine, but may not work for others!

I've seen in some previous posts that the settings I was using was still very conservative, but when I did some tweaking I ended up having problems, so for me this is the best result. :D

I advise you to adjust to higher values ​​in the script. ;)
[Galaxy S II Original Android Development] Honusnap:
I've seen somewhere (do not remember at the moment) that NOOP got the best overall write performance. SIO is a little slower for writes but better on reads... as writes are the biggest bottleneck i'm using NOOP and i'm very happy with it .. :)
[Galaxy S II Original Android Development] :
check in my signature the link to betterbatterystats thread. download the application and install it on your phone. then open it up and find out what causes the wakelocks that cause the battery to drain. what this app does is finding out, what keeps your phone awake when it is idle or even better when it is screen off mode. Anyway for better explanation go to that thread read the first post and page and you should have all the guides and explanation better there. If you still need help post your screenshots here and either myself or someone will help you out
[Galaxy S II Original Android Development] Honusnap:
Mmm i've not tested your configuration but for what i see it should not be as battery friendly as ondemand ! In your configuration frequency will jump instantly to 1200 (max) then go down "slowly"...

Use voltage control extreme (or other) than show me your frequency distribution (how much time the phone is staying in each frequency)... reset the counter than use your phone normally, no games, just sms, mms, browsing... etc, than reset the counter and go for ondemand... do the same process, sms, mms... etc THAN you will see that your config is far from ondemand.
[Galaxy S II Original Android Development] nitronos:
i installed bbs and i have this:
[Galaxy S II Original Android Development] CamoGeko:
You need to check Partial Wakelocks, Since unplugged. :)
[Galaxy S II Original Android Development] :
Do what Geko said and show us a screenshot of your partial wakelocks..That is were you can find out what causes the drain..

And hitting that thanks will not bite;)
[Galaxy S II Original Android Development] nitronos:
here it is

THANKS!!! :)
[Galaxy S II Original Android Development] :
From what i can see everything looks normal. Do this. Charge your phone and let it charge to the max. Then use your phone like you would normally do. Then the application can work out in due course what causes the drain for you, as i think it is to soon to find out since you just installed the application.

So do this.:

Charge phone to the max

Use phone as normal with your current settings

Check betterbatterystats as Geko mentioned in Partial wakelocks when unplugged or since charged

Post screenshots here and we take it from there for you my friend. Give it at least a day so the application can collect the data that causes the drain for you

Unless someone else can find out more i think what i just said above is probably the best solution.:)
[Galaxy S II Original Android Development] kilian7th:
The best kernels from gokhan are always for the moment 2.6.7 and 2.6.9.

2.6.11 is very good for battery life but very strange in everyday use, i can't explain why but my phone seems to freeze for seconds and everythings come back to the normal...
[Galaxy S II Original Android Development] nitronos:
Ok. I'll charge my phone and i'll come back tomorrow with some screens. I lost 10% in 1/2 hour .. sad :(

Thank you
[Galaxy S II Original Android Development] forumlarabak:
Good Kernel for me.

Good Kernel for me.

Rom : I9100XILA2

Kernel : SiyahKernel v2.6.11

Launcher : -

SetCPU : min 200MHz - max 800MHz

200MHz - 850mV

500MHz - 900mV

800MHz - 950mV

Smooth and stable tnx Gökhan.
[Galaxy S II Original Android Development] :
No problem. Listen i would switch governors also though. Switch over to smartassv2 or ondemand. Those governors are more battery friendly.
[Galaxy S II Original Android Development] pixiebob:
hugh battery life with 2.6.11(and tweak), i'm really impressive largely better than hardcore or neak kernel
[Galaxy S II Original Android Development] PedroMRP:
Try to delete the spaces and the new lines and add them back using script manager.

If you did use a text editor in windows to open the file its possible that the text editor added some unrecognized characters.
[Galaxy S II Original Android Development] GJ123:
Dude could you please see which spaces?;p

I used Notepad++ btw xd

I do not get it at the moment.

Hard stuff for a newbie, but really curious.

Any other ideas?
[Galaxy S II Original Android Development] ziroxs:
So you tried the speedmod with tweaks?
[Galaxy S II Original Android Development] incubus_fr:
Delete all the trailing semicolons.
[Galaxy S II Original Android Development] GJ123:
Mm now got this:

#!/system/bin/sh
echo noop > /sys/block/mmcblk0/queue/scheduler;
echo lulzactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo 2 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_target;
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_offset;
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_step;
echo 5 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_cpulevel;
echo 2 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_buslevel;
echo "1600 1400 1200 1000 800 500 200 100" > /sys/devices/system/cpu/cpu0/cpufreq/freq_table;
echo "1350 1275 1150 1050 950 900 850 800" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table;
echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "40 133 267" > /sys/class/misc/gpu_clock_control/gpu_control;
echo "90% 25% 90% 45%" > /sys/class/misc/gpu_clock_control/gpu_control;
echo "850000 900000 950000" > /sys/class/misc/gpu_voltage_control/gpu_control;
echo 35 > /sys/module/pm_hotplug/parameters/loadl;
echo 80 > /sys/module/pm_hotplug/parameters/loadh;
echo 90 > /sys/module/pm_hotplug/parameters/loadl_scroff;
echo 100 > /sys/module/pm_hotplug/parameters/loadh_scroff;
echo 400 > /sys/module/pm_hotplug/parameters/rate;
echo 400 > /sys/module/pm_hotplug/parameters/rate_cpuon;
echo 1000 > /sys/module/pm_hotplug/parameters/rate_scroff;
echo 524288 > /sys/module/pm_hotplug/parameters/freq_cpu1on;
#echo "0 0 0 1 1 2 2 2" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static;
#echo enabled > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static;
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings;
echo 3 > /sys/module/cpuidle/parameters/enable_mask;
echo 50 > /sys/devices/virtual/sec/sec_touchscreen/tsp_threshold;
echo on > /sys/devices/virtual/misc/second_core/hotplug_on;
echo on > /sys/devices/virtual/misc/second_core/second_core_on;
if [ ! -d /data/.siyah ];
then
mkdir /data/.siyah;
chmod 777 /data/.siyah;
fi;
touch /data/.siyah/disable-logger;
setprop debug.sf.hw 1; # HARDWARE RENDERING (GPU)
setprop video.accelerate.hw 1;
setprop debug.performance.tuning 1;

And still: Script manager says:

not found/init.d/S89Siyahtweaks: line 2:

And so on till 35.

Exit code 2

Clueless:(
[Galaxy S II Original Android Development] PedroMRP:
Change this 2 lines:

echo noop > /sys/block/mmcblk0/queue/scheduler;
echo lulzactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;

to

echo "noop" > /sys/block/mmcblk0/queue/scheduler;
echo "lulzactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
[Galaxy S II Original Android Development] Entropy512:
You say 1% every 1-2 minutes, but in your screenshot you've been going for nearly 6 hours. And DeepSleep in your CPUSpy screenshot is nowhere near 99%.
[Galaxy S II Original Android Development] pixiebob:
yes i have try with personal tweak
[Galaxy S II Original Android Development] GJ123:
Changing at the moment!

Appreciate your help mate,
[Galaxy S II Original Android Development] incubus_fr:
No I said remove the ";" at the end of each line, except at the end of lines beginning with "if".
[Galaxy S II Original Android Development] PedroMRP:
That is not the problem

The ";" only indicates the end of a statement.
[Galaxy S II Original Android Development] incubus_fr:
That's not required and can be a problem sometimes.

Double quotes around single words (without spaces) are not required either ;)
[Galaxy S II Original Android Development] GJ123:
@above

"noop" did not fix it.

Will try removing ;
[Galaxy S II Original Android Development] tolis626:
Ooops,thanked you instead of quoting you.Whatever. :p

Have you checked your script's permissions?Try running it as root(skull icon) with script manager and see if it returns the same result.
[Galaxy S II Original Android Development] :
Tolis my man. Question for you. What are the benefits of you having your GPU at 400 please
[Galaxy S II Original Android Development] SirCanealot:
+1 on battery life on .11. Was on .7 before, and my eyebrows have been raised a few times with my battery life so far :p

Performance seems solid too, but I've always been too cba to care about micro lags, haha...
[Galaxy S II Original Android Development] tolis626:
Well,it's even faster than it was. :p

Basically I notice a difference in games like Modern Combat 3,but nothing super-duper fantastic.That's why I keep the second threshold relatively high,so it scales up when needed.Plus,it sometimes seems to relieve the CPU of some load during games,although that can easily be placebo.It doesn't seem to affect battery life or the heat generated significantly,so I don't have any reason to tune it down again. :)
[Galaxy S II Original Android Development] :
Hmm. Interesting. Might give it a bash and check it out. I am kinda using 100 as low and 267 as high.
[Galaxy S II Original Android Development] Dennys_Santos:
In fact should not forget to save the file in the format: UNIX and UTF8

For sometimes get characters that are breaking the script before executing the last line. :D
[Galaxy S II Original Android Development] tolis626:
Well,try using 133-267-400 with 50%-25% and 80%-20%.It seems a good compromise between performance and battery-life.Although I'm using different thresholds,I've tested the above configuration and,well,it works. :)
[Galaxy S II Original Android Development] :
Problem is Voltage control only allows two steps and i am crap in using scripts or editing them:o
[Galaxy S II Original Android Development] tolis626:
Well,I suggest you download KcDaRookie's excellent init.dGen from the Themes and Apps section.It just works.And you don't have to use the generated script as an init.d script,you can just save it and use it with Script Manager.

Or just use script manager,create a script with only the lines for GPU clocks,voltages and thresholds.It's really easier than it seems. ;)
[Galaxy S II Original Android Development] :
Might give it a try then. Cheers fella.:)
[Galaxy S II Original Android Development] nitronos:
Yes because i use my phone just for calls and messaging. When my screen is off in 4 hours it drain 8% BUT when the screen is on i get an excessive draining.
[Galaxy S II Original Android Development] nitronos:
Now... At 0:57 i charged to 100% and at 01:08 only using xda app i got 97%. It is normal?
[Galaxy S II Original Android Development] Vaedryn:
When display and network is the whole time on, yes.

SGS II Cyanogen Mod Tapatalk
[Galaxy S II Original Android Development] Doodalicious:
Hey guys when using Siyah with the latest MIUI Weekly from miuiandroid, if I let the phone sleep for around 2 hours + without waking, I can't seem to wake it without a reboot. Any ideas on what could be happening?
[Galaxy S II Original Android Development] Simba501:
It's a "Sleep of Death" (SOD). Are you undervolting?
[Galaxy S II Original Android Development] stevehkim:
your getting SOD. are you UVing? any scripts?
[Galaxy S II Original Android Development] Doodalicious:
Nope, just stock v2.6.11 from the main site.

And holy **** you guys are fast haha thanks loads bros.
[Galaxy S II Original Android Development] veyka:
Once you get the phone rebooted, do the following from a terminal emulator.

su

cat /proc/last_kmsg > /mnt/sdcard/last_kmsg

post this log.
[Galaxy S II Original Android Development] Doodalicious:
Sure man, I'll go reinstall it and get it out when I can after work.

Thanks dood!

---------- Post added at 09:10 AM ---------- Previous post was at 09:00 AM ----------

Could this have anything to do with the fact that i wiped by using the samsung kernel cleaning script? Most likely not right?

For the installation of Siyah Kernel I mean.
[Galaxy S II Original Android Development] stevehkim:
no. cleaning script is ok
[Galaxy S II Original Android Development] pmichaelro:
USB Tethering Issue!

I've been having some issues since using this kernel. If i want to use USB tethering, i connect the phone to my PC, enable the USB tethering option and my PC starts to move really slow, especially if i try to "Open Network and Sharing Center" or the adapter settings for the USB tethering. Anybody else noticed slow downs on the PC they use USB tethering with? I've got SGS2 ofc and Original Windows 7 Professional SP1, tried it on another Windows 7 Ultimate SP1 and still the same issue...can i solve this issue somehow? Please help. Thanks in advance!
[Galaxy S II Original Android Development] marcosxd:
Hi guys

Is there a way to modify the time when the phone is looking for wireless networks and/or connects/disconnects to a known one?

Maybe a file I could edit?

Thanks!
[Galaxy S II Original Android Development] msgfromside3:
Yes. Look for build.prop and wpa interval from search engine. It is not kernel specific.
[Galaxy S II Original Android Development] legendasboy:
My phone loves 2.6.9

Great display time
[Galaxy S II Original Android Development] stevehkim:
it should say wifi scan interval in the build.prop
[Galaxy S II Original Android Development] The_MutenRoshi:
My wifi is tooooooo slow with 2.6.11!!! Cant even open wallbase and not xda forum... I dont why...

Sent from my GT-I9100
[Galaxy S II Original Android Development] zaphod777:
I'm not sure if this is something that can be set in the kernel or not but would it be possible to set the lower limit of the volume to something lower than it is now? It listen to a lot of audio books with headphones at night and I would like to be able to set the media volume a bit lower than the current default limits allow. The lower limit seams to be different with different ROM;s so I don't know if this is a kernel setting or not.

Also on the NTT version the GPS always has me pointing in the wrong direction.
[Galaxy S II Original Android Development] pikachu01:
In notepad++, save as a unix file. You'll get rid of the extra LF in the file (which comes up as a space in unix). You probably saved it as a windows/unicode or some sort.
[Galaxy S II Original Android Development] omniwolf:
doesn't a reboot clear the kmsg buffer?
[Galaxy S II Original Android Development] Entropy512:
Not if it's the first boot after the SoD: Note, you MUST exit the SoD using the long-press of the power button, or the buffer will be lost. Battery pull will wipe the log.

The BTHID fix is looking promising - confirmed positive reports for AT&T UCKK6, I'm waiting for some users to say that Hellraised XWKK5 and later are also fixed and I'll send GM the patch or just post it in a new thread so it's useful to everyone.
[Galaxy S II Original Android Development] veyka:
Not the last_kmsg, thats the point of it, also what Entropy512 said.
[Galaxy S II Original Android Development] droidphile:
Also, thanks to you for the changes from your initramfs, for next Siyah. Especially the wifi driver and cpu idle changes.

Note to people who's worrying about top-off current reduced to 100: In next version, it's reverted to default 200ma.
[Galaxy S II Original Android Development] omniwolf:
ah very cool, expect a last_kmsg log from me soon ;)
[Galaxy S II Original Android Development] ZeroPDA:
In the terminal Emulator under root in Criskelo V38 ROM:

# insmod /system/lib/modules/cifs.ko

insmod can't insert '/system/lib/modules/cifs.ko' invalid module format

Where can I find suitable cifs.ko module for this kernel?
[Galaxy S II Original Android Development] antt00:
/lib/modules/cifs.ko
[Galaxy S II Original Android Development] droidphile:
/system/lib contains different set of '.so' modules. They're not LKMs.

All Kernel Object modules are in /lib/modules.

su

insmod /lib/modules/cifs.ko
[Galaxy S II Original Android Development] ZeroPDA:
Thanks a lot! It works great!
[Galaxy S II Original Android Development] DeathMetalMods:
I noticed a very strange behaviour of Siyah 2.6.11 today:

I flashed this kernel now for some time and never had problems. Today I wanted to mod my wifes SGS2, which is on 2.3.6 XILA2.

First time I flashed the kernel everything was fine. Because of some bad UOT Kitchen framework zip I had to flash again, but from this time on, after Flashing the Kernel I got stuck in the bootanimation.

I shut the phone down, rebootet again and everythin was OK, besides: CWM.apk was missing. I checked the SU app and Root was perfectly applied, just the CWM.apk was missing.

I reflashed the kernel several times and always the same thing: Stuck at bootanimation, reboot, missing CWW.

Finally I went on anyway and after another reboot (after kicking useless Samsung apps with Titanium) CWM was THERE

I am kind of experienced with this stuff, but this struck me as odd.
[Galaxy S II Original Android Development] pikachu01:
By any chance, are you using ThunderBolt! or any zipalign script?
[Galaxy S II Original Android Development] brack11:
Sorry can't use search, I'm on Tapatalk and search is very poor here but my question is this kernel work with cm9 or not yet?
[Galaxy S II Original Android Development] pikachu01:
It doesn't :)

You can read this from the first post itself. :/
[Galaxy S II Original Android Development] DeathMetalMods:
nothing of that. Just a wiped fresh install of 2.3.6XILA2
[Galaxy S II Original Android Development] pikachu01:
Hmm, then I'm out of clues :/

AFAIK, CWM app is not integral to the phone. It might've been removed by something else you've flashed?
[Galaxy S II Original Android Development] Honusnap:
Is there a way of knowing how much time the GPU is staying at each frequency ?

I've just seen that when using the phone to play it stay at 500Mhz, that's a pretty low frequency.. good news for the battery, but i would like to know on which frequency is the GPU.

Same question for the second core, is there anyway to know how much time the phone has been on 1 / 2 cores ?
[Galaxy S II Original Android Development] caiston:
Bad battery drain last night on 2.6.11

First full charge completed after flashing kernel and then left alone overnight.

CheckROM RevoHD V4

Siyah 2.6.11

Sio/ondemand

CPU 200-1200 UV -50mV on all frequencies

No other tweaks or scripts

No idea what has caused it

Gonna charge battery and reflash

Only second ever issue on this kernel!

Was getting wlan_rx_wake drain on earlier version, 2.6.7 I think!

Generally tho this kernel is the best thing ever to happen to my phone :)
[Galaxy S II Original Android Development] pmichaelro:
Why does everyone here skip my question?

It's a legitimate one and i really need help please!
[Galaxy S II Original Android Development] DeathMetalMods:
No, I flashed nothing else. Strange thing is, that it worked to first time. Then, after having to fix the UOT file (bad battery mod, some corrupted framework) it was always stuck at Bootanimation and lost CWM.

Anyway, its working now, but it leaves me puzzled ...
[Galaxy S II Original Android Development] :
Can anybody tell me the benefit of enabling these values for siyah (found in thunderbolt!). Is it a good idea to do so? If so, why?

#hotplug parameters

echo 50 > /sys/module/pm_hotplug/parameters/loadl;

echo 90 > /sys/module/pm_hotplug/parameters/loadh;

echo 75 > /sys/module/pm_hotplug/parameters/loadl_scroff;

echo 100 > /sys/module/pm_hotplug/parameters/loadh_scroff;

echo 200 > /sys/module/pm_hotplug/parameters/rate;

echo 800 > /sys/module/pm_hotplug/parameters/rate_cpuon;

echo 800 > /sys/module/pm_hotplug/parameters/rate_scroff;

echo 500000 > /sys/module/pm_hotplug/parameters/freq_cpu1on;

#deepsleep levels

#echo 4 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_cpulevel;

#echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/deepsleep_buslevel;

#smooth scaling parameters

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_target;

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_offset;

echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/smooth_step;

#cpu governor

#gpu clock, threshold and voltage

#echo "160 267 300" > /sys/class/misc/gpu_clock_control/gpu_control;

#echo "70% 40% 80% 60%" > /sys/class/misc/gpu_clock_control/gpu_control;

#echo "950000 1000000 1100000" > /sys/class/misc/gpu_voltage_control/gpu_control;

#static bus frequency

#echo "0 0 0 0 1 2 2 2" > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static;

#echo disabled > /sys/devices/system/cpu/cpu0/cpufreq/busfreq_static;

#enable sched_mc

echo 1 > /sys/devices/system/cpu/sched_mc_power_savings;

#enable AFTR

echo 3 > /sys/module/cpuidle/parameters/enable_mask;

#brightness settings

echo 20 > /sys/class/misc/brightness_curve/min_bl;

echo 1 > /sys/class/misc/brightness_curve/min_gamma;

echo 24 > /sys/class/misc/brightness_curve/max_gamma;
[Galaxy S II Original Android Development] dakki12345:
can i ask if the kernel will work on my m250s Anycall galaxy s2?? im running lightning rom now.. i was wondering if these kernels would work on m250s galaxy s2 anycall? thanks for reply
[Galaxy S II Original Android Development] CamoGeko:
QUOTE:

"International (i9100) Version: TAR, ZIP

NTT DoCoMo (Japanese) Version: TAR, ZIP

AT&T (SGH-I777) Version: TAR, ZIP

Korean (M250K/M250S) Version: TAR, ZIP"

Source:

http://gokhanmoral.com

My guess, is yes it will work.
[Galaxy S II Original Android Development] msgfromside3:
Or you can always read from browser. There is a menu that opens the thread from a browser.