yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] //RF:
I love this kernel! One major issue though, when I'm listening music with Poweramp it's working fine until my phone goes to sleep mode, when on sleep mode, it starts to have some serious audio skipping. Tried to adjust buffer size from Poweramp settings but still the same, even if i set it to huge.

I'm not really sure if this is related to this kernel but I can tell that it did not do this with crapsung 2.2.1 rom. I didn't test this with original CM kernel as i flashed this kernel immediately after flashing the rom.

nothing in dmesg, only in logcat:

W/AudioTrack( 717): obtainBuffer() track 0x1fc338 disabled, restarting
W/AudioTrack( 717): obtainBuffer() track 0x1fc338 disabled, restarting
W/AudioTrack( 717): obtainBuffer() track 0x1fc338 disabled, restarting

Any suggestions?

EDIT:Fixed, just rebooted and everything is normal again :)

EDIT2:Not fixed after all, i guess it's something to do with WLAN as i'm playing from my NAS server. Files on the sdcard play just fine.
[Galaxy S I9000 Android Development] jetdite:
Just flashed CM7_Captivate_kernel_kang_20110326_04_update.zip on Captivate, BLN didn't work and the keylight went out too fast (about 3s, should be 7-10s)
[Galaxy S I9000 Android Development] BTTNext:
I have the same issue you described here while streaming Shoutcast using Winamp. When using WLAN, once the device goes to sleep the audio cuts out and can't rebuffer for some reason.
[Galaxy S I9000 Android Development] domy1985:
I got a question :-) isn't there a way to set the haptic feedback level, i would like to minimate the vibration when i press back or menu button...
[Galaxy S I9000 Android Development] derrzredeem:
Hi,

I had a i9000 and using your latest kernel (0326_04), everything is working just fine except for the led notification - it is not a big deal for me, but it is not working.

It looks like the led is disable somehow. Here's the end output of dmesg :

<6>[ 4629.896384] request_suspend_state: wakeup (3->0) at 4629834299142 (2011-03
-26 09:40:44.558653109 UTC)
<6>[ 4629.897496] s3cfb_late_resume is called
<6>[ 4629.897833] FIMD src sclk = 166750000
<6>[ 4629.938419] android_usb gadget: high speed config #1: android
<6>[ 4629.941088] s3cfb_late_resume is complete
<7>[ 4630.408777] notify_led_off: notification led disabled

@domy1985 : settings - cyanogenmod setting - input - haptic feedback tweaks
[Galaxy S I9000 Android Development] domy1985:
Thx
[Galaxy S I9000 Android Development] boarder.2k9:
Bln still not working with 26_04 for me. Haha your changelog in original post made me laugh loads, 'I'm so noob'. Haha, you appear the hardest working with codeworx, its awesome.
[Galaxy S I9000 Android Development] cocchiararo:
Yesterday I has audio skipping problems too, only that I use bluetooth.

It never happened before. Keeping the screen on "fixed"it.

It was with the stock audio app
[Galaxy S I9000 Android Development] Steyux:
Also for me notifications with backlight don't work...

<6>[ 3702.151366] PM: resume of devices complete after 217.790 msecs
<4>[ 3702.154339] Restarting tasks ...
<6>[ 3702.165565] request_suspend_state: wakeup (3->0) at 3702116788006 (2011-03
-26 11:56:20.514318386 UTC)
<6>[ 3702.167050] dai_active 0, IISMOD 00000000, IISCON 8050ce38
<6>[ 3702.167289] Inside s5p_i2s_resume..@559
<4>[ 3702.169913] SMB380: Set Sleep has been called 0
<4>[ 3702.173021] done.
<7>[ 3702.173256] Universal : Card status 1
<6>[ 3702.173550] suspend: exit suspend, ret = 0 (2011-03-26 11:56:20.522319807
UTC)
<6>[ 3702.173713] s3cfb_late_resume is called
<6>[ 3702.174211] FIMD src sclk = 166750000
<6>[ 3702.220755] s3cfb_late_resume is complete
<7>[ 3702.560640] notify_led_off: notification led disabled
<6>[ 3767.631473] request_suspend_state: sleep (0->3) at 3767582698967 (2011-03-
26 11:57:25.980221930 UTC)
<4>[ 3767.636068] SMB380: Set Sleep has been called 1
<4>[ 3767.684586] dhd_get_dtim_skip bcn_li_dtim=3 DTIM=1 Listen=20
<7>[ 3768.709488] save exit: isCheckpointed 1
<7>[ 3768.717346] save exit: isCheckpointed 0
<7>[ 3769.589361] save exit: isCheckpointed 0
<7>[ 3772.791135] save exit: isCheckpointed 0
<7>[ 3772.802839] save exit: isCheckpointed 0
<6>[ 3772.804233] PM: Syncing filesystems ...
<7>[ 3772.806221] save exit: isCheckpointed 0
<7>[ 3772.809778] save exit: isCheckpointed 0
<4>[ 3772.811142] done.
<4>[ 3772.812312] Freezing user space processes ... (elapsed 0.01 seconds) done.
[Galaxy S I9000 Android Development] kenkiller:
The button backlight turns on while phone is in standby and the buttons are touched. previous version with the old bln didn't had this behavior.

