yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] :
Guys odd question please. What would happen if i deleted the init.d folder then reflashed the kernel and scripts please? Just out of curiosity nothing else
[Galaxy S II Original Android Development] KcDaRookie:
Take the cpufreq_intellidemand.ko from the modules library of one of the older kernels and use insmod, should work.
[Galaxy S II Original Android Development] stevehkim:
nothing would happen. Just check the init.d folder to make sure there's nothing else in there that you would need. I've deleted mine and re flashed and created the init.d folder and everything was fine.
[Galaxy S II Original Android Development] stylez:
Running sweet bfq/lulz been using all night with no issues, decided to try replicate other users by removal of scipts and boot setting clean cache dalvic etc flash, deep sleep working and staying low on scale unless push device as we know lulz is rather aggressive anyway.

Sent from the valley of the shadows....
[Galaxy S II Original Android Development] buxz777:
ive always found smartass v2 to be really good mate , however i found that 2.6.6 liked to stay at the high frequencys for me even on that so i switched back to 2.6.5 :-)
[Galaxy S II Original Android Development] pappschlumpf:
Great job Gokhan, Mr. Kernel! Lulzactive now is smooth in games, too! Tegrak OC works, really cool. Thx!

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Original Android Development] omniwolf:
TLDR: i think wifi is the root cause of my no deep sleep problem

just to add my experience and theory to the mix:

i have siyah 2.6.6, i have no OC or UV (lulz at 200-1200, sio), i have thunderbolt 2.3.6 installed.

i don't charge my phone overnight, so i can usually get a good indication of battery life each night as the conditions are almost identical night after night.

usually my battery will drop between 6-8% in an 8 hour period, last night it dropped about 68% (72% when i went to sleep, 4% remaining when i woke up). I checked CPUSpy and i had 56 minutes of deep sleep, and the rest was about 50% 200MHz and 50% 800MHz. so something has changed.

i then looked at BetterBatteryStats and the worst partial wakelock was 27 seconds or something, so i checked kernel wakelocks and i had 5 hours worth of wlan_rx_wake.

so it seems wifi was my issue. i haven't had any of the wifi problems others have been having (i can get internet via wifi fine), but it seems as if the wifi is keeping my phone awake

hope this helps.
[Galaxy S II Original Android Development] mc01319:
http://www.gokhanmoral.com/ is down?
[Galaxy S II Original Android Development] mc01319:
Now its OK
[Galaxy S II Original Android Development] b2rdetor:
phone goes to black screen after call, opera mobile selfclosed on 2.6.6 - go back to 2.6.4 for now
[Galaxy S II Original Android Development] clement.km:
My Wi-Fi is OK with cm7 but not work with stockrom
[Galaxy S II Original Android Development] cmd512:
Reporting back: v2.6.6 is throttling down better after adjusting cpu thresholds. Getting EXCELLENT battery life on v2.6.6 with lulzactive + sio. Also, deep sleep and WIFI working perfectly, zero issues there.

(Remember folks, your phone will not go into deep sleep when charging.)
[Galaxy S II Original Android Development] thunderteaser:
Some questions

@gokhanmoral Thank you so much for your efforts. :) I have some questions for you.

1) Will it be compatibile with PimpMyCPU, sometime in the future?

2) Since I can't change scheduler through PimpMyCPU (I want deadline), would it work if I set these lines as init.d script?

for i in $STL $BML $MMC;
do
echo "deadline" > $i/queue/scheduler;
done;

Thunderbolt already has these lines, but I used to uncomment them on i9000, I don't know about i9100.

3) I'm using MIUI at the moment, 2.6.6 is really stable and fast enough but I noticed some problems with data connection. It is not connecting or losing connection after some seconds.

Thank you in advance!
[Galaxy S II Original Android Development] jonamafun:
Battery on 2.6.6 for me so far is excellent. 5% drop over 4 hours of mostly standby - one short phone call and a few checks of email.
[Galaxy S II Original Android Development] plaut:
Interestingly I'm finding the opposite - 2.6.4 is excellent for me but both 2.6.5 and 2.6.6 are worse - not staying in deep sleep during standby nearly as much.
[Galaxy S II Original Android Development] skatin707:
2.6.5 and 2.6.6 work best for me (over 2.6.4), but 2.6.5 is my favorite.
[Galaxy S II Original Android Development] cooldfuzion:
I've got on Antutu 7860 ;-)
[Galaxy S II Original Android Development] PedroMRP:
In my opinion, and after reading several posts about the problems that supposedly this version has I can say that using sio + ondemandx this version is by far one of the best versions in terms of battery life.

Everything is working fine, no problem whatsoever.
[Galaxy S II Original Android Development] gliatiotis:
Well , my i9100 just switches off when pushing it to hard with 2.6.6 , running at 1.6 GHz and performance governor .

On stock XWKI4 .

Using a pre-release hardware version with a 1 GHz stock running chip .

Any other kernel i've tried so far would OC up to 200MHz lower than the maximum said availabe , following my device's difference .

with this one i can scale up to 1.6 GHz without messing around with core voltages .
[Galaxy S II Original Android Development] stevehkim:
i found the problem at least with my phone. 2.6.6 has trouble with deep sleep with wifi on. 2.6.4 doesnt have this issue. those that have good deep sleep is it with wifi or data on? im pretty sure it wont. prove me wrong pls :)

tweaked - by me

kernel - siyah the og

rom- me you eeee.
[Galaxy S II Original Android Development] skatin707:
Like I said in the MIUI thread, I'll test more tonight.

Without wifi (being out at the shooting range today) my deep sleep was the highest. Here at home (with wifi on) it has dropped, but that's because my usage has increased. Kind of a wash I guess.
[Galaxy S II Original Android Development] veyka:
My phone sleeps like a baby with wifi turned on, Wi-Wi sleep policy to when screen turns off.
[Galaxy S II Original Android Development] Simba501:
+1, I've tried numerous combinations and this was what I finally settled on.

Sent from my Galaxy SII
[Galaxy S II Original Android Development] droidphile:
Tolis can you check if "time_in_state" and "total_trans" exist under the directory

/sys/devices/system/cpu/cpu0/cpufreq/stats/

And if yes, both are not empty and contain valid values?
[Galaxy S II Original Android Development] stevehkim:
haha fuuukkkkk. u got me then boss. my wifi wont shut off for some reason when screen is off. even though its checked off. works really well on 2.6.4. so imma just stay my ass with 2.6.4

tweaked - by me

kernel - siyah the og

rom- me you eeee.
[Galaxy S II Original Android Development] veyka:
You are just one unlucky SoB aint you! ;) Someone said somewhere sometime that forgetting a access points settings and readding it may help.

Also you could do the same old pointless wipe cache/dalvik.

Must be the old "wifi drivers work for some people but are buggered for others" problem.
[Galaxy S II Original Android Development] ajvulcan:
I have flash a samsung base rom (instead miui) and siyah kernel v2.6.6 works PERFECT, but in miui all the governors are stuck in high frecuencies even without load and they don´t scale well.... there is a problem that with samsung based roms doesn´t happens. I don´t know why... I will try more roms (wipe).
[Galaxy S II Original Android Development] clement.km:
Dear Gokhan,

My SC-02C's wifi works finally with a combination of stock OMKJ4 rom and SiyahKernel 2.6.6 ntt version.

Works combination so far i tried:

Siyah 2.6.6 x stock OMKJ4

Siyah 2.6.6 x CM7.1 (latest nighty)

Thanks.

Clement
[Galaxy S II Original Android Development] Dennys_Santos:
This version v2.6.6 (default config.) together the Thunderbolt v2.3.6 (default config.) and also screenstate_scaling with:

AWAKE_GOVERNOR="ondemandX";

SLEEP_GOVERNOR="powersave";

This perfect for my SGS2, running MIUI 2.1.6.

After waking from deep sleep with my battery was still 98% life.

Wonderful it. I did not lose performance and I'm still with great reserve of energy.

They all work perfectly well: WiFi, 3G, Bluetooth, etc ...

Thanks gokhanmoral
[Galaxy S II Original Android Development] tolis626:
Gokhanmoral,unfortunately my SD card doesn't mount either with 1.7.8beta1.If it helps,it's a 16GB class 10 Kingston,FAT32 with 4096K cluster size,if I remember correctly.

Also,on a side note,while I found what I was doing wrong and my GPU wouldn't overclock,sometimes it reboots right after I set clocks and voltages with a script in GScript.Same goes when changing I/O schedulers.But not everytime,just sometimes.It's just a little annoying.
[Galaxy S II Original Android Development] gokhanmoral:
yes, it is enabled
[Galaxy S II Original Android Development] gokhanmoral:
I will try to resolve that mounting problem in beta2.
[Galaxy S II Original Android Development] ram3n:
what's the differences between 1.7.8 and 1.7.8beta please?
[Galaxy S II Original Android Development] ebliss:
Where do I find the log? Or how do I activate logging?
[Galaxy S II Original Android Development] kwerdenker:
You could either run "adb logcat" while you phone is connected to a pc or you could use an app like CatLog on your phone
[Galaxy S II Original Android Development] tolis626:
Don't rush it dude,you're doing more than enough already.1.7.7 already is the best for me.It has the wow factor of Ninphetamine,plus all the features I've missed while using it. ;)
[Galaxy S II Original Android Development] ebliss:
ok, so something like that will do?

adb shell
cat /proc/kmsg > /sdcard/kmsg.log &
logcat > /sdcard/logcat.log &

"cat /proc/kmsg > /sdcard/kmsg.log &" is ok.

"logcat > /sdcard/logcat.log &" gets an error of

# Unable to open log device '/dev/log/main': No such file or directory
[Galaxy S II Original Android Development] kwerdenker:
Shure, that should work. Though you could use adb logcat and have the logging for that done localy on your pc so you have a bit less IO stuff going on your SD card. Especially, if you log kmsg in parallel :)
[Galaxy S II Original Android Development] ebliss:
I want the phone to be free from my pc. :p
[Galaxy S II Original Android Development] kwerdenker:
Then adb shell won't work since that only runs while connected to your pc (if I'm not mistaken). In that case you would have to use something like terminal emulator and execute the commands there.
[Galaxy S II Original Android Development] chadouming:
1.7.8b1 is going sooooo smooth :D
[Galaxy S II Original Android Development] jdmcivic:
the voltages are found in dual_core_script under system/etc.. no nedd to set permissions as they are already set.
[Galaxy S II Original Android Development] ebliss:
It works. kmsg.log is getting bigger. But logcat doesn't work. Error as stated before.

Edit: managed to get logcat working by installing the EnableLogger thing
[Galaxy S II Original Android Development] mikkijp:
thx it seems worked!
[Galaxy S II Original Android Development] gokhanmoral:
v1.7.8beta2 is up.
[Galaxy S II Original Android Development] Galaxy_Fan:
always a pleasure to flash :D

Today is FLASHING DAY!

First, Criskelo with V22

then you with 1.7.8

then pershoot with new kernel for my 10.1

wooowww
[Galaxy S II Original Android Development] kwerdenker:
Good to know this works too. Makes things a lot easier than typing stuff in terminal emulator ^^
[Galaxy S II Original Android Development] frankcilo:
Dual core script in system/etc not set new uv value with this kernel!
[Galaxy S II Original Android Development] :
/data/.siyah fixed :)
[Galaxy S II Original Android Development] skatin707:
Me too. This was my usage today, granted it doesn't show anything but here's my results. I know there are a lot of variables, but take it for whatever it's worth.

Thanks for this kernel!
[Galaxy S II Original Android Development] eRajesh:
Whats wrong with v2.6.6? Flashed via CWM, and phone never boots. Its stuck at the SAmsung screen. not the boot screen.

Tried to flash via ODIN, and it failed as well.

Can't even download v2.6.5 from his website (ODIN version)
[Galaxy S II Original Android Development] crazykamui:
^^

Hi Gokhan..;)

Do you happen to know fiops-iosched??

If possible, build in your kernel?^^

ps : Sorry for my English..;;

Always you are kernel.. best..^^ Thanks~!
[Galaxy S II Original Android Development] shanume:
thanks but where can I find this files? sorry iam new on this kernel so I dont know where I can find this data :)

edit: I have found this modules folders but I can't find cpufreq_intellidemand.ko :( iam using 2.6.4 atm.
[Galaxy S II Original Android Development] droidphile:
+1

Fiops has to be interesting for the following reasons:

1) Developed specifically for flash devices

2) Synchronous and asynchronous requests not treated separately (like VR :) )

3) Much better throughput on random read/write mixed workload as compared to CFQ.

4) Read operations given 2.5 times more share/priority than write and this ratio is changeable via sysfs :D

Only thing i wonder is if latency is lower compared to SIO. If throughput & latency together is better than what sio offers, then fiops is definitely gonna be good!

You will find modules in /lib/modules directory.

But intellidemand is removed from 2.6.6 as an available governor and as a module. If you want it so badly, flash an old release, copy the intellidemand module from /lib/modules to sdcard, then flash 2.6.6, and insmod the module.
[Galaxy S II Original Android Development] shanume:
I can't find cpufreq_intellidemand.ko iam using 2.6.4 atm.

:(
[Galaxy S II Original Android Development] KcDaRookie:
@shanume: Try 2.6.1, you should be able to find it there.

@all: Is there something like CPU Spy for the GPU so we can see in which states the GPU is most to tweak the three step thresholds some further?
[Galaxy S II Original Android Development] shanume:
thanks you, I got it now and use it on 2.6.6 :D work great.
[Galaxy S II Original Android Development] droidphile:
It require gpu itself to perform it's own frequency-read.

See what gokhan said:

http://xdaforums.com/showpost.php?p=20800557&postcount=14945
[Galaxy S II Original Android Development] Dr.Love:
Try use 25mhz frequency with Siyah v2.6.6 at 800mV when screen off. After 3-4 hours phone gets SOD problem. This problem happen while calling too but With Siyah 2.6.4 everything is okie.
[Galaxy S II Original Android Development] gokhanmoral:
you are kidding, right? :)
[Galaxy S II Original Android Development] Dr.Love:
Oh, no. I'm using script to UV at lowest frequency 25mhz@ 800mV when screen off. After that I have a call or surf web for some minutes and let phone standby. I use Battery Monitor Widget (BMW) Monitor to check battery drain. BMW will show battery drain more minute more little ... after from 3 to 4 hours ... When battery drain reach -5mV, -5mV, -5mV, -5mV ... in BWW, phone will get into SOD. This problem happen with Siyah 2.6.6 but everything's ok with Siyah 2.6.4.

P/S: Your kernel is the best. Many thanks. But why you say i'm kidding ?
[Galaxy S II Original Android Development] gokhanmoral:
I removed intellidemand because I thought ondemand governor settings can be changed to get the same behavior.

I've just checked and there is another tiny difference between the intellidemand implementation in this kernel and ondemand, and that is intellidemand scaling down faster (2 steps instead of 1) when the screen is off. I put that in ondemand. in the next version you won't have to use that module.
[Galaxy S II Original Android Development] incubus_fr:
And in OndemandX too I suppose?
[Galaxy S II Original Android Development] str0ppy:
I know this kernel is a tweaker's wet dream. I am not one of those people. Is it worth using without changing any settings, or is this not the kernel I'm looking for?
[Galaxy S II Original Android Development] alcurtis93:
Why the **** are you using 25mhz@800mv you tool. You can use 100mhz or even 200mhz and 800mv so why bother going to such a stupidly low frequency
[Galaxy S II Original Android Development] alcurtis93:
Its perfectly good to just flash it and leave it.
[Galaxy S II Original Android Development] XDA mark:
Jup, I agree. That's how I started and slowly I started changing stuff. But just installing the kernel is the biggest improvement.
[Galaxy S II Original Android Development] shanume:
ah thanks for this information, I will give it a try on 2.6.6 with module again :)

and looking up for yours next release, keep the good work :D

p.s. after I reboot the intellidemand.ko files is remove.. even I copy from my sdcard to module folders in 2.6.6??

sorry for all this noob question :) I need time to learn from the best.
[Galaxy S II Original Android Development] pepe2909:
someone tried 100/1000 with sio/ondemand, on version 2.6.6 ?

thanks !
[Galaxy S II Original Android Development] tolis626:
Well,problem either is random or happens with governors that have sleep profiles.I don't really know as I went to sleep short after I checked for the last time.Since I started using ondemand again(was using ondemandx for a relatively long time and tested lulzactive,but still,ondemand is the **** :D ) it's working properly.I'll make sure to post next time it happens(If it does). :)
[Galaxy S II Original Android Development] willik:
Some minor issues - wifi, NTFS, charging

Hi all,

I am expecting some minor issues with the version 2.6.6.:

(SGS2, Revo HDv4 ROM, Syiah 2.6.6)

1) WIFI issue - the "step 2 authentication" doesn't remember the settings. I can't set the value for the auth. lvl. 2 settings - if the lvl1 is PEAP. When I input the value (MSCHAPV2) and save it, it disapears (not saved)... when I re-open the wifi settings again there is lvl 2 auth. "none" again. (and of course, therefore I can't connect to our WIFI) at the company (very sad...).

2) I tried to play a bit with the NTFS support (thx for it, I read a lot through this thread esp. about the scripts for RW mount) - usually when I run some scripts the GScript apk hangs some times and I have to reboot... very confusing... eg. if I run the script with no HDD connected it hanges for 100% sure. (no OC no UV) I had no problems before (used REVOHD4 ROM with their Kernel included without problems)...

I also noticed, that FUSE.KO from 2.6.6 kernel has only approx. 90kb, my old one (what worked fine) had 680kb can this be a problem?

3) the charging speed (USB/MISC/AC) setting seems not to be working in fact. I mean, the Voltage control app shows the correct values, I saved also for the reboot - everything seems normal, but the charging speed doesn't change significantly - even if I put 950mA everywhere... the full charge is still approx. 4-5 hours and doesn't matter what cable / charger I use...) Full charge@950mA should be max. 2 hours I think not 4-5...

Did anyone find similar problems - or solved this allready?

Thank you eindeed for the work, I still think the Siyah is one of the best kernels ever.

willik
[Galaxy S II Original Android Development] Dr.Love:
Hey, this is just an information and a try of myself. I don't complain anything or bother anyone. The information is: I can use freq 25mhz @ 800mV with Siyah 2.6.4 for a long time standby but with Siyah 2.6.6 it gets SOD after 3-4 hours standby. Btw thank you for your answer.
[Galaxy S II Original Android Development] hjrxda:
I have this issue, too. But even I had to go back to 2.6.2 to solve the deep sleep problem on my phone. Using any version from 2.6.3 up to 2.6.6 the kernel wakelock "wlan_rx_wake" prevents deep sleep.

But not, unless I'm connected to a 802.1x EAP protected Wifi-Network!! Open or WPA(2) protected Wifi-Connections seems to work fine.

However I have tried the hints from the previous postings (clean caches or delete and reestablish the connection-settings), but without any effect.
[Galaxy S II Original Android Development] kartalgurhan:
Dear Gokhan,

