yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] omongo:
TEUV-S22-04102011.zip

Original 98tweak init script

# cat /proc/sys/vm/dirty_ratio

4

# cat /proc/sys/vm/dirty_background_ratio

5

Move it to somewhere, then reboot (show default value)

# cat /proc/sys/vm/dirty_ratio

4

# cat /proc/sys/vm/dirty_background_ratio

5

Move it back, apply this patch, then reboot again

--- 98tweak.orig	2011-09-29 17:24:19.000000000 +0700

+++ 98tweak	2011-10-05 13:03:17.321184291 +0700

@@ -11,6 +11,6 @@

# Tweak background writeout

echo 500 > /proc/sys/vm/dirty_writeback_centisecs

echo 50 > /proc/sys/vm/dirty_expire_centisecs

-echo 4 > write /proc/sys/vm/dirty_ratio

-echo 2 > write /proc/sys/vm/dirty_background_ratio

+echo 4 > /proc/sys/vm/dirty_ratio

+echo 2 > /proc/sys/vm/dirty_background_ratio

New 98tweak init scirpt

# cat /proc/sys/vm/dirty_ratio

4

# cat /proc/sys/vm/dirty_background_ratio

2

:D
[Nexus S Android Development] albundy2010:
Just flashed 410 tuev so I can't comment on the battery life but sure as hell feels like the fastest tuev I have ever used by far.

Man this kernel is super fast with I/O stuff. Loading up .docs with documents to go faster than any kernel at any speed before. Same for PDF files. It feels like a jump from a standard laptop hdd to a ssd drive.
[Nexus S Android Development] italia0101:
Is the 410 teuv better that the teuv on the website for download?
[Nexus S Android Development] Bamdroid:
I'd have to say so. Plus its one snappy *****. However I've tried everything prior to 2809 TEUV including the special edition but not the version on the website/2809. I don't think you'll be disappointed.

私のネクサスSから送ら
[Nexus S Android Development] italia0101:
few questions is it still 880mhz and 220?

and also whats the best way to go from the kernel i have now to the one you recommend? im on teuv from website with stock rom

obv without losing data
[Nexus S Android Development] ranasrule:
Ive never used your kernel....how does it compare to Matrix 8.0 cfs ??? what are the main differences/advantages
[Nexus S Android Development] gotjazz:
Hrm no wlan with teuv0410 for me.

Edit: 1ghz?
[Nexus S Android Development] simms22:
trinity is a set of performance kernels, even the battery saving versions tend to kick some ass. its meant to get the most out of your device :)

---------- Post added at 10:46 AM ---------- Previous post was at 10:46 AM ----------

teuv is 880mhz. tuv is 1ghz.

---------- Post added at 10:49 AM ---------- Previous post was at 10:46 AM ----------

880/100 is where you want to be. try the teuv-s22 that morfic posted yesterday http://goo.gl/sVwz4
[Nexus S Android Development] italia0101:
Just flashed that one thanks :-) so far great performance and no issues!
[Nexus S Android Development] gotjazz:
That's why I was so suprised. But nevermind - accidentally flashed the wrong file :D
[Nexus S Android Development] melvinchng:
Nice kernel... do freeze when I use on demand for gaming. But not lazy.

Accidentally sent from my Google Nexus S using XDA Premium
[Nexus S Android Development] treUse:
I've encountered something rather strange using T144, probably my favourite kernel.

When playing games such as Cordy, the performance is great, and I've yet to encounter a crash. Then I tried They Need To Be Fed, which arguably runs better than Cordy, at least on a 1 ghz kernel. The problem is 8/10 times trying to start TNTBF crashes the phone. First I thought this was due to the high bus speed, but when Cordy works I got kind of confused...

To sum it up, T144 never crashed unless I try to start TNTBF, which works on other kernels, why?
[Nexus S Android Development] dario3040:
Probably isn't entirely stable, the same happened to me when I was using the T154 kernel.

