yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] tomascunill:
I used setCPU untill someone in this thread recomended me voltage control. I find voltage control better since it creates init.d scripts. The only thing is that voltage control cannot create profiles (example: screen on/off, charging,etc...) but this is a feature I never used so for me it isn't a problem really. With voltage control you can also change I/O scheduler, overclock, undervolt and all the features you get on setCPU and for free.

As for GPU UV I have never done that, but I think setCPU and voltage control are not capable of doing anything there, you have to go directly to the scripts.

Hope it helps. Anyway if you're not sure which app to use the logical thing would be voltage control since it's free.
[Galaxy S II Original Android Development] gokhanmoral:
I will also check that.

I did not get the patch from arighi but I checked my code and it is already there.

I have compared the sources with about 10 different htc sensations and nexus s kernels and tried to strip as much as possible. for example, netarchy's nexus s kernel source doesn't have that sync_wake_lock (the bfs version. I was examining and thinking that it might help me get bfs working). so, it is a possibility that something else other than a change in the linux kernel have fixed the problem.

I hope you are right.. I would also be happy to find out the reason of the fix.

also, I want to state something once more. as I said before I don't have any claim that I fixed it on purpose and I don't have a claim that I am a kernel guru or anything else. people may think that I have managed something that samsung cannot but it is not true. I have stated countless times that I have no idea why we don't have that high android os usage anymore. anyway... you already know what I am talking about. I was a fan of your kernel when I was using DHD with MIUI. it is the same people who was thinking your kernel was better than linux kernel :)

EDIT: AOS increased a bit after using the sync_wake_lock but it is not as high as before. it increased from 4-5% to 8-9% for my case.

I did not try it on the original samsung sources. and I've been running it for about half an hour. let's see if it gets worse during the day.

35mins uptime, 27min deep sleep, AOS is at 21 seconds.
[Galaxy S II Original Android Development] ebliss:
gokhanmoral,

found this post regarding BFS and why Hacre is not putting it in his kernel. Maybe it might change your decision too. http://xdaforums.com/showpost.php?p=7902392&postcount=304
[Galaxy S II Original Android Development] gokhanmoral:
I could not get it booting anyway :)

but I still wonder the results.
[Galaxy S II Original Android Development] ceragon:
usb host

does not work usb host (usb flash memory)

my phone galaxy s2

kernel 1.8rc2
[Galaxy S II Original Android Development] aqualeris:
I see. Thank you so much. Currently using setCPU but may give voltage control a try.

Just wanted to know what are init.d scripts? I've seen them all around the forum but I can't find a guide on what it is and what do you do with it..
[Galaxy S II Original Android Development] gokhanmoral:
can anybody else try and see if usbhost is working in rc2?
[Galaxy S II Original Android Development] gokhanmoral:
init.d scripts are the scripts which are executed during the boot time.

actually, they are meant to initialize and deinitialize system daemons and manage some startup/shutdown tasks. but in android world they are just "autoexec.bat"s :)

so, it is a mix of rc.d and init.d directories in linux distros. everything in /system/etc/init.d are executed during the booting process.

since it is not standard in every android device,some developers choose to execute files starting with "S" and some execute everything.

in this kernel, everything in /system/etc/init.d is executed.

so, you can create a script to change, lets say, voltages, schedulers, apply tweaks, run overclocking daemon or run anything else you can imagine.
[Galaxy S II Original Android Development] Остап:
gokhanmoral

Is it possible to expect that tegrak touchmove will be supported by Black Kernel ?

http://xdaforums.com/showthread.php?t=1118918

https://market.android.com/details?id=com.tegrak.touchmove&feature=search_result
[Galaxy S II Original Android Development] gokhanmoral:
it is already supported in 1.8rc2.

I loved the app. Tegrak did a great job. you can change touch sensitivity in runtime.
[Galaxy S II Original Android Development] aqualeris:
Ah thank you so much for the detailed explanation. Got it now. One last question, if voltage control creates a script, if I wish to revert back to stock voltages, do i have to manually go into the folder to delete the script or will uninstalling voltage control do? Or maybe change the voltages back to stock before uninstalling?
[Galaxy S II Original Android Development] gokhanmoral:
you have to delete the script and reboot or execute another script to override the values you have previously set.

if you have no undervolting scripts and reboot you are back to kernel values, in this case samsung stock values.

