yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] kshting:
Hi,

No more issue with charging (build 41), the phone charges almost instantly. And am not experiencing any lag/delay in waking up the screen either since 122 mHz was added.

Cheers and many thanks!!!!
[Desire HD Android Development] Rey-619:
wake up is working nice on miui too :) 122 mHz min/max har har
[Desire HD Android Development] :
@hrkfdn is there any chance you can patch this awesome kernel up to .28 so we can use it on Sense ROMs? :)
[Desire HD Android Development] Walker Street:
Thanks for the tip. I'll try this kernel again. I noticed that after flashing this kernel, swype doesn't work after the first boot. However, if I set up SetCPU and reboot, swype is working.
[Desire HD Android Development] Locster126:
Is the standby drain lower (current widget) with this kernel then the original one on cm7?
[Desire HD Android Development] Rey-619:
can you post your settings? i want to have comparable results
[Desire HD Android Development] rosswaa:
just installed this over the latest cm7 and when phone turns on it lags really bad and freezes, have to reinsert battery to get back to recovery and reflash cm7

any ideas why?
[Desire HD Android Development] Mr. Kostik:
since b41 the phone can't find my home wifi, anyone else having that problem?

its a lunksys router with dd-wrt
[Desire HD Android Development] kshting:
Wifi is working here. Using Linksys as well.
[Desire HD Android Development] kshting:
I don't have many apps on my phone, used to lose 2%++ with CM7 kernel every hour. Since flashing #41 last night, it's losing 1.55% every hour (improvement I guess). Current widget is showing 11mA in standby with 3G but without Wifi turned on.
[Desire HD Android Development] Rey-619:
any chance to get adb and massstorage to work on miui? so i would use it for my custom rom
[Desire HD Android Development] kshting:
Hmmm..... a bit quiet in here.....
[Desire HD Android Development] McKebapp:
Quite interesting:

Just a note from my side: I've never experienced any temperature Problems @1.5GHz. Even not at a 3hrs lasting stresstest.
[Desire HD Android Development] gvelim:
I tried again to flash the b41 over MIUI 1.1.28 on Buzz Kernel 1.2.3 and the phone stops in the boot screen (HTC) before boot animation.

I used both the .exe and the fastboot method, but both give the same result.

Any ideas what goes wrong ?
[Desire HD Android Development] hrkfdn:
what does adb logcat give you?
[Desire HD Android Development] gvelim:
The phone freezes on the HTC logo (before bootanimation).

Logcat returns nothing... below the steps I perform

==============

[Phone is booted normally, plugged on USB, charge only]

C:\>adb remount

remount succeeded

C:\>adb push bcm4329.ko /system/lib/modules/

1359 KB/s (267349 bytes in 0.192s)

C:\>adb reboot bootloader

C:\>fastboot flash zimage zImage

sending 'zimage' (2825 KB)... OKAY [ 0.507s]

writing 'zimage'... OKAY [ 1.035s]

finished. total time: 1.542s

C:\>fastboot reboot

rebooting...

finished. total time: 0.153s

C:\>adb logcat

- waiting for device -
[Desire HD Android Development] Rey-619:
Adb does not work on MIUI ;) no Chance to get the logcat this way
[Desire HD Android Development] hrkfdn:
It does with a different kernel ;p

I'm quite clueless as to what happened, though. Have you tried reflashing?
[Desire HD Android Development] rahuljj:
wifi

wifi is working only if the Accesspoint channel is set to channel 11 and below. channel 12, 13 are not supported in this kernel.... can any body confirm this, I set the Wifi Regulatory domain to 14 channels, still channel 12, 13 not working, was working well on CM7.

Rahul
[Desire HD Android Development] Rey-619:
is there any progress?
[Desire HD Android Development] hrkfdn:
Maybe not what the MIUI guys care for, but yes.. there is progress :]

Build 56 uploaded:

BUILD 56:
- Apply QMR update from HTC including updates and fixes for:
- The sound driver
- [B]Proximity sensor (most likely to fix the prox. sensor problem)[/B]
- Display panel
.. and other stuff
- Fix Atmel touchscreen build
[B]- Inspire 4G support[/B]
[Desire HD Android Development] philask:
Whoa weird display dithering strangeness going on with this Kernel if you leave 'Enable surface dithering' On in the Cyanogenmod 'Performance settings'.
[Desire HD Android Development] hrkfdn:
What ROM is this? It was turned on here by default, I'm using PhunkyCows build..
[Desire HD Android Development] philask:
Same, Crispy-Duck. Whole screen seemed super bright with every other vertical line darker (like interlacing)... I switched off surface dithering and rebooted, looks ok now.
[Desire HD Android Development] Rey-619:
thx for updating :)

