yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] melvinchng:
I have -9ma/5 minute on 9/8 uv11 kernel...
[Nexus S Android Development] simms22:
i abuse my phone, so i dont say that i have fantastic battery life. but, relatively, i do for as much as i use the phone. im an extremely heavy user. for the amount i use my phone i get great battery life. i can pull off 8-13 hours with extreme usage using the tuv11 kernel. btw, i dont enable notifications for any apps besides for gtalk and gmail. i also dont use autobrightness.
[Nexus S Android Development] shubu000:
i'm on tuv13 right now, so maybe that's part of the problem.

i can't get it down to -1ma even though i'm in deep sleep

that's why what settings you have to get it down to that level

so does your gmail notify you everytime there is new mail?
[Nexus S Android Development] Maximilian Mary:
morfic presents...

Trinity, custom tweaked for the NS4G. Now, with one more G. (early testing version)

Edit: That test is done. Buh-bye.
[Nexus S Android Development] Bamdroid:
Not even for texts? I take it you manually brighten your screen or using the slide option?

Btw.

TUV11 must've broken my nexus s. For some odd reason I'm getting quad scores like 3988. Wtf?! ;-)
[Nexus S Android Development] HareyCarey:
S10...reminds me of Chevy...
[Nexus S Android Development] HareyCarey:
I'd love to see your expression if you got the 2800s that I get with all kernels
[Nexus S Android Development] GeezyAF:
Same, as I drive one. A '01 ZR2. :D
[Nexus S Android Development] simms22:
yea, my gmail and gtalk notify me. and i hardly ever text(no one to text with me), like 10 a week. i keep my screen on 0% all the time. with the super amoled screen, visability is alway good, even outside.

oh, and i wouldnt say that your ns is broken. id say its fixed :p
[Nexus S Android Development] dsellers2:
I don't thinks his battery life is any better than anyone else's its just his phone is going to sleep as it should. When the phone is awake it's hogging that battery just as usual. I've just noticed either latest Langsdorf or Nordics latest kernel has been going to sleep as it should when the screen is off rrlesulting in the -1 ma current consumption. Just last kernel I was averaging 25 to 50ma while on sleep, the latest is 4ma for me.
[Nexus S Android Development] HareyCarey:
http://db.tt/qY9h1Q4

This is the "mount" command in terminal emulator. Still getting half the I/o as everyone else lol so maybe this will shed some light
[Nexus S Android Development] morfic:
Can you pull it?

pfft, like i can't just make the file be gone :P

n/m :)
[Nexus S Android Development] morfic:
New 4G kernels in OP.

Yes they work on all NS.
[Nexus S Android Development] simms22:
try this in the terminal..

su(press enter)

mount -o remount,noauto_da_alloc /data /data(press enter)
[Nexus S Android Development] morfic:
Do what simms22 showed you, and WHAT ROM IS THAT?

cm7 includes what simms22 has for you to test.
[Nexus S Android Development] cheech87:
Can't get past your splash screen with the new (aug-11) tuv11 on cm N159. was able to use your previous tuv11 kernels without any issues.
[Nexus S Android Development] morfic:
http://goo.gl/j8FYI try this TUV11, recompiled with lowered voltages
[Nexus S Android Development] shubu000:
just wondering morfic is this new kernel for everyone or just 4g?
[Nexus S Android Development] morfic:
Everyone, just that it works without the "love your kernel, but have no 4G" *sheepishgrin*
[Nexus S Android Development] cheech87:
That one boots, will continue to test (but have high hopes!). What did you change the voltages to?

Only change I made between the 1108 and 1108b was I deleted a fix perm log on my usb storage (should make no diff anyways).
[Nexus S Android Development] simms22:
all these test kernels will wipe your dalvik cache too, so expect long boot times.
[Nexus S Android Development] cheech87:
yes, I realize that. It wouldn't boot past the splash screen and would loop back to the beginning of the boot sequence.
[Nexus S Android Development] window7:
I would suggest you to back up your rom. And flash a new rom like cm7 and try it. If still the same, then, I have no idea anymore :)
[Nexus S Android Development] Maximilian Mary:
Simms, what's different in your kangs?

And how do you upload screen shots from your phone to twitgoo without spamming your twitter account?
[Nexus S Android Development] sinik420:
someone knowledgeable said this ;]

right. there isnt going to be any huge differences between the nightly and kang. only if there are some huge upcoming changes that could be added to the kang. about the stability , most likely placebo. but im wondering if being compiled on different machines could make any difference

sent from my nexus s on a kang from simms
[Nexus S Android Development] simms22:
theyre not my kangs, theyre mostly gearheadcustoms and Taichi. i just share them.

