yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] zacharias.maladroit:
Kernel

CM7 & MIUI only

NEO 02

(NEO_01 was internal build)

Kernel Scripts (Update):

- for switching to other governor (while screen is on - screen off = conservative) apply additional "screenstate_scaling switcher" script

description of governors:

- conservative [probably most battery efficient]

- interactive [pretty smooth operation - perhaps some hickups from time to time; phone gets quite warm with it; prefers higher over lower frequencies]

- interactiveX [same like interactive but with sleep & wake support - better suited for usage as only governor (testing)]

- ondemand [ondemand governor - compromise between speed & battery efficiency, very fast switching through all frequencies - in a perfect world the best]

- smartass [further evolution of interactive governor keeps the frequency at 600 MHz while idle (screen on) to ensure smoothest operation (need feedback, stability, etc.)]

- SavagedZen [further evolution of smartass governor (?) runs much better now (tweaked by arescode - thanks !) - I still prefer smartass the most in terms of performance ^^]

Link to governor changing scripts:

NEO_02/scripts/governors//

VPN users (disables rp_filter only - no change in governor):

systemtweak_VPN-enabled.zip

for those still getting bootloops (phones that need strict scheduler timings to work :eek: - no change in governor):

scheduler-issues_fix-enabled.zip
[Galaxy S I9000 Android Development] auralzx:
flashed your newest revolutions kernel, and everything's running smooth on nightly #13 :)
[Galaxy S I9000 Android Development] rinl:
Thanks for your reply :)

in fact, i was just flashing your kernel over the stock one. After going through CM7 boot animation and to the lockscreen, the screen flashed and rebooted...i could see no "no service" problem and pin asking though :D

EDIT: going to test the kernel with nightly#13, will report back

EDIT2: got repeated reboot again...it was when the phone try to establish data connection after starting up, operation service is fine btw. will it help by using "strict scheduler timings" fix? thanks
[Galaxy S I9000 Android Development] suntzu123:
http://cm-nightlies.appspot.com/?device=galaxysmtd

RIL again?
[Galaxy S I9000 Android Development] currydude:
Gonna try your kernel (I have the ROM updated :P jsut need a kernel LOLS) - I had problems with Glitch's kernel.
[Galaxy S I9000 Android Development] currydude:
MIUI update to Nightly #13 with your kernel is going good so far. All connections are perfect and no reboots (so far....) If this is good I'll upload it to the public (for experimental/bug reports) in an hour or so.
[Galaxy S I9000 Android Development] Prasad:
Post deleted. *wrong thread* Sorry :p
[Galaxy S I9000 Android Development] currydude:
Thanks for the kernel Zach, I have updated MUI to reflect the CM7 Nightly #12/13 RIL Polling updates so maybe maybe readd MIUI? :P
[Galaxy S I9000 Android Development] Prasad:
Is your latest kernel compatible with SGSMTD Nightly #14, Zach? :)
[Galaxy S I9000 Android Development] burner07:
what is voodoo color V2? a changelog from v1 do you have?
[Galaxy S I9000 Android Development] :
oh i'm coming from MIUI thread nextdoor :D

Are you saying "All connections working perfectly..." with which kernel in MIUI MCGv3EXPERIMENTAL? :):eek:;)
[Galaxy S I9000 Android Development] Bonta768:
Well its been 10 hours and not an issue. Much smoother than stock - battery life is about the same but I removed the 90s* script.
[Galaxy S I9000 Android Development] Ferdimage:
im also interested in the V2 Voodoo Color... or is that just the new color settings from the latest CM7 builds?
[Galaxy S I9000 Android Development] Prasad:
VC != CM7 color AFAIK. And is the latest kernel working with Nightly #14?
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi rinl,

yeah, you could try it but I doubt it will fix it - might even make it less stable (but some phones are really strange ^^)

if those reboots occur for more (I get more feedback) I'll need to make some modifications to the 89system_tweak script

let's see what the cause of these instabilities is

could also be related to RIL ...

Hi Prasad007,

yeah,

it should be compatible :)

Hi burner07,

afaik it has been voodoo color V2 all the time

thanks for your feedback Bonta768 !

so it's default ondemand settings (minus the memory tweaks)

feel free to use it how it fits you :)

it has been Voodoo Color V2 since from the beginning afaik :)

Voodoo Color is the same like before :)

yeah - it should work with #14

only fix in that nightly is for the timezone bug (?)
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi TweetyPeety

yeah, official MIUI hasn't included the RIL changes yet,

our MIUI team is working on it

<3

:)
[Galaxy S I9000 Android Development] currydude:
LOLS :P Problems don't affect me (Data connection through 3G sadly not working - I use WiF 99% of the time) but is definitely not read for daily usage.
[Galaxy S I9000 Android Development] andrewin:
Dear Zach,

On last kernel HD video recording does not work (maybe because too much free memory?).

I am using it with CM nightly #13.
[Galaxy S I9000 Android Development] Dfolt:
On stock kernel in cm7 , all works great
[Galaxy S I9000 Android Development] Dfolt:
on Nightly 14 , i have this same problem.. after write pin code again reboot.. // Phone going to reboot after preparation of a memory card
[Galaxy S I9000 Android Development] lippol94:
No just HD recording! Camera crashes when switching to Video mode.
[Galaxy S I9000 Android Development] andrewin:
That's because of recording mode was set to HD.

Otherwise it stars normally.

Other apps works with any recording mode except HD.

Edit: maybe I am wrong.

Just tried to wipe camera data, and it still crashes on switching to video.
[Galaxy S I9000 Android Development] cloud2211s:
HI Zach, does you will release "NO Voodoo color" kernel?

Sorry, because i'm not like the color :(

But i very like your kernel, smooth! :)
[Galaxy S I9000 Android Development] Prasad:
+1 to that! :)
[Galaxy S I9000 Android Development] rinl:
Tried the latest test kernel with nightly #14, no luck :(, keep restarting
[Galaxy S I9000 Android Development] auralzx:
revolutions kernel works well with nightly #14 :D

also, i'm not sure if this is UV related, or CM7 related. but my current UV values are stable for day-to-day use:

100000, -50mv

800000, -75mv

600000, -75mv

400000, -100mv

200000, -100mv

100000, -125mv

i cant OC at all, and -125mv is the lowest UV i can go.

HOWEVER, i tried editing an image in high-res in PicSay Pro, and it rebooted! What does this mean? How can i get around this?
[Galaxy S I9000 Android Development] android53:
works fine for me
[Galaxy S I9000 Android Development] Prasad:
It works fine! :) Try again... use the kernel cleaning script if need be...
[Galaxy S I9000 Android Development] BobbyManifesto:
as Prasad007 said, use of Ultimate Kernel Cleaning Script (for me ;)) resolves all problems :D Running flawlessly on nightly #14 and Glitch V9C-VC

NOT!!!

sgs autorebooted just a moment ago and now reboots almost constantly..

EDIT: soz, wrong topic ;p
[Galaxy S I9000 Android Development] rschenck:
I was having a weird situation. After installing the new test kernel, everything seemed to run fine, but I was not able to recieve data by wifi or 3g. I would log in, but couldn't get to any website or sync my email. I reinstalled 14 with the stock kernel, everything was fine again.
[Galaxy S I9000 Android Development] Dfolt:
after cleaning script it still rebooting :(
[Galaxy S I9000 Android Development] Prasad:
Happened twice to me so far. Pulled out battery, ran the last flash again and phone booted up...
[Galaxy S I9000 Android Development] eden1108:
I have nightly 14# and i flashed the r10 and i have no signal!

what should i do to fix it?

thanks
[Galaxy S I9000 Android Development] runedrune:
Flash Nightly 14 again then actually use a version that supports it.
[Galaxy S I9000 Android Development] eden1108:
Could you explain it better?

Why do i need to flash it again?how do i do it?(just falsh again witch cwm?)

What version supports it?

thanks
[Galaxy S I9000 Android Development] sptorrent:
Oc uv 1200

Trying this good kernel with OV 1200 according to your suggested settings (in post 1), seems to work quite allright, but hangs now and again.

Still trying to find the right settings for my device.

Thanks a lot anyhow!

EDIT: For example, playing with QuickPick while listening to TuneIn Radio over WiFi seems to hang just about every time (with OC 1200 and UV -50)

I'll try other settings...
[Galaxy S I9000 Android Development] jornbjorn:
try without uv... i can only have stable overclock without uv...
[Galaxy S I9000 Android Development] Prasad:
Same here...
[Galaxy S I9000 Android Development] kashortiexda:
Zach

I tried your NEO_02 with MCG3.11.

Cannot select phone network nor data.

I hope you will make/fix to work with MIUI MCG3.11 as I am a fan of your kernels - good battery and stable / smooth.

Thanx
[Galaxy S I9000 Android Development] vukandric:
Check your imei, maybe it's lost.
[Galaxy S I9000 Android Development] alerems:
Noticed branch on github named NEO 03. Soon. :D
[Galaxy S I9000 Android Development] Bonta768:
nenamarks

Here are some runs through nenamarks. My I9000 is on cm_galaxysmtd_full-12.zip, with CM7_SGSMTD_platypus-revolutions-kernel_20110524_r0_update.zip applied, and my usual handful of widgets and background apps running - so this is how it works for ME.

I ran nenamarks over and over so the phone never went into sleep mode. In CM7 settings I have a min of 200MHz and a max of 1300MHz.

First I removed the 90screenstate_scaling script, rebooted and got these:

SavagedZen 46.8, 47.4
smartass 56.9, 56.7
interactiveX 47.2, 47.4
interactive 53.1, 53.9
conservative 58.0, 58.1
userspace 21.6
powersave 20.0, 20.3
ondemand 33.7, 34.9, 35.1
performance 58.1

Next I rebooted to recovery, reflashed CM7_SGSMTD_platypus-revolutions-kernel_20110524_r0_update.zip to get the script back, and got these:

SavagedZen 47.0, 47.1
smartass 56.1, 56.4
interactiveX 47.1
interactive 53.3, 53.7
conservative 56.9, 57.0
userspace
powersave
ondemand 33.3, 34.1
performance 57.5, 57.6

I then put the phone into sleep for 1 minute and ran one more which was 56.6 on the platypus default of smartass. Im going to test with script for a while, but long term im thinking about just using conservative all the time.
[Galaxy S I9000 Android Development] zacharias.maladroit:
did you drop cache before each subsequent run ?

echo 3 > /proc/sys/vm/drop_caches

http://linux-mm.org/Drop_Caches

otherwise it's not accurate - but yeah, conservative offers best of both: battery runtime & power savings

when it's tweaked (via scripts) it's even better and almost as smooth as ondemand or smartass
[Galaxy S I9000 Android Development] Bonta768:
No I didnt. Most of the numbers were two runs one right after the other tho, reflecting the maximum you can get with the cache doing its job.
[Galaxy S I9000 Android Development] toto313:
Bug report

Hi guys,

I have not the time to read all posts, so I report to you a bug even if it's already reported...

Sometimes, for an unknown reason, I need to put again my pin code, wheareas my phone was already booted.

I'm using the Quorra pre-r11_test4-r2 kernel, but I encountered this problem with previous kernel too.

Buy ;-)

