yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] currydude:
+1 Anyone who blames a community dev is just plain stupid. I personally didn't mind using 2 hours, testing various things to try and get the new kernel working because I know you spend a plethora amounts of hours working on this kernel in general and really I find testing fun and mysterious LOLS :)

Again, keep up the excellent work and I hope you continue :)
[Galaxy S I9000 Android Development] NasrulBond:
good job with the kernel zach. i'm still sticking with your 13/4 Antlion kernel cause its very very stable for me to use it daily. keep the hard work coming on! :)
[Galaxy S I9000 Android Development] thunderteaser:
Zach, do you remember the talk we had about enabling cgroups in the linux wonder patch thread? I recall about a kernel with cgroups support, but it didn't bring any significant improvements to Samsung based ROMs. I wonder if in CM7/MIUI it would be useful or not.

By the way, you're doing a great job so far! I trust you, so I know we won't be disappointed. :)
[Galaxy S I9000 Android Development] l3enjamin:
After some time, the camera works again.

For the wifi, I got error if I try to turn it on in settings. After reboot, the wifi works again, but this time the sensor doesn't work. Seems I can only get either wifi or sensor to work...:confused:
[Galaxy S I9000 Android Development] suntzu123:
Is it possible to optimize conservative governer?

It should be better than ondemand for battery but is not... You should make map for each changing. Try to use laststufo solution.

http://xdaforums.com/showthread.php?t=811660

He made like up threshold at 85% for 100Mhz you same to got it at 50%.... Also nice idea is to make FPS Limit at 30-40. No reason to make more. Maybe one kernel with out FPS limit for benchmark.
[Galaxy S I9000 Android Development] zacharias.maladroit:
no need to tell me that suntzu123 ^^

it's already planned :)

conservative governor won't work with those values since if you raise the threshold higher it will lag even more

currently bad battery runtime is a general thing with the CM7 kernel not with conservative governor or my kernel per se

what do you mean with the bold marked text, btw ? it should safe more juice ?

I originally had such values in the beginning but everyone complained about lagginess so I modified them to behave more like ondemand :mad:

so what do you guys prefer ? better battery runtime & juice [with more lagginess] or more smoothness and less battery runtime (like stock, tk's kernel and others) ? ;)

thanks !
[Galaxy S I9000 Android Development] Bhonka:
Hmm whenever I play music the system slows to a crawl and is practically unusable.
[Galaxy S I9000 Android Development] Bhonka:
OK it seems this problem only occurs while the phone is charging and playing back music at the same time. For me anyway.
[Galaxy S I9000 Android Development] zacharias.maladroit:
thanks for your report !

haha - this is ridiculous the charging process can't be taking so much cpu power :p

only while the screen is off or also while it's on ?
[Galaxy S I9000 Android Development] xdaalmar:
First of all, thanks for all the work with all these kernels. I am going back to the previous version because the new one is very laggy, it takes a very long time to reboot, and the wifi works very randomly (just for the records, I am on miui RC5b).
[Galaxy S I9000 Android Development] Quipeace:
Well, I personally charge my phone very night anyway, so it doesn't really make sense to downtune the phone to make it last 1.5 day. Right now I do have to watch my battery, but I'm unsure if that's because of the kernel configuration, or the applications I've got installed. Right now its 22:00 here, and I've got 6% left. (from 97 in 13 hours, 7% an hour, ondemand).

Relatively light use though, I haven't played any games today.

All in all smoothness right now is great, so I think it could be configured to last just a little longer.
[Galaxy S I9000 Android Development] Bhonka:
It was quite random. It seemed the phone was getting stuck at 100mhz and not going any higher. Wiped cache and davlik. Seems to be fine.

edit: sensors came back after 5 reboots :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
kernel stable-release

Introducing "Twoface" release

04/22/2011 (release name: "Twoface" ("one side conservative (juice saving) other side performance (ondemand)" - already containing parts of Samsung's GB source (thanks teamhacksung !));

Semi-Testing/Stable (for new integrated code from Samsung) )

kernel:

1st Mirror / Host

: [recommended]

"Twoface" (thanks a lot to Roland !)

2nd Mirror

:

this thread (XDA)

3rd Mirror

:

CM7_SGS_platypus-kernel_20110421_22_twoface.zip (3.44 MB)

md5sum:

5ec155f70a22427ec1848827e202bb60 CM7_SGS_platypus-kernel_20110421_22_twoface.zip

Changelog:

Installation steps:

Auto-Rotation related

:

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] Rezou:
Fantastic work zach !

I just have a little question : you say that there is a "conservative side" and a "ondemand side". Do you mean the kernel switches automatically between the two governor, or you have to set the governor you want to use, in a app like Pimp My CPU ?
[Galaxy S I9000 Android Development] alerems:
I thing it is tweaked conservative gouvernor. :)

