yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] f.lix.droid:
hmm i js flash the newest kernel, now my wifi can't work, says error when i try to turn it on? any clue? i was on kang's newest kernel before this....
[Galaxy S I9000 Android Development] zacharias.maladroit:
Changelog:
[Galaxy S I9000 Android Development] f.lix.droid:
whao super fast reply thanks!! and now my wifi works THANKS!!! trying the kernel now...
[Galaxy S I9000 Android Development] :
help with kernel!!!!

Hi i tried to build cm7 kernel for telus fascinate (not verizon one)

i found that the only diffrence between i9000 and fascinate is the key mapping (my home and search key dont work).

i tried to flash captivate kernel and touchkey worked fine, but the speaker and headphone fuction got reversed and the gravity sensor not working.

So i think changing i9000 cm7 keyboard driver to captivate cm7 keyboard driver would work perfectly, but i dont know how.

I tried and I spend about 1week, but i failed.

Can somebody make one for telus fascinate users?

or tell me how to do it step by step?

The file that i attached is the captivate cm7 keyboard driver
[Galaxy S I9000 Android Development] Adevem:
is it possible if you upload the latest kernel to xda? pardon the mobile user :p thanks! no problem if not!
[Galaxy S I9000 Android Development] phalanger:
Just installed. So far seems to work fine.

Great to have latest VoodooSound on CM7!

Thanks++
[Galaxy S I9000 Android Development] RPMan:
I want it too :) because I am on my mobile.

in voltage control I put 1000 mhz but when I reopen app it go back to 800 mhz! I tried all options ... can somebody help me?
[Galaxy S I9000 Android Development] kenkiller:
Did you apply the settings by pressing the menu button?
[Galaxy S I9000 Android Development] RPMan:
yes ... I don't understand why it doesn't work
[Galaxy S I9000 Android Development] baba420:
LOOL, why dirty?

Anyway, just flashed your latest version after a cache and dalvik wipe. During reboot it gave me a black screen. Pulled out battery and booted again, it worked.
[Galaxy S I9000 Android Development] Ferdimage:
@zach

Im not sure what it is that making my phone lag with all new kernels from 20110320_16

Go Launcher Ex and Widget locker have shown signs of lag with the new kernels.

i keep reflashing back to 20110320_16 as its still the smoothest for me,

only down fall is that it drains battery abit faster than the new ones and is still on v5 Voodoo sound.

Can you please reup this kernel with v7 voodoo :)

Thanks
[Galaxy S I9000 Android Development] eeyunopper:
Any chance of a std CM kernel with added Voodoo 6 or 7? I'd do it myself, but i've only just started looking into how to code, am currently on hour 11 of "teach yourself Java in 24 hours", not sure i'm clever enough to get to hour 24... :o

And the process for compiling looks bloody complicated at the moment.... and my 'pooter's only 32bit, and i'm currently only running windows 'cos the wife got confused with the linux/windows dual boot.... So many obstacles.. :D
[Galaxy S I9000 Android Development] phalanger:
Kernel itself works great but.. if I plug in headphones and play music, the sound goes over the speaker instead of the headphones..

Im not sure what goes wrong, I tried several audioplayers and also tried messing with the voodoo app settings but no help.

On default cm7 kernel the headphone-out works fine.

Any ideas what I might do to fix this?
[Galaxy S I9000 Android Development] evensteven:
Hmm.. My phone instantly reboots when I open stock browser or any action that requires the stock browser is processed. Don't have these problems with bilboa's kernel.
[Galaxy S I9000 Android Development] zacharias.maladroit:
done

thanks !

thanks !

I get the same since with laststufo's SO Kernel (Froyo) afaik

so a non-issue - only a cosmetical thing

as long as the settings are saved in the init-script & the frequency goes up to 1 GHz (or any other frequency you set previously) there's no problem

VoltageControl from time to time tends to read out values wrongly - a restart "solves" this

reading out the max frequency @800 MHz seems to be one of those permanent wrong read-out thingies ;)

nope, progress can't be stopped ^^

but give the

CM7_SGS_platypus-kernel_20110329_00_update_ondemand.zip (3.66 MB)

in the 1st post (attachment) a try

that uses ondemand when the screen is on instead of conservative (and still powersave when screen is off)

if that's not enough I can tweak it to use ondemand but that might raise battery consumption significantly

thanks !

afaik I read about that in bilboa1's kernel, too

might be an upstream issue (stock kernel) that changes that were not included with 03/18 nightly cause this

