yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] R34L2Pac:
I just flashed latest CM7 update-cm-7-04282011-NIGHTLY-GalaxyS-signed and after that Quorra r2 but now Im having trouble with WiFi. After turning WiFi on Im getting error. Tried to reflash and use lippol´s cleaning script before that, but same result.

Previously I was on CM7(04212011)/'whatsitsname' and wifi was fine. Also it was very stable combination except the lock to mobile network is still very slow. After confirmation of the pin I must wait even few minutes to get lock and be possible to make a phonecall. Also tested with different modems (JPY, JQ1, JVK) and on different kernels (your earlier releases and TK´s)but still the lock lasts forever. Ussually it takes aprox. 2-4min to get lock. Does anyone else also having problem with getting lock to the mobile network?

Im a dev newbie, but I want to help with testing CM7 and kernels for CM7/MIUI, so if any log can be helpfull I will post it, just tell what can be usefull for you.

Also wanna Thank you for your effort, doing great job!
[Galaxy S I9000 Android Development] Decalc:
No offence but any "dev newbie", real DEV, or even a noob can read one post above :S
[Galaxy S I9000 Android Development] strickyy:
Hey Zach!

I just want to say thanks for ur latest r2 kernel, it's amazing. Everything works smooth and fast, Asphalt 5 works smooth as butter, autorotation works normally as well. I also notice a pretty big battery life improvement. Before, i lost like 14-15% overnight, today i've lost 9% only, which is great.

Great job & thank you!
[Galaxy S I9000 Android Development] mmnwqw:
although the 3d effect has changed for better,it's still quite lag when i play gt racing
[Galaxy S I9000 Android Development] Ingmar89:
wierd,

For me flashing the R2 rom makes my phone get stuck on the first Galaxy S logo. Also it won't boot into recovery.

I am on MIUI RC6B
[Galaxy S I9000 Android Development] strickyy:
After flashing a kernel, always wipe cache and dalvik cache!
[Galaxy S I9000 Android Development] currydude:
+1 As I predicted changing the screen off governor does not adversely affect the battery life :P But yea it's definitely a much kernel now.
[Galaxy S I9000 Android Development] firefox-58:
For me first the kernel runs fine.

But on evening it starts to be slow and laggy! All ist very slow now. Flashing the kernel againg & wiping Cache + Dalvik gave not better performance.

Any hints?
[Galaxy S I9000 Android Development] currydude:
Check/reload your Pimp My CPU settings.
[Galaxy S I9000 Android Development] suntzu123:
So why JVK/JVB take 1-3% of battery over night... And this one taking 1-2% for hour?
[Galaxy S I9000 Android Development] zacharias.maladroit:
dude,

don't blame it on my kernel already !

this is CM7 (cyanogenmod 7) where EVERYTHING was developed from the ground for the Samsung Galaxys S (basically a Nexus S port)

whereas JVK, JVB, whatever is only stock Samsung

see the difference ? ;)

battery runtime will gradually be improved

thanks to atinm, Guiper, codeworkx, coolya, Unhelpful, ... and all others that I forgot that are working on improving CM7 :)
[Galaxy S I9000 Android Development] currydude:
+1 to what zach mentioned!

Also, you do realise that JVB/JVK use conservative governor for BOTH screen off and on right?
[Galaxy S I9000 Android Development] Razer(x):
How to select which governor use in screen off mode?
[Galaxy S I9000 Android Development] currydude:
Using "root explorer" go to etc > init.d > Hold onto "90screenstate_scaling" > should open "Options" > Select "open in Text Editor" > Scrolling down and look for:

#=====

# One governor to rule them all

#=====

and then change the awake/sleep_governors. I recommend awake = interactive and sleep = conservative. You change the sleep to "powersave" to gain a few MINUTES extra worth of battery life - if left idle/no background apps running - (honestly not worth it and can cause problems if you want to listen to music while screen is turned off)
[Galaxy S I9000 Android Development] suntzu123:
Really why did you take it to yourself.... I'm just asking- not blaming.... Your kernel is amazing...

... What can be done more at kernel? CPU is running 100MHz and still 1-3% when screen off.

I just wanted to know what is taking so much power.... Modem? WiFi? Sure there is something.
[Galaxy S I9000 Android Development] firefox-58:
@currydude:

There was never ever some stuff like PimpMy.... on my phone :D

I will test this out with new from today MIUI ASAP
[Galaxy S I9000 Android Development] zacharias.maladroit:
some over-reacting from my side - yeah,