Zach! Like everytime - excellent work! Will test. :)
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi Rezou !

Thanks for your interest & using the kernel

no: to put it simple - I tweaked the ramp-up time of the conservative governor [how fast it will switch to higher or lower frequencies - making its behavior similar to the ondemand governor] while also tweaking its thresholds to go as fast as possible down

now it should behave pretty similar to that of laststufo's kernel

you can't really compare those two since 2.6.32 -> 2.6.35 is a pretty big jump with several significant changes in the kernel

Enjoy !
[Galaxy S I9000 Android Development] runedrune:
Flashed perfectly this time. :)

Everything is working perfectly as it usually does. Great job. :)
[Galaxy S I9000 Android Development] kickassdave:
Flashed. Wiped cache/dalvik. Auto-rotation and sensors working perfectly. Stable overclock achieved quite easily AND average fps in all 3d tests in quadrant are all much higher than before.

Absolutely awesome work. I owe you a beer.

Now we want 1.54Ghz haha :P
[Galaxy S I9000 Android Development] jaju123:
Thanks, seems to work very well and the autorotate works fine.
[Galaxy S I9000 Android Development] thunderteaser:
Both, or just something in the middle! :p
[Galaxy S I9000 Android Development] currydude:
+1 Same battery life as Samsung ROMS and w.e. kind of performance there after would be my cup of tea :)

This new kernel works perfectly LOLS I don't know why the previous (chameleon) kernel I had problems
[Galaxy S I9000 Android Development] nikkox988:
I installed last kernel. Everything went fine and first boot was the fastest i've ever seen. And for the first time... auto rotation and sensors worked at the first boot ! Thank you zach for your hard work
[Galaxy S I9000 Android Development] currydude:
+1 This new kernel is excellent! Need a day pr two to comment on battery life :P
[Galaxy S I9000 Android Development] currydude:
wooot Camera apps (such as Google Goggles/Barcode scanner) works now! Thanks for the implementation of some of the Samsung drivers, looks liek the gingerbread sources are really helping.
[Galaxy S I9000 Android Development] Bhonka:
Sweet twoface seems to have fixed my music issues :D
[Galaxy S I9000 Android Development] noomzila:
when i talk over 1 minute phone always reboot. Has anyone face this issue?
[Galaxy S I9000 Android Development] suntzu123:
You forget to set downthershold around 50-60% at conservative gooverner, up_thershold can be a little bit higher ...

So I run system panel to check how is going at practice.

At IDLE conservative gooverner set CPU to work around 160-280MHz. While ondemand gooverner set CPU to work around 130-200MHz Much lower.
[Galaxy S I9000 Android Development] vitalij:
status bar disappearing for me in latest release. only reboot helps.
[Galaxy S I9000 Android Development] noomzila:
How i can set downthershold? I don't know the menu i can set downthershold.
[Galaxy S I9000 Android Development] mertkan:
everything works perfectly but when im talking phone suddenly reboots itself.Anyone having this problem?

