yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] vukandric:
Hi again,

I have big problems with connecting my phone to my computer via usb. Almost every time I have to reboot to get it work. Most of the time phone gets stuck after disconnecting from computer, but sometimes it gets stuck before connecting. And sometimes it works ok, but most of the time it doesn't. I have tried to wipe cache and dalvik many times, no success. And one more thing, I don't have those problems with bilboas kernel, but I have less battery drain with yours. :D

Please try to find out whats causing this behavior because I really like your kernel but this is getting annoying. :)
[Galaxy S I9000 Android Development] g00ndu:
I have problems disconnecting the drives after mounting, the phone got stuck, both yours and bilboa1's kernel.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] derrzredeem:
@ g00ndu & vulkandric

think this issue is from upstream, as i also had it with the stock cm7 kernel, but it is intermittent.

i'm on cm7 btw
[Galaxy S I9000 Android Development] vukandric:
Ah, ok. Probably you are right, because both kernels have this problem (even though bilboas works without problems for me). Anyway, there is a new update of cm7, maybe they have changed something that will make this usb mounting work ok? :)
[Galaxy S I9000 Android Development] derrzredeem:
not so sure, haven't look into the latest commits - if i'm reading them right :o

though the changelog only stated a fix for tethering ( which breaks on previous build) and modify some haptic feedback.
[Galaxy S I9000 Android Development] vukandric:
Well, I am not an expert, I am just guessing :D Thanks for your info.
[Galaxy S I9000 Android Development] derrzredeem:
i'm not an expert too :p

@zacharias:

any chance for a newer release ?

thought give your kernel a go ;)

EDIT: just flashed flubber, all working good - rotation, emmc, wifi, don't know about sensor yet. :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
sure,

the problem with performance - you know - is that the CPU clocks at 1000 MHz (1,0 GHz) or your set max frequency permanently

sucking the juice out of battery pretty quick and making it warm fast

besides that: it's not only memory tweaks - they are also related to battery consumption

thanks !

good to know

thanks !

I don't know if the number in front of the init scripts makes any change in priority

why not simply change it in 90screenstate_scale if you modify & work with init scripts anyway ?

thanks !

never had this issue - this most probably is upstream (CM7 - not CMSGS or even AOSP 2.6.35/Gingerbread) related

glad it worked out in the end :o

thanks !

auto-rotation and gravity sensor works for me

compass is disabled by upstream & still needs some fixes

most (if not all) other users agree that it works

if it doesn't for you: it must be your phone or apps interfering with it

read back several sites and look for fixes (power button, etc.)

I'm NOT going to post it over and over again - we're not in kindergarten after all :p

(and even there kids are learning)

thanks for using & your interest !

correct, I alos had it with stock

my kernel only seems to trigger or expose it more easily

thanks !

no way - not now

(hacking on the kernel)

it's getting unstable again

currently it gained speed but stability suffered

thanks !
[Galaxy S I9000 Android Development] VeloC!ty:
Need help!
[Galaxy S I9000 Android Development] derrzredeem:
Misread--:o

godspeed :)

edit: it feels snappier though, waiting for the stable one
[Galaxy S I9000 Android Development] lippol94:
Hey no need to be sarcastic :D

I've read everything of this topic and i now how you make it work.

In fact i've wiped cache, flashed kernel, re-wiped cache and it worked. Afetr that i had a hard reboot and prximity sensor stop working like auto-rotation.

Actually, as you wrote, it still WIP so i'm not complaining about it. Just pointed it out, to improve this kernel.

I'm not a lonely child :P

Thanks for developing this :)
[Galaxy S I9000 Android Development] MeBeSad:
I did update kernel but phone stuck on black galaxy s loading screen, i can't go recovery...i had to flash cm7 kernel again to get it working...tryed update 2nd time same thing happend can't pass black loading screen...

any help , fix ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
well,

try:

- wipe /cache & dalvik cache

that's a really specific issue:

could you try connecting the micro USB to your PC then log into the phone

(as soon as it boots up)

adb shell

and type

logcat

then see what (error) messages might scroll by ?

dunno if you're experienced with adb

:)

my bad,

something else might break it but only time will tell to figure out what's causing it

currently I'm out of ideas since it's working fine for me and lots of other users

thanks for using !

enjoy ! :)

yes:

more patience

it's a known issue that gets triggered on my kernel during 1st boot only (stock probably also ?! but not that often)

wait for some time then lock & unlock screen (press power button shortly)

after that it should work normally