sorry :o

it's just seems that everyone blames it on the kernel when it's in fact apps, MIUI, some configuration changes, etc. :p

probably the other parts (TV out, hardware video codec drivers, etc.) that currently are not working take some additional battery juice
[Galaxy S I9000 Android Development] zacharias.maladroit:
(04/29/2011) Changes for CM7_SGS_platypus-kernel_20110429_19_quorra-r3 [NOT compatible with MIUI (MIUI needs new drivers)]:

morfic stable optimizations flags (mfloat, neon, etc.)

∘ + switch to mfloat=hard

• CPUFREQ: Fix power suspend cpu frequency (re-add)

• upstream ARM cpufreq governor delay fixes (re-add)

• cpuidle (sleep, battery runtime) improvements

• jhash3 re-added

• add more cfq improvements (re-add)

• CFS scheduler load balancing & granularity improvements re-added

• BFQ re-added [option]; CFQ is default (unless you've set otherwise in VoltageControl, etc.)

• vmscan stalls fix re-added [less lags during heavy writing]

• ondemand governor: added sampling factor [more efficient & aggressive scaling]

• battery polling intervall to 30 seconds

• new (improved) interactive cpufreq governor from upstream

• new SavagedZen cpufreq governor from upstream + tweaks to it [minimum frequency at 400 MHz]

• lots of memory management improvements (+ stability fixes)

• SLQB (re-add)

• fadvise support; deactivate invalidated pages, reclaim invalidated pages

• simple I/O scheduler (re-add)

• (potential) better battery runtime & deeper sleep (re-add)

• writeback fixes (re-add)

• inactive file ratio (re-add) at 20

• re-activated heap randomization [security improvements; ASLR] [new - thanks to nikademus for the inspiration / "fugu mod style"]

• re-add fugu mod security improvements [in the kernel]

• back to 256 Hz High_Res_Timer [need feedback on responsiveness & lags]

∘ if stuff is getting too slow & laggy I might switch to 512 again

• back to USER_HZ 100 (default)

• fixed Google Goggles (thanks bilboa1 !)

Link to kernels:

http://xdaforums.com/showpost.php?p=13255811&postcount=2
[Galaxy S I9000 Android Development] p4t4h:
VPN works now with that script. Thank you zach :)
[Galaxy S I9000 Android Development] suntzu123:
What is

What are the symptoms?

My phone loading really long time, but I delete /data/data/->/datadata symlink to get space for apps....
[Galaxy S I9000 Android Development] stephenjason89:
zach i love your work and i also love music... when the screen is off while playing the first few seconds of the song stutters... maybe first 5sec thanks...
[Galaxy S I9000 Android Development] Shrapnel2:
It's to do with the smartass cpu governor which lowers the cpu clock quite low when the screen is off, this can cause stutters, using the DSP Manager will make it stutter even more as there is even less cpu for the music to be played off due to the extra processing. So you can flash the conservative cpu gov at the bottom of this post http://xdaforums.com/showpost.php?p=13920943&postcount=559 Works for me! Anyone feel free to correct if I'm wrong
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's always using the conservative governor while the screen is off

I've got several reports that the new threshold for conservative governor (while screen is off) lead to more lags - while screen is on & during waking up (turning screen is on)

and battery consumption seems to be higher

I need to do some more test-releases & really find out what of the new changes caused this to make sure I don't include any changes & also don't propose them to upstream (our mainline/vanilla kernel) that might increase battery usage

seems like I already had the perfect settings (that can't be improved) :p

will revert to that in the next release
[Galaxy S I9000 Android Development] runedrune:
my phone was ringing earlier but it took a while before i could actually see the screen and pickup xD
[Galaxy S I9000 Android Development] Chalky94:
Sorry to be a pain but I just updated to cm_galaxysmtd_full-11 and was wondering if your kernel was compatible with it? if so..which version do you recommend?

Thanks
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes it is

quorra r10 + r11_test4-r2 should do it

I'd always recommend latest - so rr1_test4-r2
[Galaxy S I9000 Android Development] currydude:
+1 Reverting to old settings would be nice and then just leave it at that :) Seems perfect and that would allow you (zach) to gain some spare time! You deserve it!
[Galaxy S I9000 Android Development] :
I've upgraded to r11 t4 r2 and applied conservative script (both screen on & off) but found it to be extremely laggy.

Then I re-applied smartass script (screen on=smartass, off=conservative), the problem now is I can't make my pimpMyCpu settings stick across reboots, and even without reboot, it keeps losing my setting (eg. OC to 1200Mhz, it will return to default 1000Mhz).