EDIT : Galaxy S with MIUI MGCv3 (1.5.20)
[Galaxy S I9000 Android Development] Ramalama:
guys!!!

if you are using:

Miui 3.0 or older, use qurorra test4-r2

Miui 3.1 ----> use neo kernel

Miui 3.11 ---> use qurorra test4-r2!!!

Cheers:-)
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi toto313,

afaik it's a known issue,

this happens when the modem times out & gets resetted

please try a different modem & blame it on samsung :p

@all:

the stock voltage for 100 MHz is 950 mV right ?

did anyone try to go lower than -175 mV ?

say: -200 mV (VoltageControl's limit) or even -225 or -250 mV ?

did it still work & wakeup ?

thanks !
[Galaxy S I9000 Android Development] ArctiX:
Neo 02 isn't fully compatible with newest #14 nightly - video recording isn't working... It fc's the camera app.
[Galaxy S I9000 Android Development] Bonta768:
That combo works fine for me here - stills and vids.
[Galaxy S I9000 Android Development] ArctiX:
HD video recording works fine for you too?

I tried everything to fix that and i still isn't working for me... always force closes.
[Galaxy S I9000 Android Development] zacharias.maladroit:
argh - need sleep
[Galaxy S I9000 Android Development] ArctiX:
huh what? I'm actually posting it in your kernel thread :confused: Zacharias, are you asleep? :p
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi ArctiX

sorry,

I need some sleep -_-

haven't slept much the last days & also much to do - probably information overload

while reading & answering posts I have lots of tabs open so I must have confused my thread with the main CM7 thread :p
[Galaxy S I9000 Android Development] ArctiX:
However, any solution? Already tried reinstalling nightly, applying cleaning script and fixing permissions. On stock kernel everything works fine.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi ArctiX

no - not really

perhaps the next kernel release will fix it

not much time right now for testing & stuff

sorry

could you please post the steps to reproduce so I can

faster reproduce & test whether it works ?

thanks !
[Galaxy S I9000 Android Development] ArctiX:
Steps to reproduce? What do you mean by that? Sorry, i don't know english perfectly :p
[Galaxy S I9000 Android Development] zacharias.maladroit:
what app do you start (stock camera ?)

what settings change ?

what to do ?

thanks :)
[Galaxy S I9000 Android Development] ArctiX:
Ahh, ok :)

-I use stock camera app

-no oc