You can try T13, or another T144 kernel.
[Nexus S Android Development] morfic:
Thanks for continued quality control.

Will fix it when I get home.

Copied too much out of my init.rc (which anykernel doesn't use anymore)
[Nexus S Android Development] droidance:
Is TUV11 gone forever? :(
[Nexus S Android Development] simms22:
no.. this fabelwesen will rise from the ashes to be reborn as our Phönix :)
[Nexus S Android Development] SA-07:
Faux the phoenix!!! ;)
[Nexus S Android Development] belair56:
Nice
[Nexus S Android Development] simms22:
you caught me
[Nexus S Android Development] gotjazz:
Woah the 0410 teuv uses less battery in standby than any other kernel I have ever tried. Whatever changed between the last "wasteful" teuv and this: would a tuv equivalent make sense? And if so: pretty pretty pleeeeaaase?
[Nexus S Android Development] ellesshoo:
What's the consensus on that V6 superscript? Anyone using it? Is it good/bad with Trinity Kernel?
[Nexus S Android Development] dario3040:
To be honest I didn't even notice any difference when using it.

Probably because it mainly is for low ram phones which kill the launcher.
[Nexus S Android Development] r0adki111:
The latest teuv 0410 s22... well it is ****ing ridiculous! My phone didn't even use 1% with the screen off in 5 hours last night. No, it was not in airplane mode. Thank you, thank you. Amazing!! These kernels just keep getting better.

What's next? A kernel that doesn't even use battery? Battery optional? Haha!

Oh, and not one reboot, freeze up, or radio dump since I switched to teuv kernels a month ago or so. It's like I can't get the phone to screw up even if I try.
[Nexus S Android Development] Roscopcoletrain:
You guys are really tempting me to try one of these again. Hmmmmmmmmmmm
[Nexus S Android Development] Ezekeel:
Unfortunately this is not possible, but I am currently working on a kernel mod that will allow you to reprogram the mobile radio chip thus being able to induce a current by capturing mobile radio waves and feed that back into the max8998 power chip. So you should be able to charge the battery essentially by leaching the energy from the next cell phone tower. It is still highly experimental and needs a lot of work, so I do not expect it to be finished earlier than April next year.
[Nexus S Android Development] simms22:
that would be just awesome, and you would be king :cool:
[Nexus S Android Development] dario3040:
O___o errrrrrrrrr....
[Nexus S Android Development] dsellers2:
Which rom do you use. I'm curious. I know teuv is awesome but the latest kang is still eating battery. 5 percent over night which is awesome but mainly cause the kernel.
[Nexus S Android Development] dsellers2:
uh the induction of the current Would consume more current to induce than it would receive. Note using the regenerative motor of the vibrator somehow to get the current and pass off would be sweet. Probably same problem though. Cool as hell in theory though.
[Nexus S Android Development] dsellers2:
Essentially a program running to keep the radio constantly capturing the frequencies to induce a current if even possible would far out weight in battery consumption you would gain from induce.
[Nexus S Android Development] Bamdroid:
I would like a kernel to make me nachos.

私のネクサスSから送ら
[Nexus S Android Development] morfic:
Around the first of the month?
[Nexus S Android Development] simms22:
and guacamole..

morfic made this tasty-looking guacamole :)
[Nexus S Android Development] morfic:
Yes.

But keep an eye out for T11. ;)
[Nexus S Android Development] r0adki111:
:eek::eek::eek::eek::eek::eek::eek::eek::eek: :cool:

I'm on Brainmaster's latest Miui with UD launcher.
[Nexus S Android Development] Igotsanevo4g:
I sense a whole lot of sarcasm here lmao
[Nexus S Android Development] morfic:
http://www.derkernel.com has latest 0510 builds.

This means all speeds have the 0410 S22 changes.