Have tried clear data, uninstall and reinstall PimpMyCpu but still the problem exists.

Anyone encounter this?? FYI I'm on MCGv3.
[Galaxy S I9000 Android Development] Shrapnel2:
Woops, I got that all wrong then :o

Great work though, love your kernels
[Galaxy S I9000 Android Development] currydude:
LOLS have you tried Soft Menu > More > Save as boot?
[Galaxy S I9000 Android Development] zacharias.maladroit:
my new scripts limit to 1 GHz :)

so that's a side-effect

I can't set it 100-400 MHz while screen is off without restoring it to max while screen is on (in this case 1 GHz)

so you won't be able to OC easily

all of this is testing so I might revert to old behavior if this proves to not improve things
[Galaxy S I9000 Android Development] currydude:
haha oh okay :P never noticed LOLS But yea, the old behaviour was excellent and battery life has been excellent. I can't see what awesomeness you can add now :P
[Galaxy S I9000 Android Development] :
Got it...though it would be nice to be configurable by apps like PimpMyCpu or someone is kind enough to make another app for changing screen on/off gorvernor for this purpose :p

p/s: I'm totally noob in programming :p

But Zach, I've been on r11 t2 and it has been truly fast (without much lags in scrolling through the desktops), however with r11 t4, there's noticeable lags in scrolling, could it be improved on next release or I'll have to fallback to r11 t2 ;)

p/s: I'm comparing default 1000Mhz and smartass governor just in case you're wondering :D
[Galaxy S I9000 Android Development] Funnnny:
is PimpMyCPU open source, if it is, I can make a special version for platypus, or maybe ask the author to do so.

too bored to make something new :)
[Galaxy S I9000 Android Development] AlexForTomorrow:
uhm...

flashed your latest kernel over the latest nightly.

funny thing is I have NO connection avalaible..

and also can't seem to change governor to conservative as it always stays on smartass..

and that's weird.

Inever had a problem with your kernels before ;)

any suggestions?

btw, all wipe were done after flashing and also the cleaning script was applied.

so I'm still wondering what to blame!
[Galaxy S I9000 Android Development] runedrune:
did u make sure to flash test4r2? that was a problem in test4r1.

did you use the scripts Zach provided to change the governor? :p
[Galaxy S I9000 Android Development] zacharias.maladroit:
yeah - read the changelog :p

that means the "fix"/change I made yesterday to make it work is useless - since I need to revert it again and add the latest changes for RIL

so

Quorra pre-r11_test-r2

is compatbile

until

Nightly #11 for Galaxysmtd

(Nightly #12 won't work due to RIL changes still needing to be integrated)
[Galaxy S I9000 Android Development] runedrune:
ah so the sync from yesterday didn't contain those changes? i thought so :p win.
[Galaxy S I9000 Android Development] AlexForTomorrow:
yep, I forgot I had to use those screenstate_scaling stuff. LOL

however, I flashed test4-r2. no doubts on that.

ah dammit!!!

Seen this only now.

aaaaah ****.

ok. I'm an idiot.

sorry guys. LOL
[Galaxy S I9000 Android Development] miragebg:
Yes I did mention this few pages back and resolved it by using cleaning kernel script on first page.
[Galaxy S I9000 Android Development] miragebg:
When I updated to the new CM7 Nightly test12- I lost any network and no baseband at all. Hope you will update your kernel soon for the last CM7 nightly

Regards!
[Galaxy S I9000 Android Development] rschenck:
That has nothing to do with this kernel...it is a known issue for some people with Nightly 12. Reflash 11 and you should be fine.
[Galaxy S I9000 Android Development] miragebg:
The problem is that it is somehow related to this kernel. When I reflash Nightly 12 with stock kernel- I have network and everything work perfect, but once I install zach's kernel- I lose my network, no matter what modem I'm updating with.
[Galaxy S I9000 Android Development] android53:
This was answered a page or so back
[Galaxy S I9000 Android Development] thunderteaser:
Hey, Zach! I flashed your pre-11-test4r2 along with MIUI MCGv3 and I cannot make outgoing video calls with gtalk (it force closes), but I can receive them and I can see both cameras this way. I don't think something's broken with MIUI 1.5.20 because although the ffc support is still fresh, people with Glitch kernel (stock MCGv3) don't have this problem. Can you confirm this or am I doing something wrong?
[Galaxy S I9000 Android Development] SilverMist1:
i am using test4.r2 with conservative script. compared to r10 (also used with conservative script), test4.r2 lags and drains battery more. with r10 i have had zero lag and battery was excellent. i may gone back to r10 again, i am not sure now because test4.r2 has voodoo sound 9:)
[Galaxy S I9000 Android Development] :
i thought r10 has broken(or not so perfect) wifi and bluetooth, no? i also feel r10 is slightly smoother than r11 :)

