yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] branalvere:
Finally I can kindle in the dark without my retinas being scorched by the leds . Never take this out of the kernel!

Thanks bilboa
[Galaxy S I9000 Android Development] apewall:
I don't know how you guys can even see the buttons in the dark without the leds lit, must be an I-9000 thing.
[Galaxy S I9000 Android Development] kenkiller:
You know, there's only 2 buttons, even a blind man knows where to press for each function.

This isn't rocket science, with one whole row of buttons that's hard to distinguish.
[Galaxy S I9000 Android Development] DocUHT:
Same issue here. Gonna try your method. Thanks for the tips.

Edit: I flashed back to an old kernel (20110321_20 actually) then to 20110325_02. It worked once until I locked and unlocked the screen. And the phone was very laggy.

Back to 0323_02 then :-(
[Galaxy S I9000 Android Development] redbull320:
Also the issue with the Buttons with the latest build.

Hope it get fixed Soon

Greetz
[Galaxy S I9000 Android Development] jimmy-bish:
Yeah, I was a little quick to say it's sorted. The keys have been disabling themselves fairly often since I posted last. I had to reboot to fix it at one stage.

I'll have to drop the kernel back to the last one I was using for the sake of stability.

Bilboa1, if you want to me run the latest kernel again and test or log for you, let me know and I'll help out.
[Galaxy S I9000 Android Development] Rickstur:
I also have some trouble with the buttons freezing. An other bug is the headphone mic (finally works for me) it only works one call. I have to plug it in again to make another call. After hanging up the phone the musicplayer comes up.

I am on miui rom is this miui specific or anyone else has the same issues?
[Galaxy S I9000 Android Development] gabby131:
No issues on my cappy. I played games for 30mins and standby with wifi on for 2hrs. Using setcpu for CPU tweaks. No random reboots, touchkeys works great, and everything is buttery smooth..thanks
[Galaxy S I9000 Android Development] bilboa1:
if you report an issue please complete this form:

Model: (GT-I9000, Captivate, Vibrant, etc)

Issue: (describe exactly what happens, don't make assumptions)

Log: paste your log on pastie.org or similar site (logcat is rarely needed for kernel issues, cat /proc/kmsg or dmesg is usually more useful)

The reason is especially that I can't tell if touchkey will work fine on non-GT-I9000 models, as the previous detection from the Nexus S is bugged, i made assumptions on how to detect them which I cannot check without having these phones of course.

best would be if an actual dev (or someone who can compile/run kernels) could test and fix with me if necessary (irc #project-voodoo)
[Galaxy S I9000 Android Development] Prasad:
Great kernel... thanks! :)
[Galaxy S I9000 Android Development] Corvillus:
I retract this. It still breaks whenever an app doesn't trigger an LED notification. Have to pull down the notification drawer, unlock, and relock the phone to fix it. :(
[Galaxy S I9000 Android Development] bilboa1:
read it ffs :(
[Galaxy S I9000 Android Development] Razer(x):
My touchkeys do not work with the latest kernel too, is it normal? I thought they were fixed
[Galaxy S I9000 Android Development] Mercury0660:
very strange, I have no problems with the touchkeys in latest kernel
[Galaxy S I9000 Android Development] kenkiller:
Try using it some more...it will happen sooner or later.
[Galaxy S I9000 Android Development] DvTonder:
Bilboa,

A few drinks coming your way. Thank you.

Confirmation number: 4W657234NB118872A
[Galaxy S I9000 Android Development] bilboa1:
Hey DvTonder, BLN just notified me of that e-mail haha. Hence the quick reply!

Thanks for your support, tonight's beer on you ^^
[Galaxy S I9000 Android Development] Markyyyyyyyyy:
Galaxy S I9000

i'm also having the same problems with the touch keys.

Galaxy S : I 9000

Version of Kernel 20110325_00

various apps, touch keys will not function, lock/unlock and seems ok

Amount of time ok has varied for several hours, to within a minute.

thanks... Great Kernel, very smooth
[Galaxy S I9000 Android Development] Mercury0660:
I had the issue with 2303_22 version. But its gone now.

edit says: I tried over 20 apps now, touchkeys work (I9000), restarted, touchkeys work. so far i can't reproduce the issue
[Galaxy S I9000 Android Development] Steyux:
Do you think it's possible to add BLN? :p

Thanks for you amazing work!
[Galaxy S I9000 Android Development] dehem333:
Just tried , working flawless on newest version galaxyS. Thanks a lot , I just use the latest Voodoo Control from the market and use my volume rocker to adjust that amplifier , for some reason that does work :D

Voodoo sound sucks , makes me hating listening music on my pc lol :)
[Galaxy S I9000 Android Development] supercurio:
Current CM7 is broken (Android framework) and breaks my very basic standard app
[Galaxy S I9000 Android Development] dehem333:
Awww , ok ;)

Also the screen was making me nuts , excellent now:D Thanks Bilbao & Supercurio
[Galaxy S I9000 Android Development] MAMBO04:
Excellent work here, thanks dude and of course curio for the raw materials ;)

