yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] bilboa1:
yes i prefer to stay "close" to upstream - also the tree is rebased often to ensure that there's no stuff i could have added by mistake that would diverge from upstream too much

it seems the CWM packages have some issue, ill look tonight. i wonder why it'd just stop working (specially that it seems it works for most) but hey ;-)

you can also unzip the modules and copy by hand i guess for the time being

might also be that some other kernel (not mine i mean) change permissions and the update script cannot overwrite.. i might just force perms before the copy in the cwm
[Galaxy S I9000 Android Development] derrzredeem:
yep, coming from 30_04 to the latest.

manually move the files needed, and it works.

EDIT: bilboa beats me to it.. :D
[Galaxy S I9000 Android Development] paratox:
very high battery consumption of "android system". anyone gets the same? what could it be?
[Galaxy S I9000 Android Development] gabby131:
@bilboa1

the latest 20110331 version is awesome!!! i like the way the LED is responding if the screen is unlocked.....and my issue on the touch key not working on notification from 20110330 is gone. :)

yehey!!! voodoo sound 7 and upstream (dont really understand what those do :D)

EDIT: voodoo does great on my music, rings and notification sounds....:)
[Galaxy S I9000 Android Development] zacharias.maladroit:
you previously flashed my kernel:

in /system/etc/init.d/

remove the following files:

90screenstate_scaling

89system_tweak

yes, see above :)

yes they've done right from the start

you by chance installed my new kernel previously with the changed 04modules ? ;)

lol

no offense taken, several changes I introduced to my kernel are from 2.6.35 to 2.6.36 or even later :)

so this - in essence - gives you a more modern & efficient kernel

but also could potentially make it harder to debug problems - as is the case with every non-stock kernel (also applicable for the CM7 kernel itself - since it differs from AOSP / stock 2.6.35 Android)
[Galaxy S I9000 Android Development] Adevem:
no offense of course, you both have great kernels but personally I just needed a stock cm7 kernel with voodoo and oc/uv. I have no idea how to compile kernels so yeah lol.

keep up the awesome work you both!

one question to all: is it alright to assume that setting quiet hours from 00:00 to 23:59 is effectively turning LED notifications? thanks in advanced!
[Galaxy S I9000 Android Development] Steyux:
Don't know if could be useful in order to improve battery saving, but is possible an automatic turning off of led notification whit proximity sensor (like NoLED app), it would be great! :D
[Galaxy S I9000 Android Development] bilboa1:
sorry, not happening ^^

if you are near the phone just turn it off :) it would need to be integrated into android/CM otherwise, as Im not going to add an app for this (by design i dont want a control app for such things that shouldn't use extra apps to begin with, in my point of view)

there might be programs on the market doing it for regular leds, then it would work however (i haven't looked up)

it will be off except for the last minute :D I think 00 to 00 works.

you can also turn off per app in the LED settings (if you updated cmparts) by setting a dark color (like black) as LED color.
[Galaxy S I9000 Android Development] Adevem:
i'm fine with 1minute then lol. initially i was thinking 00:00 to 00:00 as well but was a little skeptical. if only there's a "All Day" checkbox :P

nope, didn't update cmparts :D thanks!
[Galaxy S I9000 Android Development] melorib:
I did the same, was afraid that 00:00 to 00:00 would work for 00 time... :rolleyes:
[Galaxy S I9000 Android Development] boarder.2k9:
bilboa,

i cant get bln to work at all on 3103 cm7. I've even reflashed the whole rom to try and get it working and nothing. Any ideas? Ofc ive replaced cmparts and all that, just cant get it to work. plus the 'flash test' does not work.....help :D
[Galaxy S I9000 Android Development] jornbjorn:
new kernel working great! love that u have adjusted the haptic feedback... but in my opinion it could be even softer ;)
[Galaxy S I9000 Android Development] zacharias.maladroit:
so according to the comments in this thread your implementation of LED-Notification is working without (or almost without) any flaws now ?

awesome work ! :cool:

can't wait to try it out and add it to my kernel :p

great & very useful FAQ :)

so am I correct that to make it work correctly the following 2 things are needed:

1) lights.aries.so (and a modified update-script)

2) the kernel-patches provided at your repo

3) profit !

thanks !
[Galaxy S I9000 Android Development] bilboa1:
yes - you can build lights.aries.so from my git also, but you can take the binary if you want (just saying that sources are up)