Sent from SGS on CM7
[Galaxy S I9000 Android Development] DROCSID:
Bilbao, this one is great!
[Galaxy S I9000 Android Development] DvTonder:
Installed 2604 and unfortunately LED notify does not work as others have indicated. Reverted.

Happy to help test for you. Just PM me.
[Galaxy S I9000 Android Development] vukandric:
New CM7 update is up.

http://sourceforge.net/projects/teamhacksung/files/galaxys/
[Galaxy S I9000 Android Development] bilboa1:
Fixed a bug with the white led notification (would make notifications always think you are in quiet hours)

Its only a change to liblight, however the complete kernel will flash both anyway
[Galaxy S I9000 Android Development] ArctiX:
Is the latest kernel (2616) working with newest CM7 nightly update?
[Galaxy S I9000 Android Development] derrzredeem:
yes, it works.
[Galaxy S I9000 Android Development] Spirit02:
Working like a charm :D

Cheers mate.
[Galaxy S I9000 Android Development] kenkiller:
Tested 0326_16, button backlight still turns on in standby when touched.
[Galaxy S I9000 Android Development] derrzredeem:
working just fine here ;)
[Galaxy S I9000 Android Development] ArctiX:
Working fine for me, it shouldn't turn on cause it isn't using neldar's BLN anymore.
[Galaxy S I9000 Android Development] Prasad:
Could the next update include maybe a higher battery charging temperature threshold? ;)
[Galaxy S I9000 Android Development] dxtrlabs:
same here works fine times out fine doesnt turn on in stand by
[Galaxy S I9000 Android Development] vukandric:
I think it is in new cm7 update already. :)