anyway i believe zach will come out with some improvements in next release :D
[Galaxy S I9000 Android Development] SilverMist1:
wifi was working perfectly, but i dont have any idea about bluetooth because i dont use it :)
[Galaxy S I9000 Android Development] juanjo7812:
Just a quick question. If I want smartass governor while screen on and convervative while screen off .... I need to apply the script or it's the default settings ?

Thanks !
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's default :)
[Galaxy S I9000 Android Development] Funnnny:
Hey zach, you should change the way screenstate work now, OC is break at this rate (fixed 100-1000Mhz screenon)
[Galaxy S I9000 Android Development] titovic:
Just some observations on preR11-test4R2

From 90screenstate_scaling script, default AWAKE gov should be Smartass and default SLEEP, Conservative.

Using a script, I am tracking down the governor, frequency, and battery temp and it shows the governor is Ondemand instead of Smartass when screen is on. On rare occasions, it shows as Smartass about 1-3 times then changes into Ondemand again. Conservative is correct when screen is off though.

Frequency of check is 5 secs with screen off and 1 sec when screen is on.

Another thing I've noticed is the battery temp as higher than usual. I tried -175, -150, -125, -225, -75, -75, -50, 0 and even after the screen went off, the temp still rose and when it reached 49, I wasn't able to get the screen back though the unit is still on as my monitoring script kept on running. I had to force a reboot when the temp reached 53.

I am running MCGv3 BTW.
[Galaxy S I9000 Android Development] Quipeace:
I'm still on the latest old style kernel, so I can't comment on any improvements, but isn't it possible to read the current governor and maximum frequency.

This data would be rewritten every screen off, so you'll always switch back to the chosen gov+frequency.

I have little experience with bash programming, but I'll take a look in a second. (implementing this in pimp my cpu (or something) wouldn't be too hard. check for the screenstate switching script and add a menu option based on that)

EDIT: First attempt, it seems to be working. However, I'm not sure whether the sleep frequency is actually applied. Also, the governor is stuck on ondemand. (Switching governors was working without my additions.)

NOTE: ZIP IS NOT FLASHABLE

EDIT: didn't work, nothing changed. Don't have time to see why though.
[Galaxy S I9000 Android Development] tonylee83:
Can i use the latest kernel on mcv3??

Thank you
[Galaxy S I9000 Android Development] :
yes.

10 chars
[Galaxy S I9000 Android Development] miragebg:
Zach, does this kernel still have a network problems with the latest Nightly 12?
[Galaxy S I9000 Android Development] runedrune:
Mhm.

10chars.
[Galaxy S I9000 Android Development] miragebg:
Thanks!

When the update is supposed to be released?
[Galaxy S I9000 Android Development] runedrune:
When it's released. :)
[Galaxy S I9000 Android Development] rschenck:
First rule of CyanogenMod?
[Galaxy S I9000 Android Development] zacharias.maladroit:
wow - that new RIL for sure has killed the whole quorra-based kernel