Also i'm curious too, is BLN possible?
[Galaxy S I9000 Android Development] supercurio:
If neldar (poor student) has enough resources to build a Nexus S (i doubt he would rewrote it only for CM)
[Galaxy S I9000 Android Development] dehem333:
When the developer of BLN(Neldar) finishes BLN for CM7 I can be integrated in this kernel I guess , but AFAIK hes not finished or even working on it:P
[Galaxy S I9000 Android Development] bilboa1:
The touchscreen driver is entierly different from the one in Froyo (and probably from the one is samsung's gingerbread in fact)

i'm not sure if the original author of BLN will port it, he didnt sound very willing

Maybe one day i'll give it a try, but it's likely that i wont, i'm too lazy for that :p

tinyrcu is a lock system ("lockless" mutual exclusion synchronisation mechanism if you will) used by linux a bit everywhere except its a small one that doesnt use a lot of memory. works only on single cpu systems.

bfq is a popular scheduler
[Galaxy S I9000 Android Development] unfnknblvbl:
um... is it just me, or is this kernel somehow slower than the 'stock' CM7 one? Since flashing it, my phone's animations have been very stuttery. :(
[Galaxy S I9000 Android Development] ashwinds:
Hmmm my animations seem to be just fine.
[Galaxy S I9000 Android Development] ashwinds:
kang you must be a mindreader - I was about to ask you on irc yesterday (knowsnotmuch) if you could clean up the debug code! Awesome to see this - would be great if you followed hardcore's changes for battery life in 2.2.x and brought them into 2.3.3. Thanks again!
[Galaxy S I9000 Android Development] derrzredeem:
+1

would love to see the debug disabled.

Thanks.
[Galaxy S I9000 Android Development] bilboa1:
to be honest most of the debug stuff make the kernel a lot lighter (-1mb) but not a lot faster in most cases (except some crazy printk spam from samsung - but there's none in CM7 kernel) - still most of it is disabled

there's many other things added to kernels on these threads that are just here like "look i made stuff" but aren't really useful and most of it is placebo. even tiny rcu and bfq aren't all that useful, although the rcu saves a bit of memory, but bfq/deadline dont seems to make a real difference in our case.

there's other more important things which are pushed to main cm7 kernel when they're fixed like the gps bus.

i also noticed the s3c driver is not properly initialized until you put the phone to sleep / wake up (turn screen off/on), its kinda slow until then.

additionally mdnie is quite broken (screen goes black when enabling it), which is a pity as it's what would allow adding the voodoo sharpness filter.

might get easier with samsung 2.3 source drop .. although i fear the CM7 kernel is too different. Still maybe the s3c stuff could be mostly ported.

Another thing which people have already noticed is that the touchscreen keys stay on when the screen is on during videos etc - kinda annoying, should be fixable.

Finally oc/uv if stable works kinda good on some phones (well especially the uv)
[Galaxy S I9000 Android Development] ashwinds:
I do believe much of its placebo. If i were to narrow down (unscientifically), hardcore's changes relating to disabling logging and more importantly the wifi scanning was what saved the most battery.
[Galaxy S I9000 Android Development] chrisz5z:
Haven't been on a voodoo kernel in a couple weeks so i guess my eyes adjusted accordingly. Just flashed this and wow voodoo color makes a huge difference, thanks bilboa and supercurio :)
[Galaxy S I9000 Android Development] coderunner:
Ok I installed the voodoo control app v0.1 and now I can change the volume but there is no color settings is the voodoo color still enable even thought the settings are not there?
[Galaxy S I9000 Android Development] derrzredeem:
You need to use 2 voodoo app.

Download voodoo control app from market, and you are good to go.

~drz
[Galaxy S I9000 Android Development] coderunner:
So I use one for color and the other for sound
[Galaxy S I9000 Android Development] thatguysteve:
Ya seems that way. Better than having one that does half the job
[Galaxy S I9000 Android Development] sewe:
nah. voodoo control app is enough, make sure that you tick force analog. vol keys and then when you connect the headphones the mediavolyme will be on full volume and you will raise and lower voodoo volume with the volume buttons
[Galaxy S I9000 Android Development] doronkdoron:
Thank you for having the headphones bug fixed. Using now 25 00 which is good, but 23 02 was smoother for me. Could be a reason for that?
[Galaxy S I9000 Android Development] zacharias.maladroit:
nice !

more and more folks of the community switching or at least testing CM7 :)

modding FTW !

Markyyyyyyyyy I really liked your Markyyyyyyyyy theme applied to Darky's ROM

thanks !
[Galaxy S I9000 Android Development] TheMathMan:
Version: i9010 Armani

Kernel: 25thMarch one

A couple of times today touch keys have stopped working in Gmail. Lock and unlock didn't fix. Neither did killing all apps via notification bar. In GMail didn't even kill. Reboot fixed it for now.

Sent from my Armani S i9010 (CM7)
[Galaxy S I9000 Android Development] kenkiller:
I know. I thought I was lucky too after much constant testing. It will appear in time, just when I didn't expect it. :D

But still, it's an inconvenience I can leave with, use either onscreen menu/back buttons or just do a lock/unlock, solves it in a hurry......but the button backlight timeout ability is priceless. :)
[Galaxy S I9000 Android Development] buzzworkers:
I get this problem too, can be on the market, or on any app i'm using, suddenly, touch key are gone, they a lock/unlock make them come back.

question, is it normal that the touchkey light are off after like 2 sec when they work ?
[Galaxy S I9000 Android Development] azzledazzle:
are the updates consecutive ?? I mean like...... i havent updated the kernel since 2 weeks ago, if i flash the latest update (todays) will all previous updates be included ??
[Galaxy S I9000 Android Development] joaoennes:
You should have no problems with that. Sometimes I miss one or two kernel releases and I always install the latest and I never had problems with that.
[Galaxy S I9000 Android Development] Arkanius:
I notice that behaviour as well. It's very noticeable for example, in the screen-off animation

And the phone feels very sluggish. Making it sleep and waking it takes a lot of time and today morning the alarm didn't fire off. (But I can thank you for that, valid excuse to sleep a bit more)

Not sure what's causing and no ADB at this computer to submit a good logcat of what's happening. I'm at platypus kernel right now due the reduced performance at Bilboa's

Someone else that noticed the more sluggish behaviour, submit a bug report like bilboa wants :(
[Galaxy S I9000 Android Development] damianarnold:
I changed the governor to smartass and the sluggishness stopped, however the softkey problem has me using the platypus kernel.
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes, kernels or kernel updates should be cumulative (including all updates from the past up to the current point)

haha what ?

that's weird :confused:

at the beginning it was also very sluggish for me I started testing my new kernel - even with ondemand

then I switched to smartass and it became even worse (I already had thought of not releasing it)

but switching back to conservative (where it's right now) it works OK

perhaps switching around with the governor several times & running the kernel for some time helps ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
*double post*

I didn't even mark my post for quote :confused:
[Galaxy S I9000 Android Development] Arkanius:
Went back to bilboa's kernel to check if changing the governor helps

Changed to ondemand and it the sluggishness was gone

Back to conservative and it's working correctly.

Very strange to be honest
[Galaxy S I9000 Android Development] lockpick:
I recently got a desk dock and the sound isn't working.

Can either bilboa1 or zacharias.maladroit take a look at xcaliburinhand's fix and incorporate it into their kernels?

Thanks
[Galaxy S I9000 Android Development] bilboa1:
about sound / mic / headsets: i disabled it its not really good enough yet

car dock: unfortunately i fear it's going to do the same kind of issues. have you tested the guy's kernel?

bln/etc: i found the bug in bln, where in some circunstances it could disable the touchkey and it would stay disabled at resume (=keys don't work anymore)

it seems to be for some apps the bln daemon sends backlight off instead of on. .

i'm uploading kernels (in some minutes) with these fixes for some testing in case there's anything else left.

please, dear god pleaaase, if you get an issue .. paste the output of the kernel log.

dmesg (take the end) or cat /proc/kmsg while running

thanks :p
[Galaxy S I9000 Android Development] zacharias.maladroit:
great job - once again ! :)

could you please push the update BLN to your repo, then ?

I'll then take it quickly & incorporate it in my kernel, too

so no matter what kernel people are using

it'll get wide testing

thanks !

@the bold marked text:

xda & Android are not (arch, gentoo or debian) linux forums :p

maybe adding that statement to your signature & making it colorful will help ?
[Galaxy S I9000 Android Development] buzzworkers:
Good, goood, let's try this now !
[Galaxy S I9000 Android Development] bilboa1:
it push git and kernels at the same time so it takes a little while with my crappy dsl - but - if i were you i'd wait a bit for reports before integrating (unless u'r ok with possible bugs :)

edit: it just finished upping

edit2: i don't think i should tell people this is the development section of xda x'D but to get things fixed. i think on linux forums people post the log all the time in fact anyway.
[Galaxy S I9000 Android Development] buzzworkers:
Softkey bug seem to be gone...it's working like a charm here :)
[Galaxy S I9000 Android Development] apewall:
Are you going to be returning the backlights to the nexus S functionality of "Always on while screen is lit" or keeping "always off" approach.

The latter seems to really suck for the captivate, I never hit the right area in the dark >.<
[Galaxy S I9000 Android Development] Arkanius:
Changelog so we can test the fixes? :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
take a look at the 3 commits from 2011-03-25

:)
[Galaxy S I9000 Android Development] bilboa1:
probably not xD

but i can make keys light up when the screen goes on.. i think samsung's kernel does that actually (then timeout)
[Galaxy S I9000 Android Development] sackynuts:
I downloaded CM7_GT-I9000_kernel_kang_20110325_20_update and flashed via CWM on my SGS running the newest build of CyanogenMod... Result is a black screen after the First bootscreen.

Download works though.. phew.. what went wrong?
[Galaxy S I9000 Android Development] Arkanius:
The kernel works fine for me

Can you boot to recovery? Try flashing the kernel again
[Galaxy S I9000 Android Development] zacharias.maladroit:
I also just got a black screen at bootup with my latest kernel (no BLN)

weird :confused:

CWM Recovery still works after shutdown / reboot

the only changes were adding the mic fixes and removing BLN

so it must be an upstream issue (issue from the kernel source themselves - nothing to do with our modifications)
[Galaxy S I9000 Android Development] dxtrlabs:
Works beautiful as it is kernel running smooth.no reboot at all and bln works great.
[Galaxy S I9000 Android Development] bilboa1:
Made a new version from scratch to avoid troubles.

It is NOT using the old BLN code anymore, this means the BLN app will NOT work this is normal!

BLN is now ALWAYS on (does not require any app) and works properly so far (well, as usual, u never know uh:)

it means also no scheduling or blinking support - no app is the way i like it tho.

It also gets proper notification from some apps where it wouldn't with the old BLN, such as chrome2phone.

there should be, in theory at least, no more crash/touchkey that stop funcitoning etc.

That said if you get any issue feel free to report - with dmesg or kmsg please ;-)
[Galaxy S I9000 Android Development] Markyyyyyyyyy:
Thats great news.... we have started making steel blue for cm7