Sent from my GT-I9000
[Galaxy S I9000 Android Development] jetdite:
0326_16 have BLN working, but it lightup the buttons if I touch them even when the screen is off!
[Galaxy S I9000 Android Development] boarder.2k9:
Working flawlessly here bilboa. Showing bln for all notifications! Thanks so man. Can't imagine what awesome features your gonna implement next!
[Galaxy S I9000 Android Development] bilboa1:
i heard this happens to some, as usual please report your phone model etc.. and also if its intermittent (= doesn't always happen), find a way to reproduce it so i can test and debug it :-)
[Galaxy S I9000 Android Development] kenkiller:
On SGS-i9000

Intermittent, if I try to lock the phone and touch the buttons immediately it won't happen. Sometimes it will work properly for a few hours.

However if I leave it for a while, like say 2-3 minutes, then I touch either of the buttons, it will light up. If I leave those buttons alone for around 20secs it goes off. However the moment I touch them again it goes on...another 20-30secs it goes off. Sometimes they stay on constantly. Also, once it starts, it stays in this manner consistently. Only a reboot will make it go back to how it should be working.

Also, what notifications does it respond to? Everything in the notif bar or only specific cases? Does having the BLN application installed cause this to occur? I'm sorry, but I have tried numerous ways to make it occur reliably but to no avail. I can only confirm that it exist, can even make a video if needed.
[Galaxy S I9000 Android Development] charkey:
Awesome work so far on getting this kernel perfect! I'm having the same issue with the BLN on the Samsung Vibrant model. It seems if there is no LED notification to start off with then the LEDs would function normally.

However when there is a LED notification and I respond to it by clearing the notifications then locking the phone again then I can touch the soft buttons again and the LEDs would turn on again.

It seems as though this bug persisted from the original BLN implementation you had before and is now back.

I am a developer and would help you troubleshoot this in the code if you could point me to the right direction. Really appreciate all the work you've done so far in this kernel!
[Galaxy S I9000 Android Development] bilboa1:
the code is linked in the first post, its always up to date (github.com/kangsterizer)

however for this bug i think ive found it, just testing atm, will upload it in a moment - gotta shop food first ^^
[Galaxy S I9000 Android Development] apewall:
Bln isn't working at all for me on the captivate on 26_16

Logcat below.

http://db.tt/MgQ5P9n

Kmsg below.

http://db.tt/zHQ0qiq
[Galaxy S I9000 Android Development] DvTonder:
Buttons come on for me when I touch them after 10 seconds or so after locking screen. Does not happen immediately though.
[Galaxy S I9000 Android Development] zacharias.maladroit:
the higher battery temperature charging threshold was in a separate branch the last time I saw it

and still seems to be

it's currently marked Experimental & I don't know if it's safe right now

is it already included in this kernel ?
[Galaxy S I9000 Android Development] Hayden4018:
Hi bilboa1, do you think you could implement this in your future kernels?

http://forum.cyanogenmod.com/topic/18638-audio-out-through-usb-carhome-dock/
[Galaxy S I9000 Android Development] bilboa1:
upped a new guy i hope that fixes the cases when sometimes you can enable the touch key when the screen is off
[Galaxy S I9000 Android Development] bilboa1:
after the rest is stable
[Galaxy S I9000 Android Development] boarder.2k9:
I've noticed that after a few hours of booting the phone the LED_NOTIFICATION / BLN features stops working. Stupidly i rebooted the phone before taking a logcat. A reboot fixes the problem. The touchkeys work perfectly during this with the screen on by the way.
[Galaxy S I9000 Android Development] DvTonder:
So far so good. No longer able to trigger the lights after lockscreen.
[Galaxy S I9000 Android Development] DvTonder:
Spoke to soon. When a message comes in and the screen goes off, the lights flash once and then go off. They don't stay on as they should.

Happens with all notifications.

Running the latest kernel
[Galaxy S I9000 Android Development] bilboa1:
yeah that one is actually as i intended it although i could make it stay on ^^
[Galaxy S I9000 Android Development] DvTonder:
Please.

What happens now is the following:

Scenario 1: Screen is off. A gmail message comes in. I hear the notification and the lights flash on. A short time later (couple of seconds maybe) the lights go off.

Scenario 2: I use ChompSMS. The screen is off. A message comes in, the screen turns on and the quickreply window pops up. If I leave the phone to turn off by itself (i.e. like when it is in my pocket), the lights flash on for a brief second or two and then go off.

In both cases the lights should have stayed on until I unlock my phone and dismiss the notifications. With the lights going off, I have no way of knowing I have a notification if I don't hear the ringtone.
[Galaxy S I9000 Android Development] boarder.2k9:
Ahh this might be the reason for mine not working, after i get a text, i have a tasker profile which popups up turning the screen on for 30 seconds, i guess when the screen goes off the lights turn off and maybe this was what happened? Would be awesome if they could stay on :D
[Galaxy S I9000 Android Development] jetpackjeff:
Latest build is close to perfect. Good job, bln works perfect! Wish there was a way to turn it off though!
[Galaxy S I9000 Android Development] bilboa1:
you can use quiet hours atm to turn them off. however i think CM normally has options to turn off leds on the nexus one and friends, maybe this could be implemented in our CM too, i don't know. might even just be compatible as usual. the led notification works like a led emulator basically.

otherwise, upped version with keys that stay lit as long as there's a notification on-going (when screen off only)

i'm not sure if i like myself when theres no quick way to disable them tho (like push the power button twice). its not possible to add that to other buttons, they're taken for other actions already :)
[Galaxy S I9000 Android Development] jornbjorn:
sweet kernel! i noticed that cm7 has very high vibration, is this possible to adjust in kernel?
[Galaxy S I9000 Android Development] Spirit02:
No... you adjust it under Settings - CM Settings - Input - haptic feedback tweaks.
[Galaxy S I9000 Android Development] jetdite:
One minor bug (at least in my opinion):

- when my cappy receive a sms with screen off -> BLN work

- but when it receive another sms with screen on, then screen off (without touching the new sms) -> no BLN :o

Anyway, great thx for your efforts :D
[Galaxy S I9000 Android Development] dxtrlabs:
Hey for all that miss the blinking from the led notifications try led flow from market very nice app and works well with this since it is in essence a normal led.
[Galaxy S I9000 Android Development] apewall:
Works for you at all on the captivate? Doesn't for me.
[Galaxy S I9000 Android Development] charkey:
Awesome work on the latest build of the kernel. I've been using it and testing it for most of the day so far and have not experienced any problems with the LEDs not functioning as they should be. LEDs turn on whenever I get a notification and LEDs stay off when there's no notifications along with when I touch over them.

Great job bilboa1!
[Galaxy S I9000 Android Development] kenkiller:
Just tried CM7_GT-I9000_kernel_kang_20110327_03_update.zip