@bilboa1:

I don't know if you're reading my thread, too

but: you have an idea what might cause this ?

the recent EARTHPATH_SEL commits ?

I faced a similar problem yesterday

it's not the kernel - it's most probably how AOSP / Android works :p

backup your apps and do a factory reset/wipe and wipe dalvik cache

after that it should work (it did for me :) )

thanks !
[Galaxy S I9000 Android Development] tuxing:
Have same issue here with latest kernel package.

i only have the kernel and modules from here not the full update file wuth kernel. could that create any problem? also is a data wipe needed?
[Galaxy S I9000 Android Development] zacharias.maladroit:
repost / requote:
[Galaxy S I9000 Android Development] lmulli:
EDIT - Never Mind, you just added it!!

Re - CM7_SGS_platypus-kernel_20110329_00_update_ondemand.zip (3.66 MB)

Only attachments I see are your scripts. Can't see the above file anywhere.
[Galaxy S I9000 Android Development] derrzredeem:
Just a heads up, you do aware that you need to running CM7 to able to use this kernel?

I'm not a programmer/coder, so i'll try to give you some answer from a user perspective.

1. If you come from 2.2 be sure to backup your app using TitaniumBackup or similar program. Navigon (navigation?), if it is, navigation is not working at current state of CM7. (not sure tho, not using it)

2. CM7 is using yaffs2 as filesystem and afaik, only /data running native ext4. So, no, there's no ext2/3.

3. Currently, there's only 3 kernel for CM7 to use. "Official" - that comes with CM7, this kernel, and bilboa1's kernel. Sure, you can reflash your previous kernel.

~drz
[Galaxy S I9000 Android Development] sideeffects:
They just updated Navigon to work with gingerbread a few days ago. so it is working fine with cm7.

The difference between froyo is that it used to install the files to the external sd if you had one. Now you need to have the files in a folder called Navigon on your internal SD.

The product id is saved in the version.xml inside the navigon folder. So if you copy the folder with all files onto your internal SD in a folder called Navigon then go to the market and install MobileNavigator which is listed as free it will find the folder and key and update you to latest version.

By internal SD I mean the 6GB built in partition not the smaller internal storage where android is installed.

sry for going offtopic:p
[Galaxy S I9000 Android Development] :
No I wasn't aware that this kernel requires CM7. I though it might be installed to improve an existing Froyo 2.2 (see how much of an Android hacking newb I am? :).

Navigon (http://www.navigon.com/) is a (pretty expensive) navigation software for Android which has off-line maps and came included gratis with the 2.2 upgrade on my SGS. Something which can come very useful when navigating outside coverage area.

If I back it up with Titanium Backup then would I be able to restore it on CM7 (once the CM7 navigation issue is clear)?

Is there an equivalent kernel-only upgrade I can install under a stock Froyo 2.2 to gain such improvements?

Thanks very much for getting back to me about my questions.
[Galaxy S I9000 Android Development] Ovy311:
Can you include a fix for the wifi issue in your kernel ? or it's already included ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
what issue do you mean ?

this one ?

(source)

again:

I'm no advanced kernel hacker (yet ?) so leave that to the pros

besides that my studies need much dedication therefore I wrote that the kernels will be released irregularly
[Galaxy S I9000 Android Development] cocchiararo:
How do you choose alternative schedulers? I was too busy and decided to flash your kernel instead of compiling one, specially for your other changes
[Galaxy S I9000 Android Development] defconoi:
How hard would this be to port to the vibrant for cm7? This looks hella nice, would love to test it
[Galaxy S I9000 Android Development] derrzredeem:
About navigon, see post above yours.

I'm using iGo, and it works just fine.

No, this kernel can only be used on CM7, even Samsung GB ROM 2.3.2 cannot use this.

@zacharias.m : check your PM ;)
[Galaxy S I9000 Android Development] datagrid:
Hi

Can we use this kernel with the jv1 rom from Samsung

??

i try to do this, if ok i'll say to you
[Galaxy S I9000 Android Development] gbohm:
no you can't
[Galaxy S I9000 Android Development] HazzBazz:
Dont really feel any improvements on the battery front, it's still way too small but I think the rom feels more responsive....got about 300 apps installed and she's going okay still (some lag in adw :/ ) merci merci
[Galaxy S I9000 Android Development] cocchiararo:
With this kernel, cm7 no longer differentiates h from 3g (stock cm7 does)

Speed remains on H levels of course.