cmparts is stock, just led setting enabled in the xml
[Galaxy S I9000 Android Development] DvTonder:
What is new in the 0401 kernel?
[Galaxy S I9000 Android Development] BTTNext:
Couldn't get LED notification to work in 20110331_21, copied modules manually and now everything is working. :D
[Galaxy S I9000 Android Development] boarder.2k9:
Could you please advise me how to do this as i can't get led notification working on 20110331_21. Really appreciate it
[Galaxy S I9000 Android Development] bilboa1:
0401 fixes that you don't have to copy the module by hand anymore

sorry about that, i inverted my script file at some point without noticing, so people using old kernels and having the lib already wouldn't see the difference, but clean roms/new comers wouldn't have leds working ^^

that's the only fix in 0401 btw

boarder: therefore, just install 0401 no need to copy stuff by hand then
[Galaxy S I9000 Android Development] BTTNext:
Flash 201100401_23 :)
[Galaxy S I9000 Android Development] boarder.2k9:
Thankyou so much, you are awesome!!
[Galaxy S I9000 Android Development] Steyux:
0401 update broke led notification, and flashing back to 0326 didn't solve the issue (but on 0326 led notification is still working)... :confused:
[Galaxy S I9000 Android Development] buzzworkers:
where can we find this cmparts updated for i9000 or how to enable it's options on the xml file ?
[Galaxy S I9000 Android Development] Spirit02:
Nope! :p

Took a look at the download list and couldn't be bothered deciphering what I needed, given that your kernel doesn't offer me anything I want (that this one doesn't already have) ;)
[Galaxy S I9000 Android Development] iwapu:
Flashed CM7_Vibrant_kernel_kang_20110401_23_update.zip, but it shows Mar 31.

2.6.35.7+

kang@z11#1

Thu Mar 31 21:37:26 CEST 2011

Any ideas?
[Galaxy S I9000 Android Development] Spirit02:
Possibly because none of the actual files changed.... just the update script to install them.

At least that's what the changelog suggests.
[Galaxy S I9000 Android Development] dago:
Good kernel, but Voltage Control works with you ?
[Galaxy S I9000 Android Development] Steyux:
Edit: only gosms notification are broken...
[Galaxy S I9000 Android Development] Mercury0660:
Perhaps, someone here can help:

I have a very strange headset behaviour.

When I put in the headset, the player starts and then its always start/pause/start/pause and so on and when I detach the headset, it start playing.

here is a log:

http://pastie.org/1744448

it happesn with original headset but not with earphones without controls.

Also it forwards 2-4 songs one connection, that happens for bt audio too.
[Galaxy S I9000 Android Development] DvTonder:
I suspect that is an upstream thing. It happens with the stock CM7 kernel as well.
[Galaxy S I9000 Android Development] Alberto96:
What you are using as undervolt? Possible stable?
[Galaxy S I9000 Android Development] Adevem:
well for me this settings have been working out well, even with heavy multitasking.

100Mhz to 1Ghz

150 125 100 75 50 25

do note that your mileage might vary, different phones yadayada.

now i'm gonna try 175 150 and so on lmao. trying to crank the most out of the phone.
[Galaxy S I9000 Android Development] bilboa1:
if you want to turn on or off blinking, as there's currently no interface that i could find (O.o) it's a little technical, but anyway, here's how:

ps DO THIS AT YOUR OWN RISK - YOU MAY MESS UP SETTINGS IN BAD HORRIBLE WAYS

adb shell

sqlite3 /data/data/com.android.providers.settings/databases/settings.db

update system set value="1" where name="notification_light_pulse";

use control +d to quit

ADDITIONALLY:

Go into the LED notification settings, uncheck everything in advanced, and only check then "pulse in succession" (checked = blinking, unchecked = solid light)

WHAT IF THAT DOESNT WORK:

go set your notifications for your apps and select a BRIGHT color. if your last selected color was not bright enough the leds won't shine.
[Galaxy S I9000 Android Development] Steyux:
After a while my led notification works again, but I've done nothing :D
[Galaxy S I9000 Android Development] Mercury0660:
I agree, i tested stock kernel too
[Galaxy S I9000 Android Development] Alberto96:
bilboa can you make a ext4 conversion script which backup and convert all partitions in ext4 same as samsung kernel's?? i don't want this in the kernel i want only a script to run in adb . i don't know how to make this
[Galaxy S I9000 Android Development] sugar 7:
I

can we flash all theme CM7 for the nexus s with your kernel ?

Thank s !
[Galaxy S I9000 Android Development] cocchiararo:
Why do you want this?
[Galaxy S I9000 Android Development] Alberto96:
for performances . i want the best from the phone soo .. i want that .
[Galaxy S I9000 Android Development] bilboa1:
im not going to replace the yaffs2 partitions by ext4- you can do it - but on your own ;-)

