yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] DarkNytefire:
Installed 0.3.1b BFS-SQLB at some point last night. Coming directly from a G1 to this phone, I guess there was just an acceptable amount of lag I could take - because clearly, now that 0.3.1b is installed, I can tell that the previous version had horrendous lag issues that weren't 100% apparent to me during usage. (Using a G1 for two years makes you extremely patient.) Running 245/1.5 (SmartAss), auto brightness, live wallpaper, WiFi almost always on, heavy text / mms usage, light calling, and medium facebook usage yielded me at around 81% battery after 8.5+ hrs of that type of usage. Performance is nothing less than amazing on 0.3.1, and no complaints about battery life here. Amazing work Faux, you've made it so I typically use my phone more than my laptop now when I'm out and about because I don't have to worry about it dieing early before I get back home. :D
[myTouch 4G Android Development] Vinsane:
Running 3.2 right now...in about shows the kernel still as 3.0 though. Odd. Is that right?
[myTouch 4G Android Development] faux123:
shhhhhhh... it's a secrete :p (forgot to update version number... was in a hurry..)
[myTouch 4G Android Development] Vinsane:
Hahaha ok. :)

Is there a particular gov better to use than another?

I'm running a heavy load live wallpaper and lots of widgets.

Battery life was good on 2.2...but its draining fast on 3+

I'm set at:

1309

368

Smartass
[myTouch 4G Android Development] Marine6680:
Ah, I do not use an ext partition, just native apps to SD. With the amount of free speedy built in memory to use for apps, I do not need a separate partition that may slow things down. The only apps that I have on SD are the ones that do so automatically because they are fairly large.
[myTouch 4G Android Development] Vanquiz:
LOL, just finished flashing 3.1 like couple minutes ago, and there's already an update to 4.0

You are the man, faux, thanks so much.
[myTouch 4G Android Development] Vinsane:
Hello. My name is Vinsane...and I'm a kernel flash-aholic :(

Here we go! V4 loaded :p

Settings are:

1305

398

Smartass

I'll put iut through its paces and report back.

Should I try different settings or gov?
[myTouch 4G Android Development] vw671:
Did we lose the Zinx YouTube hack in the kernel? My YouTubes has been acting up again with the latest version:confused:
[myTouch 4G Android Development] faux123:
Geek Talk Below: (Long version, there's a TL;DR version at the bottom)

The "Real Problem" with youtube/Camera/Video players on MT4G is that the HTC Framework (closed proprietary code) DOES NOT refresh the video playback automatically, therefore, it will appear to be extremely laggy... What Zinx did was to HACK the kernel to FORCED UPDATE video playback to remove the lagginess from all video players such as Youtube/Camera/Video players (2D/3D Gallery Apps).

Most Apps exits gracefully such as Video players and Camera Apps, but the latest version of Youtube is doing something different from everyone else when EXITING in landscape mode WITHOUT notifying the kernel it's NO LONGER playing VIDEO, so the FORCED UPDATES from the kernel is unaware that Youtube has exited from LANDSCAPE MODE and continues to FORCE UPDATE the VIDEO, this will SOMETIMES result in fast Flipping/Scrolling and random Garbage on screen because the Youtube App is not notifying the kernel properly... Youtube DOES exit gracefully in Portrait mode, the problem WILL NOT OCCUR in portrait mode.

TL;DR: Exit Youtube in Portrait Mode to avoid any issues with the latest Youtube App. This was noted in my Original Post (OP) in red
[myTouch 4G Android Development] ckisgen:
I also seem to have had a couple of youtube hiccups over the last couple of kernel updates...seemingly outside of the usual 'exiting in landscape mode' deal. just overall bugginess with video playback. i think it's happened about 2-3 times out of maybe 10?

I'm not sure what's up with my dalvik cache errors either ... I saw the other guy post on it and I saw Faux's response - but I haven't installed any apps to SD either. Nor have I flashed or changed anything else about my system other than frequent kernel updates/flashes (THANK YOU FOR THE MILLIONTH TIME FAUX, YOU ROCK) so it's hard for me to believe that my SD card 'corrupted itself' or that it was unrelated to some of these kernel flashes? I don't know.....

OK so quick update ... been running v0.4 since last night. it's been super smooth, no bugs that I've been able to find so far. battery life appears awesome / on par with the last update or two but don't even think it's been full 24 hrs yet soooo can't say 100%. the previous update 0.3.2b i THINK was a little wonky on my system (iced 1.1.6) , the first 0.3b SLQB was rock solid and when I updated to 0.3.2b - things weren't as smooth (very slight lag here and there, had a lock up and had to pull battery once, etc) but 0.4 seems to have brought all the silky smoothness and stability that 0.3 SLQB had for me ... even + a few degrees of awesomeness perhaps. (some of this stuff is hard to quantify exactly but my system just feels 'tighter' and snappier)

aaaand whatdwehave here? v0.5 - dang Faux, you are so the man. i'm relatively green in the whole android root/hack community but this kernel/project has been the best experience i've ever had with a dev ... constant/lightning fast updates, almost always next to zero or zero bugs every time, great communication with the community on the forum for issues/questions/bug fixes, ok ok I'm glowing, I'll try and stop for a few mins....long enough to flash v0.5 :) yee haw...
[myTouch 4G Android Development] Vinsane:
V4 is working great. Put it through heavy loads last night and today. So far minimal lag...nothing to make me go back to 2.2 for any reason.

