yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] kwill:
Quick question (and just for the sake of knowing if its possible or not). I was using Darkstone's Froyosense build, not the beta HD. And, I threw this kernel on it just to see how it performed as I also tried it on the betaHD. All done through the use of Exceller's bootloader. Anyways, I booted Darkstone's Froyosense backup and I was back to square one as for set up. As if my data.img had been wiped. I changed nothing else except for updating the kernel to V3 of this one.
[HD2 Android SD Development] nobnut:
One data.img probably won't be recognised by another build.
[HD2 Android SD Development] kwill:
I used the same builds, not swiped the data.img between builds. I have three diff builds of android on my sd and I updated the kernel of two of them with this one (the other one is rmnet,so cant use this one). Of those two, the froyostone one reset back to square one. I havent booted into the other just yet. Although, I just noticed, the zip also has a haret.exe in it. Would replacing that on the build cause reset back to square one? Didn't think so:confused:

edit*Checked my Darkstone BetaHD build which I replaced the kernel, just as I did in the darkstone froyo version and it's all the same as I left it. So, it wasnt changed. Wonder why the Darkstone froyosense build did?

And Wifi connects for me fine using Darkstone'sHD beta build.
[HD2 Android SD Development] nobnut:
Marvellous.

Next stop, world peace... and a cure for the hangover.
[HD2 Android SD Development] kwill:
Think I was unclear:D The Darkstone BetaHD was fine. The darkstone froyosense was still changed though, which was my original concern.;)

Cure for the hangover is to start drinking again. lol!
[HD2 Android SD Development] nobnut:
You were perfectly clear. I had to get drunk trying to keep up with your builds/SD cards/data.img(s)/Android versions...

Hence my hangover.

I've now lost the will to live and all track of what the hell I have installed on my device.

Nurse!
[HD2 Android SD Development] Fernas:
Great work!! using with HD2 Matt´s Leo + Froyo W/Sense, and im getting 7mA on standby =D.

Thanks.
[HD2 Android SD Development] kwill:
Haha! Ok, you just never know how stuff is going to come out when you write it.:)
[HD2 Android SD Development] hastarin:
Ongoing extended battery support...

A note to extended battery users.

I've taken a decent look at the new battery driver Markinus ported from the ACE (Desire HD) code base but haven't had the time to run a kernel with it yet to garner more info.

Purely from the code (so I could be very wrong) I've concluded the following:

It's probably actually detecting our battery as the wrong one.

It has the smarts to adjust within a limited range which will be allowing it to work fine.

It currently does not support extended batteries at all (so Desire HD presumably won't support them).

It MIGHT be possible to adjust various tables in it to suit both our standard battery and the HTC extended battery, but it's going to require more work.

I'll try to get some time this weekend to look at it further as I'd ideally like to integrate it for my next kernel.

In short, if I can't get it working extended battery support may be something I have to drop down the track but I'll certainly investigate it further before giving up. :)
[HD2 Android SD Development] hastarin:
pppd crashes, ts freezes, and smd_tty using 100% CPU

And on another note.

I'd switched to my "Alternative" kernel to try tracking a bug that happens after about 14hrs. I'd also set Autokiller back to system defaults so I could have things as close to a standard user would.