so far looking good, some tweaks still required, but i have it on my phone now, as does Edint3000.... so keeping going, :)
[Galaxy S I9000 Android Development] buzzworkers:
steel blue for cm7 !! good news :))
[Galaxy S I9000 Android Development] Markyyyyyyyyy:
Steel Blue 3.1 (Cm7 Version)

if enough people are interested, Edint3000 posted a link on here with a link to an alpha version, we have made couple of mods since (including a nice miui music)

so i could post a link on here if you want..... let me know

but its still early doors, however we are getting there slowly, i'm finding it hard to find the time at the moment, but Edint3000 is still putting lots of good work in on it.

only thing i would like from cm7 is a good video player that can play all the formats that the samsung one can (plus better 3d graphics drivers) other than that i have to say it rocks... and is DAMNED fast, which makes the theme work even better....

cheers
[Galaxy S I9000 Android Development] zacharias.maladroit:
bilboa1 at every larger git pull I get the following with your repo:

is my git-fu weak or how would I go about that ?

(I'm currently creating a new branch, deleting the old branch and force-checking it out - is there a more elegant solution ?)

thanks !
[Galaxy S I9000 Android Development] Prasad:
Your kernel is working very well! Thanks and kudos! :D
[Galaxy S I9000 Android Development] DvTonder:
Would be really nice if you could add support for the CM7 quiet hours setting to disable BLN.

Maybe use the dim led sub setting. That way those of us that don't want to be woken up at night by blazing lights (unfortunately I am a very light sleeper) can update to the newer kernels.
[Galaxy S I9000 Android Development] bilboa1:
it depends if you're based on my branch or just pull from it

my pushes are often not very orthodox: i often rewrite history to ensure clean patches - it eases up putting separate patches (for upstream etc) a A LOT, the draw back is that it makes following (when based on that repo as upstream) harder

anyhow in that case i'd just go with git mergetool

if you're based on my branch: git checkout to something that was commited before my commits, then pull

another solution if your repo is clean and doesnt follow my stuff, git fetch my repo then cherry-pick the commits you want only

note for the last commit with name change: at the request of neldar he didnt want any of my variable to sound like bln - but its no bugfix
[Galaxy S I9000 Android Development] bilboa1:
that sounds like a pretty good idea. actually i wonder if it's already implemented by default via cyanogen. just try it. (liblight is just getting android/cm's notifications, i wouldnt be surprised if those werent not sent during quiet hours) i'm not going to work on it today anymore its too late, so if someone report this works already that would save me some time tomorrow ^^
[Galaxy S I9000 Android Development] zacharias.maladroit:
ok,