Edit : h came back, speeds still the same
[Galaxy S I9000 Android Development] cooldfuzion:
working well on CM7 :) thanks
[Galaxy S I9000 Android Development] Mortify1:
I agree with everyone else, thanks for the CM7 support, your kernel is working great on my phone.
[Galaxy S I9000 Android Development] melorib:
I also installed it today, screen rotation wasnt working with standard and the other voodoo kernel, now works...

Other than that, it might be a bit faster, hard to be sure...

Keep up the good work... :cool:
[Galaxy S I9000 Android Development] zacharias.maladroit:
I'm currently working on adding improved scheduler to very fast scale down == moar battery savingz :)

I get the save XD

glad you like it :)

thanks !

via e.g.

echo "cfq" > /sys/block/mtdblock6/queue/scheduler

(or any other scheduler instead of cfq)

I'm gonna post a small script if not anyone else is faster ;)

are you guys interested in a more tweaked & responsive kernel ?

the only problem would be that the screen stays black during boot

and

CWM recovery wouldn't work (it works but the screen stays black XD )

[that surely won't stay at that - I'm currently investigating this but I need to focus on study]

so you couldn't directly apply a system-update: (put update on sdcard; flash stock kernel via odin -> reboot to CWM recovery -> apply update)

additional kernels (for now) also only could be flashed via Odin

if there's demand for it I'm gonna post the kernel

what do you think ? :)
[Galaxy S I9000 Android Development] sugar 7:
Work s great ! thank s !!

why is a RC0 ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's the first release candidate

after the alpha and beta versions (testing)

so that means that it should be (almost) ready for wider production use

the RC0 version is from CM7, thus also the kernel (CM7 is the kernel + android system)
[Galaxy S I9000 Android Development] sugar 7:
Thank s nice ;)

the screen rotation doesn t work any idea ?

Edit : reboot and it s ok now...good job
[Galaxy S I9000 Android Development] vukandric:
Hey, I am not sure that I understood you. If I flash your kernel, I will have black screen instead of cwm recovery? I don't care about booting but cwm is a must for me. I am not an expert, but black screen while booting is maybe because your kernel doesnt support custom bootanimation (as I said I am not an expert so don't laugh if I said something stupid :p)

Sent from my Galaxy S CM7
[Galaxy S I9000 Android Development] zacharias.maladroit:
Changelog:

Explanation:

- V4: 4th version bump of the platypus kernel - changes in CPU sleep mode

- V2 ondemand: 2nd version bump (changes in CPU sleep mode) of the platypus kernel with ondemand governor when screen is on (in favor of conservative) you get more speed faster when screen is on, higher battery usage
[Galaxy S I9000 Android Development] Adevem:
thanks! one more suggestion if it doesn't bother you, is it possible to put the kernel version in reflection of the version of your builds?

I've always had this fear I've failed a kernel flash. just to double check lol!

if it's too much trouble, or answered before, or something else, then please pardon me!
[Galaxy S I9000 Android Development] evensteven:
Ok, worked. Pretty weird as it was a fresh setup anyway. :)
[Galaxy S I9000 Android Development] sunra0815:
What's different between

* update-cm-7.0.0-RC0-GalaxyS-KANG-signed_20110329.zip (81.89 MB)

and

update-cm-7-03262011-NIGHTLY-GalaxyS-signed.zip

?

I don't know if I should flash this update. I didn't find any explanation for this update ...
[Galaxy S I9000 Android Development] DvTonder:
3/29 v4 kernel caused a reboot for me while browsing the web. First time ever with CM7.
[Galaxy S I9000 Android Development] sunra0815:
I had the same issue with dolphin hd. since I've reinstalled dolphin I had no reboots again.
[Galaxy S I9000 Android Development] alerems:
Wrong thread, man. :)
[Galaxy S I9000 Android Development] robbiev80:
I've tested wii remote compatability. It's been working in CM7 for a while now. :)

Thanks for your great work.
[Galaxy S I9000 Android Development] Inosite:
Screenstate governor script messes up audio playback badly (at least on MIUI) when the screen is off. It also has issues w waking from Sleep mode while music is being played in the background.
[Galaxy S I9000 Android Development] sunra0815:
I've heard about this issues ... The strange thing is, that I have no audio problems with my bluetoothstereoheadset. I didn't test it with plugged in headphones ...
[Galaxy S I9000 Android Development] zacharias.maladroit:
sorry, I added a description,

it's basically the nightly from that day I built to later compile the kernel