and i upload screenshots to twitgoo via the twidroyd app but never press share ;)
[Nexus S Android Development] simms22:
lol, that sounds familiar..
[Nexus S Android Development] sinik420:
Hahaha I was hoping you'd remember :p

sent from my nexus s on a kang from simms
[Nexus S Android Development] GeezyAF:
Reporting back that the tuv11 with 4g boots fine for me.

Regarding to the post that said they couldn't boot it.
[Nexus S Android Development] simms22:
there was a b version of tuv11 that replaced the original test version
[Nexus S Android Development] morfic:
I am certain it is the changes in the voltages back to pre-testing levels.
[Nexus S Android Development] cheech87:
Yeah, 1108b appears solid so far. Will bring up any major issues in the next few days, although I'll be surprised if any come up.

Thanks again for all your hard work!
[Nexus S Android Development] morfic:
Added today's build of XTEUV92 to OP. Also 4G fixed
[Nexus S Android Development] king23adrianc:
hey guys! if u want less battery drain, turn OFF auto brightness!!

before i get 6% drain/hr wifi on JUST idle screen off

now i m getting 2-3% drain/hr wifi on even with 20-30 texting in between =D

i guess the auto brightness sensor keeps running and running thats why!
[Nexus S Android Development] melvinchng:
I tried version a yesterday... no freeze at all.. good job!

Now trying version b...
[Nexus S Android Development] HareyCarey:
Should I be plugged in to try this? It did nothing when entered.
[Nexus S Android Development] brainmaster:
I am having troubles with the WiFi not working completely, i only got "error" on WiFi interface when I try to turn it on. Fixing permissions doesn't solve the issue.

Nexus S 9023, my MIUI ROM.

EDIT: Back on TUV11 26.07 everything works fine.
[Nexus S Android Development] HareyCarey:
Wtf?

http://db.tt/b5rKGhT

That was run on the 1ghz tuv11 you posted before the b version. The one you asked he pulled. My service worked on it first flash too...twilight zone, man..
[Nexus S Android Development] HareyCarey:
Update: Now trying out the b version of the latest TUV11 and my I/o is back down to the 5000 range. Maybe my phone doesn't like lower voltages on the upper end of the CPU speed spectrum?

Like you see in the post above, I am getting almost normal scores on the s10 at 1ghz with no voltage changes or not that low. Then up to 1.1ghz and lower voltage it produces lower numbers. Is it the speed or the voltage?

I made a backup before I flashed the new one. So I'm going back and I will run a few more quadrants just to see.
[Nexus S Android Development] morfic:
Remember the line that "did nothing" ?

It does not stick past reboot

your rom needs to include it into the ramdisk or you need to run a script doing that exact line after reboot

the noauto_da_alloc must show in 'mount' which it did not

cm7 includes it in the ramdisk, so no fiddling there, "it just works"
[Nexus S Android Development] HareyCarey:
I am not sure I am following you. I'm on CM7, so why wouldnt it be in there already? How do I run a script like that or add it to my current kang? I'm sorry if I get confused easily about the more intricate details quickly
[Nexus S Android Development] gotjazz:
oh - no oppenheimer on yesterday's kernels? Or did I do something wrong flashing? :D
[Nexus S Android Development] HareyCarey:
I didn't notice opp either. I kind of miss it, honestly.
[Nexus S Android Development] steve.garon:
Don't tell anyone... this is a good thing ;)
[Nexus S Android Development] sinik420:
Lol noooo I used to flash 1.5 first so I could get the quote

sent from my nexus s on a kang from simms
[Nexus S Android Development] sinik420:
If there is no audio file then it shouldn't erase it...or so I thought because I could flash netarchy or any other Trinity and still keep the quote

sent from my nexus s on a kang from simms
[Nexus S Android Development] melvinchng:
@ morfic

Which kernel has lower voltage?

090811 tuv11 or the 110811b?

Thanks.
[Nexus S Android Development] ellesshoo:
Been to busy to keep up with the topic for a few days. Morfic, if I remember correctly you mentioned building your kernel with a bit more conservative UVing for those of us having so much trouble with booting/freezing once you got your PC up and running. Any update on this? Older, not sure how much older, uv11 were more stable for more people, wouldn't mind giving up some rather insignificant mVs for stability/usability.
[Nexus S Android Development] RGX521:
Sorry about the noobish question, but is there anything special I need to do with Oxygen 2.2.1 for optimal results? For the record, I wouldn't know how to create a script which adds this line.
[Nexus S Android Development] simms22:
it was probably that ext4 script i had you run.
[Nexus S Android Development] simms22:
run that script that i posted with a newer trinity. it doesnt stick on reboot, you need to run it again after reboot. its strange that your phone isnt excepting it from cm.
[Nexus S Android Development] HareyCarey:
That is strange that it isn't accepting it from any rom that is said to have it.

http://db.tt/UZkBYeD

That is with the new TUV11. That is more like it. Lower memory but atleast it is averaging itself out now.
[Nexus S Android Development] HareyCarey:
I wonder if taking my phone back completely stock and rerooting and flashing everything would help?

Is there something I can add to a file or something I can flash that will run it on boot?
[Nexus S Android Development] simms22:
theres an app called gscripts that remembers the scripts that you enter into it. type that script into it. then everytime after boot, open the app and press on the script, it will run it. and no, dont reroot. that wont help you, and will just be a waste of your time.
[Nexus S Android Development] dario3040:
So...... You didn't need the post anyway?
[Nexus S Android Development] brainmaster:
Sorry, I must overred it - why shouldn't he put the script into init.d folder?
[Nexus S Android Development] simms22:
because he'll have to do it after every flash?
[Nexus S Android Development] brainmaster:
What is better - once after flash, or every time after reboot?
[Nexus S Android Development] HareyCarey:
How do I put it in init.d?
[Nexus S Android Development] HareyCarey:
Not that I don't trust your judgement Simms, but maybe every flash is better than every boot. And no ideas why my phone wont accept it from cm7? Where would I look to see if it is there?
[Nexus S Android Development] simms22:
good question.. for me, as much as i flash, it would be easier to just enter it into gscripts one time. then i could access it with the push of one button whenever i need it. i even still have it in my gscripts from the nexus s early days, when it wasnt included in anything.
[Nexus S Android Development] brainmaster:
Netarchy uses the same script in his kernel.

Make a file named 98tweak and put this inside the file:

#!/system/bin/sh

mount -o remount,noauto_da_alloc,nosuid,nodev,noatime,nodiratime /data /data

Then copy the file with the Root Explorer to /system/etc/init.d

Set permissions to 755 and reboot.
[Nexus S Android Development] HareyCarey:
What is the file called in init.d that has the script in it? It seems like my phone should accept it, no reason it shouldn't, right? Maybe I am getting incomplete downloads?
[Nexus S Android Development] HareyCarey:
Can I do all this using root explorer I.e make a file, set permissions?
[Nexus S Android Development] jungbum:
If you have a Root Explorer app, press Mount R/W, long-click init.d, select Open in Text Editor.

You should be able to add/edit texts and save.
[Nexus S Android Development] HareyCarey:
Okay, made the file and got the text in there...but how do I set the permission to 775? All the options are checkboxes.
[Nexus S Android Development] HareyCarey:
Nevermind, lol. I got it. I noticed it was a link just a minute ago.
[Nexus S Android Development] jungbum:
1) Press Mount R/W

2) Long-click init.d

3) Select Permission

4) Do the following:
[Nexus S Android Development] HareyCarey:
Thanks :) just noticed my typo of 775. It was 755. I got it now. I really appreciate everyone's help, seriously. I learn something cool everyday from here ;)

I'll click on some Thanks when I get back to the house to my computer
[Nexus S Android Development] jungbum:
No problem. It's very simple.

First box is 4, second box is 2, and third box is 1.

Sum three numbers up to come up with first number of the three, do the same for second and third line.

So if you wanted to set the permission to 755, you'd select all 3 for the first line (4+2+1), read and execute for second and third line (4+1).

:D
[Nexus S Android Development] Maximilian Mary:
morfic, could you add this to your update.zip?
[Nexus S Android Development] brainmaster:
Morphic made this already as part of his kernel, he is not doing that through the script.

Start Terminal Emulator on your phone, type "su" and then "mount", you will see that the noauto_da_alloc is part of the /data partition parameter.
[Nexus S Android Development] eduke:
believe me I've tried but not work. last kang, last nightly+ tuv11, frozen reboot reboot ... and so again and again ... back to matr1x ...
[Nexus S Android Development] morfic:
I had this once upon a time, but with anykernel I get what the rom has.

Instead of the script (I'll include it short term) I will add some awk action.

I need to modify the oomkiller values anyway.

When I included a ramdisk, ext4 mount improvement, oomkiller tweaks, writeback tweaks were all in the edited ramdisk.

Using awk I will add/modify the ramdisk, so I get what I want, not what the rom has.

Why ask you to install an app if it's a tiny modification to not let the phone stall out without a daily reboot?

This will all come, slowly but surely.

I eliminated the confusing "did dalvik really get wiped by recovery?"

The .zip now does it.

Sent from my G2x
[Nexus S Android Development] HareyCarey:
You're the man.
[Nexus S Android Development] dario3040:
Lol, almost sounds like steve jobs.
[Nexus S Android Development] HareyCarey:
Except exponentially cooler lol
[Nexus S Android Development] simms22:
omg.. a whole different ballpark!!!

it might even be an insult to morfic by comparing him to steve jobs :eek:
[Nexus S Android Development] HareyCarey:
Tell that to Dario...although, I agree, comparing him to Steve is an insult haha
[Nexus S Android Development] dario3040:
It is, but something about it was just... Wrong :P

Reminds me of steve jobs calling video recording magical...
[Nexus S Android Development] morfic:
It is opt-in now

just rename PPowerOn.ogg to PowerOn.ogg

I'll never get this right....

No Oppenheimer and Oppenheimer, both are wrong! and both are righ! ;)
[Nexus S Android Development] morfic:
Guys, if this thread starts talking about Steve Jobs (so glad noone compared me to him) and "missing" Oppenheimer after 156 downloads in 20 hours, it must not be very a very broken build ;)

Going to pull cm7 now, to see if there is anywhere in the whole of it that would allow me to build it different, after all, all Trinity is nothing more than me ignoring "oh doing that won't help much" everytime i heard it. I feel like finding out if there is stuff to ignore when i hear it or if i join the voices saying "it won't help, i tried"
[Nexus S Android Development] morfic:
Excerpts from init.herring.rc:

crespo4g:

crespo:

crespo4g must be the red headed step child if they managed to drop this from the ramdisk when it was in crespo for so long. o_O
[Nexus S Android Development] simms22:
good catch!
[Nexus S Android Development] sombody:
Just to let you know that I got 2 random reboots within an hour on the TUV1111/08. Had it while using video chat gtalk and turning on lockscreen. Guess my phone cant handle the voltage drop. Now I'm back to TUV11dc which I didnt have any.
[Nexus S Android Development] HareyCarey:
How did that happen??
[Nexus S Android Development] dario3040:
Do you want to hear about problems? :P

Actually since I flashed T13 I have had no problems.
[Nexus S Android Development] :
I just flashed the (X)TEUV92-Any-NS_4G-11082011 on top of Oxygen 2.2.1 with the default kernel, and got a bootloop. I did not wipe dalvik, as in the OP it reads that the install script will wipe it.

I was using Proton to undervolt the default kernel. My phone is the i9023. The recovery I'm using is the Clockwork Mod 4.0.1.4

Any idea why this happened?

Edit: By bootloop I mesn it's looping between the Trinity logo and the Google logo.

Also, is there a way t remove the Trinity boot animation? It's not really my type.
[Nexus S Android Development] dsellers2:
Maybe you have not been around long enough? But based on a description alone its just about impossible to see why people get bootloops. Your going to need to work a little and Troubleshoot you phone and even then your probably not gonna find out why. Id say to start is to get a logcat next time it happens and study it. :) or maybe someone may help out.

Also, it's not possible to remove the boot animation from Morfic's kernels.
[Nexus S Android Development] dsellers2:
By the way, I believe the Proton Init script is stored in the/system/etc/init folder. You will need to delete that script in that folder because Morfics kernel doesn't use Proton. :)
[Nexus S Android Development] :
Thanks for the fast reply. I'll take out the Proton script and post a logcat if it loops again.
[Nexus S Android Development] rgbc:
The boot animation is easily removed by opening the zip and deleting the media folder from /system, this can be done right on the phone with root explorer or other apps that can extract and create zip files.
[Nexus S Android Development] Maximilian Mary:
Did you perchance have proton set to save on boot? This can cause problems when flashing a new kernel. Flash this fix if that was the case. Then yes, leave proton alone. The voltages on trinity have been very finely tuned.

Try fixing permissions, too.

I've tried a lot of boot animations, and I always end up going back to the stock one, so I made a zip to flash it over new kernels. (This also removes Oppenheimer for kernels that included it... Am I the only one who's still up flashing kernels after the lamp gets turned off?)
[Nexus S Android Development] dario3040:
No you are not :P

On the HTC Hero I was flashing all day (and night), now that it's almost perfect, there is no reason to do so.
[Nexus S Android Development] brainmaster:
You have an error in your Bootanimation script:

its missing "n" in the "unmount" command, this is causing the system not to be unmounted properly that can lead to the problems.
[Nexus S Android Development] simms22:
i think not :p
[Nexus S Android Development] sinik420:
so ive been on 0108 t14 for a while and decided to try the new xuv, after boot it froze during the boot anim, so i waited a little then pulled battery. i rebooted and upon reboot all of my system processes were not working (as if i cleared dalvik so i rebooted and now it boot loops, so ive been flashing every kerne; i have including the t14 that was previously working. I reflashed the newest nightly i had and still nothing but bootloops and freezes =[

/end sad rant
[Nexus S Android Development] simms22:
did you redownload the kernel? and did you try fixing permissions? btw, you sound more like an optimist than a "sinik" ;)
[Nexus S Android Development] Maximilian Mary:
Fixed! Thank you.

EDIT: Wait a second. My busybox does not have an unmount function. Is umount not correct?
[Nexus S Android Development] sinik420:
ill redownload them and push to the sd but they were all (t12 t13 t11) downloaded at the same time to my phone and even flashed matrix. ill try again tho. and yes i tried fixing permissions.

no luck but after i let it sit and come back, itll let the boot anim go for a while until it freezes then just startes rebooting quickly right after the oppenheimer quote.
[Nexus S Android Development] Po0yAn:
I had the exact problem as yours. I tried changing kernels first,tried other Trinitys, also the older ones, then I even reinstalled the rom (it was a nightly) to go back to CM default kernel, and still I got bootloops. I finaly restored my most recent nand back up to get rid of the loops.

neXus S - CM7 Kang - TUV11
[Nexus S Android Development] sinik420:
yea last resort for me
[Nexus S Android Development] king23adrianc:
anyone experienced more battery drain with new TUV11 compared to 0308 TUV11?

and with new one, the whole night 6-7hrs sleep while having 12 emails, i get 40% each on 1.1ghz and 100mhz

but with 0308, i can get 20-30% at 1.1ghz and 60-70% at 100mhz on a day with some texting too

is it just me or what? :confused:

using the latest kang from gearheadcustoms
[Nexus S Android Development] thecoogster:
Like to thank morfic for all the great work that he has done so far on the Nexus but would like to add that i havent been able to boot a kernel other than the uv92 for all the releases in the last few weeks. Been able to run all kernels up to 1.44 on CM7 for over 6 months, hope new ones work in the future.

Sent from my Nexus S powered by Trinity
[Nexus S Android Development] brainmaster:
Sorry, its maybe my fault. I am not using busybox for mounting partitions, I mount them directly in the scripts.
[Nexus S Android Development] morfic:
If you run busybox then use umount. :)

Busybox is a collection of Linux commands. umount was correct.

Sent from my G2x
[Nexus S Android Development] morfic:
Latest tuv11 has a tiny little bit more voltage at 1.1ghz.

The difference in frequency shows something in the rom/your apps causes CPU to scale up more.

Sent from my G2x
[Nexus S Android Development] morfic:
Going to investigate all samsung changes in git for 2.3.5 more closely.

Sent from my G2x
[Nexus S Android Development] Maximilian Mary:
Yes, I think that would be a cleaner way to do it. Even with a week of scripting experience under my belt, my methods leave much to be desired. ;)
[Nexus S Android Development] brainmaster:
Here is the command for mounting directly:

and unmount:
[Nexus S Android Development] morfic:
Update: Sleep study part deux tonight, that'll likely eliminate progress long into tomorrow.
[Nexus S Android Development] droidance:
8/11 TUV11 seem to drain battery at much faster rate. As much as 5-6% on idle state.

Went back to 8/3 TUV11 and battery% remained unchanged for more than an hour.

I set SetCPU to perform at 200max/100min when screen is off for both conditions.

T-Mobile Nexus S.
[Nexus S Android Development] king23adrianc:
with wifi on?
[Nexus S Android Development] morfic:
Nevermind, says right there.

In that case think of what else you changed.

New apps. Updated apps. New apps.

A reboot often cures a misbehaving app causing CPU load that will keep phone awake.

Your phone is not at 100/200 when in suspend.

Let me see your battery graph, let's look at your "awake bar"

They are about to wire me in, so don't be surprised if I don't reply until tomorrow.

Sent from my G2x
[Nexus S Android Development] droidance:
Thank you for the reply!

So even if I set 'Screen Off' to 200 max and 100 min on SetCPU, it won't perform at that rate even when the screen is off?

I always have 3G on. It seems to be on H for most of the day, so 3G connection doesn't seem to be a problem. No GPS.

GMail, Google Calendar, and Google Voice set to push sync.

Thanks for making great kernel. Really enjoying it :)