but im still waiting for an fully functioning miui kernel :(

maybe cattleprod is knowing an fix for miui users :/

His Kernel is fully working on miui
[Desire HD Android Development] MrGarak:
Edit: Disregard what I said here previously, I have the exact same results as the post above.
[Desire HD Android Development] starbase64:
Hi,

here ist the flasher for b56: RapidShare / Uploaded.to

with friendly greet

starbase64
[Desire HD Android Development] zepretender:
Starbase64, your .exe doesn't work on my PC... :(

HTC drivers have to be installed before ?

Thank you
[Desire HD Android Development] starbase64:
Hi,

yes, HTC Driver & ENG-S-OFF (Link) needed.

with friendly greet

starbase64
[Desire HD Android Development] zepretender:
Ok... so I can't use your tool. My only Windows computer is at my office (and I have no admin priviliges to install drivers). Need to do this "in the old way".

Have someone noticed better performances ? (Battery, speed, etc.)
[Desire HD Android Development] hrkfdn:
it's not that simple. miui uses different interfaces (along with cm6). making it work on all roms is not really an option. i could compile different builds, but that's not what i want. say, what exactly is missing on miui at the moment?
[Desire HD Android Development] Fihlvein:
Guys, those of you who have taken this kernel into use for CM7 RC1 or later nightlies, can you post your CurrentWidget log when phone is idling with minimum services (no GPS, no wireless etc)?

The best I can do with CM7 is 8-12mA. With LeeDroid and AR ROMs I got 1-3mA.

Waiting for your results. :)
[Desire HD Android Development] zepretender:
Kernel won't be the unique answer to battery drain on AOSP roms like CM. MadMurdoch has said that HTC has made some kind of "powermanager", highly hidden somewhere in Sense (or elsewhere). It will be difficult to have the same results here than RevolutionHD or Leedroid !
[Desire HD Android Development] Fihlvein:
Yeah, that's why I'm quite pessimistic about battery draining improvements and don't dare try this kernel myself. :p
[Desire HD Android Development] zepretender:
I'll try... but I think I'll go back to Revolution HD. I like some of CM7 features, but autonomy is catastrophic (even if I calibrate my battery)
[Desire HD Android Development] kshting:
Give it a go. Been using this kernel since its release. It's pretty good, I think @hrkfdn has done a fine job. Of course, we can't expect battery life to be as good as sense, but overall it's a decent kernel.
[Desire HD Android Development] manudas:
Why not undervolting more in this frecuency?? I´m think that the phone in this frecuency (122Mhz) doesn´t need much voltage to work and would improve a loot the idle battery drain. What do you think about this??

Does the stability problems appears in 122 Mhz with 850 mv or it was in higher frecuencies?
[Desire HD Android Development] manudas:
If you can undervolt to 750 mv, it demostrates that larger undervolting is possible, only if you are using lower frecuencies, of course!! I would like to test something like 500 mv for the 122 Mhz cpu clock. I´m pretty sure it would work (:
[Desire HD Android Development] Rey-619:
ADB and masstorage :( and with this its nearly useless for miui users
[Desire HD Android Development] mrjonnyrock:
my wifi has stopped working after i flashed this Kernel :(

running CM7 latest......?
[Desire HD Android Development] mrjonnyrock:
Ok i got this working :D

moral of the story is, if the app used to do the job does not work, go back to command line :rolleyes:

This kernel is rapid!!!! thx really good job. Is it still supported?
[Desire HD Android Development] hrkfdn:
Alright guys. Uploaded Build 59:

Changelog:

BUILD 59:
- Compress with LZMA (reduce filesize)
- Add OC to 1.5GHz
- Apply HTC Inspire 4G patches
- Move to CWM-flashable ZIPs
[Desire HD Android Development] kshting:
Trying this out when I get home.
[Desire HD Android Development] kshting:
Very Nice!!!!
[Desire HD Android Development] vtec303:
is it only for RC1 or for nightlies as well?, thanks

The King Of Android, iPhone Killer
[Desire HD Android Development] hrkfdn:
Should work fine on both :)
[Desire HD Android Development] vinnieminnie:
I'm having some trouble distinguising these CM7 kernels from eachother. Why would this kernel be better then Kali's standard kernel? And if it really is better, why wouldn't Kali apply the same changes?
[Desire HD Android Development] hrkfdn:
some changes kali does not want to apply because he doesn't want them in cm, other things we share. the changes are listed in the log ;p

speaking of which: any feature requests besides insane overclocking frequencies?
[Desire HD Android Development] jonkers71:
Can you put smartass gov in.
[Desire HD Android Development] kshting:
If you don't mind, would it be alright you have the kernel not to boot up at 1.5ghz by default? I mean, users could always change the frequency manually.

Cheers.
[Desire HD Android Development] 3sade:
Request yea! Please apply the batterydrain fix in this kernel :D

It can be found on the Desire HD Android Development forum as a thread.

Great jobb!! :)
[Desire HD Android Development] moosefist:
I second this! :)
[Desire HD Android Development] BumAround:
@hrkfdn