im on the latest "twoface" kernel.
[Galaxy S I9000 Android Development] kickassdave:
I'm managing to get some amazing undervolting achieved with 1000Mhz max on the new kernal....
[Galaxy S I9000 Android Development] ennxo.binzoro:
+1 me too..

I think the reboot caused by undervolting and overclock..

But after i restore to default, the reboot is still there..
[Galaxy S I9000 Android Development] truemozzer:
how to restore to default??
[Galaxy S I9000 Android Development] currydude:
Use pimp my cpu > soft menu button > reset

I have my phone overclocked to 1200mhz (fully stable - various stress tests) and using the latest Twoface kernel. I just tried calling a friend, had a 5 minute conversation and everything was perfectly fine, have you guys tried clearing cache/dalvik cache?
[Galaxy S I9000 Android Development] yoozco:
same here. reboots on/after talk.
[Galaxy S I9000 Android Development] truemozzer:
Ok, no reset now in a call. thanks
[Galaxy S I9000 Android Development] currydude:
Please try to clear dalvik cache and cache.
[Galaxy S I9000 Android Development] suntzu123:
That was to zach... you my dear have to re-flash your phone. Sorry. Or maybe you have to much overclock, or your hardware is broken.
[Galaxy S I9000 Android Development] Alberto96:
i can't get accellerometer to work !!!!! i use the last version
[Galaxy S I9000 Android Development] currydude:
Clear dalvik cache and /cache. Also, do a hard reboot (hold power button for 10 seconds)
[Galaxy S I9000 Android Development] Alberto96:
i tried with no luck XD
[Galaxy S I9000 Android Development] DocMAX:
these kernels here are complete crap!
[Galaxy S I9000 Android Development] kickassdave:
must... resist... feeding... trolls.......

arghhhhhhhhhhhh...

why don't you GO AWAY then?

or update your phone to a stock boring rom.... yeesh.
[Galaxy S I9000 Android Development] currydude:
+ 1 I find this kernel better than any stock kernel anyways.
[Galaxy S I9000 Android Development] currydude:
You are in no position to criticise this master piece.

/ends feeding the troll
[Galaxy S I9000 Android Development] lippol94:
Guys.. accelerometer problem on MIUI comes from upstream!

I had the same bug on Tk.Glitch v6u2 (which has been recompiled from CM7 sources too).

So, before complaining about kernels shut up for a second more and test other kernels to give yourself an idea.

Sorry about that zach :)

____

Talking about your latest update. I keep having many lags in launcher and generally in scrolling. It seems that the kernel can't give enough CPU speed to active processes. I must say that tk.glitch kernel (not OC/UV) doens't have this problem.

Although platypus is definetily stabler than Tk's. I really hope you'll manage to fix scrolling lags.

I'm sorry. Didn't give enough time to your kernel. So embarassed. Best kernel ever tried! :)

OC at 1200mhz

:)
[Galaxy S I9000 Android Development] suntzu123:
I miss your post... sorry. Batter battery... tk's kernel is one big exodus of energy with no big performance.

Nobody need the quadrant points, or smooth with 60FPS... We need more ram, better responsive, better battery time :)

This is hard work and your kernel is amazing. I do not know thy tk's kernel is now at miui.
[Galaxy S I9000 Android Development] currydude:
Agreed with all the non-cross out parts LOLS The kernel is definitely getting better without needing to compromise for battery life.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi suntzu123

in fact I'm right now using laststufo's conservative up- and down-thresholds :)

only with a little more aggressive ramping up & down

I've looked at the output of cpu spy and it seems it's a little too aggressive :p (pretty much mostly only using either 100 MHz or 1000 MHz ^^ )

but this also should give good results since it's always trying to clock down or up pretty fast and thus doing what it's supposed to do in the least amount of time

Thanks !
[Galaxy S I9000 Android Development] lippol94:
@currydude: Did you OC/UV this kernel?

If yes can you tell me your settings? Cause phone is getting very unstable with pretty all my configurations :p
[Galaxy S I9000 Android Development] thunderteaser:
After upgrading to twoface I can't see UV settings in Voltage Control, I can only select 1000, 1200 and 1300. Is there something I'm doing wrong?
[Galaxy S I9000 Android Development] currydude:
ok

Mhz/mV (These are the settings I have used ever since I first got my phone, I never really bothered to try anything else)

1200/1325 -25

1000/1200 -50

800/1125 -75

600/1050 -100

400/950 -100

200/825 -125

100/825 -125
[Galaxy S I9000 Android Development] lippol94:
I've noticied that it lags a lot without an OC! :\

But I can't find a stable UV setting! Is anyone using Zach's kernel with OC/UV? May you suggest your config?

Thanks :)

EDIT: Thanks currydude! Gonna try :)
[Galaxy S I9000 Android Development] currydude:
Try Pimp My CPU

I've only had luck with Voltage Control in the past (with Samsung custom ROMS)
[Galaxy S I9000 Android Development] currydude:
Good luck :)

Remember to stress with games (such as Dungeon Defenders, Asphalt and NFS)
[Galaxy S I9000 Android Development] zacharias.maladroit:
:p

yes

but not exactly in that order - are you ?

it's not the kernel's name but the account name the kernel was created from on the host system
[Galaxy S I9000 Android Development] domy1985:
2.6.35.7-g8b66415-dirtymatthias@lupus#1

this is what i see
[Galaxy S I9000 Android Development] zacharias.maladroit:
is correct
[Galaxy S I9000 Android Development] dehem333:
Latest kernel working great! , thanks.

1 bug for me , when I try acces the battery use under ''about phone'' I see nothing at all. Anyone else?
[Galaxy S I9000 Android Development] zacharias.maladroit:
works for me

thanks for using & your feedback ! :)

you applied the latest system update/snapshot from today

before applying my kernel ?
[Galaxy S I9000 Android Development] dehem333:
Oeps , reboot solved the problem strangely enough.:p

Thanks!
[Galaxy S I9000 Android Development] cooldfuzion:
my wifi connection is not working proprely with this new version of the kernel
[Galaxy S I9000 Android Development] dcarr622:
Same thing, b version is just the version for the GT-I9000B model of phone.
[Galaxy S I9000 Android Development] cocchiararo:
its not the same thing

309b is a new compilation made after they noticed something was wrong with 309 and the wifi fix had not been included.
[Galaxy S I9000 Android Development] dcarr622:
Okay that's very confusing...where did you read that explanation?
[Galaxy S I9000 Android Development] BL4zD:
"dirty" just means changes have been made to the source and committed back.

do you prefer cfq over noop? noop was designed for flash so I use it, but I haven't done any extensive testing to determine performance benefits.

Would you please include IKCONFIG and IKCONFIG_PROC into your kernels so those of us interested can see what the kernel configuration?
[Galaxy S I9000 Android Development] sewe:
@zacharias.maladroit

When I look into the voodoo app under about-Voodoo sound improvements it says kernel driver version 2

isn´t suppose to be version 4 and version 2 on colour
[Galaxy S I9000 Android Development] cocchiararo:
I read somewhere that noop is not that usefull because nand controllers on these devices try to imitate spinning drives, so noop ends up being worse.
[Galaxy S I9000 Android Development] domy1985:
I have a heavy battery drain! Lost 40% over night! Is it kernel or rim related?
[Galaxy S I9000 Android Development] melorib:
Battery drain:

Over night with standard kernel (last ROM)

Drain 10 hours 20%

Mobile standby 65%

Display 25%

Over night with Bilboa's kernel (previous ROM)

Drain 10 hours 13%

Mobile standby 35%

Display 35%

Will try yours tonight...
[Galaxy S I9000 Android Development] domy1985:
ok thx :) the drain is amazing
[Galaxy S I9000 Android Development] ickyboo:
For some really odd reason my phone doesn't charge with this kernel : CM7_SGS_kernel_kang_20110309_20_update_radio-deact_flags.zip

I plugged in charger before going to bed at 72% , woke up with it still on 72% with everything saying its still charging.
[Galaxy S I9000 Android Development] zacharias.maladroit:
it's more close to or at b09/03

don't know if upstream kernel includes newest fixes for setting the cpufreq controller from userland

it includes the wifi fix

the wifi fix is included in this kernel

I'm currently using simple i/o scheduler - that's more close to noop but with less (or no) merging - so it should offer maximum speed

if you see anything slowing down or worse - let me know - in that case I'll switch to CFQ (which includes some fixes & improvements and should work great - haven't tested though)

will do in one of the next kernels

currently I'm still testing with some flags and want to be sure that they are stable & safe when "sharing" them

it's really voodoo sound version 4

and this already has been posted before

if you're running "voodoo app" and "voodoo control app" you once see version 2 and once version 4

so it doesn't matter - it's just a cosmetical issue

voodoo sound is at V4

if you see anything worse with simple i/o scheduler (current default, pretty similar / close to noop) - let me know

I'll switch to CFQ then

this should be happening with the previous kernel not with this one :p

you noticed anything suspicious in the logs ?

what does spare parts say about "battery history" and partial wakeups, cpu usage, etc. etc.

what is activated ?

wifi, umts, etc. etc.

thanks ! :)

probably a upstream kernel bug (not related to my modifications)

look in the CM7 thread - there have been reports of this behavior

best bet would be to remove the charger & turn off the phone or reboot

and try again

after that it should work

FYI:

the newly included cpufreq switcher script will stay on your system

so if you update your system or kernel - future (or other) kernels should also profit from those power-saving when the screen is off
[Galaxy S I9000 Android Development] zacharias.maladroit:
* platypus_kernel_kang_20110310_18_update_FM-radio-deact.zip (4.27 MB) [testing]

md5sum:

016045a7c4aaf80e35987c50f048d364 platypus_kernel_kang_20110310_18_update_FM-radio-deact.zip
[Galaxy S I9000 Android Development] thunderteaser:
Wait, I can see them now... -.- I'm going to try Pimp My Cpu anyway!
[Galaxy S I9000 Android Development] currydude:
Haha :P It's easier to use IMO, even if I were to move back to using Samsung ROMS (Highly unlikely, I'm totally loving MIUI/HTCSense/CM7 support atm)
[Galaxy S I9000 Android Development] lippol94:
Thankyou! :) Of course! 9 / 10 the phone doesn't freeze on CPU stressing but on GPU :p
[Galaxy S I9000 Android Development] currydude:
Yea LOLS There are so many people using TKGlitch's kernel with overclocks of up 1.6Mhz! that is just crazy LOLS I need my phone to last at least another year and I can just imagine what the battery life would be like. 1200Mhz for me has always been the perfect speed, nothing more, nothing less (unless I'm idling of course) :P
[Galaxy S I9000 Android Development] lippol94:
Totally agree!!!! :)

To me just 1,44 ghz is TOO HIGH! It's just for fun.. but how can you imagine to use your device at 1,44hz!! :eek: It's a fireball in your pocket! In addition it's gonna be summer in a few weeks :p Galaxy S need some cool too !

EDIT: Holy crap it froze! GRR! Gonna give 1200mhz more Volts -.-'
[Galaxy S I9000 Android Development] runedrune:
i hardly ever run my phone at anything but the stock speed :p
[Galaxy S I9000 Android Development] currydude:
LOLS winter for me but yea 1.44Ghz seems too much of an overclock for me (44% overclock ... that's absurd for a device with no possibility of water cooling) :P and how are my settings doing?

Damn LOLS
[Galaxy S I9000 Android Development] lippol94:
Read the EDIT before :p
[Galaxy S I9000 Android Development] webstar1:
Does this kernel have the new update to cm7 which fixes battery drain?
[Galaxy S I9000 Android Development] currydude:
Already did LOLS
[Galaxy S I9000 Android Development] lippol94:
Yep :)

10chars
[Galaxy S I9000 Android Development] currydude:
I was under the impression that it was ROM related o.O but then again only codeworkx/zach can answer that :P I'm just a simply minded newb

EDIT: Read zach's reply below LOLS.... He has implemented the awesome battery drain fix :P
[Galaxy S I9000 Android Development] thunderteaser:
I saved a profile in Pimp My Cpu with your name! Great settings so far! ;)
[Galaxy S I9000 Android Development] zacharias.maladroit:
of course :)

it's not a complete fix yet

step-by-step WIP
[Galaxy S I9000 Android Development] currydude:
I'm glad it's working for you "so far" LOLS
[Galaxy S I9000 Android Development] thunderteaser:
Heheh! Just out of curiosity, which governor have you set? I'm using ondemand.
[Galaxy S I9000 Android Development] zacharias.maladroit:
you need to set it in

/system/etc/init.d/90screenstate_scaling

AWAKE_GOVERNOR="conservative"

to

AWAKE_GOVERNOR="ondemand"

after that reboot

otherwise it will get reset to conservative or depending on the priority of the config/init script set by Pimp My CPU it may stay
[Galaxy S I9000 Android Development] thunderteaser:
Ok, I'll do that! Thanks. :)
[Galaxy S I9000 Android Development] currydude:
I left that alone, using whatever zach's kernel is using lols. Which I think is an optimised conservative governor that acts like ondemand
[Galaxy S I9000 Android Development] freshprince_776:
Hey,

Thanks for your work!

I just got one question:

I flashed the "TwoFace" Kernel wie CWM and replaced it with the Standard CM7 Kernel. Now i Got TwoFace running together with Miui. Is the TwoFace Kernel enough to Fix the Batterydrain or do I have to make this other a bit difficultier thing, too ? :D

P.S: Sorry for my English.. Im from Germany.

Thanks.
[Galaxy S I9000 Android Development] zacharias.maladroit:
Hi guys,

could anyone please do a nandroid backup & try out the following script in the attachment ?

it's supposed to remove

S_volt_scheduler

S90scheduler

S99finish

89system_tweak

90screenstate_scaling

so in a nutshell:

- my init scripts

- the OC/UV script

- and some other scripts

to get a clean state when updating a kernel

1) do nandroid backup (just in case)

2) apply it via CWM/Recovery

3) reboot: governor (afaik) should now be on ondemand (default governor from kernel set)

I'll try it out myself later tonight - currently I'm using my phone - lol

thanks !
[Galaxy S I9000 Android Development] alihaydarf:
I have tried your script removal zip and I think it works, flashed tk's kernel and everything seem to be working
[Galaxy S I9000 Android Development] xdaalmar:
with twoface and miui rc6 I got the same problem of phone rebooting when answering a call. I have another issue, is that the phone is not working well after unpluging from the computer.
[Galaxy S I9000 Android Development] zacharias.maladroit:
thanks for your report xdaalmar !

the bold marked text is too unspecific

need moar infoZ :p
[Galaxy S I9000 Android Development] arcardinal:
I downloaded and ran the script removal package on my captivate, and it worked exactly as stated.

Also, I was wondering if we can expect an updated kernel for the captivate with working soft keys. I was one that tried the two face edition, and they were not working.
[Galaxy S I9000 Android Development] Mercury0660:
I have to say, this one is running great for me, no reboots so far. Like the early ones.
[Galaxy S I9000 Android Development] kanasai87:
i got reboots issue also.running miui rc6 with twoface