Screen off, gmail came in. Button lights came on, then went off after 2secs. That makes BLN useless. :(
[Galaxy S I9000 Android Development] jimmy-bish:
Ok, here's some interesting behaviour for 20110327_03, which I'm not sure whether it's a bug or a feature! :p

SGS-i9000 16GB international

- Phone is in standby: No lights, don't light up when touched, all good.

- Notification comes in, lights turn on, all good.

- 2 seconds later, lights turn off.... ok

- After this, lights now activate when buttons are touched and time out after approx 2 seconds.

So, while the lights don't stay on until the notification is clear, touching them actually tells me whether or not there's an active notification hiding below the black screen.

I'm not sure if I prefer this over the "classic" BLN functionality of the lights staying on, but it's definitely a step forward.

So, ummm.... bug or feature? :p
[Galaxy S I9000 Android Development] kenkiller:
Are you able to consistently make the lights come on when touched? It doesn't happen for me, only sometimes. That makes it not reliable - If it is a feature.
[Galaxy S I9000 Android Development] jimmy-bish:
It did for a while, then I put my phone down and left it until I saw your post. Touching the buttons again does nothing, so I agree, it's a bug.
[Galaxy S I9000 Android Development] kenkiller:
Even the light staying on is a intermittent issue. Sometimes it stays on, sometimes it doesn't. Just had another gmail came in, phone was plugged into usb tethering. This time the light stayed on......

This must be frustrating for bilboa. :)
[Galaxy S I9000 Android Development] Hayden4018:
Ok, thanks in advance
[Galaxy S I9000 Android Development] baba420:
Really weird, for me everything works fine with the latest realese. The lights stay on until I dismiss the notification.

Maybe you guys should flash the initial of 03-18?
[Galaxy S I9000 Android Development] jimmy-bish:
That's the version I've been running for the last week. Everything else is spot on, just iffy BLN.

If it's not fixed beforehand, I'll test it thoroughly and post the logcat. I'm at work and unable to do it right now. With the way Bilboa's going, he'll have a new version released by the time I can post it anyway! lol
[Galaxy S I9000 Android Development] baba420:
I just deliberately missed two phone calls. In that case I have the same problem as you guys; when the screen goes black the led goes on for about 1 second then immediately it goes out.

For gmail and whatsapp notifications it doesn't go out.

lol indeed, mate Bilboa broke the release record of Hardcore. Hats off.
[Galaxy S I9000 Android Development] kenkiller:
It's on and off...sometimes my GMail BLN stays on, sometimes it goes off in 2secs. Not sure why, since there's no light notification settings for Gmail anyway.
[Galaxy S I9000 Android Development] jetdite:
And still there is no BLN for miss calls.
[Galaxy S I9000 Android Development] Spirit02:
Kernel: 27.03

CM7 26.03

I9000

Backlights light up as intended when a txt comes in. They go off ~2s later.

Backlights don't light when touch buttons are pressed while the phone is off.

Dmesg:

http://www.pastie.org/1721649

cat proc kmsg

http://www.pastie.org/1721679
[Galaxy S I9000 Android Development] boarder.2k9:
Have noticed that the touch keys are lighting up when pressed if the screen is off. This only happened when. I plugged the phone in to charge and then after charging the phone it appeared to happen fairly regularly. With the charging and tested it and plug in it happens not plugged it didnt. That doesn't bother me but ever since the charge it happens loads.

Reboot fixed it, will test throughout the day and see if it occurs again.
[Galaxy S I9000 Android Development] kalvinlou:
I just look around and see there is a voodoo lagfix kernel for 2.3.

I'd like to know if that can include in this SUPER KERNEL?
[Galaxy S I9000 Android Development] boarder.2k9:
From my limited understanding:

voodoo lagfix converts system and data to ext4 from rfs. CM7 already runs on ext4 so there would be no need.?

Correct me if I'm wrong.
[Galaxy S I9000 Android Development] zacharias.maladroit:
correct

it's not even the same (base) system

the Voodoo Kernel is for the official leaked JVK + injected voodoo stuff (there is NO source !) so can't be used in any other way than with the Samsung ROMs

the CM7 kernel is based on the AOSP / Google opensource kernel tree

@kalvinlou:

if you want to break your system - go ahead ;)

the difference is also that the filesystems used are different & the partitioning layout probably, too

so in short:

NOT compatible
[Galaxy S I9000 Android Development] supercurio:
Hey :)

Its true today however Running AOSP or CM7 while running Samsung' kernel might be easier than expected^^
[Galaxy S I9000 Android Development] cocchiararo:
Its that a hint for developments to come?
[Galaxy S I9000 Android Development] bilboa1:
nvm ^^

10 chars! one two three four five ..
[Galaxy S I9000 Android Development] DvTonder:
@bilboa