only the initramfs of the system compilation is needed but since there was demand for a new nightly system-update (similar to those of codeworkx)

I uploaded it

thanks !

several reasons:

- your undervolt oder overclock values are unstable

- dalvik cache or other caches have some issues so clearing those might help

- I tend to get it, too from time to time (very seldom) with stock kernel - so if might be this: dalvik settings recently got changed so that skype can work - this can potentially lower the stability a little bit

- if all else fails: backup data & programs and try a factory/reset and wipe of dalvik cache

thanks !

thanks your feedback,

related to that:

maybe deleting the personalized settings of the program might help in that case

thanks ! :)

try:

90screenstate_scaling

replace the 90screenstate_scaling file in the update.zip with the one hosted

the battery consumption might be higher but there's no other way to keep it low since tweaking of conservative & ondemand governor

(commented out "# tweaking up- and down_threshold for power efficiency" and the following 2 lines)

wouldn't let the CPU scale up because the CPU most probably would stay at a low frequency because the load couldn't reach 95 or 98 %
[Galaxy S I9000 Android Development] Steyux:
What should I do to enable the screenstate governor? When I set the governor in the cpu menu of cyanogenmod settings there isn't "screenstate"

Thanks zacharias! :D
[Galaxy S I9000 Android Development] zacharias.maladroit:
you don't need to set anything

it's already set

90screenstate_scaling is an init script that gets executed while the phone is booting up

by default powersave governor is activated while screen is off

and conservative while the screen is on (except the ondemand edition, of course)

besides that a lot of other settings are switched to get better battery runtime

it would be nice when we could get system-updates from upstream so that compcache/ramzswap can be enabled

this should even get some more performance
[Galaxy S I9000 Android Development] jimmy-bish:
Hey Zacharias.

I saw you have the same Momax extended battery I just got. How much life are you getting out of your ondemand kernels on it? Which one do you recommend, considering my phone gets heavy use and is able to be charged pretty much every night, but I'd also like it to last a couple of nights if I hold back on the usage while out.
[Galaxy S I9000 Android Development] sayli:
Helloo zacharias!

I'm using your kernel and it's really supa'smooth atm :p I just have one kinda weird issue! Sometimes my phone just reboot by itself, plugged to charger or not.. I don't understand lol.

The reboot when it wasn't plugged showed only once, and the Cyanogenmod blue logo at boots wasn't blue but grey.. Dunno if it has any coincidence?

But it reboots quite often when I plug it to charger. It's like : I use my phone, i press the power button to put my screen off and like 20/30 seconds after it reboots. It's not everytime but that's kinda annoying in long term.

Still thanks for your effort/kernel! Keep up the good job :)

Edit : I just wanted you to know that my phone isn't undervolted but the cpu is set @ 1.3 Ghz with conservative mode using setcpu. Moreover these issues happend only after i flashed your kernel so i think it's kernel related! When I flashed the last cm7 nightly i've let it like 3 days and never had this reboot problem but it showed up when i put yours like 2 days ago. Voila! Just wanted to add infos that could help!
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi jimmy-bish,

currently I can not say much since I only fully loaded the battery for the 1st time and put some additional percents into it meanwhile

the only thing I can say right now is that it approximately should deliver a little less than double the runtime of the stock battery :)

I'm using the kernel with the conservative governor activated while screen is on, powersave is still set while screen is off

if you like better interactivity use the ondemand governor / the kernel with ondemand set in the script

if conservative was OK back in the past, keep using that - it'll keep the CPU at lower frequencies

thanks !

I also observed that spontaneous "rebooting" in the past but looking at it more precisely only the Android system (or part of it ?) seems to be "rebooting"

so it's a kind of soft-reboot - the kernel seems to stay on

I also got this with the stock kernel previously so I don't know if it's being triggered more easily by my kernel or simply "normal" :rolleyes:

yes, I also observed this color changed in the logo / bootanimation - like if it was "washed out" but after some seconds it either would turn back to normal colors or stay that until the GUI was available again

hm, yeah that sounds pretty annoying - from what I've seen so far

the Android system only seems to do those "soft-reboots" if a real issue exists and the GUI or system would hang for some time (being unresponsive)

so from the system's point of view it's OK but from users POV - of course - it's not

currently I don't have an idea how to circumvent this

you can do several things to find out if it's most probably caused by the kernel itself, overclocking, undervolting or other stuff

- 1st of all run Xan's VoltageControl - setcpu has been known to cause instabilities with the kernel