its not very hard.
[Galaxy S I9000 Android Development] Alberto96:
i don't know how to make this conversion. can you help me ??? maybe an pm with instructions???

Thanks in advance
[Galaxy S I9000 Android Development] cocchiararo:
are you sure it will do you any good on cm7 ?
[Galaxy S I9000 Android Development] bilboa1:
if you don't know how to do it, you probably shouldn't do it.

you have to copy current partitions, reformat, copy back, and check that the init script mount the proper partition type.

then again, it might also be bad for your phone's memory due to the way its partitionned in cm7, so you'd want to change the partition mapping too.

in the end, its annoying to do and there will be no real gain. i'm not going to spend hours to show you how to do it, as it would be faster if i did it myself.. and i said, i wouldn't do it. i hope you understand :P
[Galaxy S I9000 Android Development] Alberto96:
ok , thanks. however , if you have time to spend , please remember of this XD
[Galaxy S I9000 Android Development] zacharias.maladroit:
besides this as codeworkx & coolya

already pointed out the nand drive on the SGS doesn't have wear leveling

so using a journalling filesystem just for the sake of getting somewhat higher benchmark stats simply isn't worth it

yaffs2 is the best choice here

/end of offtopic
[Galaxy S I9000 Android Development] funkateer2:
Just to say thanks you Bilboa to enable voodoo on my cm7. Thanks a lot
[Galaxy S I9000 Android Development] zacharias.maladroit:
any experience with the higher battery charging temperature yet ?

thanks ! :)
[Galaxy S I9000 Android Development] cocchiararo:
I love it

123
[Galaxy S I9000 Android Development] iwapu:
Nowhere to set pulse in succession on MIUI. bilboa1, which part(s) I should update the database for pulse in succession?
[Galaxy S I9000 Android Development] kenkiller:
You need CMParts for that, so stop using MIUI? :D
[Galaxy S I9000 Android Development] iwapu:
Good suggestion!:p
[Galaxy S I9000 Android Development] Samdroid_G_S:
Using the 04/01 kernel with RC3 MIUI, Listening to music over Bluetooth in my car when I receive a call it cuts the music out and I am able to answer and talk with the person on the other end but once the call is done and the music automatically resumes it is really distorted and the only way of fixing it is restarting the phone.
[Galaxy S I9000 Android Development] iwapu:
Found an app called Light Flow - LED Control in market, which enables blinking on MIUI. Blinking is very slow though.
[Galaxy S I9000 Android Development] buzzworkers:
moved back to this kernel...actually i'cant have wifi to work on any voodoo kernel...if i go back to default kernel wifi works just fine...what the #$@@ is happening?

edit : ok i was on 3g while surfing, did not do or changed anything, after a while like 2h, suddenly wifi is ON and working...now I'm afraid to reboot and lose it again..
[Galaxy S I9000 Android Development] zacharias.maladroit:
bilboa1 I can't seem to find Settings>cyanogen>interface>LED notifications

since which nightly of CM7 is this included am I doing something wrong ?

afaik I'm still running 03/18

thanks ! :)
[Galaxy S I9000 Android Development] evensteven:
Did you push the CMParts.apk from this thread on your phone? The LED options aren't enabled in the apk which is included in the official package.

Edit:

Here is the link to his post.
[Galaxy S I9000 Android Development] zacharias.maladroit:
already found it and it worked

thanks ! :)
[Galaxy S I9000 Android Development] TheMathMan:
So I downloaded bln app to disable it as noticed leds were lit on notifications.

Bln app says kernel doesn't have it!

Running 4/1 kernel on MIUI 1.4.1
[Galaxy S I9000 Android Development] nanu_x2:
it doesn't use bln... read the first post..:)
[Galaxy S I9000 Android Development] TheMathMan:
Yep... my bad!
[Galaxy S I9000 Android Development] HaiKaiDo:
I really hate to intrude on this thread, but I dont think theres a thread int he captivate forums for this kernel (Even though a captivate flavor of this kernel exists). I was just wondering if the the captivate one doesnt support overclocking and undervolting? i have the latest one flashed and neither setcpu nor voltage control will work with it.

EDIT: Figured out what it was. For some reason it didnt take the first time i flashed it, which was weird. sooo discard this haha.
[Galaxy S I9000 Android Development] bilboa1:
feel free to create a thread there if you wish, its just not fun to support a thread per forum for me ^^