thanks !

edit:

Oh noes :(

seems like every sort of software pipelining improvement causes the browser to crash and phone reboot

it's a shame

cause that would have gained the most significant speed improvements :o
[Galaxy S I9000 Android Development] sayli:
@lippol94 : you should just try to hard reboot 3 or 4 times. Its kinda random in fact but if it works once it will work evrerytime u reboot then :) It worked for me so it might work for you too!
[Galaxy S I9000 Android Development] sideeffects:
Phone has started to freeze then reboot sometimes when turning on USB storage. I mention it here because it has done it in the past using your kernel but not with the bilboa kernel so was wondering it its something added that is causing it?
[Galaxy S I9000 Android Development] Arkanius:
Upstream problem. Happens with default kernel as well
[Galaxy S I9000 Android Development] vukandric:
I just checked it many many times with bilboas kernel and it always worked ok for me. Really strange.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Ffffffffffuuuuuuuuuuuuuuuuuu

superblock scheduling & tail duplication also break auto-rotation :(

ok, well - no nice exotic optimizations for now :o
[Galaxy S I9000 Android Development] cocchiararo:
have you played with neon stuff yet ?
[Galaxy S I9000 Android Development] Alberto96:
i can't get accellerometer working on my phone !!! why?? i'm using your last kernel
[Galaxy S I9000 Android Development] zacharias.maladroit:
you know how long this would take ? :p

neon is enabled in the kernel - each compile of the whole android system takes 20-40 minutes

and: no - I haven't played around with userland & neon yet

it's enabled by default anyway

I'm not doing this for profession - keep in mind that I still do this in my spare time

edit:

sorry for sounding harsh or anything - I'm royally pissed that the sensors sometimes is working and sometimes not

and I don't have found a way (yet) to make it work permanently

flash back to bilboa1's kernel - play around for some time with it

then flash my kernel, wipe /cache & dalvik cache,

reboot after next boot press power button 10+ seconds
[Galaxy S I9000 Android Development] zacharias.maladroit:
do you have time next week to do some research on while the sensors suddenly stop working ? (e.g. discussing via IRC)

for me the weird thing is:

- I step by step put patches on top of the kernel sources and each time it worked

- then approx. 2 hour ago I compiled the kernel with too aggressive flags - went back and forth (old kernel binary where it worked to new - test) and each time it worked again

- but now I had finally tested all of the flags I wanted to test & went back to the (former) working kernel - now it won't work at all (tried wipe /cache, dalvik cache; power-button 10+ seconds and several reboots)

any idea ?

with a very early build of the kernel it's still working and UV also doesn't cause any trouble

this driver is causing me nuts :p

thanks !
[Galaxy S I9000 Android Development] cocchiararo:
dunno how much it would take, i just saw codeworkx answer to you on the other post and decided to ask :P
[Galaxy S I9000 Android Development] lippol94:
I was running zach's kernel when my GS with MIUI started rebooting even with most common operation.

I managed to get it working disabling every UV setting from Pimp MY CPU.

Do you have the same problem?

I'm new in OC/OV operations so please could you explain to me how to set it in the best way?

Thankyou :)
[Galaxy S I9000 Android Development] ionuts:
I have a wierd problem. I flashed * update-cm-7.0.0-RC0-GalaxyS-KANG-signed_20110329.zip (81.89 MB) via Recovery ( CWN ) and now the phone freezes at "Galaxy S - cyanogen" screen. ( I was running MIUI 1.4.8 )