The latest kernel still does not allow the lights to stay on. They go off after about 2 seconds. I have tested with both SMS and Gmail. Looks like the quiet hours setting is working Ok.

I have reverted to the 25_03 kernel for the time being.
[Galaxy S I9000 Android Development] bilboa1:
ha, proof that a proper report helps ^^

i found out that it can happens under certain conditions, that the panel write would fail - which end up having it not turn the led on when requested.

in addition, android somehow request led off / on / on for phone calls which makes it flash, then the next turn on is the one that fails.

Anyhow, the panel now self-recover when it reaches such errors (apparently whoever wrote the driver also added such a safety but it wasn't thorough enough)

Consequently, I hope this fixes all or most situations where the leds would behave in a weird way.

New update is CM7_GT-I9000_kernel_kang_20110327_16_update.zip
[Galaxy S I9000 Android Development] cocchiararo:
could it be the new nightly from yesterday, or the latest kernel, that make my keyboard come up when i wake my phone and the lockscreen was not... locked yet ? :P
[Galaxy S I9000 Android Development] bilboa1:
no that's impossible ^^ unless by keyboard you mean touch keys

for those who uv/oc btw:

after a week of use, on _my_ phone these are my settings which are stable and appear to give a substantial boost in battery life. Remember that each phone is different in that regard so yours might work with settings that are lower/higher but it gives an idea.

- max freq 1.2ghz

- 100mhz UV -125mV

And that's all. The reason behind that is that the phone is almost always at 100mhz on standby and that is where you gain the most from UV. if you're a power user having more "on" time than standby time, that might not work as well for you of course.

Last thing: remember that OC/UV rules are similar to the ones you can find about regular computers: find the highest freq /lowest voltage at which the phone does not crash even under stress.. then use the freq just under that (or the voltage just above that) to ensure stability. (eg, i almost never crash at 1.3ghz BUT it would still happen once a week or so to freeze up. At 1.2, never)
[Galaxy S I9000 Android Development] DvTonder:
Bilboa

With the latest kernel I am still getting the lights go off after 2 seconds with both SMS and gmail.

I am not 100% sure how to troubleshoot this for you. Please advise.

My setup

I9000m (same as i9000)

CM7 18/03 base

27_03 kernel

Scenarios:

1) screen off. Send myself text message from another phone. Chompsms turns screen on and displays the quick reply window. I let it time out. Lights come on for a split second and then turn off.

2) screen off. Send myself an email. When it arrives lights turn on for 2 seconds and then go off.

It has been like this in all versions since 25-03.
[Galaxy S I9000 Android Development] bilboa1:
plug your usb cable, type adb shell cat /proc/kmsg

then send the msg etc and copy paste the output of the kmsg
[Galaxy S I9000 Android Development] Mercury0660:
Thanks for your work. Have a beer!

5UY10169025713510
[Galaxy S I9000 Android Development] zacharias.maladroit:
nice find !

I guess that'll cut power consumption even more :D

(right now at 3.333% to 3.2% per hour for me in offline + mp3 playback 30% cpu load at 100 MHz)

could you please also share your other values up to 1.2 GHz ?

thanks !
[Galaxy S I9000 Android Development] bilboa1:
the cpu utilization will not change, its just the power consumption

my other values are all default, as explained, other values are only in use when the phone is used, but phones (at least mine) spend most of its time in standby, where its always at 100mhz, so it where i get a real gain

thanks for your support :)
[Galaxy S I9000 Android Development] kenkiller:
Initial testing BLN appears to work properly now. Will update if any more problems.

DvTonder for 1) Does chompsms clear the notification at the top bar when the quick reply is seen? Because I'm using Go SMS and it does that, which results in the notification being dismissed and by default no BLN. If I choose to not have the screen light up, then the quick reply is not seen, top notif remains, BLN works.
[Galaxy S I9000 Android Development] madmack:
will I need setCPU to set the voltage ? i could set the frequency and governor in CM7 but couldn't find where to tweak the voltage.
[Galaxy S I9000 Android Development] zacharias.maladroit:
I know ^^

but since I don't have the powersave governor activated when the screen is on it would nevertheless be nice to have lower values under load

anyways - I'm using the ones from laststufo and they're perfectly stable so far

I'll add the -125 mV to my list and test how stable it is for my phone

perhaps after some weeks I can report lower ones - right now that finding from you alone should boost it significantly since it's running at 100 MHz all the time (while the screen is off)

use Xan's VoltageControl (there's a link to it in my thread - see sig & also a direct download-link)

for your convenience:
[Galaxy S I9000 Android Development] bilboa1:
look for "voltage control" on the market