the vibrant thread is managed by another dev/user for example, he update his topic when i update mine, mostly
[Galaxy S I9000 Android Development] madmack:
bilboa1,

loaded your kernel up and everything seems to be running smoothly except music playback. it just keeps stuttering the whole time. Do you know what might be causing this ? it does the same thing whether i'm using pandora or the music app.

anyway to disable voodoo sound completely ? perhaps its the cause.
[Galaxy S I9000 Android Development] supercurio:
adb shell "echo 0 > /sys/class/misc/voodoo_sound_control/enable"

And you will see Voodoo sound cannot introduce stuttering of any sort ;)

Reason is that it tune commands sent to the audio hardware, when there are commands sent (= when the config changes) but not affect the audio itself.
[Galaxy S I9000 Android Development] madmack:
thanks for your feedback.

Would you then have any idea what might cause that stutter ? not enough CPU juice perhaps ?
[Galaxy S I9000 Android Development] bilboa1:
that's most likely because you have installed another kernel that places some scripts which toggle to the governor when your phone screen is off

refer to that kernel thread on how to remove them

the powersave governor forcing 100mhz when screen is off makes some players lag out

my kernel does not install any scripts (only a library for the notifications)
[Galaxy S I9000 Android Development] zacharias.maladroit:
yeah,

currently it's at 100 MHz all the time while screen is off

I'm trying to figure out a way on how to optimize it for audio playback - getting it to detect whether audio is being played

the scripts can be removed via adb:

adb shell rm /system/etc/init.d/90screenstate_scaling

(for only removing cpu scheduler, cpufreq governor & thus battery optimizations)

adb shell rm /system/etc/init.d/89system_tweak

(for removing all improvements concerning, security, longer WIFI scan interval, disk throughput, Internet throughput, cpu & phone sleep behavior and optimizations, smoother GUI, [sqlite & program speedups, SD card speedup] [on yet to be released kernel])
[Galaxy S I9000 Android Development] Shadewalkerz:
Hey, I installed the kernel via CWM, but when I reboot the phone, nothing has changed...?

What did I wrong? (And yes, I'm using latest CM nightly.)
[Galaxy S I9000 Android Development] bilboa1:
check uname -a should say smth like kang@z11 :p

or install voodoo app

etc ;-)

in other news.. with only powerwidget off, wifi on screen off and -50mV at 100mhz , light use (some games, browsing etc prolly totalling an hour so a bit over that total etc) + 2 email accounts, went through 1d9h before the phone gave up. just wanted to see how far i'd go.

strangely alarm seems to use quite some resources too now that powerwidget is gone (the thing that shows as "system" in history)
[Galaxy S I9000 Android Development] Bhonka:
So which options in quiet hours do I use to disable led notifications?
[Galaxy S I9000 Android Development] Bhonka:
Hmm when switching screen lanes I can see tearing and it's not quite smooth...
[Galaxy S I9000 Android Development] bilboa1:
quiet hours have like one option.. :P you set the hours in between which you don't want the notification. its cm7.

also lock&unlock at startup for the frames, its an upstream bug, its faster after unlock (also fixes rild..)
[Galaxy S I9000 Android Development] zacharias.maladroit:
seems like AWD launcher is also affected

so:

1) wait until it has loaded everything up (waiting several seconds since entering the SIM pw)

2) lock & unlock screen

3) open up the apps menu (AWD launcher) - scroll up and down through apps (jerky at the beginning)

4) switch between the home screens (left and right)

5) lock & unlock screen

6) after that it should be significantly smoother
[Galaxy S I9000 Android Development] eeyunopper:
I also encountered this. Didn't matter which kernel, even standard kernel after fresh install, it also became worse over time. I use my phone to listen to music all the time, so this got pretty annoying. Reverted to Samsung Rom. Is no one else apart from us two experiencing this?

sent via potential brick...
[Galaxy S I9000 Android Development] kenkiller:
I'm using Playerpro and poweramp, no stuttering observed.
[Galaxy S I9000 Android Development] BTTNext:
On campus we have very little 3G coverage but Wifi everywhere.

When using a stream like YouTube or Shoutcast through Xiialive, when I turn off the screen the stream drops once the buffer is exhausted. The Wifi setting is set to "Never Sleep".

Does anyone know why this is happening?
[Galaxy S I9000 Android Development] gabby131:
Yo bilboa1!

I know that your kernel is more buttery smooth than buttery smoothness but will you be supporting higher freq steps than 1.3?

Just askin......

sent from my Cappy
[Galaxy S I9000 Android Development] alihaydarf:
could you please share .tar package of your kernel to flash using odin.