Cleared cache, removed battery and still the same problem :(
[Galaxy S I9000 Android Development] derrzredeem:
So, you came from MIUI?

Format /system, /data, /cache, then flash the updates again.

~drz
[Galaxy S I9000 Android Development] Bonta768:
@ionuts

Are you trying to change to CM7 or stay on MIUI?

@zm

You recommend a cache and Dalvik cache wipe when swapping kernels?
[Galaxy S I9000 Android Development] farooknaji:
Sorry, I wasnt being lazy. I took a look at the script and wasn't sure if simply changing "conservative" to "ondemand" would be enough as I didn't understand why some bits were commented out like so:

# echo "98" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

# echo "50" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold

# echo "35" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold

# echo "10" > /sys/devices/system/cpu/cpufreq/conservative/freq_step

I was also just curious why it seemed laggy for me despite it being smooth for others. Didn't mean to be demanding! your efforts always appreciated zach!
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes, things get screwed up quite easily and this should prevent some errors

besides that - there is no real valuable data on /cache and the Dalvik Cache

it's quite logical:

in older scripts those values were partly (or wholly ?) commented out since the values were coded in the kernel headers / code

with newer kernels I have them included in the kernel, too - but it's faster & easier to change them via an init script, e.g. during experimenting with values

no need to change it in the code everytime and do a commit for others (or me) to see what was changed

e.g. if you want to switch from conservative to ondemand - changes would be:

to

to

really, it's no rocket science - only comment out the not needed parts anymore and uncommented the corresponding newly activated parts :)

btw:

"98" for the up_threshold & ondemand was an energy-safer value so you wouldn't get happy with it (in fact it would lag more than the tuned conservative :p )

"80" should be a more usable value for phones

thanks !
[Galaxy S I9000 Android Development] Steyux:
Can I use the 09/04 version of this kernel with 10/04 release of CM? :D
[Galaxy S I9000 Android Development] Bonta768:
Yes.

10chars...
[Galaxy S I9000 Android Development] trinikartel:
ok i'm a complete loss now. not for the life of me can i get it to read my external sd card. I've gone as far as starting the process completely over twice from stock jvk to cm7 then flashing flubber. All i keep getting as /mnt/emmc is "Insert an SD card for mounting". Am i missing something?

EDIT: Excuse me as I bash my head against my desk :o After half hr more of reading over on the cm7 forum i deduced it was the new bootloader in jvk that was causing the problems. flashed back to JPU then switched over to cm7 and it's detected now
[Galaxy S I9000 Android Development] VeloC!ty:
Worked for me. Thx :>
[Galaxy S I9000 Android Development] retskrad:
Is this kernel with CM7 faster and smoother than darky's 9,5 with voodoo?
[Galaxy S I9000 Android Development] lippol94:
Without any doubt! :) but you will miss some features that will be added in future thanks to the hard work of codeworkx and other developers :D

Sent from my MIUI powered Galaxy S
[Galaxy S I9000 Android Development] f.lix.droid:
hey can u guys confirm that accelerometer not working at the current CM7??
[Galaxy S I9000 Android Development] zacharias.maladroit:
Mini Overclocking Guide

My approach:

start with -50 mV (delta from default value) other values probably are too low

my testing includes:

- Angry Birds Rio (several missions)

- Gun Bros (for some time)

- mp3 playback, (flac playback - optional)

- surfing the web via browser, opening up bit.ly links from cmsgsteam twitter feed

- watching youtube video

- watching video via rockplayer lite or mobo video player

- running benchmarks (Smartbench 2011, quadrant standard, an3dbenchXL, anTutuBench)

- Labyrinth Lite (for gravity sensor), auto-rotation (also for sensor)

when 1 GHz (1,2 or 1,3) is OK - go lower with undervolt value (e.g. -75 mV)

after it gets un-stable - go back to last known stable value

then you can limit max frequency to lower one, e.g. 800 MHz

and repeat testing for that frequency
[Galaxy S I9000 Android Development] currydude:
deleted* 10char
[Galaxy S I9000 Android Development] mertkan:
hi guys;

i installed "CM7_SGS_platypus-kernel_20110409_18_flubber.zip" kernel over the stock cm7 kernel.now i can't connect to wifi.i reflashed the platypus kernel again but no changes.can't still connect to wifi
[Galaxy S I9000 Android Development] mertkan:
anyone has the same problem? :(
[Galaxy S I9000 Android Development] vukandric:
Really strange, but now when I flash your kernel I also have wifi error, and can't do anything to fix it. When you first released it I had no problems with wifi, but because of problem with usb mounting I flashed bilboas. Now, when I flash yours I always have wifi error. I have already tried rebooting, clearing dalvik and cache and reinstalling the kernel, but nothing works. :confused:
[Galaxy S I9000 Android Development] Samdroid_G_S:
Been running Flubber(ondemand version) since you released it , as been pointed out by users Wi-Fi sometimes gives errors and have to restart the phone sometimes 2-3 times to get it to work again , also rotation sometimes doesn't work but a reboot usually fixes that as well.

I have not had any issues accessing my ext SD over USB seems to work good and I have not had any random reboots.
[Galaxy S I9000 Android Development] mertkan:
i have the same problems.i flashed several times and wipe dalvik cache.then i try the bilboa's kernel the result is the same.can't connect to wifi
[Galaxy S I9000 Android Development] lippol94:
Thank You very much! :) I'll bookmark this cause it's very useful :)