And i added Ezekeels minor touch wake bug fix.
[Nexus S Android Development] Maximilian Mary:
For the less resourceful souls, would you mind replacing /simka/ with /NS/ in the links?
[Nexus S Android Development] simms22:
you cant replace simka :eek:

but you cant download t1544-s22 without the NS either ;)
[Nexus S Android Development] Maximilian Mary:
Simka breaks things. :rolleyes:
[Nexus S Android Development] morfic:
goo.gl left me a little present on this recent "internal error". all good now

all the "links not working" emails poured in when i fixed the last link ;) thanks
[Nexus S Android Development] Serious_Beans:
I haven't had a Nexus S for a while and now that I get to use your kernels for it, all I can say is WOW, amazing kernel, amazing speed with your TEUV kernel, guess the increased bus speed makes a difference, hope you plan to develop for the Nexus Prime, your kernels are the best.
[Nexus S Android Development] morfic:
I'm not on Verizon, and even when it hits TMO bands, i probably won't have the funds for it.

Do i want to work on it? That would be pure rhetoric ;)
[Nexus S Android Development] corythug:
I'm using tuv 10 on brainmasters miui, wondering if tuev newest is just as snappy to anyone who has used both. Thanks :)
[Nexus S Android Development] Bamdroid:
All we need now are the chips!

私のネクサスSから送ら
[Nexus S Android Development] r0adki111:
I haven't used tuv 10 in awhile, but I can say that once I went to teuv, I never looked back. Super snappy and battery lasts forever.

Don't be scared, flash it! What's the worst that can happen?
[Nexus S Android Development] Serious_Beans:
I just came from a G2x and it was overclocked to 1.2ghz and it doesn't feel half as fast as the Nexus using TEUV, I can't believe this thing is running at 880mhz, no lag at all, especially if you set animations to fast. Definitely use TEUV.
[Nexus S Android Development] melvinchng:
It is very excellent for me. Feel it is faster

Accidentally sent from my Google Nexus S using XDA Premium
[Nexus S Android Development] corythug:
Thanks fellas :) next miui update ill flash the newest teuv along side.
[Nexus S Android Development] zyonee:
Edit: Oops. Never mind.
[Nexus S Android Development] :
There was this guy in the UK who lived near a radio tower and put a bunch of transformers in his loft, but got caught by the police because his house cast a radio shadow

Sent from the future to put right what once went wrong.
[Nexus S Android Development] Roscopcoletrain:
sigh..wish I knew why some people can get such great battery life. Only thing I can figure is my poor reception makes it worse.

Battery is at 80% now. 0410 teuv
[Nexus S Android Development] bringonblink:
sounds crazy 0.o
[Nexus S Android Development] melvinchng:
Na, it isn't crazy at all... just Google it and you will find a lot of related informations... it is possible to do so.

Accidentally sent from my Google Nexus S using XDA Premium
[Nexus S Android Development] GeezyAF:
That's probably why. The radio can drain the battery pretty quickly if it has to keep looking for a signal.
[Nexus S Android Development] corythug:
Yep, my battery is great when I'm out and about, when I'm home with no service its about 7 to 10 percent drain and hour sitting idle.
[Nexus S Android Development] ellesshoo:
Get a femtocell for your home, problem solved.
[Nexus S Android Development] Roscopcoletrain:
I bought a few spare batteries & extra charger. Probably cheaper route vs femtocell lol
[Nexus S Android Development] graphreak:
:eek:
[Nexus S Android Development] Roscopcoletrain:
I didnt just buy them :p

Bought them months ago when I first got my NexS ;)
[Nexus S Android Development] simms22:
for about the same time period as you, TEUV-S22-04102011. and my phone was awake much more than yours. looks like you have something keeping your cpu at 400mhz too often. do you use a screen off profile? i do not.
[Nexus S Android Development] Roscopcoletrain:
Yeah I tried doing a 100-400mhz screen off. You also have a lot better signal then me
[Nexus S Android Development] simms22:
dont do any screen off profile. thats why its spending a lot of time at 400 instead of 100.
[Nexus S Android Development] Roscopcoletrain:
but if its 100-400, why would it still not go to 100?
[Nexus S Android Development] simms22:
just the way it is :p