I have a problem with cwm recovery, when i install kernel i get stuck at samsung logo and i want to flash your kernel to use with miui, i am running cm7 initial kernel with miui rc3c now.

thanks in advance
[Galaxy S I9000 Android Development] Bhonka:
I've tried with quiet hours enabled and disabled but I still can't get the led notifications to stop.
[Galaxy S I9000 Android Development] boarder.2k9:
I experience the shuttery music and radio with screen off on all cm7 kernels. However, stock music and resco radio are the only two I've found that don't.
[Galaxy S I9000 Android Development] bilboa1:
i use poweramp and stock, no stuttering. see previous posts, imo.
[Galaxy S I9000 Android Development] bilboa1:
you can also disable per app with cmparts.apk linked previously somewhere ;-)
[Galaxy S I9000 Android Development] bilboa1:
search for gnu tar win32

tar cf kernel.tar zImage system (from the zip)

and odin-flash it
[Galaxy S I9000 Android Development] Mortify1:
Does your headphones work with the last update? Mine don't.
[Galaxy S I9000 Android Development] bilboa1:
yes

a small other note, ill be away at least a week. might be samsung source drop when im back xD

if not and if someone feels like it i'd say try to integrate cm7's initramfs into jvk's kernel, it probably works - and that could fix many issues :P

obviously jvk uses a lot of the nexus s drivers, might even be based on it (like cm7) - although i doubt that one a bit, but surely imported many drivers
[Galaxy S I9000 Android Development] kenkiller:
My earphones work fine....plugs in, indicator appears, sounds fine.
[Galaxy S I9000 Android Development] Mortify1:
Sorry i meant headset, the controls for music, don't work. I can hear music fine but I have to actually use the controls on the lockscreen to skip, pause, play songs
[Galaxy S I9000 Android Development] kenkiller:
Did it work after that latest CM7 nightly?

Was it broken after the custom kernel update?

That would narrow down the cause.
[Galaxy S I9000 Android Development] kenkiller:
One small observation...

I used zacharias' latest kernel for a while, had a few random reboots, so switched back to yours.

Flashed ur latest 0401 kernel, it worked fine, until I found that the button backlights switch on when touched when phone is in standby.

Went to recovery, flashed 2603, 3103 and then 0401 in sequence (too lazy to flash each individually and then reboot back to recovery, since this sequence I know for sure works :D)

Just checking, maybe the liblights or something in each kernel update could use a script to overwrite something not working cause by another kernel? Or you simply do not recommend us using someone else's kernel. :D
[Galaxy S I9000 Android Development] bilboa1:
can just flash 0104 ;-)

normally the touchkey shouldn't light up with screen off, cause theres a check for that - unless there's a notification, of course.

you can install all the kernels you want, in fact, i'd encourage that, if anything

..but if one install some stuff that makes things go wrong, you might think it comes from my kernel, while it's not ^.^

mostly that's the case for the scripts changing the governor with screen off for example. i don't keep track of all the other scrips these days so its hard to say :p you can see what they install in the zip anyway
[Galaxy S I9000 Android Development] kenkiller:
No no....I make it more clear.

It was working fine with 0104, until I tried zacharias' dated 0804. It was unstable, so I flashed back to 0104. However, something in zacharias' 0804 caused your 0104 to have the buttons light up on touch in standby. So I did 26->31->01, and everything's working fine again.

It's clear it isn't from your kernel, I was just asking if it's possible that future kernels also include scripts or ways that make sure it undoes any trickery that other kernels implement, a clean slate? This might be better for you in the long run, you spend less time fielding question from people for problems that ain't of your causing. :D

And in case zacharias is reading this, I'm not pointing fingers. :D Just easier for both ends to not have to deal with problems that ain't caused by yourself.
[Galaxy S I9000 Android Development] bilboa1:
it's difficult to tell what has been done where, i would have to track any other kernel to revert what they do. I might add a few check if custom kernels are still needed later (with sammy's incoming source drop and some other things, we might get a working camera etc, and I might just integrate led notification to CM7 upstream and it might also get some voodoo)

A lot of mights, but if they do happen then I won't have a real need to make a custom kernel, at least, not the same as this one if any

point being i dont think ill have time to modify this one kernel until the end of the next week - i don't think it will need any update either unless upstream makes big fixes (well, they might, they're working on sdcard issues) - we'll see
[Galaxy S I9000 Android Development] kenkiller:
Okie. :D

They could integrate BLN and voodoo to upstream? I thought it wasn't possible because of joining the mainline or some hocus pocus? :D