undervolting/overclocking etc values are not persisted. they are volatile.
[Galaxy S II Original Android Development] dtekkt:
For me it is working, its one of the first things I try when I upgrade :-P
[Galaxy S II Original Android Development] gualandd:
No, I mean the possibility of control connected USB devices with 3rd part apk, such as DSLA Controller does.

And no, for what I know, isn't ROM related bud Kernel related; Samsung har removed from KH+ kernels the usb api's to prevent control of usb devices from apk not directly samsung related...
[Galaxy S II Original Android Development] :
As I said BFS will not bring magic to SGSII, but it is worth a try. Morfique is refusing to do CFS kernel, so there must be a reason. There are always pro and cons.

I remember gokhan said not so long ago to me, newer is not always better when I cried about .14 and look where we are now ;).

Cannot know until you try.
[Galaxy S II Original Android Development] :
I'm getting some amazing results using ondemandx and it's my favorite ATM, no UV, no profiles :D.
[Galaxy S II Original Android Development] gokhanmoral:
ok,thank you. I hope you will try it on rc3 as well.

I think it will be the last release candidate.
[Galaxy S II Original Android Development] Остап:
Yep, he was asked for this by me too ))) Great job

And yours ! :) Thanks
[Galaxy S II Original Android Development] gokhanmoral:
I was wrong obviously :)

I could have been right, but you'll never know if you don't try.

that is why I will give bfs another try later this week.
[Galaxy S II Original Android Development] :
it was probably more work for you, but you made a monster now and opened a door for many new things ;)

and my SGSII is, as I said to you, a monster again with ondemandx.. I didn't even disable fast dormancy and all other Samsung **** on stock ki8 and battery life normal, and there's speeeeeed :D
[Galaxy S II Original Android Development] inferno17x:
Touch Move App

I find it strange when I tried to calibrate the touch sensitivity via Touch Move App whenever I set from "5" to "0" and apply. After a while it will switch back to "5".

Does anyone has this problem?
[Galaxy S II Original Android Development] Vaim:
I'm not that well informed about what functions can be enabled from the kernel, but is it possible to create a kernel level change of network mode?

My battery life is ~3x better when 3g is not enabled so it would be awesome if the kernel could switch network mode to 2G only when for example entering deep sleep and switch back to 3G when the screen has been on for x amount of time.

Obviously it shouldn't switch when there's an incoming call, but i think something like this could give a very big bump to phone idle time.
[Galaxy S II Original Android Development] syahrulzaman:
hi,

its say deadline is set at default scheduler, however when i check, it show cfq instead of deadline. How to change the scheduler without using any apps ?
[Galaxy S II Original Android Development] :
what do you mean by after a while.. i tested for 5 minutes and still at 0..

edit: OK, yes it reverted back to 5 now, maybe set on boot and reboot?
[Galaxy S II Original Android Development] coolfire:
If Tegrak himself can praise your kernel, then we can only assume one thing - AWESOME SiyahKernel! :D
[Galaxy S II Original Android Development] ceragon:
Enabled parameter the "Settings -> Applications -> Development -> Debugging usb", working
[Galaxy S II Original Android Development] :
which version, deadline is default in 1.8rc2.. there is a script somewhere in this thread to change it, search for it or use no-frills app.
[Galaxy S II Original Android Development] twosix:
rc2 download link in post #1 is broken.
[Galaxy S II Original Android Development] :
wait for rc3 ;)
[Galaxy S II Original Android Development] gokhanmoral:
rc3 is up.

I hope this to be the last rc.

everybody test it please. I will cleanup the sources meanwhile :)

by the way, there are no big changes.

just some defaults changed here and there...
[Galaxy S II Original Android Development] bandit79:
did u use the OC Daemon and / or No-Frills?

Now i set OC Dameon Bypass with min 100 and max 1200mhz @ ondemandX. It's running faster now, will see what battery does. deadline in No-Frills as I/O scheduler
[Galaxy S II Original Android Development] syahrulzaman:
Thanks dude
[Galaxy S II Original Android Development] bala_gamer:
Nice going gokhanmoral, waiting eagerly for the upcoming features,

An open source app to tweak settings...

no-oc-uv version to work with all roms

user customizable cpu frequency interface
[Galaxy S II Original Android Development] dtekkt:
It works for me, no freezes and so on. Mounting USB Sticks still works :p, promised to test it for you.

Will report back if I find some unexpected behaviour
[Galaxy S II Original Android Development] :
Just no frills ATM, also kept it at 200 mhz, no significant change in battery life and less lag.
[Galaxy S II Original Android Development] spaxx24:
If battery is my #1 priority, and I'm willing to sacrifice performence for it, wich govenour is the best for me? Im using smartassv2 atm.
[Galaxy S II Original Android Development] AndroidGX:
For those who get random reboots, like me, check the 100Mhz UV value, I thought it was stable at 775mV, I was wrong, that was doing some freezes while AC charging, and had to restart the device completely twice in this night. At 800mV, no more problem. 3 hours at 100% in deep sleep state.

btw, CWM recovery to 5.0.2.3 works nice here, flashed without any problem rc3 with doing manually a full wipe cache+dalvik ;)
[Galaxy S II Original Android Development] Peeyar:
Ok guys. regarding i/o scheduler what is the best for siyah when it comes to performance and battery life thnx.
[Galaxy S II Original Android Development] :
deadline or sio.

---------- Post added at 09:30 AM ---------- Previous post was at 09:30 AM ----------

Keep using smartassv2 then.
[Galaxy S II Original Android Development] AndroidGX:
AndreiLinux already gave a good manual for that kind of question that you can find HERE.
[Galaxy S II Original Android Development] superleeds27:
Rc3 is very nice :-).Should i be using setcpu for Voltage control and Governrs, or dont people reccomend it?
[Galaxy S II Original Android Development] smertj:
Help me please! Wi-Fi on-off phone freezes and then it is impossible to include. :(
[Galaxy S II Original Android Development] ObihoernchenDE:
Reboot while listening to music with rc2 ):
[Galaxy S II Original Android Development] superleeds27:
Performance: 1st place - VR

Reliability: 1st place - Simple

Although i havent tested!
[Galaxy S II Original Android Development] dkflint723:
Looking good, can't wait for the NTT version to post.

Thanks again for all your hard work, the community appreciates it.
[Galaxy S II Original Android Development] smertj:
kernel rc2 rc3.