-little uv (but it's not the problem, tried without it - no changes)

-smartass governor

-48m vm heap size

-JVO modem

Everything else is set default i think.
[Galaxy S I9000 Android Development] zacharias.maladroit:
MIUI release

of course I couldn't test the kernel (I'm not flashing to MIUI and back to CM7 - I'm also not having a 2nd Dev-Phone available like Tk-Glitch)

if you encounter any issues - please report

Mirror #1:

CM7_SGSMTD_platypus-revolutions-kernel_MIUI-20110526_r0_NEO_03.zip

Mirror #2:

CM7_SGSMTD_platypus-revolutions-kernel_MIUI-20110526_r0_NEO_03.zip (5.6 MB)

Changelog:

- removed memcopy&memmove (let's see whether this improves stability & any in-call reboots)

- tweaked smartass & SavagedZen governor

- added downscale fixes from SGSII (thanks to kang/bilboa1 & Tk-Glitch !)

- some small fixes to pl330 (updated to Samsung's SGS driver) & cpuidle stuff

- some minor fixes & improvements
[Galaxy S I9000 Android Development] jornbjorn:
LOL zachy! take a break man! go out and look at the women, they are getting lighter clothing ;) Its very refreshing i must say ;)
[Galaxy S I9000 Android Development] android53:
Neo 2 kernel and possibly those previous to it:

600mhz step is faulty, performs identical to 400mhz

5-6mflops linpack on both

Then 800mhz jumps to 11-12
[Galaxy S I9000 Android Development] rinl:
did a wipe in cwm recovery and reflashed the kernel. It works...finally! thanks!

Sent from my GT-I9000 with CM7
[Galaxy S I9000 Android Development] Bonta768:
Sorry, you are right. If I switch to HD from High I get an FC straight away.
[Galaxy S I9000 Android Development] ktuluz:
+1 no HD video here also.. RIL really did a number over on us :P
[Galaxy S I9000 Android Development] Christophe86:
@zacharias.maladroit:

First I would like to thank you for your work on this kernel, I love it! I used it a couple of weeks ago in combination with cm7 compiled by teamhacksung and found it a lot better then std kernel.

Yesterday I decided to switch back to cm7 to see how much improvement there is compared to a couple of weeks ago and offcourse installed your kernel.

Everything is working fine at the moment, except that I get a fc every time I switch to video recording in the camera application

.

I'm using:

cm_galaxysmtd_full-14

CM7_SGSMTD_platypus-revolutions-kernel_20110524_r0_update

As you asked, I'm going to test overall stability, battery runtime and smoothness the following days and give you some feedback :)

Thx for the great work!
[Galaxy S I9000 Android Development] Remain666:
Same for me!
[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 03

(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 (from NEO_02):

- removed memcopy&memmove (let's see whether this improves stability & any in-call reboots)

- tweaked smartass & SavagedZen governor

- added downscale fixes from SGSII (thanks to kang/bilboa1 & Tk-Glitch !)

- some small fixes to pl330 (updated to Samsung's SGS driver) & cpuidle stuff

- some minor fixes & improvements

- memory mapping fix for HD video recording (no more FC when camera app is switched to camera / HD recording) [some commit in my repo seems to set wrong memory mapping which breaks HD recording :confused:]

- [upstream] larger radio partition ---> with newer Nightlys - need system change (thanks coolya !)

- [upstream] some mic & headphone fixes (thanks atinm !)

- Memory available: 339 / 340 MB

- switched to Tk-Glitch's OC/UV implementation [up to 1.6 GHz] (seems to be more stable, lower UV & higher OC) (thanks Tk-Glitch ! :))

- re-add: bluetooth l2cap powersave mode

- conservative smartass tweaks (if you want old behavior back please flash the smartass script for NEO_02)

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_20110527_r0_bigmem.zip

CM7_SGSMTD_platypus-revolutions-kernel_MIUI-20110527_r0_update.zip

(thanks to Roland for hosting !)

Mirror #2

:

this post

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

- HD video recording & playback (is smooth for me during playback, recording with HD & Youtube HD works)

- iptables

- battery runtime

- smoothness
[Galaxy S I9000 Android Development] currydude:
wish I could use it :( But it appears to not work with MIUI sadly...
[Galaxy S I9000 Android Development] m4ssnet:
your last kernel it's AWESOME !

Finally with build CM #14, i can set to 1.3ghz, with a stable balanced system, thank you :D

Settings to voltage control as your first main post (600 isn't present ;) )

as now, it's really smooth and stable... verifying the battery life in 2-3 days now...

Great work man
[Galaxy S I9000 Android Development] andrewin:
@zacharias.maladroit,

Thank you very much for great job!

Last build works good so far.
[Galaxy S I9000 Android Development] kashortiexda:
latest MIUI

Does NEO 03 work with MCG4 the latest MIUI ROM from Galnet released today 27/05 ???????
[Galaxy S I9000 Android Development] zacharias.maladroit:
Look again :D

that one is using the old RIL, right ?

yes - as long as you download the MIUI kernel :)
[Galaxy S I9000 Android Development] katsooba:
so what are the new recommended stable oc\uv settings ?:)

and what happened to the 600mhz frq?:)
[Galaxy S I9000 Android Development] zacharias.maladroit:
there were some issues with 600 MHz so it got removed - don't know exactly what happened but it might have been stability issues (Tk-Glitch removed it :) )

1st post:

I let Tk-Glitch talk - he's the expert of his OC/UV :)

new OC/UV implementation (morfic, bilboa1/kang, TheEscapist - Tk-Glitch):

current values so far I have further tested are

100 MHz - 0.950v / -250mv [with Pimp my CPU] -> results in 700 mV

1400 MHz -75 mV (not much tested for stability yet)

1440 MHz -75 mV (not much tested for stability yet)

1500 MHz stock

1600 MHz stock
[Galaxy S I9000 Android Development] jetcz:
so whats the new smartass behaviour? i can see that it goes to 200mhz, isnt that too little?
[Galaxy S I9000 Android Development] katsooba:
Hey zach, while you're here,

i just flashed the NEO 03

before i was on #14 with NEO 02 which worked GREAT!

not i used the kernel cleaner, and flashed the NEO 03

and i got some problems.

the dialer disappeared, i cant access it.

contacts disappeared - not erased but the contacts icon itself disappeared from the drawer and from the dock shortcut, also the calculator got lost for some reason,

and on turn on i have a new force close - leaving aside the LAUNCHER PRO regular FC which i got used to

now i have -

google services framework (process.com.google.process.gapps) FC

nothing has changed in the system between the NEO 2 and NEO 3 installs.

any idea what happened?

i have no dialer and im sure some other stuff disappeared

UPDATE :

reflashed the NEO 03 and now everything works as normal

under spy cpu it shows kernel version

linux version 2.6.35.7_platypus-revolutions-NEO_03-vid_galaxys+(matthias@lopus) (gcc version 4.4.3 (GCC) ) #1 PREEMPT Fri May 27

is this info correct?

i remmember it showed the BIGMEM option aswell but now its gone
[Galaxy S I9000 Android Development] zacharias.maladroit:
there's no frequency limit only the load has to be higher

so the app doesn't cause more load or doesn't need more

e.g. if you set 1.6 GHz it *will* go up there but slower (more battery saving)

if you don't like that behavior simply flash the smartass script from NEO_02 and it should be back to old - semi-aggressive behavior

Hi katsooba,

I'm also on #14

but didn't experience any of the issues you wrote about

I didn't run the cleaning script and simply migrated from NEO_02 (to be more precise: internal NEO_03 test-kernel) directly to the latest NEO_03 kernel - without running wipe /cache or Dalvik Cache

perhaps that helps

thanks !
[Galaxy S I9000 Android Development] katsooba:
updated my message :)

please re-read
[Galaxy S I9000 Android Development] zacharias.maladroit:
yeah,

it's correct

it was only a suffix I added to the kernel-package

kernel name

and kernel

package name

are independent from each other

the bigmem suffix is an internal suffix for me to distinguish it from stock memory mapping ;)
[Galaxy S I9000 Android Development] katsooba:
awesome! works great now :)

just OCed it to 1440 and checking for stability,

i guess i shouldve just migrated from 02 to 03 aswell :)

the second time flashing solved the problem.

testing music\vid\camera and batt life for now.

already had two calls 3 mins long and no crashes or such.

wifi is stable for me

ill test bluetooth tomorrow in my car
[Galaxy S I9000 Android Development] kashortiexda:
Loaded NEO3 on MIUI MCG4 and all seems well.

Zack it seems the scheduler is now 'deadline' and the governor is 'smartass'

Can I change that to cfq and ondemand?

Edit: loaded NEO3 and CWM'd ondemand. Set scheduler to cfq and u/v by 75 from min 100 to max 1000 and all seems fine. Smooth...will report on battery after a while.

Using CPU SPY and deep sleep works. Seems NEO3 with above configuration may be a good balance between speed & battery on MCG4 so far no fc's or any other probably found....
[Galaxy S I9000 Android Development] Hieber:
Sorry, Im totally new to the Galaxy S scene, but I was wondering if this kernel will be able to improve my battery noticeably compared to the Glitch Kernel on MCGv4?

Thanks! :)