yes, from upstream's POV that's really way more convenient

I'm currently not basing on your branch (probably will in the future e.g. when you merge in 2.6.35.11 or any other larger upgrade - that's currently still a little too difficult for me to correctly to accomplish [I'm practicing])

right now I've cloned your repo to a separate local one - I guess in that case doing what I've done is OK,

from time to time I'll also do some cherry-pick's thanks !

could you also please make your liblight available somewhere ?

thanks again ! :)

edit:

take your time I'll wait until tomorrow then

I wonder how the battery drain would be with your BLN implementation
[Galaxy S I9000 Android Development] gabby131:
v.20110326 works much better......
[Galaxy S I9000 Android Development] bilboa1:
liblight is available as source on my github (https://github.com/kangsterizer/android_device_samsung_common) but if you wanna compile it, you can rip it from the newest cwm also

battery should be mostly similar i think
[Galaxy S I9000 Android Development] MAMBO04:
Thanks for the Kernel mate, added the latest one to new MIUI Beta 7, works a charm :)
[Galaxy S I9000 Android Development] apewall:
This would be perfect compromise actually.

Edit: BLN not working on the Captivate in the latest build.
[Galaxy S I9000 Android Development] kenkiller:
That's exactly what i9000 users don't want.... :( At least for me... :D
[Galaxy S I9000 Android Development] boarder.2k9:
The lights are working as normal ONLY when the screen is on for me. When the screen is off no BLN at all. Going back to older kernel, i've tried rebooting a couple of times and stuff but its not picking up a new sms message. anyone else got the same?
[Galaxy S I9000 Android Development] bilboa1:
that's slightly embarrasing but i actually forgot to package the liblight in the last kernel, so only some guys would have it working

fixed in newest.. and bleh while i was at it i added the rest too ;)