One more thing. Wat are differences from conservative to ondemand governor mode?
[Galaxy S I9000 Android Development] Mercury0660:
also wifi problems here. This morning it worked. And now, nothing. Tried reboot, wiping dalvik... no ideas.
[Galaxy S I9000 Android Development] g00ndu:
Try wipe / factory reset. It should work.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] mertkan:
i wipe and factory reset the phone then install the rom again then the kernels but no luck.Still can't connect to wifi.it always says scanning,connecting then disconnected.
[Galaxy S I9000 Android Development] lippol94:
That's totally strange!

Have you try to connect a different wifi router?

As last try follow these

- Wipe data / factory reset

- Wipe cache

- Wipe Dalvik

- Format system, cache, data

- Flash Rom

- Flash platypus

- Wipe Cache and dalvik

- Reboot

Now you're phone is completely wiped and clean :) It must work!
[Galaxy S I9000 Android Development] mertkan:
i tried with a diffrent router.

i applied these steps but not in your order.
[Galaxy S I9000 Android Development] Mercury0660:
thank god, i had a nandroid from yesterday. I had wifi connection problems too, but with restoring nandroid, its ok again.

But logcat said sth about problems with thethering (it was NOT enabled).
[Galaxy S I9000 Android Development] lippol94:
Thethering IS NOT working on this kernel. It has been solved from CM7 team but the kernel need to be recompiled from upstream.

so stop complaining about his awsome work and wait for a new release.
[Galaxy S I9000 Android Development] Mercury0660:
ahm, I know that and I am NOT complaining. I only want to find out, where this issues comes from...;)
[Galaxy S I9000 Android Development] BL4zD:
Zacharias, do you think the battery will get better life using ondemand (or conservative) with the screen off script instead of just using smartass?

Can you think of why one method might be better than the other (using smartass governor vs screen off script)?

Sent from my CM7 Captivate!
[Galaxy S I9000 Android Development] Prasad:
What is 'ondemand' exactly?

EDIT: Never mind. :)
[Galaxy S I9000 Android Development] retskrad:
I just flashed

* CM7_SGS_platypus-kernel_20110409_18_flubber-ondemand.zip (3.97 MB) (STABLE), but WIP)

and it seems like I do not have the voodoo sound driver....
[Galaxy S I9000 Android Development] Mercury0660:
so voodoo app doesn't work? right version?
[Galaxy S I9000 Android Development] sideeffects:
Works for me with the normal version of flubber, didn't try the ondemand. It identifies itself as version 7 using voodoo control app.
[Galaxy S I9000 Android Development] Mortify1:
New update for cm7
[Galaxy S I9000 Android Development] vytman:
Orientation works on MIUI but external SD doesn't.

When I'm on Recovery the message "E:no misc partition" appears...any ideas?
[Galaxy S I9000 Android Development] nikkox988:
Don't bother with this. Everyone has this message
[Galaxy S I9000 Android Development] alihaydarf:
Zach, will you include bml_over_mtd into your update script or is it already included? :p
[Galaxy S I9000 Android Development] mertkan:
i am the latest kernel 04/09. i can connect to wifi with WEP encryption but can't connect to WPA/WPA2 PSK.i can connect to this with Samsung's rom.BUt connect with cm7 and zach's kernel
[Galaxy S I9000 Android Development] runedrune:
For all those getting problems with wifi where it keeps trying to obtain an ip address and then disconnects, set a static ip address.
[Galaxy S I9000 Android Development] dago:
New Kernel ? -> http://www.multiupload.com/CZ68Y7E8O0 ?

-Conservative

-Fix Auto rotation :)

by Zachs ?
[Galaxy S I9000 Android Development] MSRemmert:
This is a brilliant kernel mate. Once my student loan comes in I'm giving you some money.
[Galaxy S I9000 Android Development] Mortify1:
Where did you find this?
[Galaxy S I9000 Android Development] runedrune:
would be better not to mess with that until zach tells us otherwise.
[Galaxy S I9000 Android Development] zacharias.maladroit:
ok, thanks for the report

WIFI issues are really strange :confused:

could you post some specifics of the network / AP you're trying to connect to (encryption, enterprise/personal, etc. etc.)

smartass needs significantly more love to be able to get into a usable state for the Samsung Galaxy family - right now my screenstate script (still) should be the better choice

sure, it'll be included in the next release

you mean the badblock error handling ? - yes with the next release

NOT with cm7 and my kernel - you tried it right from the start when you converted from Samsung to CM7 if that worked ?