try it without a screen off profile and let me know. i was using my phone the whole time, listening to music, and it still managed to stay at 100mhz most the time.
[Nexus S Android Development] Roscopcoletrain:
I just flashed 216. I'll toss the new 0510 880 on and see what happens.
[Nexus S Android Development] Serious_Beans:
You using the lazy governor?
[Nexus S Android Development] thedudejdog:
The 0510 teuv runs great for about 2 minutes on my ns4g. Then locks up everytime. Every teuv kernel locks

up after a little while. Loving 0510 tuv though. Seems my phone can't handle the higher bus speeds.
[Nexus S Android Development] simms22:
yes, the lazy governor.
[Nexus S Android Development] gotjazz:
Yeah it seems Setcpu finding out if the screen is on or off takes more juice than a screen off profile saves
[Nexus S Android Development] igor.tonky:
some thoughts on 'conservative' governor

well, for starters - thanks morfic for kernel and tweaks, and ezekill for mods and 'lazy' governor, you guys are great!

now, so everyone thinks 'lazy' is the best for battery life and speed? :) well, allow me to try to convince you otherwise!

my phone daily usage - 30-50 minutes screen on with browsing and messaging, and about an hour listening to music. on top of that i'm running latitude, which adds about 20 minutes a day of screen-off activity(tip: disable gps, if you're using latitude!! it tries to use gps even with screen off, wtf!).

so, to summarize - about 40 minutes screen on, 90 minutes screen off, daily.

my problem with interactive, ondemand and lazy: they _always_ use some portion of highest available frequency, even if phone is doing nothing with screen on, or playing music with screen off.

check the SetCpu -> info -> time in state on idle freqs. you will see that.

i hate it with passion! :) untill we got ourselves nuclear batteries, that last for a week - i don't want my phone to use high freqs on light load.

so my quest was to find(or try to create) the governor and tune it, so it would use only low frequencies on light load, quickly ramping up to max when needed.

and i think i found the solution. ladies and gentlemen, allow me to introduce you to the governors underdog: 'conservative'!

get the SetCPU, read the governor description, and let's go tweaking it:

my goal was to tweak it to use as much low frequencies as possible, when under typical low load - listening to music.

i achieved this by starting music, tweaking params in setcpu -> advanced tab and watching 'time in state'. values of like 80% up threshold, 40% down threshold and 5% frequency step work just fine.

the problem at first was, that if wasn't responsive enough, when i couldn't get lower that 80K in samping rate on trinity. so i asked morfic, and he sure delivered!

while 10000 would be too much, 15000 works just fine for me.

so, setting these and watching 'time in state' with music on, i got satisfying 80% on 100K freq, and about 20% on 200K. there was absolutely no higher freqs usage. i'm very happy now.

bonus point is that now i can run T154 and not worry, that it will eat my battery, i know phone would only hit it when it is actually needed.

here's my today's usage of T154: https://lh5.googleusercontent.com/-...e1zX90hndws/s720/screenshot-1317926808080.png

62 minutes of music, 44 minutes of screen on time. as you can see - phone only spent total of 2 minutes in 1544MHz, so running T154 gives me all the speed, when needed, without the drain.

and a comparison of TEUV on lazy vs conservative, each playing about 6 minutes of music with screen off.

do you want your phone to spend 11.6% of time on highest available frequency? i sure don't!

i find responsiveness very good. play with it and tell me what you think. happy tweaking! :)

TL;DR: try 'conservative' governor with these params and you should have almost the same responsiveness with battery gain:

sampling rate - 15000

up threshold - 80

down threshold - 40