Using the phunkycow's fabuluous PNK "Irksome Jalapeno" with LauncherPro 0.8.3 with #59 kernel of yours still introduce landscape bug (after making/receiving calls), randomly though. Any idea? Thanks.
[Desire HD Android Development] hrkfdn:
can you guys please test this kernel in terms of battery drain? maybe the "voice search" workaround is still required. also you should probably make sure that this kernel doesn't collide with the power daemon by mad-murdock..

about the orientation bug.. most of the time it fixes itself for me. however, it is a nasty bug. i', starting to believe that either the htc inspire 4g patches could be responsible or that it's part of some cm7 framework changes..

EDIT: CWM FLASHABLE ZIP ADDED!
[Desire HD Android Development] razy:
this does not install with cwm3, says 'installation aborted'
[Desire HD Android Development] hrkfdn:
it's not a cwm image.

extract and install like this:

adb remount
adb push bcm4329.ko /system/lib/modules
adb reboot bootloader
fastboot flash zimage zImage
fastboot reboot
[Desire HD Android Development] BumAround:
...in other word: no fix yet as the cause is still unknown, yes? :confused:
[Desire HD Android Development] robE9:
Works nice for me, 3-5 mA(mostly 3) comparing to 4-7 which i had with murdoc fix but having some spikes of 20-30mA lfrom time to time and it`s just a fresh install of cm7 i just have 3g on.
[Desire HD Android Development] BumAround:
Can somebody make a flash-able zip of this?
[Desire HD Android Development] hrkfdn:
done! check the post again..
[Desire HD Android Development] BumAround:
Thank you very much, hrkfdn!

EDIT: Now "aic3254pd status" from the terminal emulator, after "su", gives back "error opening device". :)
[Desire HD Android Development] BumAround:
Now, about the 20-30mA spikes that you're having, did you compare and can confirm that mad-murdock's fix doesn't experience it?
[Desire HD Android Development] vinnieminnie:
I already applied Murdock's fix; can I still simply flash this file to my DHD? Or will it clash with the earlier fix?
[Desire HD Android Development] hrkfdn:
You should remove the other fix. The status ioctl is not implemented in this kernel.
[Desire HD Android Development] hrkfdn:
It won't clash. The daemon just won't print the status anymore and instead spit out an error message like the one you above. Removing is advised, but not a necessity.
[Desire HD Android Development] BumAround:
Umm, how to remove the fix (courtesy of mad-murdock) in an easy way? can it be done without a factory reset? :confused:
[Desire HD Android Development] SbTro:
This kernel didn't work for me. Stil 12- 13 mA.
[Desire HD Android Development] hrkfdn:
Do not flash the one from the first post. Also, do the voice search trick. This will be fixed soon, it's a bug in the FM Radio code..
[Desire HD Android Development] SbTro:
I flash the .zip from page 32. I try voice search but i stil have 12 - 13 mA.
[Desire HD Android Development] razy:
btw how do i check current mA usage? cant find the right widget

and also where is the 1.5ghz OC ? With the image from page 32 I can only do 1.2ghz :(

moreover, it would be nice to have 1.8ghz option like leedroid does. it was pretty cool and somewhat stable
[Desire HD Android Development] BumAround:
current widget.

underline the word "somewhat" (of "somewhat stable).:rolleyes:
[Desire HD Android Development] razy:
ok found the widget.

with this kernel its 11ma after few minutes with screen off (245/245mhz on setcpu 'screen off' profile and everything off and only 2g mode)
[Desire HD Android Development] razy:
currentwidget show 201ma when im playing music with wifi/bt on O_o

is that ok?

also, im getting blank screen when pushing the power on button. have to blindly unlock with a swipe, after that screen turns on - is that normal behavior ?
[Desire HD Android Development] BumAround:
You're asking too much with too little details, i.e. what ROM, radio, which apps, did you do full wipe...? :)
[Desire HD Android Development] razy:
cm7rc2 rom with mad patch and flashed the kernel from page 32

radio 12.28e.60.140fP_26.04.02.17_M2

apps: poweramp playing music over bt headset, i didnt launch any other apps after last reboot which was like 10mins before i took the battery usage stats.

and sure, i did full wipe (full-wipe-1.3.zip) before flashing cm7rc2
[Desire HD Android Development] BumAround:
Poweramp playing music over bt headset

seems to be the drainer.
[Desire HD Android Development] I'm TheQuest:
Hi hrkfdn

I understand you are very busy, but I would also like to know the answer to this? when you can give it

please

.

With regards

Take Care

TheQuest :cool:
[Desire HD Android Development] razy:
the blank screen bug appears to be only when i push power off/power on with ~1sec interval. if more, it works ok so nevermind, i can live with that.

the actual questions are:

1. can you recommend the more power-effective radio version (im located at europe/russia/moscow if that matters)?

2. what are normal current ma values for common use-cases (screen off with everything off, screen on with wifi, screen on with wifi/bt, screen off with music playing, and so on)?

3. can someone patch this kernel with more OC frequencies? or post a link with some instructions of that (im aware of linux kernel rebuilding, currently hired as linux sysadmin, im just a bit new to the android platform).

update: info about the blank screen bug is incorrect a bit. it randomly appears even when the screen was powered off few minutes ago. and it is not blank, its just backlight completely off.
[Desire HD Android Development] hrkfdn:
delete these files:

/system/etc/init.d/18aic3254pd
/system/xbin/aic3254pd
/system/etc/custom_backup_list.txt (if this one contains other entries, only remove the aic3254pd lines)
[Desire HD Android Development] I'm TheQuest:
Hi hrkfdn

Thanks very much. :D

Take Care

TheQuest :cool:
[Desire HD Android Development] kshting:
1. Flashed the test kernel, did a voice search and shortly after that, current widget showing 13mA.

2. Half an hour later, current widget is still showing 13mA, so did a second voice search and it is showing 13-20mA.

Am running latest CM nightly with Radio_12.28e.60.140f_26.04.02.17_M2_SF. Also running at 1.2gHz but don't think this has anything to do with it as I got 3-6mA with @mad-murdock's battery fix.

Cheers!
[Desire HD Android Development] razy:
could you please instruct me on how to get the cm7 kernel back?
[Desire HD Android Development] razy:
ow! i've forgot to try this voice search trick. after doing a voice search my current gone down to 4-5mA, cool

though if you say that stock cm7 kernel did the same (i didnt check it before flashing this kernel), i'd rather go back to the cm7 kernel
[Desire HD Android Development] hrkfdn:
Not yet. It will be incorporated in some of the next nightlies, I guess. To get back the stock CM7 kernel, simply extract the boot.img from one of the nightly ZIPs and flash it with fastboot, or reflash the whole nightly in CWM. :)

... or wait for the next PNK build ;)
[Desire HD Android Development] kshting:
It is strange that I could not get 3-5mA with this kernel as what othes have reported.

@hrkfdn, I respect the fact that you are busy, but any insight as to why it is not happening for me? Please, I need some wisdom of thoughts right now.
[Desire HD Android Development] hrkfdn:
the output of this command would help:

adb shell dmesg | grep -i aic3254

also:

uname -a
[Desire HD Android Development] kshting:
Ok, many thanks. Would go home and try it.

Edit: Re downloaded the test zip, lets see what happens this time.
[Desire HD Android Development] robE9:
So strange, after i flashed the battery fix was really nice 3 ma and even 1 ma but after deleting those 3 files im having heavy batt drain even with workaround, any ideeas?
[Desire HD Android Development] BumAround:
+3

@hrkfdn,

contrary to the popular belief, mad-murdock's batt fix works better than your kernel for some odd reasons, well at least for my application (phunkycow's Irksome Jalapeno with 26.06.03.24_M2 radio, always wipe cache+dalvik+batt stats). Last attempt was to re-flash the boot.img of the ROM with fastboot, then re-applied your zip kernel (from page 32), wiped cache+dalvik, rebooted, activated voice dialer, still yielding the same results plus aic3254pd status produced the same "error opening device" message.

Now I'm keep scratching my head. Ugh.... :confused:

Will see how the latest from phunkycow is going to be.
[Desire HD Android Development] hrkfdn:
why do you still have the aic3254pd, if you didn't flash mad-murdocks fix?

to everyone having problems, either flash the latest phunkycow build (killer llama) or at least for troubleshooting do this and give me the output:

adb shell dmesg | grep -i aic3254

also:

uname -a

the best showcase of the fix right now is to use the latest phunkycow build. also, when you say you did a fill wipe, do you also format /system?
[Desire HD Android Development] BumAround:
Please bear with me, my understanding that aic3254pd is to check the status of the aic3254pd driver/chip, and it's supposed to be OFF, or turned OFF automatically after 20 secs to save batt. Do I misunderstand?

I'm trying the phunkycow's latest right now (the Killer Llama), and already found out that the camera app is broken. :eek: ...more hours is needed to find out about the battery performance.

As I said, I did wipe cache and dalvik, but not the factory reset. Thanks.
[Desire HD Android Development] hrkfdn:
that is correct. but it's part of mad-murdocks battery fix. and having both fixes installed is not recommended. it just surprised me, that the file is still on your system, as it should have been deleted by formatting /system.

the aic3254pd is not required anymore, it also won't work with my kernel (at least not the status bits), because i have not implemented the ioctl that mad-murdock uses to retrieve the power status.

if you run into any further problems, please post the output of said dmesg command. camera bug is being worked on :)
[Desire HD Android Development] LorD ClockaN:
Will there be smartass governor introduced in the future kernel?
[Desire HD Android Development] xd4d3v:
I flashed mad murdocks kernel with batt fix over the standard RC2.

Can I flash this over madmurdocks now? Or Do i have to reflash RC2 first?

Thanks
[Desire HD Android Development] LorD ClockaN:
You can flash it, but than you lose mad's battery fix. There is a test.zip that has battery fix in this thread I think on page 32
[Desire HD Android Development] hrkfdn:
alrighty! build 66! worked on the battery drain fix some more.. doesn't powerdown after dsp changes anymore (not necessary) and also turns off rx/tx amps.

Changelog:

BUILD 66:
- Disable BFS
- Power down AIC3254 after usage (battery drain fix)
- Remove 122MHz
- Reset OC back to 1.2GHz
- bcm4329 updates
[Desire HD Android Development] kshting:
I'm sorry, just wish to be clear, is the voice search still needed? Thanks
[Desire HD Android Development] hrkfdn:
First post:

To make the battery drain fix work, either run Google Voice Search once (or anything else that uses the microphone) or use a ROM that has the FM-Radio disabled (for instance phunkycow's PNK builds). This is due to a bug in the FM-Radio code preventing the kernel from powering down the AIC3254.

you can also run "snd3254 -tx 29" via "adb shell" on the nightlies.
[Desire HD Android Development] LorD ClockaN:
How to remove mad murdocks fix if I allready have that installed on my nightly? Can I even use this kernel on a nightly? I don't want to wipe if I really don't have to. Thanx

Any news on the smartass??
[Desire HD Android Development] hrkfdn:
yes you can. if you do the workaround (one post above yours) once after booting..
[Desire HD Android Development] kshting:
Understood!!!! Many thanks!
[Desire HD Android Development] hedayat7:
For the new release, I noticed that sometimes the spikes come from suspend and resume aic3254. Get it from dmesg grep aic3254 status.

After a while, I also noticed that it continue to loop the resume and suspend and my current widget only get 12mA lowest.

Maybe a bug ? Btw I'm using pnk killer llama
[Desire HD Android Development] vinnieminnie:
Hmm, I used K-L with the standard kernel and got 3-5 mA. Now I flashed your new kernel and I can't get below 12 mA. What could be the problem?
[Desire HD Android Development] hrkfdn:
to everyone reporting bad battery performance, do this:

tell me which rom you are using

give me the out of

adb shell dmesg | grep -i aic3254

set the phone to airplane mode and measure again

if you run the kernel on a ROM that is NOT PNK Killer LLama, use something that activates/deactivates the microphone, such as voice search, making a call etc..

OR run this in the shell "snd3254 -tx 29"