- run the kernel at stock voltage and limited to 1 GHz

- undervolt the voltages and kernel limited to 1 GHz

- run unlocked until 1.2 GHz and do some stability tests (benchmarks, running games, browsing the web, opening bit.ly links from twitter, etc. etc.)

if it reboots and crashes --> make sure you give it some more juice - read around the web that you don't give it too much & fry your CPU :p

- do the same like with 1.2 GHz but now add 1.3 GHz [only leaving stock 1 GHz and adding 1.3 GHz isn't such a good idea since raising & reducing voltage is faster than the frequency - leading to instability with big changes - a known issue you might also encounter with bilboa1's kernel]

- if both 1.2 & 1.3 GHz are stable do the testing again

- only use the kernel after you've tested the stability - for the stability tests it would be best to temporarily switch to ondemand governor

change

AWAKE_GOVERNOR="conservative"

to

AWAKE_GOVERNOR="ondemand"

in /system/etc/init.d/90screenstate_scaling

or in the kernel update zip-file change it in that very same file, and re-apply the modified kernel update via CWM/Recovery

run CPU Spy to find out if your kernel runs at 1.2 or 1.3 GHz at all

hope that helps

thanks !
[Galaxy S I9000 Android Development] zenosteam:
well, i want to test your kernel and cm7 rom , but which version of your kernel can i choose , what modem choosing , for havaing a great battery save can you help me :o
[Galaxy S I9000 Android Development] zacharias.maladroit:
sorry I really don't know what modem might be best in Oran :o

try googling for samsung galaxy s & modem & algeria

to find out which one provides the best reception & battery runtime

always use the latest kernels:

03/29/2011

- better battery runtime: V4 (with conservative governor)

- possibly better responsiveness: V2_ondemand (with ondemand governor while screen is on)
[Galaxy S I9000 Android Development] buzzworkers:
as always when i flash this kernel i loose my wifi....awaiting for an IP address forever...
[Galaxy S I9000 Android Development] zenosteam:
thanks a lot for the informations
[Galaxy S I9000 Android Development] zacharias.maladroit:
any special characteristics to your WIFI network ?

hidden ssid ?

weak signal ?

WPA2 Enterprise ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
Changelog:

kernel files:
[Galaxy S I9000 Android Development] Steyux:
Thanks!!! What do you mean with [option] in zram? :D
[Galaxy S I9000 Android Development] zacharias.maladroit:
you have to uncomment it & replace it in the init-script (89system_tweak):

from

to

I haven't tested this script yet but manually it worked

will try it in the next few days

enjoy & thanks ! :cool:

edit:

ok, it should work

besides that other parts still need some tweaking to reduce the lags while it's using the swapfile in RAM
[Galaxy S I9000 Android Development] Steyux:
Tested latest kernel (conservative version) and have many issues (flashing back to old zacharias' kernels solved them):

1. Light sensor and accelerometer (in gui and in games) not working (not tested proximity sensor)

2. User interface seems slower than the ui in the previos kernels

If I find 5 minutes I will post a dmesg :D
[Galaxy S I9000 Android Development] alerems:
All are working for me. :)

UI is much faster. Try wiping dalvik-cache. :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
everything works for me

:o

thanks !

thanks !

for those who want to try out zram:

this is a kernel with zram enabled & tweaked swap settings to fully profit from it ("swap" isn't bad in this case :p )

and should offer potential longer battery runtime & better performance and smoothness of GUI

enjoy ! :)
[Galaxy S I9000 Android Development] cocchiararo:
i normally have 50 or less mb available when running miui

how much does the zram thing uses for the swapfile ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
around 90 MB is reserved

but only between 2-20 MB are used for me (until now; mostly 5 MB)

if you're using your phone more heavily it might be quite beneficial

also: every free RAM in Android is wasted RAM :D

give it a try

if you don't like it - you can revert to the non-zram version

I've configured it in the way that it frees memory (the swap) as soon as it doesn't need it anymore
[Galaxy S I9000 Android Development] nanu_x2:
i think i've just found out why i was getting random reboots with your kernel e.g. when opening browser.. because i was using deadline scheduler.. changed it to bfq and no reboots anymore...:)))

will tet more..:D

system is nice and stable.. (for now)

thank you..: (Y)
[Galaxy S I9000 Android Development] Steyux:
I found was was wrong with my light sensor and acceleromenter, the JPA fix for wifi... So zach your kernel is simply the best :D