Great job Faux!

Still running on smartass gov.

Settings at:

1305

368

Smartass

What will v5 bring us?
[myTouch 4G Android Development] vw671:
Yes, I've read that many times. But with earlier versions of your Kernel it was actually behaving quit nicely. I assume this was due to the Zinx hack.
[myTouch 4G Android Development] faux123:
Can you be specific as to which version(s) "broke" the niceness of Zinx hack and also can you be more specific on how it is behaving now (describe your problem in as much detail as possible... your initial post was not very helpful to me....)
[myTouch 4G Android Development] Vinsane:
Faux. Is there a different gov I should be using instead of smartass for v5?

So far im liking it. Great job!
[myTouch 4G Android Development] Vinsane:
Faux. I broke another one :p

Same settings

1305

368

Smartass

Heavy load again. Multitasking like a mad dog...switching apps...calls..texts...web...games

Live wallpaper...lots if widgets...

Froze up the screen a few times...lagged badly where it wasnt registering screen inputs till about 30-40 seconds and sometimes more.

Locked up and had to do a battery pull.

Back to v4 for me right now
[myTouch 4G Android Development] ckisgen:
0.5 is kicking @$$ and taking names for my device so far today..

63.946 linpack

which gets me #6, #7, and #8 under HTC Glaciers on the Top 10 by Device list

..and also #9 and #10 on the Android Top 10 all devices list :cool:

keep the updates rockin' Faux! boo ya.
[myTouch 4G Android Development] Vinsane:
So does it seem like people are getting better results with using a custom rom vs stock?

I really don't want to use a different rom...there are things from the stock rom I enjoy and use.
[myTouch 4G Android Development] vw671:
Sorry for being so vague. After I upgraded to 0.4b is the first time I noticed it. It's the lag on exiting Youtube in landscape and nothing plays after that issue. I flashed back to 0.3.1 and it also had the same issue. Funny thing is I didn't notice it before. I didn't try restoring back to a Nandroid backup with 0.3.1 on it to test if fixes it yet.

I've going to play with CM7 a bit, but probably will be back. Thanks.
[myTouch 4G Android Development] kenrippy:
Faux, I'm on a completely stock rom (just a couple apps frozen with titanium) can you tell me which version I should use? Thanks
[myTouch 4G Android Development] Onefast:
I've had the best luck on your original v0.2 kernal. Everything after that has been lagging when I try to lock the screen. I have the lock sound enabled, and everything after v0.2 I get a 1-2 second lag from when I click the top button, till when the sound goes off. I'm probably being anal about it, but it's that annoying I keep flying back. Stock rom, no bloat, smartass gov.
[myTouch 4G Android Development] Vinsane:
@	Onefast

Try v4 with smartass gov.

Its working great for me...2.2 was my fallback until now.

Try loading it again wipe cache/dalvik and fix permissions before reboot in recovery.
[myTouch 4G Android Development] Vinsane:
@ kenrippy

Try v4. I'm on the same setup as you and v4 has been working great. V2.2 is also very stable
[myTouch 4G Android Development] Onefast:
I did all three, it's weird that the newer ones lag when I try to lock, ondemand doesn't.. Minmax lags when I try to unlock, not lock. Interactive seems good on lag, not battery life... (not mad at all, I love this kernal, thanks faux!!) The older smartass profiles seemed a bit snappier

Edit.. Could be me:) or my phone
[myTouch 4G Android Development] Vinsane:
Don't worry...I've noticed everyones phones act differently to each kernel.

I'm about to try the updated v5. It didn't work out for me earlier..but who knows :p
[myTouch 4G Android Development] kenrippy:
I just tried to flash 0.4 after wiping cache & dalvik. All seemed to go fine but it was stuck in a boot loop & I had to do a nandroid restore. Any tips on this? This is my first attempt at something like this. I'm on the stock htc rom.

Thanks
[myTouch 4G Android Development] faux123:
Not everyone's chip is equal, some have better chips than others... try the HV version... The default normal version is heavily under volted to maximize battery life but not all chips can be under volted that much, so I've created the HV version... Actually High Voltage version is not really HIGH Voltage, it uses STOCK voltages instead, to ensure MAXIMUM compatibility... so don't be scared by it....;)
[myTouch 4G Android Development] kenrippy:
I still hadn't even installed set cpu yet. I was planning on doing that after initial boot with the new kernel. Was that possibly the issue?

And when I say boot loop, I mean I just got the very first white screen then reboot.

Thanks for the quick reply...
[myTouch 4G Android Development] Vinsane:
@ kenrippy

Look through this thread...i posted some instructions when that happened to me too when I first tried the new kernel.
[myTouch 4G Android Development] kenrippy:
Found it on pg 14, thanks. I'm gonna try fix permissions before I mess with that other devs kernel. Appreciate the tip!
[myTouch 4G Android Development] kenrippy:
Ok that still didn't work. I'll try that method you used exactly next. Too tired to mess with it any more tonight. Plus my thumbnail needs a break from removing the batt cover!
[myTouch 4G Android Development] Vinsane:
So far so good on the updated v5.

Ive found one single app that brings this kernel and my phone to it's knees.

Craigsphone

Other than that...everything is pretty good.

Looking forward to v6! :p
[myTouch 4G Android Development] xdd:
Is the undervolt really working ?

Great work Faux. Can you post the freq/volt table you are using in your kernels ?

I am trying to extract the most usage time out of my phone and have been testing out all the 3 custom kernels ( Faux's, Gorilla's, Grankin's).

I am skeptical that the undervolt is really working. Below are results of some the benchmarks I ran. My phone is stock with the bloatware removed .

With all kernels I began the test with

1. Phone charged to 100%

2. set the screen brightness to 37%

3. set screen timeout to never.

4. set the phone in Airplane mode

5. Ran stress test in setcpu 2.1

Benchmark Results :

1. Stock kernel @ 102400 : 5 hours and 18 mins

2. Grankins 0.03 @ 902400 : 5 hours and 22 mins

3. Gorilla 1.0 beta @ 902400 : 5 hours and 20 mins

4. Faux 0.2.2 (non HV) @ 902400 : 5 hours and 18 mins

5. Faux 0.2.2 (non HV) @ 806400 : 5 hours and 24 mins

The battery life under stress test seem to be more or less the same.

I am puzzled with the findings. Is it just me or are you guys seeing better results.

Battery life is better with custom kernels( using faux's 2.2 right now) , but I believe that's mostly because of governor and cpu freq profiles.

My conclusion is that, The undervolt is not helping.

What do you guys think ?
[myTouch 4G Android Development] faux123:
Wow, amazing empirical data... Yeah you are correct in that the governor has more to do with battery usage than under volting, but every little bit helps... :)

I don't have my Macbook with me, so I don't have the exact values for my freq table (but you can deduce the frequencies from SetCPU ;) ). Starting from the lowest frequency is 850mv then progressively increased to 1100mv (stock voltage) @ 1.1 GHz (the default frequency for my kernel). Then from 1.2 GHz ~ 1.84 GHz ranges from 1150mv to 1425mv @ the highest (for the normal version) and for the HV version ranges from 1250mv to 1450 mv @ the highest.

Also my SmartAss Governor is a little different from the default version, I have tweaked it's ramp up/down value and threshold to be just a bit more responsive, so if you compare using my version of smartass vs other version of smartass, it's not an apple to apple comparison....

(Below applies to Version 0.3.0 and beyond)

To squeeze absolute battery performance out of my kernel, I highly recommend the use of SetCPU profiles and use the "conservative" governor. Because of many optimizations and technologies I've introduced to this kernel, even the "conservative" governor is quite responsive @ my default 1.1 GHz frequency compared to stock kernels.

For those of you don't want to deal with SetCPU, the default SmartAss is a good balance of performance vs battery life.

For you speed freaks, Interactive Governor gives the fastest most responsive UI and highest synthetic benchmark scores...

So depending on how you configure my kernel, it can transform to anything you want ;)
[myTouch 4G Android Development] vw671:
Great testing...Can you do a test with different Max frequencies? Like 1.0Ghz, 1.2Ghz, 1.4Ghz, etc..? I've always been curious with how much this really affects battery life.
[myTouch 4G Android Development] faux123:
Survey:

For those of you brave souls who downloaded my easter egg (v0.5.0 beta preview), how's your battery life?

I am thinking of staying with the original DMA engine from HTC... the supposedly super duper DMA engine from the Aurora Project (Google Chrome) used everywhere including CM7 is a BATTERY HOG on my own phone... The DMA is working as advertised (meaning you will see very LITTLE CPU usage with any type of CPU monitors, but does NOT mean that some background stealthy transferring is NOT running).

After running with the new DMA engine for a couple of days now, IMHO, the new DMA is NOT designed for battery based devices, it might be super duper efficient but drinks battery juice like no tomorrow... I thinking of abandoning the new DMA engine and tweak else where...

Let me know your experience....
[myTouch 4G Android Development] kenrippy:
@vinsane

your tip on page 14 got me past the boot loop and running v.4 with no issues, thanks!
[myTouch 4G Android Development] eliasadrian:
I flashed it yesterday, after checking out cyanogen for a bit and then returning to stock, and it's been good so far. I unplugged about 8:30 and 5 hours later with microbes LWP, 5 min calls, 10 texts, about 15 min of youtube, and an hour and a half of internet/XDA my battery is at 64% (this is with auto brightness, wifi off, and at school where my data is constantly switching between E and H). I use SetCPU but I only change OC to 1305.

I'm not quite faithful in my battery monitor, it seems to change too often or too little. (for example on XDA right now it went from 68 to 64 in 3 min, but now it's been at 64 for 5 min) But if the monitor's correct the v5b is pretty amazing, no hiccups or lag or anything bad. Amazing work.
[myTouch 4G Android Development] eliasadrian:
And like you said with the v5b DMA and microbes LWP being too efficient, those little microbes move super fast and eat the white things like they haven't had food in days...ha
[myTouch 4G Android Development] Vinsane:
@ kenrippy - cool glad it worked for you :)

@ Faux - ran v5 and it chewed up and spit out my battery for lunch. Hahah

Back on v4 :) which has been very stable for me

Great work!
[myTouch 4G Android Development] kenrippy:
Now that I have v4 going with no issue, do I need to reset battery stats or not? I'm on the stock rom...
[myTouch 4G Android Development] faux123:
You don't need to reset battery stats with Kernel changes...

Version 0.5.0 Beta Preview Update:

I was fed up with my battery life with my own phone running 0.5.0b, so I decided to do something crazy and counter-intuitive, I overclocked from my default 1.1 GHz to 1.5 GHz still with SmartAss Governor, just to see how quickly I can drain my battery.... Then something funny happened.... My battery life actually got better @ 1.5 GHz than @ my default 1.1 GHz....

Then I remembered reading from somewhere about how batteries can deal better with large instantaneous swings better than slow steady drains.... So, it seemed OC to a certain degree is better than running slower... LOL, something I was not expecting....
[myTouch 4G Android Development] ckisgen:
haha, best news all day! i'm upping my OC to SAVE on battery.

that's like super-sizing my McFat@$$ combo because it's less calories!

shazam! :D
[myTouch 4G Android Development] rockstarar:
its great! just flashed, wifi broken?
[myTouch 4G Android Development] negreenfield:
I tried out v5 for a couple days and it worked well at first but twice my phone suddenly started lagging like crazy and I had to reboot. I'm back to v4 today and I'll report back.
[myTouch 4G Android Development] cbach1987:
Ive beenon v.0.4 for 2 days now and I noticed much worse battery drain ans ive been using it less. On v.0.3 I had much better batt life. Im using minmax and 11000max 300 min.any suggestions
[myTouch 4G Android Development] faux123:
Download the versions again... I accidentally swapped between Low Voltage (old normal) and Stock Voltage (old HV) versions... DOH!!!!:o

You should see much better battery now...

Announcement:

Please re-download whatever versions you were using again... Due to a stupid coding error on my part, I accidentally swapped between Low Voltage Version and Stock Voltage Version... Low Voltage version should see an improvement on battery life... I am currently using it myself and I have seen good battery life so far.... Ugh.. Bugs....
[myTouch 4G Android Development] cbach1987:
Haha alright ill try that and ill see. It happens. Thanks for the help :) love the kernals!
[myTouch 4G Android Development] xdd:
Thanks Faux, keep up the good work.
[myTouch 4G Android Development] xdd:
Will do. I will probably start a thread in general section, with loads of battery test data, , but its going to take a while.
[myTouch 4G Android Development] cbach1987:
Redownloaded the kernal and battery life is already much better! Thanks faux
[myTouch 4G Android Development] negreenfield:
I was using 0.5.1 lv for a while today at 1.5 Ghz smartass but that destroyed my battery, trying 1.1 Ghz conservative now.
[myTouch 4G Android Development] kyokyle:
.51b broke the mobile data toggle widget. It won't turn off the mobile connection
[myTouch 4G Android Development] kyokyle:
Mobile data toggle works in .4b
[myTouch 4G Android Development] Marine6680:
Which kernel started the mixup? I got a replacement phone for a bad home button, and I am wondering if I ever ran a undervolted kernel on the new one. My first was rock solid at max freq on stress test. I tried on the new phone, and it seemed good, but if it never was an undervolted then I can not be sure.
[myTouch 4G Android Development] faux123:
I just tried it and it's working fine. I can turn on and off mobile network at will. Which ROM are you running. Have you wiped both cache when you first installed the kernel?
[myTouch 4G Android Development] faux123:
The mix up was since version 0.2.2 :o
[myTouch 4G Android Development] Marine6680:
Well alright then. Need to test the new phone again. I'm running CM7 now though. :eek:
[myTouch 4G Android Development] faux123:
I have a CM version too ;) give it a whirl...
[myTouch 4G Android Development] Marine6680:
Waiting on your upcoming undervolt version.

I just went to restore a backup of Iced, and forgot to change recovery.... oops.

Restoring CM7 and waiting on your CM update.
[myTouch 4G Android Development] kyokyle:
Hey faux. I'm back on .4b I well try .51 again. I'm on desire hd rom.
[myTouch 4G Android Development] cbach1987:
I'm on .4 sv and omg after 7 hrs I'm at 78% with decent browsing and a few txts and emails.nvr had it so good before!
[myTouch 4G Android Development] Freek91:
this maybe a stupid question but its one that really has been bugging me

what constitutes "good" or "great" vs "ok" or "crappy" battery life?

for example...i did a fresh reflash of ice glacier this afternoon and right after that was installed i flashed Faux's new 0.5.1 beta...the phone was at 100% battery when i was done installing all of my apps and getting it all set up

so after 2 hours after the flash i have 90% battery life with the following in usage

Display:76%

Angry birds:9%

cell standby: 5%

android system: 3%

phone idle: 3%

wifi: 2%

android os: 2%

i played probably 10-12min of angry birds(dont judge me!) and then put then phone down and checked it every 5 min or so just to see if it was running good with the OC speeds(1.5ghz max 245mhz min)

so is this battery life and usage typical for this kernel and rom combo?
[myTouch 4G Android Development] Vinsane:
Got a new toy today (motorola finiti) :)

So I just flashed 5.1b...going to put the bt through its paces calls..music..txt replies through headset etc.

Ill let you guys know how it goes
[myTouch 4G Android Development] kenrippy:
Faux,

What do you see happening with the youtube app bug? I have to pull the battery if I forget to close in portrait mode.
[myTouch 4G Android Development] faux123:
It's funny you asked this question... I spent a few hours looking through the code today and it is NOT going to be easy to fix.... MT4G's video driver is very different from other MSM based phones... Secondly, the Sense framework is already built on top of that..., it's like trying to rip out the foundation of a high rise building and replace it with something not designed for it and hoping the building is still standing... The original driver may ugly as hell but it works and frameworks built on top of it mostly works (except for youtube)... Also, HTC hacked the driver to also work with the FFC, so If I replaced the driver, it would break FFC...

Our phone is sorta unique due to the FFC and it was released when Android Froyo 2.2.1 had NO native support for FFC so HTC @ the time did whatever they needed to get it working because there was no guideline from Google telling them how to write a driver for FFC.

Anyways... I am still looking @ what can be done about it...
[myTouch 4G Android Development] kenrippy:
Thanks for the effort!
[myTouch 4G Android Development] vw671:
BTW, I'm back on 0.2.3 of your kernel which Zinx youtube hack is working:)
[myTouch 4G Android Development] Elloco305:
I see a lot of activity on the forums but none about the new kernel update?!

I'm just a little confused at what all the driver updates are about.
[myTouch 4G Android Development] darinmc:
I've had some data issues with kernels and had some questions that I thought someone here could help answer.

Could an undervolted kernel weaken radio strength? While the cpu may operate without problem, is it possible that the radios on certain unfortunate devices couldn't handle the lower voltage causing problems (weak signal, erratic data), much like how some cpu's can take a certain overclock without voltage adjustments?

For all I know these questions/ideas are way off base, so let me down gently.