freq step - 5
[Nexus S Android Development] jm9843:
The link for T1544-S22-05102011 (1.54GHz with 220MHz bus/gpu) is broken.
[Nexus S Android Development] gotjazz:
Hrm might actually change back from lazy to on demand. Lazy isn't always quite as smooth (launcher pro app-drawer)
[Nexus S Android Development] Royvin:
Does anyone have this kernel that would upload and share?:(
[Nexus S Android Development] superfloup:
Here is the good link : http://tinyurl.com/5wgqcws
[Nexus S Android Development] simms22:
http://morfic.euroskank.com/NS/T1544-S22-05102011.zip

you had to change the simka to a NS.
[Nexus S Android Development] Royvin:
Thank You Very Much!!!
[Nexus S Android Development] Ezekeel:
Turns out, drawing conclusions regarding the battery life solely based on the times the CPU spends in the different frequency states is not a valid approach. See for more details: http://xdaforums.com/showpost.php?p=17923862&postcount=22

Sorry, it was not my intention to mislead anyone. I am still learning new stuff every day.
[Nexus S Android Development] italia0101:
What are your guys "time in state " for teuv latest one

Mine has

53% at 880

11% at 800

6% at 400

5% at 200

24% at 100

Battery is currently 16%... 14 h up time with display on for 3h
[Nexus S Android Development] morfic:
Remove the screen off profile.

your 400MHz amount is too high.

if you don't use phone much you should see 75-80% in 100MHz and 10-15% in 880MHz, rest spread over the middle batch.

IF you disable screen off profile and your 880MHz goes up instead of the 100MHz, then you have a bad bad consumer/app.

If you suffer from bad reception, turn off things like auto market updates.

RomManager still does this to me every once in a while when i forget to uninstall it.

Then the battery drains quick because it can't finish the updates and keeps trying and trying and trying.

I have never seen market as culprit in the battery usage when i know it hung.

It has to happen only a few times before the connection can be made.

gtalk is a bad one too, if it loses connection and tries to reestablish it.

bad reception is far worse than overclocking to battery life.

tonight, put it on your desk w/o charger in airplane mode

it should have dropped only a few %

if you rely on it as alarm clock and have no spare battery/phone, do this over the weekend.

do you see any consumer in spare parts? or any other battery monitoring apps? (and don't monitor too long, some battery monitors love to guzzle the juice)

EDIT: I will refer to your pie chart as a prime bad example. you see that, and noone else gets those, you have a rogue app burning up your juice.
[Nexus S Android Development] barnacles10:
Morfic. Great kernels. Thanks.

I will thank the post above because I'm lazy. =P
[Nexus S Android Development] droidance:
Do you mean 'auto market updater' as in disable 'Market Updater 1.0' from Titanium Backup?

I disabled it and deselected all apps from automatically updating but I still have Market running when I reboot.
[Nexus S Android Development] ragnarokx:
Damn just got my first reboot in two days on TEUV-S22-0410. Was playing Pandora and had a phone call come in, perhaps too much to handle with such little juice? Oh well, that scenario shouldn't happen too often so I'll continue testing and hope for continued day-to-day stability :)
[Nexus S Android Development] melvinchng:
Teuv latest discharge rate is not as good as I thought.

Average-ly used 5mA/5 minutes in airplane mode for 7 hours...

Tuv was giving -1mA/5 minutes.

Accidentally sent from my Google Nexus S using XDA Premium
[Nexus S Android Development] Serious_Beans:
I'm pretty happy with my battery life, at 25% and about 14hrs of moderate use. That's good to me.
[Nexus S Android Development] Roscopcoletrain:
Thanks! I disabled the screen off and gave it a try. Much better pie graph. Not sure I'm gonna stay on the tuev though. for quick use, works great, but when I get doing something, things get a bit choppy.

I flashed back to stock nightly late last night. And of course, phone was in dim screen bootloop. Thats what I get I guess :p

Will decide between the 1 or 1.2 today. Of course I want the good battery life, but I want things working quickly.
[Nexus S Android Development] kecinzer:
Why is BLN on by default? I don't want to instal BLN app to turn it off. Can I turn it off somehow else?
[Nexus S Android Development] shubu000:
Try teuv with ondemand, sampling rate of 15000 and an up threshold of 98. Learnt this from simms i think tuev is pretty snappy like this even for gaming
[Nexus S Android Development] noobiekins:
It is off by default. If you have a rom such as MIUI that supports bln, it'll probably be enabled by default. If you have a rom such as CM7 or stock android, it wouldn't
[Nexus S Android Development] ellesshoo:
But then you gotta do that for everyone new phone, spouse / whoever phones, etc.. I'm a big proponent of spare batteries + spare battery charger so a actually I have no room to talk I guess. I work in a multimillion dollar robotic lab for a big company and our building is like a Fort Knox black hole for radio signal. It's down right brutal on the cell phone batteries. We recently put in a few femtocells from AT&T and VZW and it has made all the difference. They cost less than most phones. If my house had poor reception I wouldn't blink twice before ordering one. Really, it's a HUGE difference.
[Nexus S Android Development] ellesshoo:
I often think that us Trinity users are overly focused on CPU battery consumption. Unless you have a bad apples that's causing it to spend an extreme amount of time at high frequency the cpu hit on battery life absolutely pales in comparison to the display, 3G radio/data, and 3G phone calling. For display you can use a red / amber (night mode) renderFX setting along with tweaking brightness levels to save considerable battery when the display is on. Dropping to 2G when the screen is off and/or turning mobile data off/on intermittently while screen is off is huge for battery savings. This can easily be automated through Tasker (especially cool with your own NFC tags), or some market apps (ie. Juice Defender, Green Power, etc).

Well thats my opinion from my long android experience anyway. TIFWIW.
[Nexus S Android Development] desireboss:
Currently running TEUV 08092011 on Oxygen 2.2.2...

About phone -> Status -> Uptime just hit 400 hours which is over 16 days :D

I guess thats what you call a stable kernel! Many thanks to all involved in this kernel!
[Nexus S Android Development] melvinchng:
Back to tuv... teuv give me a lot of freeze...

And Samsung delayed the nexus prime launch date... disappointed!

Accidentally sent from my Google Nexus S using XDA Premium
[Nexus S Android Development] Babydollll:
Sensation kernel? Really? Yaaaaaaaaaaaay!!! :D :D

Pipsqueak approved this message.
[Nexus S Android Development] Roscopcoletrain:
My house is actually pretty good. Its my work that sucks. Its not really that big of a deal. I sit at a desk, i have a wall plug handy for top ups. Thankfully the phone charges pretty quick. And I dont make a lot of phone calls on it.
[Nexus S Android Development] simms22:
do you use quadrant standard or advanced? if you use advanced there is a breakdown of scores below the bar graph.
[Nexus S Android Development] morfic:
Do you have quadrant advanced?

Standard is not very useful when all you see is a summary.

It is nice to see all individual scores, CPU, MEM, IO, 2D, 3D

And see which is quicker where.

The fps differences look about right clock for clock.

Sent from my NookColor
[Nexus S Android Development] simms22:
haha.. beat you to it old man :p
[Nexus S Android Development] BrokenWall:
No I don't have Advanced, im trying to see the difference.

I do notice though that the performance in SmartBench appears to be more even clock for clock.

Is there any changes to the RAMDisk that you are making that improve performance?
[Nexus S Android Development] morfic:
Yes, there are a few vm tweaks and usually an oom_killer adjustment.

Sent from my NookColor
[Nexus S Android Development] Bestplayer55:
i am havin like 5 bootloops any time restart the phone, and this make Error on WIFI. i am using miui rom with any Morfic kernel... :( im using 1.44 kernel. what can i do?
[Nexus S Android Development] treUse:
Your phone can't handle that kernel, try 1.2 or 1.1 instead.