if not it's more a OS (and software) than a kernel (and hardware) issue

i don't want to apply windows-knowledge here but everytime i ran into this kind of issues it was related to the OS being too old and having accumulated way too much cruft :D

it's a repackaged "flubber" release for the SGS

great ! not even the target phone is mentioned in the package - who is supposed to know on what this shall run ? :mad:

and then everyone using this is coming and pointing fingers at me for breaking their vibrant, epic, cappy, etc. ? :confused:

thanks !

glad you like it - i'm really trying hard to get it as stable & feature-rich and battery-friendly as possible :)

the new release will include newer WIFI drivers for (hopefully) better and less battery consumption

it basically seems to be flubber with 2 (or 3) commented out lines in the screenstate scaling script to get somewhat optimized behavior in conservative

these are also included in the next release
[Galaxy S I9000 Android Development] g00ndu:
Just to confirm, your next kernel will be based on the latest cm7 kernel? They have both usb tethering and external sd working hand in hand. Your current one supports external sd but breaks usb tethering?

Sent from my GT-I9000
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes ! :)

both should work

yeah, the current one lacks a newer commit that fixes usb tethering again
[Galaxy S I9000 Android Development] lippol94:
I know that's a annoying question for a developer :) but do you have something like a release date?

Are there other fixes needed before stable Flubber+1 ?

Thanks Zach! :)
[Galaxy S I9000 Android Development] ruiviterbo:
External sd card

Even after flashing the latest kernel, i continue to be unable to use the external sd card.

I'm on miui, is it possible to obtain any help please ?
[Galaxy S I9000 Android Development] runedrune:
if you were ever running a gingerbread rom before it could be possible that you still have the gingerbread bootloader.
[Galaxy S I9000 Android Development] Mercury0660:
the wifi problem occured while obtaining ip address. from the log, i saw, i think it was sth about DHCP problem
[Galaxy S I9000 Android Development] runedrune:
did you try settings a static ip?
[Galaxy S I9000 Android Development] ruiviterbo:
I was using the gingerbread 2.3.3, then i flashed froyo to "migrate" to miui... I tried rc4 and this kernel cause it was supposed to work. I've formated external sd card but still no success ....
[Galaxy S I9000 Android Development] runedrune:
yeah that's your problem. you probably flashed a froyo package that didn't contain the froyo bootloaders. you'll have to start over and this time use a package that does contain the bootloader. i used jpu but i think you should use ezbase.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Introducing "Antlion"

04/13/2011 (release name: Antlion; Stable )

kernel:

CM7_SGS_platypus-kernel_20110413_19_antlion_conservative.zip (3.98 MB)

md5sum:

cb160af2e949f16f491746c88334d02a CM7_SGS_platypus-kernel_20110413_19_antlion_conservative.zip

CM7_SGS_platypus-kernel_20110413_19_antlion_ondemand.zip (3.98 MB)

md5sum:

83fd8d58418a43d626e0322ac11560f2 CM7_SGS_platypus-kernel_20110413_19_antlion_ondemand.zip

Changelog:

Installation steps:

Troubleshooting:

Please test specifically for the following sticking points:

enjoy ! :)

FYI:

for your convenience the kernel zip-files are also attached to this post

thanks !
[Galaxy S I9000 Android Development] alerems:
Decided to compare releases Rocketeer and flubber. Concluded that a second - faster. O_O

It looks like something from the optimizations.

Wi-fi on both operating normally.

The first requires a couple of reboots and sensors start to work, the second - one with a dusting of dalvik-cache.

Edit:

Saw new version. Bravo! Let's test. :D
[Galaxy S I9000 Android Development] zacharias.maladroit:
of course "Rocketeer" is faster :p

I pushed that release pretty hard in the performance direction :D

but at the price of not having a reliably working auto-rotation & other sensors and being (from time to time) unstable

try Antlion ! :p

thanks for your feedback !
[Galaxy S I9000 Android Development] ennxo.binzoro:
[/QUOTE]

Arrghhh...

Just few minutes ago I flash Flubber..

And now release the new one..

Little question..

why in kernel version it's say "matthias@lupus" who is this..?

Why it's not say "plathypus","flubber", "zach" or something else..? *stupid question I guess..
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's the user/name/etc. logged onto the box/PC building the kernel

so it's correct - I'm not creating a whole new /home/buildname directory just for building the kernel :p

take a look at:

settings -> about phone -> "Kernel version"

on the other phones it says:

so there you have your name

:cool: