yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] gokhanmoral:
good idea. I will try whitelist packet filter instead of black list next time.

I remember that my previous android device (htc desirehd) was consuming lots more power when I was at work then I was at home (6-8mA vs 74-75mA). I think the reason was the same.
[Galaxy S II Original Android Development] sahibunlimited:
any help on this?
[Galaxy S II Original Android Development] Vaedryn:
I think your phone don't like OC. use 1200 this is more than enough speed.

Cyanogen Mod 9 Tapatalk
[Galaxy S II Original Android Development] KcDaRookie:
Just to have it mentioned:

Yesterday I wrote that I was facing connectivity issues and signal drop after flashing 2.6.4 (here).

This wasn't either due to the moden or the kernel, my provider was having issues on the 3g network which caused login issues, after changing the phone to 2g only mode it works as it should.
[Galaxy S II Original Android Development] remorema:
cant connect my BT apple mighty mouse with this kernel neither with void.

CF kernel works fine

any ideas on whats causing this problem

it can detect and pair. but wont connect at all
[Galaxy S II Original Android Development] lpsi2000:
Yep go to 1696 MHz:rolleyes:. Have you ever thought may be your phone can't handle 1.6Ghz, just an idea!
[Galaxy S II Original Android Development] remorema:
he can also increase voltage until it smells like burned plastic :)
[Galaxy S II Original Android Development] AndreiLux:
In my home network I have issues with loose packets by the Windows network drive services always trying to search for my laptop with NBSP discovery packets, and just in general UPnP packets and all kinds of broadcast packets that have little to do with the phone, just waking up the phone and doing nothing at all. If I leave everything off on a silent network, battery life is fantastic. I saw that in your latest commit in the Broadcom drivers you switched to a whitelist type filter for incoming packets, but it's not optimal as it doesn't block any of the useless packets. I wouldn't mind if it ignored *all* broadcast/multicast, other than ARP for obvious reasons.
[Galaxy S II Original Android Development] N6666661:
Thanks for answering:D
[Galaxy S II Original Android Development] ndnesh:
Bumping!! Really keen to use 2.6.5 or 2.6.4 if this problem is resolved ...

Please help!

I have been using 2.6.2 for almost a week now and have no problems with it... but as soon as i updated to 2.6.4 , the screen brightness got screwed up... i could see lines on the right hand side of the screen(top right and bottom right) and the left side of the screen was quite dark... this was not so with the 2.6.2. i did not try the 2.6.3.

I have checked the changelogs but there was no mention of any changes to any display parameters.

What changed? I really loved the look of the 2.6.2 with the clear screen ... can you please look into this??

Also, i dont use any scripts, just use the kernel as it is.
[Galaxy S II Original Android Development] chadouming:
It wont happen because of hardware limitation :P
[Galaxy S II Original Android Development] platy222:
With 2.6.4 i have weird graphic failures on the right side of my Screen... with 2.6.2 they are minimized but still There...
[Galaxy S II Original Android Development] maranello69:
i'm runing v2.6.4 with no custom settings, just change CPU governor to smartassv2 (200-1400) with Setcpu and i'm getting pretty good batery and smooth experience

i charge the phone every night, so i don't really care about battery life, but i wanted to say that this release feels stable and has also great performance, at least for me ;)

keep up the great work devs!
[Galaxy S II Original Android Development] hk5354:
Tethering is not work on oxygen AOSP ROM:(
[Galaxy S II Original Android Development] MPKO:
With checkrom v4 it works fine.
[Galaxy S II Original Android Development] gokhanmoral:
v2.6.5beta1

- lowered bus frequency threshold

- set lower gpu step back to 160MHz

- lulzactive and interactive tweaks

- enabled whitelist mode in wifi driver and disabled ipv4 and ipv6 multicast/broadcast packets

- set charge_currents to 650 550 450 to relieve the thread of people who haven't read that they have no effect.

- some experimental cpufreq driver changes

- put the throttling limits back. this may prevent the phone shutting down on high load (such as games)

- SLQB

- defailt io scheduler is sio

- disabled rcu_fast_no_hz

- fixed iostat indexing bug in optimization script.

if you are using custom frequency table, this release may be unstable because of the changes in cpufreq part.
[Galaxy S II Original Android Development] PedroMRP:
gokhanmoral did you fix the iostats bug in thunderbolt.sh?
[Galaxy S II Original Android Development] gokhanmoral:
Yes thanks for reminding i will update the changelog
[Galaxy S II Original Android Development] PedroMRP:
It appears that the settings in my init.d script don't stick after boot.

EDIT: Forget it... my mistake :P
[Galaxy S II Original Android Development] EyeTech:
Just tried this, (2.6.5b1). Locked up after about a minute of use, while screen on (not sod). Had to press and hold power to force a shutdown/reboot. Reproducible (twice now). Using thunderbolt script (+ the screenstate_scaling one), 100-1200, no custom frequency, no UV/OC, ondemandx, sio. Installed kernel from cwm app. Didn't clear cache or dalvik as I don't use bln. Reflashed back to 2.6.4 and all seems well again. Using checkrom revohd 4 (2.3.6)
[Galaxy S II Original Android Development] incubus_fr:
Confirmed ;-)
[Galaxy S II Original Android Development] PedroMRP:
Until now, and with my daily usage, with system_tweaks, darky_zipalign and my tweaks as custom freq table, custom gpu control, hotplug settings, brightness settings and bus settings didn't have any problem appears to be stable.
[Galaxy S II Original Android Development] sahidmiah:
I have a question for the dev. Why does you tube. Videos on HQ quality stutters. Only when I watch a full movie. It sort of freeze stop freeze stops every second. But when I watch on non HQ. It works fine. I have tried every custom kernel and stock kernel .same problem .

At this moment I am using check rom v4 with shia kernel 2.6.4.please answer my question. Thanks
[Galaxy S II Original Android Development] stylez:
Try clearing cache and dalvik its not only for BLN. "If issues would be first thing to do"

Also if using VC etc remove boot settings.

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] gemini8026:
Could someone tell me how I can increase my Heap size in this kernel?!?

I was using stock CM7 before and I had edited build.prop to allow for 128 megs of ram. However, even after saving it again, it reverts back to 80 in Siyahkernel.

The reason I need it is because of the app DSLR controller which is used to control my Canon DSLR camera.

Anyone?! VM heap on the market doesnt help!
[Galaxy S II Original Android Development] PedroMRP:
I think that the reason is the Thunderbolt.sh script used by gokhanmoral that sets the vm heap to 80.

Try to create a script in the init.d folder with "setprop dalvik.vm.heapsize 128m;" or add to an existing script
[Galaxy S II Original Android Development] stevehkim:
GK att version for 2.6.2b so i can test?

tweaked - by me

kernel - siyah the og

rom- me you eeee.
[Galaxy S II Original Android Development] cooldfuzion:
Testing on Miui and its very smooth ;-) thanks mate!
[Galaxy S II Original Android Development] EyeTech:
Cleared cache and VC boot settings. Unit now locks during boot. Reflashed kernel and wiped cache (+ dalvik) a second time. Reproducible - hangs about 1 minute into the boot animation (long boot as cache wipe). Tried tar and zip. Same outcome. Reflashed prev kernel (2.6.4) and boots fine.

Does anything need to be done to the thunderbolt scripts when a new kernel is flashed?
[Galaxy S II Original Android Development] MPKO:
Have u ever considered that maybe your data provider had some issuess? It is unlikely any sw if u have tried them all ;)
[Galaxy S II Original Android Development] MPKO:
Is it only me who feels that the touch screen functionality is much better in latest 2.6.5.b.. compared to 2.6.4 ? Or have i drunk one class too much wine???
[Galaxy S II Original Android Development] PedroMRP:
Which smooth scaling parameters are more battery friendly?

I have

echo "3" > /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
[Galaxy S II Original Android Development] sahidmiah:
I am using wifi
[Galaxy S II Original Android Development] incubus_fr:
Not so confirmed eventually. I raised my max freq voltage 25 mV and GTA III is stable again.
[Galaxy S II Original Android Development] pikachu01:
There are network related tweaks, but none of them should affect wifi AP connection. They're just speed tweaks. Try only installing the init.d files. Your ROM might've bundled something in their wifi drivers that the binary files could make it incompatible.

80MB is not enough? >.<

Like PedroMRP mentioned, just create another init.d script.

---------- Post added at 10:32 AM ---------- Previous post was at 10:22 AM ----------

Report: 2.6.5b1 is unstable even using stock voltages/frequencies.
[Galaxy S II Original Android Development] ReiKo90:
2.6.4 after few days of testing shows significant battery drain.
[Galaxy S II Original Android Development] pikachu01:
This is with ThunderBolt! or without?

Can you try with ThunderBolt! instead?
[Galaxy S II Original Android Development] sayatsugu:
Hi Pikachu,

thanks for the reply.

I think I might have gotten the i9000 mount instead, going back to reload it again.

Thanks !
[Galaxy S II Original Android Development] PedroMRP:
Since I've flashed v2.6.5b1 and set my tweaks that I've been using, still didn't have any problems of any kind.
[Galaxy S II Original Android Development] AndreiLux:
Same here, no problems yet, even undervolted.
[Galaxy S II Original Android Development] thunderteaser:
Feature request

Best kernel so far for the SGSII, congratulations! :)

Are you planning on implementing led-notifications (not BLN) and deep idle (didle) into the next releases?
[Galaxy S II Original Android Development] antt00:
Yeah my devices also freezes with 2.6.5b1. Have removed tweaks and voltage control script also the same. It happens a few mins after media scan. No UV no OC.

On Turkbey 29.5 (KK5).
[Galaxy S II Original Android Development] gh.rohit:
Where is 2.6.5b1??? I checked his site also
[Galaxy S II Original Android Development] antt00:
Look a few page back on this thread.
[Galaxy S II Original Android Development] pikachu01:
For those without freezes, that governor are you using?
[Galaxy S II Original Android Development] gh.rohit:
Sio and lulzactive +uc,uv
[Galaxy S II Original Android Development] pikachu01:
Lulzactive won't experience the freezes (I think). I think the code difference would only affect conservative, ondemand and ondemandX.
[Galaxy S II Original Android Development] Mutalisk:
Hey Pika, conservative run's stable with aggressive undervolting here.

Had freezes, but after I stopped to undervolt my gpu too aggressive as well, no problems.

But I noticed that sometimes CPU seems to be locked at 800 while set to 1600 max :)

Thanks to Gokhan for his work! :)
[Galaxy S II Original Android Development] gh.rohit:
Yes,it runs smooth.

As per observation, 1% loss for 3min with 3g.....is it ok?? Or anyone else getting better than this? Because i use 3g only.
[Galaxy S II Original Android Development] droidphile:
Deep idle is already implemented in the kernel, and is called LPA in Siyah.

We can have normal IDLE or AFTR with LPA enabled or disabled.

IDLE = 0

AFTR = 1

IDLE+LPA = 2

AFTR+LPA = 3

Ex:

echo "3" > /sys/module/cpuidle/parameters/enable_mask
[Galaxy S II Original Android Development] Rixsta:
Also had freezes with 2.6.5b1 ..using ondemand...it would freeze in browser or xda app and i had to reboot ..back to 2.6.4 ..same govener and settings and all is fine again
[Galaxy S II Original Android Development] b2rdetor:
what that bugs means???

---------- Post added at 08:32 AM ---------- Previous post was at 08:25 AM ----------

OMG 2.6.4 hast limit???? why we couldnt saw that inda changelog???

CPUscalesdownlimit are disabled or may be just scaled up limit temperature (exaple 90C)???

are phone power off via overheat disabled too????

my phone are hot and with HIGH load it can switch to 800 with earler releasers of siyah, but with 2.6.4 it cannot and my phone was extremely stable!

think that you can just increase that limit 85>95C or some less (may be 90C) if you want to leave that treshold
[Galaxy S II Original Android Development] :
stupid question..as voltage control seems to have a bug and cpu clock can not go over 1200Mhz i changed over to No Frills and everything seems fine now. But i want to control the voltages and undervolt..Can anyone answer me and tell me if i can still VC to undervolt and use No Frills to overclock or will both clash? Thanks..Apologies if this sounds silly....By the way 2.6.4 for me battery wise tops any other previous versions of the kernel
[Galaxy S II Original Android Development] pikachu01:
Might be an ondemand only issue?

The bug is a typo in thunderbolt.sh. Won't effect much actually.
[Galaxy S II Original Android Development] antt00:
It hang on me on ondemandx as well. Did not try conservative. Will try later.
[Galaxy S II Original Android Development] N6666661:
I have installed the 2.6.5 beta 1 kepping 2.6.4 init.d script :

#!/system/bin/sh

echo "1550 1500 1250 1000 750 450 150 50" > /sys/devices/system/cpu/cpu0/cpufreq/freq_table
echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1400 1325 1175 1050 975 875 850 800" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo lulzactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 20000 > /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
echo 40000 > /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
echo 80 > /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
echo 2 > /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
echo 1 > /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
echo 7 > /sys/devices/system/cpu/cpufreq/lulzactive/screen_off_min_step

echo "100 200 300" > /sys/class/misc/gpu_clock_control/gpu_control
echo "800000 900000 1100000" > /sys/class/misc/gpu_voltage_control/gpu_control

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

echo noop >

with this script 2.6.4 give me a 7300 Antutu score

With the same script 2.6.5 beta 1 gives me arround 5100:confused:
[Galaxy S II Original Android Development] xcarecrow:
it´s Said thousand times, stay away from benchmark scores, just play games, use the phone normally and see if all is working smoothly and correct.

P.D: And change scheduler to SIO, it's better.
[Galaxy S II Original Android Development] pangiotis24:
which sceduler is better in terms of performance?sio or vr?
[Galaxy S II Original Android Development] :
Read here link. That should answer your question file mou:)
[Galaxy S II Original Android Development] b2rdetor:
2.6.4 has overheat protection OFF

2.6.5 - ON!!!

overheat protection means that when CPUtemperature up to >85C CPU freq scales down to 800mhz until CPU temp became <85

you tryed to set max CPU to 1600 and simply you CPU overheat to >85 and overheat protection scales down to 800 during test and that why you have so bad antutu scores!!!

Game performance will affected too!!! overal phone game performance will be very bad!!!

solution - set max CPU to 1200 or just flash 2.6.4 ))))

but gokhan isnt say no word about extreme overheat protection which switch phone if it extreme overheat (i dont khow that temperature - may be 100C)

IMHO in future siyahs gokhan can not turn off overheat protection - just increase temperature treshold 85 to 95 or 90!!!

---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------

you cant understud what you talking about!

its affect not only benchmark performance it affect any heavy CPU usage apps when you try overclock s2.

so now with that tresshold many s2 does not make sense any overclock!

but turning that treshold OFF it a potentially dungerous! espessial if gokhan turned off additional overheat protection which not decreases CPUfreq to 800 but it switched off you s2

---------- Post added at 01:22 PM ---------- Previous post was at 12:38 PM ----------

seems like extreme overheat isnt turned off - so it means that a 2.6.4 - overclockers choice!!!
[Galaxy S II Original Android Development] N6666661:
thanks for the infos I didnt noticed that point.

Where did you grab this info?
[Galaxy S II Original Android Development] Rampler:
I'm not sure if i should install the thunderbolt script.

What are your experience with the scripts for Checkrom V4?
[Galaxy S II Original Android Development] xcarecrow:
I am with checkrom v4 scripts and no thunderbolt. All running smooth and fine, but i am using ondemand governor.
[Galaxy S II Original Android Development] tolis626:
And you're sure your CPU overheats enough to reach 85 degrees Celsius?Really?C'mon man,it would be a boiler or a frying pan if it was so,let alone 90 or 95 degrees.Yes,it goes really hot sometimes,but not at such a degree.Not that the CPU can't take it(It may be able to tolerate such heat,it may not,depends on the CPU),but other parts of the SoC are much more sensitive to heat.It would also **** up the organic substrate of our AMOLEDs.So I don't think you actually have proof about it...Right?

CPU throttling on high load is another thing.When load is high,temperatures will rise,but it's not the same.
[Galaxy S II Original Android Development] rodries:
After some tests I've noticed that kernel 2.6.5b1 will hang if you set hung_task_timeout_secs

So sysctl -w kernel.hung_task_timeout_secs=30 will freeze the device after 30 secs (from ThunderBolt system_tweak script)

Only happens in 2.6.5b1 not in 2.6.4

So if you comment this line all works fine

Another bug in ThunderBolt in system_tweak script is this line

sysctl -w kernel.sem=500,512000,100,2048;

must be:

sysctl -w kernel.sem="500 512000 100 2048"
[Galaxy S II Original Android Development] kobi63:
Can you please tell me how do I manually set the screen-off frequency?
[Galaxy S II Original Android Development] PedroMRP:
the right way is sysctl -w kernel.sem="500 512000 100 2048"
[Galaxy S II Original Android Development] EyeTech:
Sorry if the answer to this is easy to find. I'm away and only have my phone. Searching xda via app isn't available and it's a chor from the mobile browser. Sorry.

If I want to edit the script to made these changes, do I just edit the script in init.d or do I need to re-run script manager stuff after also? Thanks.
[Galaxy S II Original Android Development] PedroMRP:
You need to edit the system_tweaks script and then run the script as root in script manager or just reboot your phone.
[Galaxy S II Original Android Development] thunderteaser:
Can you kindly tell me what's the difference between lulzactive and smartassV2? I know the latter sticks to 100 MHz while sleeping and prefers 800MHz over higher frequencies when awake.