this link doesn't work:

http://www.gokhanmoral.com/public/files/siyahkernel/source/siyahkernel-2.2.tar.gz

can you direct me to a downloadable full source package so that one can simply run build.sh?

regards
[Galaxy S II Original Android Development] alcurtis93:
Sorry mate just you do realise running 25mhz at 800mv uses the same power as 200mhz at 800mv. Your just making the phone more unstable.
[Galaxy S II Original Android Development] poochewer:
Originally Posted by b2rdetor

can't see any improovements compare 2.6.4 but OC with 2.6.6 gives me bad performance ALWAYS worse than maxcpu1200 because cputrotling limits enabled. seems like my cpu hotter than others or may be other users just isn't test that issue.

think to go back to 2.6.4...

+1
[Galaxy S II Original Android Development] incubus_fr:
I am not sure about that...

Can you say that a 10,000 BTU/h air conditioner at 220V uses the same power as a small fan at 220V ?
[Galaxy S II Original Android Development] tolis626:
Sorry mate,but that's bull****.Power consumption scales linearly with the clock rate.Simply put(Although not completely accurately),say that the CPU consumes X units of energy for each cycle.With 200MHz the CPU completes 200 million cycles per second,while with 25MHz it completes 25 million cycles per second.That is 8 times fewer cycles,so 1/8th of the power consumption.

Point here is that 25MHz is too f*cking low.Once a demanding task starts when screen is off and at 25MHz,CPU load will skyrocket and you risk ending up with an unresponsive device(SoD or taking too long to wake up),because the CPU simply doesn't have enough power at 25MHz to serve all the tasks at queue.

Anyway,unless you lock your device at 25MHz for screen off,it's pretty useless,as it will scale up to higher frequencies almost immediately due to high loads.So yes,I'll agree it's useless.Sometimes same goes for 100Mhz,but at a far smaller degree.
[Galaxy S II Original Android Development] :
@tolis.

You seem to know what you are talking about. Stupid question. What would happen if i was to delete init.d folder and reflashed the kernel. Thank you filaraki
[Galaxy S II Original Android Development] :
Scaling down faster is battery saving I suppose? Or might it become laggy?

How to add this parameter via script, just in case?

Cheers everyone

Sent from my SGS2 - Hyperdroid v5.2 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] droidphile:
Stupid but silly answer: All the tweaks will be reverted to kernel defaults and no script will be executed on boot-up except for initramfs tweaks.

PS: You being the OP of a Kernel QA thread, you have to know these kinda stuffs and much more :)

Battery saving? yes. Laggy? Slight yes. When frequency truly need to stay up in 'load-conditions', jumping two steps down will not feel good. This is not tweakable via script. Instead you can set a higher sampling_down_factor which will cause CPU to stay on a higher frequency longer before scaling down, when really needed.
[Galaxy S II Original Android Development] alcurtis93:
Ah I see, sorry. Didn't realise that. Moral of the story is though. No sods go for 200mhz min frequency :) thanks for clarifying
[Galaxy S II Original Android Development] :
yeah i know Droidphile and regarding the QA thread still learning..Just someone asked me that the other day and i was left scratching my head wondering what would happen..:D thanks for your answer....
[Galaxy S II Original Android Development] veyka:
All the source is here: clickclickclickme
[Galaxy S II Original Android Development] tolis626:
Well,droidphile answered your question,but let me ask you something else...Do I know you?I mean,I think I do know you.Anything to do with Cyprus and London? ;)

You're welcome pal.No need to apologise. :)

@droidphile

What do you think would happen if we overclocked the GS2's ram module?I've been thinking about it the other day because I had done it on my old PC(Sort of) and,well,it did help because the damn thing had DDR1 RAM and it bottlenecked sometimes.Not that the GS2 has ever bottlenecked,but just sayin'... :D