so..

- touchkeys light up at resume for 1.6s

- led notification now does respect CM7's quiet hours (thanks for the idea!) (use dim led setting => led off for us)
[Galaxy S I9000 Android Development] gabby131:
noob question......is there a way to enable the BLN feature? i keep sending sms to mah phone (locked screen) but the touch keys does not light up :o

Thanks:)

EDIT: but everything works fine....im just interested in BLN....but no big deal for me.
[Galaxy S I9000 Android Development] bilboa1:
its always on, check you have latest kernel and that your /system/lib/hw/lights.aries.so is up to date (its installed by the cwm)
[Galaxy S I9000 Android Development] Spirit02:
light.aries.so wasn't updated through cwm for me. Replaced original with one from 26.04 (using root explorer). BLN still doesn't work, and now automatic brightness doesn't work, neither does the brightness slider. Seems to be locked to 100% brightness.

I9000

26.04
[Galaxy S I9000 Android Development] bilboa1:
the old one is from neldar's BLN (so wont work with newer kernels) and afaik it doesnt support brightness setting (mine is stock cm7+modifications so it works "as good as cm7")

you can extract it from the CWM zip if theres any issue (system/lib/hw/..), although it should just get installed and overwrite the old one atm.. getting 5am so ill just sleep now ^^
[Galaxy S I9000 Android Development] Spirit02:
I'm assuming you mean extract the lights.aries.so from CM7_GT-I9000_kernel_kang_20110326_04_update, and paste that over the existing one in system/lib/hw/ ?

That's what I did... Replaced one from '08 sometime, with one from 4:13am on the 26th.
[Galaxy S I9000 Android Development] apewall:
Not working on captivate either. Can't upload a logcat for whatever reason.