RIP :(

new kernel source on the horizon ...
[Galaxy S I9000 Android Development] Funnnny:
Sometime I thought that if all kernel hacker work together on only a kernel :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
The following kernels only work with the new RIL

(Nightly #12 and newer on the SGS - Vibrant & Cappy == different nightly numbering)

Kernel

CM7 & MIUI only

NEO 02

(NEO_01 was internal build)

before you ask for any ETAs:

The first rule of CyanogenMod [and this project]: DO NOT ASK FOR AN ETA!

Changelog:

-

new kernel base

(teamhacksung / upstream vanilla source)

- stock toolchain (for now - all other toolchains lead to kernel panic)

Features:

- optimized memcopy & memmove (for more performance & smoother operation)

- governors included: optimized smartass (thanks Tk-Glitch + source !), tweaked SavagedZen (thanks to arescode !), ondemand, tweaked conservative, interactive (tweaked for less power consumption), interactiveX

- SFB stochastic fair blue network scheduler (included since 2.6.39 linux-kernel)

- raised FPS screen timings cap

- unlikely-likely fixes (more efficiency in scheduling)

- voodoo color V2

- voodoo sound V9

- Docksound support

- writeback fixes (work in progress)

- ck-patches

- fixes for longer battery runtime (testing still)

- VFS changes & fixes

- VM & changes & fixes

-> less lags & more efficiency

- SLQB slob scheduler

- OC-UV (OC until 1.3 GHz) implementation by kang (bilboa1), morfic & TheEscapist

- nofail variants of kmalloc kcalloc kzalloc (less trouble, looping & more saved CPU cycles)

not yet included:

- fugumod security improvements (thanks to nikademus for sharing the source !)

- bluetooth l2cap powersave mode

- and many more

Download Link:

Mirror #1

:

CM7_SGSMTD_platypus-revolutions-kernel_20110524_r0_update.zip

(thanks to Roland for hosting !)

FYI:

the other governor scripts will be updated & uploaded

later

Troubleshooting & short-FAQ:

- WIFI & stuff not working ?

lippui94 cleaning script, then wipe dalvik, then fix permissions, then kernel - eventuall governor switch - , then wipe dalvik, then wipe cache, then fix permission

- reboots during calling ?

please report ASAP !

this is supposed to be fixed & a non-issue

- Radio (phone function) not working ?

this only works with nightlys > #12 on the SGS (including #12)

- phone is not as smooth as with previous kernel releases

yeah - sorry, might be due to the fact that I'm forced to use stock toolchain (less optimizations)

sticking points to test & feedback:

- call drops, reboots during calling & potential instabilities

- general

stability

(if this also happens on stock: post but add a note that it's from stock - thanks !)

- BT & WIFI switching

- iptables

- battery runtime

- smoothness
[Galaxy S I9000 Android Development] Guzmanus:
Thank you zacharias!

but im sure that kernel wont work on miui, yet, no?
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi Guzmanus,

unless currydude or the other devs port the new RIL stuff

I'm sure: not (won't work)
[Galaxy S I9000 Android Development] Guzmanus:
What i supossed

Thank you i will switch to cm7 just because of your amazing kernel (and that battery-killer miui)
[Galaxy S I9000 Android Development] danieleb89:
now i can say that your kernel works perfectly, i had a sudden reboot with glitch, now i've tried yours and it seems to have no problems...
[Galaxy S I9000 Android Development] jornbjorn:
works really good this kernel is!

music playback seems to work good, tested for some 15 mins, no skipping!! yippi!!
[Galaxy S I9000 Android Development] rinl:
hello, i got autoreboot twice (could boot to lockscreen) with latest kernel and nightly12, i did use kernel cleaning script before flashing, any idea? thanks

Sent from my GT-I9000 with CM7
[Galaxy S I9000 Android Development] Dfolt:
i have this same problem on galaxy s, when i write my pin code it have a big lag and reboot, and again pin code and reboot .... (nightly 12)
[Galaxy S I9000 Android Development] TweetyPeety:
but Zach if this new Kernel works only with builds #12 and higher it can't work with the 1.5.20 MIUI Version, can it ??? because you writing CM7 & MIUI only.
[Galaxy S I9000 Android Development] PrimeDeluxe:
The following kernels only work with the new RIL

Dont know why to change the headline.

The other Kernel worked with both but not with other Rom.
[Galaxy S I9000 Android Development] Bonta768:
Nice work zach! Running fine here so far...
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi guys,

I reverted back to old style for the scripts and set no frequency limits for screen on or off

so there should be no side-effects anymore

thanks !

Hi thunderteaser

thanks for your report !

sorry, I'm not using gtalk at all so I can't test and/or reproduce

Hi Funnnny,

it's fixed with latest kernels

the current (NEO_2) doesn't run on MIUI

I'll see what I can do ...

Hi titovic,

thanks for your feedback,

before you flash a kernel please take a look at the 90screenstate_scaling script

whether it has the desired governor for awake

it happened in the past that I mixed up something and included wrong file or forget the scripts totally :o

so if that happens - please notify me

for the governor readings & wrong governor: could be an error, too

Hi Quipeace,

thanks for your effort ! :)

I reverted back to old scripts style (no frequency limits set) for now

Hi rinl !

thanks for your report !

when did the autoreboot occur ? what were you doing ?

or did it ask for a pin after some time while screen was off ?

Hi Dfolt,

thanks for your report ! :)

so it reboots by itself ? does this also happen with stock kernel ?

I'm starting with a new base (based on vanilla/upstream source)

don't know what you exactly mean :\