yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] gokhanmoral:
I will prepare several files tomorrow.

but basically you echo a string to a file in /sys

echo whatever > /sys/class/cpu/etc/etc

you'll have to provide 8 voltage values for cpu voltage control and 2 values for gpu voltage control

google for "android sample voltage control script"

there is even an application which supports sgs2 and saves the scripts to init.d

share your experiences back in this thread. I've just searched that string and the application came out to be the first result. if you have success please keep us posted.
[Galaxy S II Original Android Development] :
I am stock ki8 also, try pressing menu refresh few times and menu restore timers, I am getting weird behaviour of CPU spy with showing not showing deep sleep :)
[Galaxy S II Original Android Development] the^one123:
Anyone else where phone is powered off after changing things in OC Daemon?

Screen turns off and i have to power on the phone.

Problem of the governor?

theone
[Galaxy S II Original Android Development] :
Didn't charge long enough probably.
[Galaxy S II Original Android Development] zikarus:
Not really. BetterBatStats shows k9 and Tapatalk with partial wakelocks but not too often imo. Have deinstalled NoFrills meanwhile, deleted cache partition and dalvik as well as fixing permissions. Deep sleep still remains an unused mode / step in CPU Spy...
[Galaxy S II Original Android Development] _cummoo:
Congratulations gokhanmoral for this impressive work!!!

1.8a6 was measured as the fastest Kernel ever testet on a sgs2!!!

(On 4 sgs2, 4 different roms)
[Galaxy S II Original Android Development] jdmcivic:
any explanation for this?

100mhz@600mv - rock stable

but

100mhz@650mv - phone freezes the moment i execute the command.
[Galaxy S II Original Android Development] ogduck:
@ TheRealWells

Mate, I saw ur posts earlier how are ur init.d scripts lately? Can you supply me with a link for ur latest UC settings or init file?

Thx in advance
[Galaxy S II Original Android Development] rodries:
600mv is too low so kernel replace this value to original so you are not using 600mv

In my phone I can set 775mv in 100mhz but sometimes the phone can't wake up so my stable value is 800mv for 100mhz
[Galaxy S II Original Android Development] jdmcivic:
but when i echo out my settings. it shows 600mv@100mhz.

is it just there for show or is it really working?
[Galaxy S II Original Android Development] crypticc:
Hey

Sorry for spamming this thread, but I just noticed that my logcat permission errors when previously discussed related to virtuous OC daemon. which also governs screen off CPU scaling.

I found this>

http://xdaforums.com/showpost.php?p=14529333&postcount=5

I have no directory or file in /system/etc/virtuous_oc/

Is that the issue? how do I create those?
[Galaxy S II Original Android Development] coolfire:
Spot on. Mine freezes at 750mv...

Sent from my SGSII
[Galaxy S II Original Android Development] :
Unfortunately not as my phone refused to boot yesterday while I was on bussiness trip, so currently running everything stock.

I had no sleep now for like almost 60 hours or similar so maybe tomorrow or Monday.

Sorry :). Basically I was running lagfree 100-1000, sio scheduler, no UV or minimal -25mv down to 800 mhz and then 500 mhz 950, 200 mhz 900, 100 mhz 850.

Ni frills + script manager with echo ......... line is easiest way.

Hope this help.

Also my phone crashing yesterday had nothing to do with kernel, but me flashing incomplete download :(
[Galaxy S II Original Android Development] pachinkosan:
So

changin the sleep state settings governor from conservative to smartassv2 (100-200 at both) fixed my issue with deep sleep and now i'm finally have it.

the question is

what governor do u recommend to use at screen off (using music mostly at that time)?
[Galaxy S II Original Android Development] rodries:
The hardware can't use that value, is not working

I can see that you have increased your charging current, be carefully you will get your battery charged faster but you will get bad battery life.

From: http://xdaforums.com/showpost.php?p=18157966&postcount=253
[Galaxy S II Original Android Development] jsompis:
I am faced no deep sleep too.

Stock KI3, default kernel setting.

Now back to nipo again.
[Galaxy S II Original Android Development] hkfoolman:
Same no deep sleep, but issue resolve by change to smartassv2.

I am on stock ki3 now.
[Galaxy S II Original Android Development] rodries:
which was your previous governor?
[Galaxy S II Original Android Development] hkfoolman:
onDemand.
[Galaxy S II Original Android Development] gokhanmoral:
@those who have no deep sleep: do you use any screen-off profile or virtuous_oc daemon?
[Galaxy S II Original Android Development] AdamHayton:
Deep Sleep

I'm running Cognition S2, Latest alpha. Init.d scripts to set 100Mhz - 1200Mhz and UV CPU, GPU and unnderclock GPU. Using SmartAssV2 governor. Does not seem to drop into deep sleep looking at cpuspy. I have used back button, pressed power and left off for a while then checked. Is there a minimum time before it will go into deep sleep? Ive turned off wifi, sync and cleared ram before testing.

Thanks :)
[Galaxy S II Original Android Development] pachinkosan:
my settings was (screen-off)

100-200 coservative - no deep sleep (with this setting everything was working fine in a5)

now

100-200 smartassv2 - here it is

using viruous_oc daemon, stock ki3

i'll ask again

what governor do u recommend to use screen-off playing music?

btw, great job with kernel!
[Galaxy S II Original Android Development] hawkerpaul:
Is the BLN issue definately sorted yet?

I've installed 1.7.2 right up to 1.7.8 via zips and all worked fine, but all the alpha .tar files i've tried I lost BLN. I am now back on 1.7.8 at the moment and I had to uninstall+reinstall the BLN app.
[Galaxy S II Original Android Development] jdmcivic:
alright. thanks for the input. anyway im still using the samsung charger so max output is still 0.7a.

anyway @gokhan, from the first till this a6 kernel of yours. i've never had any prob getting into deep sleep.

i always use ondemand, oc daemon, and using scripts to undervolt.
[Galaxy S II Original Android Development] gokhanmoral:
it seems that conservative governor has a problem.

can anybody else try using conservative governor without sleep profiles and see if the phone deepsleeps?

EDIT: sorry, it seems that I did not wait enough. I had deep sleep with conservative governor..
[Galaxy S II Original Android Development] a9402169:
Running ki8,1.8 alpha, absolutely no AOS.
[Galaxy S II Original Android Development] Astegal:
hi

like yo try your kernel in order to get rid off os bug.

I see 1.8b1 in change log but dl link is not available.
[Galaxy S II Original Android Development] jdmcivic:
@ gokhan

would u mind telling which i/o schedulers available in ur kernel are tweaked? or all of them are stock?
[Galaxy S II Original Android Development] kenkiller:
getting deep sleep fine with ondemand governor. so far so good....
[Galaxy S II Original Android Development] crypticc:
None at all which is why I was asking how to turn that on. I noticed power control settings refers to an unavailable class when toggling on and off.
[Galaxy S II Original Android Development] the^one123:
I Use screen-off profile and virtuous_oc daemon!

Rom: leomar 2.7.1

Screen on 200-1200 ondemand

screen off 100-200 ondemand

no deepsleep :(

theone
[Galaxy S II Original Android Development] gokhanmoral:
only deadline...

others are stock. and the change in deadline scheduler is so small. fifo_batch is set to 1 since we are using flash devices and our seek time is very low.

I have removed bfq as I don't see any advantage of it over the current i/o schedulers.

deadline or sio works quite good already.
[Galaxy S II Original Android Development] rodries:
Have you tried to change ondemand to smartassv2 in screen off?

If not, can you test it?
[Galaxy S II Original Android Development] jdmcivic:
what do u use to set your sleep profiles?
[Galaxy S II Original Android Development] the^one123:
Have changed both to smartassV2 Screen on and off.

Then i restart but same result. With a5 deppsleep was no problem.

hmm

theone
[Galaxy S II Original Android Development] crypticc:
+1 please. I deleted set CPU as recommended even before I installed this
[Galaxy S II Original Android Development] rodries:
You can read it in the first line: virtuous_oc daemon

http://xdaforums.com/showpost.php?p=18177186&postcount=2486
[Galaxy S II Original Android Development] jdmcivic:
no. i already know how to set my sleep and awake profiles. i manually set them. daemon controller seems to edit the init.d script within which i dont fancy. im just asking what method he's using to do so.
[Galaxy S II Original Android Development] rodries:
Can you delete /data/.siyah/root-installed and reboot in recovery mode and delete cache and dalvik ?

I had a problem loosing root that I figured reading logcat
[Galaxy S II Original Android Development] Fruktsallad:
Nope... Neither...
[Galaxy S II Original Android Development] zikarus:
After all a redl and reflash of a6 brought back deep sleep for me even back on my old config:

wake with ondemand 200 - 1200

screen off with conservative 100 - 200

virtuos oc
[Galaxy S II Original Android Development] gokhanmoral:
very good advice indeed.

you can also try to flash newest su package from goo-inside.me/superuser after clearing the caches.
[Galaxy S II Original Android Development] Denwa:
Can anyone tell me if it is possible to make the phone increase uptake current when the MHL adapter is plugged in?

I have a 1A stock charger (yes brand new sgs2 came with 1A charger not .7A) and battery drains instead of charging when powered mhl adapter is used. (Known issue).

I'd like to test if increasing uptake current fixes the issue or whether this is an issue with mhl adapter design (though issue still occurs non-stock mhl adapters as well).

Not sure how to do this. Can this be done with a script?
[Galaxy S II Original Android Development] Vulpix:
Yo, do you mind explaining how you managed to somehow fix this AOS bug? I'm curious to know what changes you made (read the changelog but it's not very specific) and how you figured it out.
[Galaxy S II Original Android Development] thegangsta:
AOS finally gone. deep sleep with ondemand. thanks!

Thanks a lot for this superb kernel gokhanmoral!

I have added a view screens to show settings and results.

After taking these screens I've been using the phone on wifi and 3g connections for web browsing and was doing some benchmarks (cf bench: 11355, 3122, 6415). It still goes into deep sleep.
[Galaxy S II Original Android Development] pachinkosan:
tried to switch again from smartassv2 to conservative, no deep sleep

i'll test now ondemand
[Galaxy S II Original Android Development] zikarus:
Try a redownload and reflash of a6 in the end.

Out of curiousity: have you somewhen changed the scheduler with NoFrills while using OCDaemon too ?
[Galaxy S II Original Android Development] AndreiLux:
I again had the bug where the device would lock up, overheat & lose 50% battery after force rebooting. I raised my voltages for now to see if its not some instability due to my undervolting.
[Galaxy S II Original Android Development] gokhanmoral:
I have no idea :)

well, I have some ideas, but none of them are for certain really.. I was only trying to patch the sources to linux 2.6.35.14...

I had some conflicts.. then, instead of patching the sources to 2.6.35.14, I just merged samsung drivers to original linux kernel... It was hard but worth the effort :)

I shared some thoughts about possible reasons (3-4 pages before) but I am not sure about the real reason of the bug.
[Galaxy S II Original Android Development] chadouming:
You just made my day.
[Galaxy S II Original Android Development] adyscorpius:
Just loving the a6 kernel... No deep sleep issues here, using AndroidMeda HyperDroid rom with no OC daemon etc.

UV'd to -150 mV acros all upto 1200 Mhz, and at 800 mV for 100 Mhz, tried smartassv2, ondemand,ondemandx and lagfree, with deadline/bfq i/o schedulers...

Hope that helps people...

Love the sorta battery life I'm getting out of this kernel... :-)
[Galaxy S II Original Android Development] Giiar:
LeLeoMar. So far I still haven't encountered any problems. Kepted everything as is. No OC and UV.
[Galaxy S II Original Android Development] chadouming:
And once more ^^
[Galaxy S II Original Android Development] adyscorpius:
Hey, please use pastebin and don't just copy paste your logs here... Thanks...
[Galaxy S II Original Android Development] coolfire:
Bro, that's his trade secret, maybe. :p

---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------

Yeah, that would AWESOME!
[Galaxy S II Original Android Development] aeroman:
Hello,

where can i found the Zip Version from SiyahKernel v1.8alpha6 for CWM?
[Galaxy S II Original Android Development] bragon2010:
Flash the .TAR with CWM app.
[Galaxy S II Original Android Development] gokhanmoral:
of course not :)

everybody will be able to see the sources in the following week.

it is not really practical to release sources for every single change since I do not use git.

there is nothing magical in the sources. it's just a mix of SGS2 AT&T sources with the modifications of v1.7 and linux-2.6.35.14.tar.bz2 that's all..
[Galaxy S II Original Android Development] coolfire:
as far as i know, there is only the Tar version.

Wow, seems like SiyahKernel v1.8beta1 is gonna be uploaded really soon! :D
[Galaxy S II Original Android Development] pachinkosan:
nah (10 char)
[Galaxy S II Original Android Development] AdamHayton:
FacebookChat wakelock

I'm getting FacebookChat wakelocks, how long does the phone have to be idle before going into sleep? Trying ondemand and still not going into deep sleep
[Galaxy S II Original Android Development] aeroman:
O.K i try it, but i have Problems with CWM App. I dont where the problem comes, but i can not flash about the CWM app, ransgress the problem mostly by the APP in recovery mode. The normal recovery mode works fine. But since one can only flash Zip. Too bad it does not zip versions are more of the Siyah kernel. : (
[Galaxy S II Original Android Development] r4stafari:
+1 for 1.8 beta...
[Galaxy S II Original Android Development] superleeds27:
Quick question.

Thos ewith deep sleep issues whats the solution. I cant get into sleep using the A6.

Suggestions or answers?

Im using Stock KI3 ROM
[Galaxy S II Original Android Development] AndreiLux:
After I rebooted from this issue the governor was on performance and the device doesn't want to go to deep sleep anymore even after fixing that...
[Galaxy S II Original Android Development] Skyline92:
Nice to see, that beta1 is online :-D

Let's try :-D

Still using a logger??
[Galaxy S II Original Android Development] bragon2010:
Where? I do not see the link in the first post... :confused:
[Galaxy S II Original Android Development] alcurtis93:
Going crazy?

Sent from my GT-I9100
[Galaxy S II Original Android Development] gokhanmoral:
v1.8b1 is up.

I fixed some tiny performance problems.

also updated su to 3.0.2

there is only CWM flashable version just to make sure that cache and dalvik-cache are cleared.

those who know how to get it flash with odin can clear caches by themselves if it is necessary :)

so, no more tar files until I release it.
[Galaxy S II Original Android Development] aeroman:
Thanks, must i delete Dalvik and cache bevor i flash the kernel or after flash the kernel??
[Galaxy S II Original Android Development] gokhanmoral:
the installer will take care of it.

just flash the zip in CWM recovery.
[Galaxy S II Original Android Development] superleeds27:
I seem to have deep sleep back i think with 1.8beta1 :)
[Galaxy S II Original Android Development] AndreiLux:
Confirmed.
[Galaxy S II Original Android Development] r4stafari:
I cudnt chg my governor using 1.8alpha6 and 1.8beta1... i chg it to braziliamwax, reboot and it chg bacl to ondemand..
[Galaxy S II Original Android Development] Skyline92:
What the f*** are you talking about?
[Galaxy S II Original Android Development] bragon2010:
I have the same problem and i could'n resolve yet :S
[Galaxy S II Original Android Development] r4stafari:
Ok.. redl, reflash... re-set.. on its all fine...
[Galaxy S II Original Android Development] r4stafari:
I would say, patience is a virtue.. u chg the governor, reboot.. wait for all the scannin to be done.. then u check again... mine ok and workin already...
[Galaxy S II Original Android Development] Vaedryn:
with 1.8.6a and 1.8 b1 my wifi not will work . Using Juice defender , after the screen is off an than on , wifi not come back, when i go to wlan settings force close .

with 1.8.5a it works fine
[Galaxy S II Original Android Development] bragon2010:
Of course i wait 5 minutes aproximately but when i open SetCPU i see Ondemand.
[Galaxy S II Original Android Development] donalgodon:
This may be a dumb question, but are all the latest improvements to the Samsung 2.3.5 kernel included in this (sound, etc.) and what benefit would somebody get from this kernel WITHOUT overclocking it?

My general feeling is that the SGS II is fast enough. I don't need to push it to extremes and risk instability or damage to gain a nanosecond in UI performance that I really don't notice anywhere except in benchmark stats.
[Galaxy S II Original Android Development] fuzi1986:
What had i to do, to make such dump.txt?
[Galaxy S II Original Android Development] AdamHayton:
Deep sleep working. Sweet.
[Galaxy S II Original Android Development] Vaedryn:
when i switched from smartass v2 to ondemand the wifi on / off works
[Galaxy S II Original Android Development] jdmcivic:
use kwerdenkers script

save as dump.sh and place it at home of ur memory.

#!/system/bin/sh

#Checking Stuff to see if init-scripts work as intended

echo "--[Kernel]--"

echo $(uname -r)

echo "--[Voltages]--"

cat /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

echo "--[Max Freqency]--"

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "--[Min Freqency]--"

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "--[Active Governor]--"

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "--[IO scheduler]--"

cat /sys/block/mmcblk0/queue/scheduler

echo "--[GPU Voltages]--"

cat /sys/devices/virtual/misc/gpu_voltage_control/gpu_control

echo "--[GPU Freqencies]--"

cat /sys/devices/virtual/misc/gpu_clock_control/gpu_control

echo "[charging current]"

cat sys/devices/virtual/misc/charge_current/charge_current

then use gscript or terminal to execute this command

sh /sdcard/dump.sh > /sdcard/dump.txt

the dump.txt will appear in ur memory
[Galaxy S II Original Android Development] pachinkosan:
Everything working fine in beta! Thank you for awesome work!
[Galaxy S II Original Android Development] gokhanmoral:
come on guys...

I need to have a bug report to have something to fix or else I will go out with my gf to drink beer in this lovely saturday night :)
[Galaxy S II Original Android Development] AndroidGX:
Actually testing 1.8beta1, overall pretty good kernel but SmartassV2 gov seems very "laggy" and got many fps drops into benchmarks like Quadrant and others.

Even with "ondemand" gov, where on other kernels I can reach 4000 Quadrant, on this one it seems difficult to reach more than 3500 for me.

Moreover, is it possible to make that android bug which prevent battery to really charge at 100% instead of 96% disapear forever ? I tried roms after roms, kernels after kernels, tips after tips, and nothing to do, battery never charge to full (checked with the historical of Battery Monitor Widget) so the auto battery calibration did it automatically once he thought it was 100% but its was not, have to delete the file and wait for another cycle.

I'am sure that this bug can be corrected by kernel, as I can remember on my old device (HTC Desire) a similar problem was corrected directly by kernel (the name of the guy was thalamus).

Keep up the good work ! :)
[Galaxy S II Original Android Development] Orka82:
or else? haha Need an excuse? ;)
[Galaxy S II Original Android Development] olifee:
Hi gokhanmoral,

your kernel keeps just getting better and better ;-).