For the first time ever I managed to crash data (3G/H arrows locked up, couldn't switch to airplane mode) and shortly afterwards smd_tty got stuck in and endless loop chewing CPU and requiring a reboot.

As best I can tell this happened because the system ran out of memory. I also managed to reproduce a TS freeze playing Fruit Ninja and confirmed the freeze was due to the oom manager kicking in to free ram.

I'm now running Autokiller again with the Optimum preset (as that's what I'd been using most recently) to see if that helps prevent these issues and if I can reproduce the original bug I'm trying to track down.

I just thought some of you out there might like to experiment with Autokiller on the same preset.

NOTE: This is NOT a task killer, it just modifies the amount of RAM the system tries to keep free by running it's oom (out of memory) manager. Well it does have manual task killer functionality too, but I don't use it for that.
[HD2 Android SD Development] Ronbl:
Is it possible to create a kernel with the new battery driver for people who don't have an extended battery (like me)? I would love to give it a try (although my power consumption is quite decent with your 7.7).

If you don't want to do it, no problem, I really appreciate what you have done so far.
[HD2 Android SD Development] hastarin:
The average user isn't going to notice much difference with the newer driver versus the one in 7.7 I'm not going to branch my code and start doing 4 versions of my kernel, that would be far too much work.

Like I said, I'll try to take a better look at things on the weekend. Patience is a virtue!
[HD2 Android SD Development] motoman234:
Hey hastarin, is it true that the new battery driver helps out a lot with the battery not charging past 9X%? On linux chat I "heard" that it got rid of that problem. Not sure if it really did though.
[HD2 Android SD Development] tfouto:
People is saying yes it goes charging always at 100% and when discharging it only turn off at 0%. Real values not as the old driver that sometimes get stuck way before 100% and would turn off at 10-15% most of the time, at least to me.
[HD2 Android SD Development] deviant749:
Mine seems to do 100% and 0% after upgrading to 7.7
[HD2 Android SD Development] tzones:
here are my apn settings,

Name AT&T

APN: wap.cingular

proxy: <not set>

port: <not set>

username: WAP@CINGULARGPRS.COM

Password: CINGULAR1

Server:<Not Set>

MMSC: http://mmsc.cingular.com

MMS proxy: wireless.cingular.com

MMS port: 80

MCC: 310

MNC: 410

authentication type: <not set>

APN type: default,supl,mms
[HD2 Android SD Development] unforseenenemy:
My settings are very similar to yours, only differences are:

Server: wap.cingular

APN type: *

- for apn type i cannot connect if i have anything other than "*" typed in there

- Also, if my WIFI is turned on with these latest kernels my EDGE won't stay connected

Hopefully those tweaks help for you
[HD2 Android SD Development] Frakatchoo:
After tests, I've the same consumption, around 56mA in standby (no wifi, or data running in background) with 7.7. With 7.6 i have 4mA consumption in stanby !!!

Hastarin keep an eye on it ;)

I'm going back to 7.6 for now...
[HD2 Android SD Development] alantak:
Try rebooting until your standby consumption is good. I have found this has been a problem with all kernels and builds I have tried. Sometimes you boot and its fine, sometimes you boot and standby consumption hovers aroun 50-60mA.
[HD2 Android SD Development] jamesjf:
If I boot Android from Windows Mobile, the consumption is about 55mA.

If I boot Android using a dual-boot launcher, so it launches Haret before Windows loads properly, the consumption is 5-6mA.

Anyone suffering higher consumption should try booting using a dual-boot launcher if they're not already.

edit: this is the same with 7.6 and 7.7
[HD2 Android SD Development] 5do12:
It seems as though hastarin's kernel works differently on different Android builds. As far as I have tried it, I get best battery life with Mdeejay's Clean version of Froyo, much more than his Desire v3.7 build. The Desire HD build uses much more internet traffic, be it WiFi or 3G, so most of the battery consumption comes from services running in the background and using up your data plan.
[HD2 Android SD Development] CR5N:
Hastarin,

Many thanks for your hard work. I am running 7.7alt and am going to try the autokiller app you plugged as I have also had a random phone off event with laggy touch screen beforehand ~12hrs uptime. Was going to post this but read through previous posts first (some of do!) ;)

FYI my battery charges to 100% but if I leave it charging for while longer (haven't noted the time duration, sorry), the led goes out and the charging notification disappears - maybe why people wake up to < 100%?

Sent from my HD2
[HD2 Android SD Development] raysacr:
I don't know why everyone's complaining about battery. I'm assuming you probably didn't change you lights file correctly to match the whatever is in your build prop, or some other thing is wrong with your build. With r7.7 my battery drain on standby is the LOWEST its ever been. Take a look at my currentwidget log:

2010/10/28 03:00:11 -3mA

2010/10/28 03:01:57 -3mA

2010/10/28 03:03:42 -5mA

2010/10/28 03:05:28 -3mA

2010/10/28 03:07:13 -5mA

2010/10/28 03:08:59 -3mA

2010/10/28 03:10:04 -3mA

2010/10/28 03:11:04 -5mA

2010/10/28 03:12:43 -5mA

2010/10/28 03:14:12 -4mA

2010/10/28 03:15:14 -5mA

2010/10/28 03:17:05 -13mA

2010/10/28 03:18:14 -5mA

2010/10/28 03:19:42 -3mA

2010/10/28 03:21:27 -5mA

2010/10/28 03:23:12 -169mA

2010/10/28 03:24:57 -5mA

2010/10/28 03:26:17 -5mA

2010/10/28 03:27:34 -5mA

2010/10/28 03:29:20 -5mA

2010/10/28 03:31:05 -5mA

2010/10/28 03:32:11 -5mA

2010/10/28 03:33:45 -5mA

2010/10/28 03:35:30 -13mA

2010/10/28 03:37:15 -3mA

2010/10/28 03:38:22 -5mA

2010/10/28 03:39:36 -5mA

2010/10/28 03:40:46 -5mA

2010/10/28 03:42:24 -5mA

2010/10/28 03:43:24 -5mA

2010/10/28 03:45:09 -3mA

2010/10/28 03:46:26 -5mA

2010/10/28 03:47:47 -5mA

2010/10/28 03:49:33 -5mA

2010/10/28 03:51:19 -5mA

2010/10/28 03:53:05 -3mA

2010/10/28 03:54:34 -3mA

2010/10/28 03:55:44 -5mA

2010/10/28 03:57:04 -3mA

2010/10/28 03:58:22 -5mA

2010/10/28 03:59:48 -3mA

2010/10/28 04:00:59 -3mA

2010/10/28 04:02:11 -13mA

2010/10/28 04:03:37 -3mA

2010/10/28 04:05:23 -8mA

2010/10/28 04:07:09 -5mA

2010/10/28 04:08:55 -5mA

2010/10/28 04:10:06 -148mA

2010/10/28 04:11:33 -5mA

2010/10/28 04:13:13 -5mA

2010/10/28 04:15:00 -8mA

2010/10/28 04:16:05 -5mA

2010/10/28 04:17:39 -3mA

2010/10/28 04:19:25 -3mA

2010/10/28 04:21:11 -5mA

2010/10/28 04:22:34 -5mA

2010/10/28 04:23:49 -5mA

2010/10/28 04:25:34 -3mA

2010/10/28 04:27:19 -5mA

2010/10/28 04:29:05 -5mA

2010/10/28 04:30:50 -5mA

2010/10/28 04:32:12 -3mA

2010/10/28 04:33:29 -5mA

2010/10/28 04:35:12 -3mA

2010/10/28 04:36:57 -5mA

2010/10/28 04:38:43 -3mA

2010/10/28 04:40:30 -3mA

2010/10/28 04:41:57 -5mA

2010/10/28 04:43:08 -5mA

2010/10/28 04:44:53 -5mA

2010/10/28 04:45:59 -3mA

2010/10/28 04:47:30 -5mA

2010/10/28 04:49:16 -5mA

2010/10/28 04:50:35 -80mA

2010/10/28 04:51:55 -3mA

2010/10/28 04:53:40 -13mA

2010/10/28 04:55:25 -13mA

2010/10/28 04:57:09 -3mA

2010/10/28 04:58:54 -3mA

I have facebook, email widgets and sync running, so those spikes are probably when they update. But as you can clearly see the draw is only 3-5mA on standby. So don't blame drainage on the kernel.

@hastarin: Oh no, please don't drop support for extended batteries, your kernel is the only one that I use. I choose builds only if it supports your kernel.
[HD2 Android SD Development] clyder:
For the last 5-6 hours since I finaly reverted to 7.6 everytime I check consumption after standby it is 3-6mA and battery droped from 72% to 60 now. Also will stick with 7.6 for now.
[HD2 Android SD Development] 0Reefa:
Hello mate,

Even with Autokiller running and set to optimum I'm getting the data crash (stuck up arrow).

Google Maps seems to be a big culprit, but also happens on first boot, not sure if that helps. Running Mdeejay's FroYo HD build v3.7.
[HD2 Android SD Development] d3l1:
I don't notice any difference between using autokiller or not using it. Data crashes every now and then, standby drain is around 5mA.
[HD2 Android SD Development] alantak:
Thanks, I am giving this a try (with this: http://xdaforums.com/showthread.php?t=723200). First boot was a success!
[HD2 Android SD Development] KillaHurtz:
EBL 2.1 is alot better imo, you can have more than a few builds and delay/autoboot for any of them :)
[HD2 Android SD Development] 2udCrRAZdK:
Did you happen to have bluetooth on in 7.7? When I have it on, even when it's not using anything, I get about 65mA. When I turn it off it goes back down to 5mA.
[HD2 Android SD Development] clyder:
No, I use bluetooth very rarely so it is always off.
[HD2 Android SD Development] clyder:
I tried this and apparently it worked. Now standby consumption is low like in 7.6. I tried rebooting phone several times and it always stays around 5mA.

Only thing I have now is "Sorry! Process system is not responding" message when Android first boots. Does anyone have a clue about where to look for the reason of this message. I cant find anything wrong in Android, everything works normal, but it is very annoying.
[HD2 Android SD Development] aussiebum:
I started getting those kind of annoying data crashes requiring (at least) a hot reboot since last week, usually when there was sustained network activity. Have been running Autokiller on Aggressive preset previously so don't think having loads of free memory has helped me avoid that kind of network freeze though.

Think I've found a workaround for this sort of data crash, but haven't posted any info about it yet as still testing some more.
[HD2 Android SD Development] hastarin:
Using EBL on a short timeout is something I've suggested multiple times so I've just added it to my FAQ post (see sig).

You could try looking at the output from dmesg/logcat for clues. No I'm not going to explain how to do that. Google/search for it sorry.
[HD2 Android SD Development] Frakatchoo:
Maybe it's a tip, but not a solution. It's really strange.

EBL Autoboot launches on WM startup, then WM is loaded...

And why the problem appear on 7.7, and not on 7.6 ?

Trying some more tests...
[HD2 Android SD Development] gus_chi:
Hastarin, is it possible to get a link to the old regular 7.5 kernel? 7.6 and 7.7 just aren't smooth on my particular handset. I've tried everything humanly possible and am baffled as to why I am having such bad performance. 7.5 was my sweet spot and I will probably stick to that kernel for a while. Thanks again for all your hard work.
[HD2 Android SD Development] hastarin:
I never said it was a solution, but I've only seen the sort of drain once using EBL so it certainly helps matters.

I've already said I have no idea why some people are seeing higher drain on 7.7 over 7.6. See this post:

http://xdaforums.com/showpost.php?p=8845210&postcount=1508

I've also posted my tips on battery usage here:

http://xdaforums.com/showpost.php?p=8864448&postcount=1570

Have you run System Panel to see if you have a process tying up the CPU?

7.6 and 7.7 should be just as smooth based on my testing and all the feedback I've had.

7.5 is here:

http://www.multiupload.com/UH09N3A3BD

Alternate of it is here:

http://www.multiupload.com/XKR1Y9G3NP
[HD2 Android SD Development] gus_chi:
Thanks a ton. I honestly think my phone is *special* (not in a good way). I am having the unit replaced in approximately two days. My friend is running the absolutely same set up as I am and doesn't face the same slow performance and WiFi issues I face on a day-to-day basis. Maybe I got a bad batch or something...who knows... Anywho, thanks for the links. I don't know why, but for some reason #7.5 appeared to be running a bit smoother. I will try running system panel with the #7.7 revision and report back if I find anything of significance.
[HD2 Android SD Development] famewolf:
Hastarin,

Isn't your #7 now out of date with the recent kernel fixes for music stuttering?

# My music is skipping/stuttering is there a fix?

You can disable the stagefright player in your build.prop though there may be side effects of doing so. See http://xdaforums.com/showthread.php?t=811248
[HD2 Android SD Development] hastarin:
Sorry, I read that as you referring to 7.7 Yes I'll update it thanks!
[HD2 Android SD Development] sterz85:
when we will be seeing the desire hd kernel being used? (now that htc actually released the correct kernel and not the desire kernel)
[HD2 Android SD Development] Downy:
Hello Hastarin,

I really really hope you will be successfull with implementing the extended battery support to the new code. At this point I want to thank you very very much for your work and your effort for us extended battery users.

I really don't want to think about the case if you will not be successful :(

But I am sure you will find a solution!

If you need any assistance with testing or so, just contact me and I will try it out.

Thank you very much again, I'll keep my fingers crossed.
[HD2 Android SD Development] carhigh:
I have found the same thing happens to me
[HD2 Android SD Development] lukesan:
Hi hastarin,

Is it possible to implement the faster read from the sd-card in 7.6?

I still suffer from a too low speaker volume even after replacing the default.acdb file.

I am back on 7.6 now due to that 'problem' but it would be nice to have the good read speed.

Thx for you hard work!
[HD2 Android SD Development] jmmmmm:
Are you talking about a boot loader like ebn or is there another one.
[HD2 Android SD Development] chrisjasper:
Interesting, I suppose its possible that more processes load after time on winmo that change the way power is used on android when you boot it.
[HD2 Android SD Development] SamStone:
Hastarin thanks for a great kernel, the best one that I've used. Very smooth with no freezes or SOD's. My LED SMS notifications even work. Thanks again.
[HD2 Android SD Development] bountygiver:
You actually don't need a dual boot launcher to get 6mA, you just need to use any haret launcher with key lights on and not starting any other applications in Windows mobile since boot.
[HD2 Android SD Development] LondonTownGuy:
Exceller boot loader works good if you set time out to 3 or 6 secs you get low power consumption on stand by.

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

edit: or what post above says
[HD2 Android SD Development] DrBasem:
I'm using rEVolution 2.2 on my Leo.

Can I still make the transition to the latest kernel without problems?
[HD2 Android SD Development] northern247:
data

Been having a fair few data drops on mobile networks, wifi is VERY FAST. Battery 3-6ma on sleep with auto sync on

I'm runnin:

Shubs latest build

Chuckyrom

Radio 2.12.50 blah blah blah

Any help with the data drops?
[HD2 Android SD Development] alantak:
I am also seeing very inconsistent battery charging/reading behavior. It will never charge to full/green and the phone will shut down when Android is still reporting ~10% battery.
[HD2 Android SD Development] lukesan:
Now this is strange. On 7.6 now and I see 54mA consistantly for the last 40min.

When I checked my batt % it hasn't even dropped 1% over that period.

edit : forget it : went to 60mAh and now dropped 3% over 20 min
[HD2 Android SD Development] :
Better color and 4 Point multitouch.

im reading couple threads, and people are saying WM 6.5 limits our phones to 65k colors and two point touch, while it really supports about 300k colors and 4 point touch...witch maybe be able to be activated with a kernel, but only on nand because that way wm is gone and there are no limits.

my question is, are you going to keep making kernels after nand? and could you possibly look into what i said above.

thank u
[HD2 Android SD Development] Frakatchoo:
+1, Extended Battery support is really important ;)
[HD2 Android SD Development] curiousGeorge:
I don't have an extended battery.

The battery % reported is incorrect. The device ran out of battery at "9%" as reported by this kernel (STANDARD STOCK BATTERY) and then wouldn't charge until it was rebooted into Winmo (0% battery) and shut down from within.

NOT good. Screwing around with "extended battery" nonsense in the kernel will break it for normal batteries too, apparently. :(
[HD2 Android SD Development] hastarin:
This is my kernel, if you don't like it, then feel free to use another kernel or build one yourself!

The changes for the extended battery support do not affect the behavior of the normal battery driver. A full charge cycle in Windows and then using 7.7 should see you getting decent battery performance. Battery charge is always an estimation. There is a reason it suggests you put it on charge at 15% remaining!

No comment on the colors. It's not a priority for me.

I'll be building kernels as long as I'm using them on my phone.

See above comment.
[HD2 Android SD Development] TonyCubed:
Sorry ask a question which might of already been answered, but have you built a kernel including the new battery driver from the HTC Ace? Also, there have been a couple of kernel commits since your last release.

I know you do this in your spare time but I've really had good experiences with your kernel, can't wait for your next kernel release.

Also, if I may... If people are complaining about the extended battery support, then maybe you could make 2 separate kernels with and without support for them. May stop people moaning. :P
[HD2 Android SD Development] hastarin:
Normally I ignore questions I've already answered but I'm going to answer you because I'm feeling generous...

USE THE SEARCH BUTTON!!! :D

People, PLEASE, at the very least search for posts by me and read them before asking something.
[HD2 Android SD Development] LondonTownGuy:
I think the latest kernels are very build dependent, I tried 7.7 with my own froyo/sense build which is now quite dated and it was a bit laggy with slow wake up, but data was good.

Then I tried with Mdeejay's froyo sense 2.5 build and it was super fast but data kept dropping like crazy so I switched to the alternative kernel to solve that.

Then I tried Mdeejay's Evo sense 2.3 and wow this is super fast data is stable and the battery life is very good, so given the right build this kernel is the best so far, great work.
[HD2 Android SD Development] tuccc:
first of all thank for all the great kernels, hastarin. I enjoy ur kernels very much.

Even though I'm a noob, I have to agree w/ hastarin. This is a huge 4rum, don't u guys ever think that ur questions have already been asked be4. All of the threads in the 4r have been flooded w/ repeated questions. Plz search, read, search, and read.
[HD2 Android SD Development] memreh:
Great kernel, hastarin! very fast... thank you for sharing with us! :D
[HD2 Android SD Development] ali.albazaz:
Im experiencing low speaker and call volume plus robotic voice with r7.7

when i return to r7.6 everything is fine

using stock rom 3.14

radio 2.15
[HD2 Android SD Development] curiousGeorge:
Understood. My apologies for coming off like a jerk. Your kernel is the best around. :)
[HD2 Android SD Development] mstrk242:
This kernel just keeps getting better, been using it for a few days now with absolutely 0 problems. Thanks a lot.
[HD2 Android SD Development] hastarin:
It's due to this commit in the main tree:

http://gitorious.org/linux-on-wince...b21a0b679d6aaac699d0e793b99902d#comment_28443

Search the thread for a post by noellenchris about the acdb file.
[HD2 Android SD Development] circusoctopus:
I've been using most of these release without a problem, but with r7.7 I've started having the 60mA standby drain. I also installed radio 2.15.50.14 (from 2.14.50) at the same time, and have since switched both back.

Frustrating part is, I'm still having the 60mA standby drain with my old configuration, which is:

RADIO:2.14.50.14

ROM:VBNROM

BUILD: Mattc 1.8

KERNEL: hastarin r7.6

TMOUS1024

Is there something different or specific I have to do when rolling back kernels and radios?
[HD2 Android SD Development] hastarin:
Thanks for at least listing everything you're using but...

/sigh Why can't people use the search button, or at least read the last dozen or so pages of a thread?

http://xdaforums.com/showpost.php?p=8884365&postcount=1608

Short version. Try EBL set to a 3 sec timeout.
[HD2 Android SD Development] zoftdev:
Do you use bt?