Also, I need some help in creating a boot.img because I'd like to cook MIUI before flashing. I know I need a ramdisk.img, but I don't know where to extract it from. Probably it's no job for me... EDIT: done.
[Galaxy S II Original Android Development] incubus_fr:
1st time I hear about a CPU thermal sensor. Source?
[Galaxy S II Original Android Development] shawnaye:
hey guys, in the OP gokhanmoral said that the Thunderbolt Scripts from pikachu01 are already integrated right?

does this mean all the benefits of the Thunderbolt Scripts are already implemented?

such as,

Better performance, better battery life through Linux kernel tweaks catered for Android OS and flash memory?

Better battery life and performance through usage of screenstate_scaling whereby it switches governors/thresholds/VM depending on your screen state?

and pikachu, are you able to implement the 3G add-on into the script?

this one:

The 3G CWM is an addon that in most cases improve your mobile wireless speed.

Thanks.
[Galaxy S II Original Android Development] rodries:
You are rigth :P
[Galaxy S II Original Android Development] EyeTech:
No trailing semicolon?

Btw, commenting the hang line has allowed me to run the beta1 kernel without it hanging.
[Galaxy S II Original Android Development] blaex:
GPU Frequency 100mhz (low state) lags a lot in flash animation/videos (Browser), anyone notice the same?
[Galaxy S II Original Android Development] PedroMRP:
Yes without semicolon. The semicolon is not required but you can put a semicolon if you want.
[Galaxy S II Original Android Development] cmd512:
I hope gokhan completely stops caring about benchmark scores. It's completely fluff and nearly useless when it comes to actual usage performance/experience.
[Galaxy S II Original Android Development] Entropy512:
That's a bandaid for severe breakage. Softlockup/hung task detection should NEVER trigger. Get a /proc/last_kmsg indicating which task hung...
[Galaxy S II Original Android Development] rodries:
What I've done

2 terminals

in one terminal

cat /proc/kmsg

in the order terminal I've set Softlockup/hung task detection (sysctl -w kernel.hung_task_timeout_secs=30)

Not sure if it's fine but these are the last lines I get in kmsg

<6>[ 4438.098335] sec-battery sec-battery: sec_bat_check_vf: Battery Health (1)
<6>[ 4438.101835] max17042 9-0036: max17042_get_soc : soc(25ae)
<6>[ 4438.102498] max17042_need_soc_recal: HW(0xe)
<6>[ 4438.102868] max17042 9-0036: max17042_get_soc : use raw (37), soc (38)

Edit: I've upload my last 2 last_kmsg files
[Galaxy S II Original Android Development] thunderteaser:
Need testers for boot.img

Guys, can you kindly help me test this boot.img? A fastboot would be fine. The ramdisk is from the latest MIUI (but I guess it's the same) and the kernel is Siyah 2.6.5b1; I merged them with abootimg. It's the very first boot.img I've ever built, please be kind! :)

Actually, there was a second file after the ramdisk I extracted. This boot.img just includes ramdisk + zImage, so I'm afraid it won't work on MIUI. Any advice?
[Galaxy S II Original Android Development] marioh:
Can I use OC Daemon instead SetCPU?
[Galaxy S II Original Android Development] Flasher8:
can't found anything u mentioned.
[Galaxy S II Original Android Development] frankcilo:
I not delete nothing and with virtuos_oc folder I can set governor and sleep tweak.

Daemon tweak work great!
[Galaxy S II Original Android Development] jdmcivic:
so i guess im correct. anyway i deleted off.the oc daemon which dlev input and flashed a new one.

works well with siyah's kernel. i haveno idea if the screen off profile min/max speed works though...
[Galaxy S II Original Android Development] Flasher8:
link for the new oc daemon ? :D
[Galaxy S II Original Android Development] Galaxy_Fan:
Regarding your post and gokhanmoral answers I have 2 questions:

1) If I'm using smartassv2 I don't need a profile in setcpu for screen off/deepsleep as battery saver cause it is automatically done in smartassv2. Right?

2) Should we use profiles or is it better for stability and performance just to use smartassv2 without profiles?

Thanks in advance.
[Galaxy S II Original Android Development] jdmcivic:
am having lockups as well.. min set to 200mhz@800mv onemand profile.
[Galaxy S II Original Android Development] Galaxy_Fan:
Question 1 & 2: are answered I think:

Found that:

“Smartass governor: based on the concept of the “interactive governor” but a little more responsive, Smartass will also cap the clock speed at a minimum whilst the screen is off thus eliminating the need for “sleep profiles”.”

---------- Post added at 01:27 PM ---------- Previous post was at 01:27 PM ----------

take 825 or 850