However, since the 1.7.8-versions I sometimes get crashes and instant-reboots AT BOOTING (no UV involved), somewhere in media-scanning, and booting takes longer and longer.

SSH is even kept active through parts of the reboot, so it is not a "cold" reboot.

With 1.8b1, I did not even once get beyond media-scanning (cleared dalvik-cache and cache twice...).

Would you mind me sending you a full logcat of boot to crash? Because I am not sure if any personal data is in there, would it be ok if I just upload it to dropbox and send you a link to the txt via PM rather than posting it here?

The lines most standing out are

W/ActivityManager( 275): Failed setting process group of 3773 to 0
I/Process ( 275): Sending signal. PID: 275 SIG: 9
W/Watchdog( 275): *** WATCHDOG KILLING SYSTEM PROCESS: null

but I guess the error should be 'somewhere' before that...

EDIT: Logcat of course is from newest 1.8b1, no problems like that with CF-Root / Ninphetamine, ROM is LeoMar 2.7.1.
[Galaxy S II Original Android Development] AndreiLux:
Go out and treat the girlfriend, we need more time to test :p

I've got the same performance experience as you do.

As for the battery charging, first time I ever hear of that. What's your 100% voltage? I'm at ~4193-4195mV.
[Galaxy S II Original Android Development] chadouming:
Go for it ^^ take a break and relax, thx for all your hard work.
[Galaxy S II Original Android Development] olifee:
Yes, dmesg is included since 1.8a4 I think, works fine since then.
[Galaxy S II Original Android Development] AndroidGX:
Mine at 4195mV max aswell (screenshot posted, so you can see the 96 at 100% while charging).
[Galaxy S II Original Android Development] jonny68:
No more AOS bug is a major thing to claim given the sheer amount of people who have issues with this so im looking forward to testing this latest update;)
[Galaxy S II Original Android Development] olifee:
I went through my logcat and found no personal information apart from my mail adress and removed it.

So it can be accessed here:

http://dl.dropbox.com/u/500013/logcat.txt

I would be happy if somebody saw the problem, because I want to stay with Siyah-Kernel (and it only occurs with it :( ).
[Galaxy S II Original Android Development] cbeckstein:
thanks... ok so far...

now, where can I place this script, so it is automatically executed whenever the mobile has completed booting?
[Galaxy S II Original Android Development] CA3iR0:
My phone began to hangup when I try to turn off the WIFI. I doesn't turn it off and then it freezes.

This only began to happen when I installed v1.8b1
[Galaxy S II Original Android Development] dtekkt:
You wanted a bug report, here it is :-D. Everything its working well and smooth, but I am not able anymore to mount usb sticks, please fix this, its one of the most important things I really need
[Galaxy S II Original Android Development] bandit79:
Same here, no usb mount available
[Galaxy S II Original Android Development] AdamHayton:
Wifi Issue

Turning off the wifi causes a freeze, it turns off instantly, but hangs at turning off wifi for about a minute or so. You cant then turn back on quickly, not a major problem but it can lock up the wifi settings screen.
[Galaxy S II Original Android Development] gokhanmoral:
was it working in alpha6?
[Galaxy S II Original Android Development] chadouming:
@ghokanmoral

If you want some work, codeworks posted a KANG build of CM7 for SGSII with fixed bluetooth ^^ i'm trying it in a few :D
[Galaxy S II Original Android Development] Skyline92:
WiFi + turning it off is working nice here. I'm on Batista FoxHound 2.1
[Galaxy S II Original Android Development] chadouming:
+1 here, no prob with wifi.
[Galaxy S II Original Android Development] AdamHayton:
KI3 Modem. What is everyone else on that is not having Wifi hang on turning off.
[Galaxy S II Original Android Development] Skyline92:
I'm on KI1 Modem with WORKING WiFi
[Galaxy S II Original Android Development] Остап:
delete it ............................