Help me please! on-off Wi-Fi phone freezes and then it is impossible to include :(
[Galaxy S II Original Android Development] AndroidGX:
+1 same here, but I guess it's not kernel related as siyahkernel do his job perfectly, but we need to wait for a small "Touch Move" su update to fix this as it's not asking for su rights when you apply after ticking "Set on boot".
[Galaxy S II Original Android Development] :
here, thanks to kwerdenker, just use script manager app or create file in init.d with following code:

echo <[I]name_of_scheduler[/I]> > /sys/block/mmcblk0/queue/scheduler

be sure to set correct permissions if creating manually.

---------- Post added at 09:39 AM ---------- Previous post was at 09:36 AM ----------

it's something in your ROM probably as it works fine.. try redownloading kernel and manually wipe cache and dalvik cache, then install kernel.

hope it helps!
[Galaxy S II Original Android Development] mach0boi:
Anyone managed to resolve this?
[Galaxy S II Original Android Development] itzankov:
Currently running 1.8r1.

So far no AOS bug...

There is only one problem I notice, and strangely it seems to be related to the CPU frequency governor.

The freq. governor seems to somehow adversely affects the camera picture quality. After some testing it seems that I can get the best quality using the ondemand governor, the worst is on smartass and ondemandx. Even on ondemand quality is not nearly as good, as with the stock kernel.

Actual CPU maximum frequency does not seem to affect quality.

Could this be related to noise somehow?
[Galaxy S II Original Android Development] gokhanmoral:
as I said before, it will be resolved in the release.

I will set the lower limit to 800.

I just want to make sure that rc3 is stable, so I did not lower it
[Galaxy S II Original Android Development] inferno17x:
Ok 1.8rc3 has solve the problem.
[Galaxy S II Original Android Development] cbeckstein:
Anybody else strange experiences with the new recovery that was introduced in rc2?

I got the impression that it has problems handling ZIPs whose installation is trigerred by the CWM or DarkyROM2 app:

when I attempted to install rc3 the first time via CWM app, then after racing through the reboot with the to fast to read msgs, I was still at rc2 after the boot

booting into recovery and flashing rc3 manually did the job

the same with another update zip: flashing it thru the DarkyROM2 app resulted in no effect, goting into recovery mode and flashing it manually achieved the desired result

before rc2 (the new recovery) ther was no difference whether I started the flash via DarkyROM2 (which does the job via a reboot into recovery anyway) or manually from recovery mode

maybe a problem wrt the way DarkyROM2 and CWM app tell the recovery what to do at the next boot?
[Galaxy S II Original Android Development] pac213:
Just flashed RC2 2 hours ago and now RC3 is out lol. I think the best combo for me is Deadline then ondemandx as governor. No lag. All I need now is UV value for my phone.
[Galaxy S II Original Android Development] Tsukihime:
CWM-based Recovery 5.0.2.6 has released

5.0.2.3 does not recognise my External SD Card...
[Galaxy S II Original Android Development] ceragon:
usb host

If you have problems with usb host, try

Enabled or disable parameter the "Settings -> Applications -> Development -> Debugging usb",
[Galaxy S II Original Android Development] mariosraptor:
flashed rc3 on exynos extreme 7.1.3. after f5 minutes fone restarted itself without any oc on smartassv2. any idea? i'll see if this will keep happening. if it does revert to 1.7.8 or even 1.6 which comes with the rom.
[Galaxy S II Original Android Development] crypticc:
Ki*?

It is not kernel. It is phone modem issue or ki ROM issue. I always had this.
[Galaxy S II Original Android Development] Galaxy_Fan:
+1

100 MHz don't work for me => a lot of reboots

smartass don't let the running smooth.

I use ondemand and wanna try interactivex or ondemandx by now
[Galaxy S II Original Android Development] crypticc:
Another I saw before, this time on netchip kernel with 5*. I.saw better by rehashing su which seems to not like updates. In other words I don't think the issue it this kernel.
[Galaxy S II Original Android Development] inferno17x:
Yes I experience this too when trying to flash 1.8rc3 via CWM APP it will still shows as rc2.

I will have to flash it from Recovery Mode then it will reflect as rc3.
[Galaxy S II Original Android Development] cbeckstein:
maybe this is fixed with the update to CWM (5.0.2.3 -> 5.0.2.6) that was just released

something also noteworthy is the fact, that the new 5.x.y.z recovery now by default places nandroid backups on the externals SD if there is one plugged in to the device --- a much better choice than the one from 4.x.y.z, since the contents of the external SD usually survives whatever happens to the rest of the system...
[Galaxy S II Original Android Development] efegue:
For you guys that don't care with smooth animations, the kernel must be great. But for me, it's worst in the last revisions, I could have smooth animations and stable FPS in alpha revisions, but now I can't get it, I've tried with all governors, no go.. It's too bad, because I love this kernel... :(
[Galaxy S II Original Android Development] twosix:
CWM 4.0.0.x from this b2's kernel is also not seeing my external sdcard.
[Galaxy S II Original Android Development] two_shades:
Source of SC-02C differences

I have been looking around for sources to the kernels but haven't had any luck.

In particular I'm looking for the changes that get GPS working on the Japanese SC-02C.

Are these available anywhere?

Thanks
[Galaxy S II Original Android Development] :
you have patch files of this kernel at bottom of post 2 http://xdaforums.com/showpost.php?p=17583232&postcount=2 and when 1.8 final is out you'll have it there also.
[Galaxy S II Original Android Development] kalpik:
I can confirm. The kernel was somehow smoother before!
[Galaxy S II Original Android Development] gokhanmoral:
I will upload sources today. it is smaller than I thought, only 6MB zip file. you will apply it to linux-2.6.35.14

but, I may have removed some files which is required for NTT version.

I did not try to compile it yet.

I will try to compile NTT version after I release EU version.

I will also upload full source code + toolchain + build scripts.

you will only extract it and run "./build.sh"

I hope it will help people who want to play with the source code but cannot put things together.

of course, you will need a linux distro to run it...
[Galaxy S II Original Android Development] gokhanmoral:
smoother when?

in which version?

v1.8 or 1.7? which beta or rc?

please be more specific if you want to help.
[Galaxy S II Original Android Development] kalpik:
It was smooth up till 1.8a4 I think.
[Galaxy S II Original Android Development] ram3n:
Very strange :

I use voltage control with underclocking from 100 - 800 mhz, save boot settings.

Every time when I power on or reboot my S2, I see in voltage control that U/C is 100 - 1200 Mhz ....

Is this a bug ? How to solve it ?
[Galaxy S II Original Android Development] gokhanmoral:
old good lost v1.8a4... :)

I also miss it... it was the first version without android os bug and it was so smooth...

but it is lost.

I will focus on performance in the next version.
[Galaxy S II Original Android Development] kalpik:
Yeah, ironic, I know :p

It's like your lost masterpiece :D
[Galaxy S II Original Android Development] pac213:
I had this problem too. Try using No-frills CPU Control. It's free from the market.
[Galaxy S II Original Android Development] xinfinityoO:
anyone tried running atuntu or quadrant benchmark.. doesnt run properly for me ..on the latest kernel version
[Galaxy S II Original Android Development] :
well yeah a4 was smoothest for me with lagfree, but I don't see much difference now when I'm using ondemandx 200-1200, yeah there might be some 'lost frames' but scrolling and everything else is lightning at least in my case (stock ki8).

Still looking forward for performance tweaks like all of us do without impact on battery life.

And BFS of course :p
[Galaxy S II Original Android Development] Vulpix:
I had a freeze for no reason just a minute ago. No SetCPU or any funky business, running on stock KI3... :( App is K-9 mail, while setting up an account my entire phone freezed, had to pull the battery.
[Galaxy S II Original Android Development] superleeds27:
RC3 seems better then RC2 'smoothness wise'

Using Ondemandx 100-1200. Uv.
[Galaxy S II Original Android Development] :
I'm 99% sure it is not kernel related. I just set up another account in K-9 and no problems at all. It might be just a glitch in k-9 or similar.
[Galaxy S II Original Android Development] gn00my:
now Cyanogen has a stable release for our SGS2 , will you create a kernel for that one ??
[Galaxy S II Original Android Development] gokhanmoral:
oops,.. I just noticed that I forgot to reapply sync_wake_lock patch that cattleprod was referring..

any problem with Android OS usage in rc3?
[Galaxy S II Original Android Development] :
erm, no
[Galaxy S II Original Android Development] inferno17x:
Mine is currently at 5% usage on 1.8rc3.

With Smartassv2 and deadline is very smooth for me .
[Galaxy S II Original Android Development] Galaxy_Fan:
no problem :)

make an rc4 candidate :D
[Galaxy S II Original Android Development] pac213:
No Problem with me. Using SmartassV2 and VR as I/O. Smooth as usual.
[Galaxy S II Original Android Development] rauschkugl:
My phone is now on for about 3 hours with about one hour display on time and surfing over 3g. I'm at 68% now and my phone never went to deepsleep. Still on rc2 atm.

Sent from my GT-I9100
[Galaxy S II Original Android Development] jsompis:
No problem here.
[Galaxy S II Original Android Development] pesho00:
I am missing http://xdaforums.com/showthread.php?t=1227479 Decrease home button lag patch. Can you add it?
[Galaxy S II Original Android Development] Vulpix:
RC4 time? :p
[Galaxy S II Original Android Development] gokhanmoral:
no, there will be no rc4 but 2 v1.8 releases...

one with update2 drivers

and the other one with at&t drivers..

benchmark time :)

we'll see if newer is better or not...
[Galaxy S II Original Android Development] more2come:
As far as I know this has nothing to do with the kernel, that's framework related.
[Galaxy S II Original Android Development] pesho00:
Agree, but i've notticed that after applying the patch and then installing SiyahKernel patch effect was gone? So i've assume there something changed.
[Galaxy S II Original Android Development] Orka82:
This kenel made my phone SUPER!

:D
[Galaxy S II Original Android Development] Galaxy_Fan:
BTW,

no AOS bug here on rc3
[Galaxy S II Original Android Development] AndroidGX:
I thought too for the reboot while in question, but after a crash, I lost again my "Touch app" setting from boot.
[Galaxy S II Original Android Development] :
nothing to do with kernel.
[Galaxy S II Original Android Development] Vulpix:
Damnit, nothing over 9000. :(
[Galaxy S II Original Android Development] pockobg:
Some one notice ugly picture quality??
[Galaxy S II Original Android Development] Vulpix:
Wtf, I just got the sleep of death. I never had this in RC2, and I got this in RC3, along with that random crash. :(
[Galaxy S II Original Android Development] efegue:
Yes, a4 was smooth when using ondemand. Just make a simple test gokhanmoral, benchmark with Quadrant and make sure the FPS is stable, this is a signal that our animations will be smooth and won't lose frames :)
[Galaxy S II Original Android Development] jonny68:
how are all them showing up at the same time on mine it's completely different.
[Galaxy S II Original Android Development] inferno17x:
Yes it sustain for a while after reboot and after it change back to 5 again.
[Galaxy S II Original Android Development] pockobg:
Can someone confirm?? Please ..
[Galaxy S II Original Android Development] :
No! 10 char
[Galaxy S II Original Android Development] alcurtis93:
Definately not.

Sent from my GT-I9100