yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] iPwn_:
Yeah I got the same drop in floating point performance.
[Desire HD Android Development] synergye:
Somehow the bus config option I added got disabled in the performance variant. Fixed in source now so it will be fixed in 1.4.
[Desire HD Android Development] dr0o2o:
I have strange bug if i leave my DHD to charge for some hours. When i plug my phone to charge over night its turned off on the morning. After turning on battery indicator shows 0% and when i replug AC adapter it jumps to 99%.

Not sure is it kernel related. cfX 1101.

Here is last_kmsg - http://pastebin.com/PDRryG0F
[Desire HD Android Development] Daimonion1980:
Thanks for your hint. Tried two Radios till now:

12.65.60.29_26.14.04.28_M

12.69.60.29_26.17.14.11_M

But with both Versions i had no luck and wireless won't work. Same behaviour like in my previous thread.
[Desire HD Android Development] paul.xda:
Are you on the latest firmware of the router?

v1 firmware is from 2009, v2 firware is from 2011, Do you have the same connection problems when not @ home?

If the problems are only with this router and not with others i would think its firmware related.

Troubleshooting is very dificult in this situation, only logic will help. Sorry i can't give the solution.

You could make a nand backup and try an other rom (CoreDroid=i have good experience).

Though i can't give a solution i'm curious about it. :cowboy:
[Desire HD Android Development] xhejtman:
I also noticed that charging LED indication does not follow charging cable immediately with v1.1+ kernels. I.e., if I fully charge battery, LED indication is green. If I unplug charger, LED is still green for tens of seconds. Did not happen with pre v1.1 kernels. Don't know whether it is intentional or not.
[Desire HD Android Development] synergye:
Just uploaded v1.4. Please check the changelog :)
[Desire HD Android Development] p2pjack:
1.4 looking good nice work :)
[Desire HD Android Development] SAPPH1RE:
Well, i think i notice some stuttering in homescreen.. only v0.8 give the smoothest ride.. on cm10..
[Desire HD Android Development] jeffhui:
my phone will be freeze after go to 1200 in performance kernel but okay in stable
[Desire HD Android Development] bananagranola:
That's why both versions are offered. ;)
[Desire HD Android Development] jeffhui:
but it never happened before, maybe because i'm still in 1030 nightlies? :confused:
[Desire HD Android Development] antond57:
Flashed over cm-10-20121103-UNOFFICIAL-ace no issues found so far, seems good.

And the performance is back, comparable with the previous 0.5 / 0.6 kernels now, great job.

Many thanks again.
[Desire HD Android Development] csection:
Hi Synergye,

I am one of those users who weren't able to use Performance kernel earlier on. Then I guess since 1.1,I was able to use performance kernel till version 1.3 (v1.4 again wont boot).

With Version 1.1 and 1.2, phone really felt more responsive than the stable variants. In the change log of ver 1.1 performance kernel, I had read that -mfloat-abi=hard was not used (and this probably had made it possible to use performance kernel for us).

Hence I Request a test kernel with the same aggressive bus clocks that current performance 1.4 kernel uses with the exception of not using -mfloat-abi=hard. I would love to carry out tests and report back how it works.

This might also help a lot of users who are unable to run performance kernel otherwise.

PS: Its just a request, you can always ignore it if you find it consuming too much of your time :P
[Desire HD Android Development] synergye:
Well it would actually seem that in those versions the performance/stable variants were basically the same since the config option had been disabled in the performance branch. Sorry about that.
[Desire HD Android Development] csection:
No Problem and Thanks.

I later on read v1.2's changelog and found that -mfloat=hard was indeed used (I was still able to run performance kernel).

I also tried v1.4-test1 (present in test build folder), that also works perfectly fine. Its just the 1.4 final version.

Should I assume then aggressive bus clocks never got applied from v1.1thru v1.4-test1 (as -mfloat=hard on was listed in v1.2's changelog)

Just want to figure it out, if its the bus clock or the cflag or something else preventing us from using performance kernels.
[Desire HD Android Development] synergye:
You are correct in your assumption that 1.1, 1.2, and 1.3 of the performance kernel were the same as the stable due to my mistake. I was wrong about that cflag being the reason.

sent from codefireX
[Desire HD Android Development] Nandeh:
I don't understand too much about kernels, but it would be possible to have one version to optimize at max the battery drain? I am sure that a lot of people will use it for daily...

Thanks a lot!

Enviado desde mi Desire HD usando Tapatalk 2
[Desire HD Android Development] wexus:
Quoto! This kernel consumes so much.: (
[Desire HD Android Development] DmK75:
Performance version maybe good, but can't usable

Device can freeze anytime at 1200mhz, e.g. in heavy games always freezes after 5min max

My battery cover in danger :D

Stable not have issues even at 1600 and more
[Desire HD Android Development] kBTWOFOUR:
I never had any issues with the performance kernels freezing my phone or not working. The performance kernels make my phone a lot faster and are just as stable as the official stable release.:D
[Desire HD Android Development] XL3N7:
Same here. No issues, overclocked at 1.5GHz
[Desire HD Android Development] vliegnerd:
Can we start a thread somewhere to discuss the vertical lines bug?

I have a (early, dutch) Desire HD with "spade AUO" panel that is heavily affected by vertical lines after screen off.

kmsg: (from aospX just after booting)

[ 0.000000] Calibrating delay loop... 511.18 BogoMIPS (lpj=2555904)
[...]
[ 7.429473] [lcm]spade_init_panel_type=0
[...]
[ 11.422576] [DISP]msmfb: pan_update in state(1)
[ 11.422607] [DISP]msmfb: full update starting
[ 11.510223] [DISP]msmfb: full update completed
[ 11.513793] [DISP]msmfb: turning on panel
[ 11.513885] [DISP]lcdc_unblank: ()
[ 11.514038] [lcm]spade_auo_panel_unblank

As I'm trying to identify differences between 2.6.x kernels (ie TalonACE existz) with working panel and this 3.0 kernel with display bug, I'm trying to narrow it down to low level hardware drivers. The drivers for spade/AUO panel are different between these two kernels.

Can someone with vertical lines bug confirm spade/AUO panel, or better yet refute this and have vertical lines with "sharp" or "unknown" panel?
[Desire HD Android Development] Ca0smaker:
Whenever i flash the performance kernel (on a clean, fresh install or only with cache/dalvik wipe)

i got a blackscreen (with buttonlights on) when i browse the photogalerie. This si the main cause the photogalerie.

I tried the new one (from Andorid 4.2), bit its still the same. I use the codefireX nightlys as my rom and update it

every few days and trying the performance kernel with that, bit its everytime the same...

I know not everyone can falsh it.

But anyway... any advise to use the perf.kernel?

best regards from Germany
[Desire HD Android Development] paul.xda:
I’ve noticed that wifi is with the 1.4 kernel better than before. Signal is better and more channels. :)

Synergye well done!
[Desire HD Android Development] dr0o2o:
I have this bug and my device has AUO panel.
[Desire HD Android Development] synergye:
Just uploaded v1.5 Kool Beans Ed. Please check the changelog, or git for the full changelog.
[Desire HD Android Development] karma_ownz:
Hey can anyone explain how to undervolt or link an app or guide that works to undervolt this kernel? thanks. :D

Sent from codefireX
[Desire HD Android Development] montyjosh:
1.5 stable kernel works fine to me but 1.5 performance kernel freeze my device on 1200 Mhz..i always wipe the cache & delvik cache before flashing the kernels and full wipe before flashing rom..it happened with every rom like..jellytime r27, unoffical cyanogenmod 10, pacman and also with codefire jelly bean..any fix ?
[Desire HD Android Development] panasomnic:
same bug here
[Desire HD Android Development] pnoire:
I confirm that with "sharp" panel, i don't have vertical lines or stripes. :)
[Desire HD Android Development] TomVenom:
Hello !

I'm facing the vertical lines/stripes bug, and my panel is AUO also... Thanks a lot.

483 <4>[ 6009.267333] [lcm]lcdc_spade_panel_off: uninit auo_panel
484 <4>[ 6009.267883] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):
558 <4>[ 6121.465026] [lcm]spade_auo_panel_power(1):
567 <4>[ 6121.629455] [lcm]lcdc_spade_panel_on: init auo_panel
919 <4>[ 6198.487335] [lcm]lcdc_spade_panel_off: uninit auo_panel
920 <4>[ 6198.487884] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):
1000 <4>[ 6255.345245] [lcm]spade_auo_panel_power(1):
1013 <4>[ 6255.516082] [lcm]lcdc_spade_panel_on: init auo_panel
1053 <4>[ 6286.287384] [lcm]lcdc_spade_panel_off: uninit auo_panel
1054 <4>[ 6286.287933] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):
1158 <4>[ 6461.304962] [lcm]spade_auo_panel_power(1):
1174 <4>[ 6461.475616] [lcm]lcdc_spade_panel_on: init auo_panel
1214 <4>[ 6492.267303] [lcm]lcdc_spade_panel_off: uninit auo_panel
1215 <4>[ 6492.267761] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):
1288 <4>[ 6521.515289] [lcm]spade_auo_panel_power(1):
1302 <4>[ 6521.679351] [lcm]lcdc_spade_panel_on: init auo_panel
1512 <4>[ 6587.327606] [lcm]lcdc_spade_panel_off: uninit auo_panel
1513 <4>[ 6587.327819] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):
1605 <4>[ 6683.345001] [lcm]spade_auo_panel_power(1):
1619 <4>[ 6683.508483] [lcm]lcdc_spade_panel_on: init auo_panel
1894 <4>[ 6738.547637] [lcm]lcdc_spade_panel_off: uninit auo_panel
1895 <4>[ 6738.548217] [lcm]spade_auo_panel_powerspade_auo_panel_power(0):

I also noticed that the bug is more impressive when battery is more charged...
[Desire HD Android Development] vliegnerd:
Thanks for the updates on the panel type versus vertical lines.

In the meantime I have compared the video (backlight/panel) driver/code in 2.6.x (aospX) versus 3.0 (this) kernel ---> no difference found. EDIT: The code is very different (moved to different places) but it seems the 3.0 kernel takes the same step when turning panel on/off as compared to the 2.6.x kernel.

Now I'm going to compile this kernel with a small mod that does never turns off the backlight. I'm wondering if the vertical lines appear with backlight on in sleep mode (as suspected by paulb_nl)
[Desire HD Android Development] synergye:
Good idea, please report back. I'm not affected by the bugs so unfortunately testing is difficult for me.

sent from codefireX
[Desire HD Android Development] TomVenom:
Thank you so much for your assistance...
[Desire HD Android Development] Raza Qadri:
Way to go synergye thanks for reviving our device
[Desire HD Android Development] panasomnic:
Any news about the issue (vertical lines)?
[Desire HD Android Development] vliegnerd:
Not here. I've built a kernel (this one, but without modifications) but no time yet to test it --> I use my Desire HD daily. I'm using my wifes win7 box to build the kernel (in a virtualboxed ubuntu install) but I can only build kernels overnight.

Assuming yesterday nights build actually boots on my phone, I should be able to report back tomorrow. Not with a fix, mind you, just with some more evidence.
[Desire HD Android Development] synergye:
Just uploaded v1.6. As always check the condensed changelog or github for the full changelog. Enjoy ;)
[Desire HD Android Development] vliegnerd:
Vertical lines bug update.

I finally got around to testing a self-built kernel that keeps display/backlight ON after "screen off".

After going to sleep the screen is black (crt like screen off animation) bu after awhile VERTICAL LINES APPEAR!! BINGO.

I'll try to take a picture (no camera here...) The screen is full of vertical lines in different colours.

I'm trying to use logcat and dmesg to find out *what* causes the vertical lines pattern to be shown. Unfortunately, I've been waiting for a bit now, but no pattern this time.

EDIT: I've been trying to reproduce the lines without succes... Now that its dark, its obvious that the backlight goes *off* even after commenting out the code that turn off the backlight and commenting out the code that turns off the panel. In dmesg I can see that my changed code is running, but the panel is still turned off through a reason yet unknown to me. Anyway: More testing.

Unfortunately I have seen the vertical lines *after* waking the phone up. Just not *before* waking the phone.
[Desire HD Android Development] panasomnic:
:good::good::good:
[Desire HD Android Development] -=[AvvaX]=-:
BTW, if it can help you to fix this vertical bugs... this first time appeared in the mid august builds. Earlier we all had backlight always on on lock screen bug. I can check if the bug is repro on JB build from 12 august, which I saved, if this can help you find bug in code. Should I?

Sent from my Desire HD
[Desire HD Android Development] vliegnerd:
August build is probably 2.6 kernel. Please see if the bug is present if it is a 3.0 kernel.
[Desire HD Android Development] -=[AvvaX]=-:
Tested with full wipe.

I checked aokp_ace_Aug-13-12_Jelly_Time_AOKP3.1.zip rom with default kernel 3.0.40KangBang-JellyTimeB13 (Aug13). - No vertical lines bug.

aokp_ace_Aug-25-12_Jelly_Time_AOKP5.zip rom with kernel 3.0.41_JellyTime_KangBang_B15.6_BT already has weird vertical lines bug like in current builds. But it also have full screen colored lines bug with touch not working, which is not present in current builds.

Probably, 3.x kernel is not responsible for this bug. I strongly believe this was introduced while trying to fix those 'backlight on' while screen locked.

All roms taken from https://code.google.com/p/aokpjellytime/downloads/list.

Hope this would help you.

The hardest thing was to make critical user mass and some interested people to pay attention to us, users with this bug. I tried to pay attention earlier, but with no success.
[Desire HD Android Development] TomVenom:
Thank you so much, guys ;)

If I can bring some help to anything ...
[Desire HD Android Development] vliegnerd:
Thanks for that. EDIT: The new msm_fb code was introduced right after aug 13. The code that fixed the backlight issue is not the culprit, but it must be the changed msm_fb commit that changed most of the spade/panel code. Looking into it.
[Desire HD Android Development] panasomnic:
I have AUO panel and vertical lines :D
[Desire HD Android Development] synergye:
Just uploaded v1.7. Please check changelog or github, and as always enjoy :).
[Desire HD Android Development] iPwn_:
Is the vertical line bug only supposed to happen on DHD? I've never seen it on my Inspire.
[Desire HD Android Development] vliegnerd:
I've only seen the vertical lines bug reported on Desire HD with AUO panels. That does not mean it's only DHD. Perhaps there are Inspire 4Gs with AUO.

Quick update: I have not been able to reproduce vertical lines (with screen off) this week. The vertical lines are very visible after sleep, but no real progress. Sorry about that.I'm now at a point that I'm running out of easy options to test and investigate. The mdp code is quite difficult to understand without docs/info. So I'm not really getting anywhere. :(

I'll be starting over once I sync to 1.7-stable...
[Desire HD Android Development] vliegnerd:
I have been running this kernel for a few hours now without vertical lines!

It keeps the lcd on (backlight turns off anyway) and thus uses 85mA (8 percent battery per hour) in deep sleep...

I will keep this one on charger overnight to be sure there are no vertical lines. Overnight lines are horrible and can't be missed.

Anyway along with keeping panel on I turned off triple frame buffer support. Will isolate that change tomorrow.
[Desire HD Android Development] -=[AvvaX]=-:
Thanks for investigation. We are awaiting your success in fixing this bug! Keep us informed about this.
[Desire HD Android Development] vliegnerd:
No vertical lines overnight while on charger. :laugh: I made a kernel last night with only the lcd_off code in /video/drivers/msm/mdp4_overlay_lcdc.c commented out. Unfortunately the phone uses much power with the lcd always on, but no vertical lines. I flashed the regular 1.7-stable kernel 10 minutes ago (I need normal battery use at work) and I already see some vertical lines in a corner. (It does help debugging to see lines this fast).

Hopefully I'll be able to zoom in some more tonight.

(Sorry for spamming this thread... will edit updates into this post)

EDIT: tuesday, nov 20th: Didn't really make any progress yesterday. Tried something new (educated guess) but unfortunately I woke up this morning with the phone showing vertical lines... So no luck. Had to nandroid restore aospX-rom this morning because I need my phone for work the next few days, without recharge possiblities. So no testing until end of the week, I'm afraid.
[Desire HD Android Development] TomVenom:
Hi vliegnerd !

How can you consider your answers as SPAM ! Thank you so much for your great work, and your feedback about the progress you constantly make !

thx, tom.
[Desire HD Android Development] AKK1983:
Any good luck with the fix for vertical lones?
[Desire HD Android Development] TomVenom:
No, not for me... Still having the lines. I've moved back to ICS 8.8. I fear that my DHD is condemned to Android 4.0.4 ... :(
[Desire HD Android Development] AKK1983:
Yea i guess thats the only option remaining. But if u flash JB rom from the 16th of August the lines ate not present. So am just thinking that cant it be possible to isolated the kernel from that rom and use it for any other JB rrom ie kernel 3.0.40
[Desire HD Android Development] TomVenom:
hmm maybe you're right... Never tested the JB rom from the 16th of August.

Wait and see for me, as we say usually...

Is it possible to know a percentage of DHD Owners concerned by the AUO Panel causing the vertical lines ?
[Desire HD Android Development] WordsworthESP:
These vertical lines only appear briefly, right? I guess I'm uncertain as to why that'd make you change ROMs completely.

Sent from my Inspire 4G w/codefireX
[Desire HD Android Development] AKK1983:
Its difficult to understand how annoying they are if u dont have them
[Desire HD Android Development] TomVenom:
Not really, the lines are always visible. They don't appear and then disappear. Even when the screen goes black, lines are still visible.

I really appreciate having the last technologies on my hardwares (phones, computers, ...). But unfortunately, for the moment, I'm obliged to stand on 4.0.4.

Thoroughly, when I flashed back my phone to ICS 8.8 after having use CFX, the lines were STILL visible for at least one half-hour ! It's amazing. And progressively, they disappeared entirely.

Imagine you are watching TV or Computer with these lines. Tt's inconceivable at mid-term.
[Desire HD Android Development] AKK1983:
Yea your right. I have noticed that if you flash lets say the letest kernel v1.7 on ICS8.8 you start getting the lines! So i think the bug is in the kernels but kernel 3.0.40 doesent have the bug i think only that i cant find i link to this kernel to try it out.
[Desire HD Android Development] TomVenom:
No lol, I still had vertical lines for half an hour whereas I was on ICS 8.8 with the kernel BFS 10.1 included in ICS ! And progressively, they all disappeared.
[Desire HD Android Development] AKK1983:
yes my point is even when you dont have the lines and then you flash kernel v1.7 on ICS 8.8 you will start getting the lines. and if you then flash kernel BFS 10.1 the lines disappear again.
[Desire HD Android Development] ITEX:
I'm getting it. It's very annoying. It definitely would be interesting to know what percentage of users have this issue.
[Desire HD Android Development] paulb_nl:
I probably fixed the vertical lines. The panel didn't blank properly and you could see the last screen slowly fading away when I forced the backlight to stay on and turned off the crt animation.

Now it instantly blanks the screen.

Please test this kernel to see if the lines are still appearing.
[Desire HD Android Development] pnoire:
Thank a lot for your work! I don't have this issue but i know a lot of users who will be very happy !
[Desire HD Android Development] salarkhel:
I can confirm that vertical lines are no longer there after testing your kernel for 15 min of locking and unlocking on 4.2....downloading cfx 4.1 and will report back.... Thanx for the treat....

Sent from my Desire HD
[Desire HD Android Development] AKK1983:
I flashed the kernel over night and had my phone screen off for over 5 hours now and no lines. They are gone, you are the saviour men. Am now enjoying 4.2. Thanks alot for your efforts
[Desire HD Android Development] dr0o2o:
+1
[Desire HD Android Development] dron39:
Your kernel based on v 1.7 stable or performance or...? :)

And why in kernel folder of your .zip i not see scsi_wait_scan.ko ?
[Desire HD Android Development] panasomnic:
paulb_nl, you are a hero! :good::good::good:
[Desire HD Android Development] vliegnerd:
HELD! (HERO!)

Thanks for fixing this. I haven't been able to work on this all week. I'll go ahead and test this right now. :highfive:
[Desire HD Android Development] manolov:
thanks for the vertical line fix! another think i noticed with this kernel is the very low battery usage.its the first time in jb i have between 3-5ma in standbuy.!!!
[Desire HD Android Development] pnoire:
i'm testing paulb_nl's kernel on DHD with sharp panel with no issue. It works perfect

Too early after flashing to speak about battery consommation
[Desire HD Android Development] paulb_nl:
Great to hear the vertical lines issue is fixed. :)

I did not merge the changes for while so its based on an old stable version.

The scsi_wait_scan.ko is not really needed I think.

I pushed the fix to github so it will be in the next release.
[Desire HD Android Development] TomVenom:
that's just amazing ^^

thanx a lot, I will wait the next KangBang build !

Thank you so much !
[Desire HD Android Development] kingofnice:
Would this work on ICS?
[Desire HD Android Development] kBTWOFOUR:
I don't think so. The kernel is for 4.1+ ROMs.
[Desire HD Android Development] p.lu.k:
I remember I flashed this kernel (I think it was version 1.6) in one of the MIUI versions from miuiandroid (ICS version) and it worked.
[Desire HD Android Development] synergye:
Sorry I've neglected this so much while working on 4.2. In the next day I should be able to release a much needed new version.

sent from codefireX
[Desire HD Android Development] Jaxellis:
Good to hear :)

Sent from my Desire HD
[Desire HD Android Development] synergye:
just uploaded v1.8 KillBill edition :). Please check changelog and be sure to enjoy.
[Desire HD Android Development] scorpio09:
Thanks a lot synergye. Flashed the new kernel over CM10 1128 build and the headset controls are working now.
[Desire HD Android Development] t0mas_:
just flashed performance version over sr5 and it seems to improve standby battery usage. current widget shows 6ma instead of 11 now :)
[Desire HD Android Development] dreamland2000:
Can this be used on your 4.2 Rom and off so will it make any marked difference?
[Desire HD Android Development] bananagranola:
I'm looking at the android default.xml on bitbucket, and I believe that the kb-stable branch is the one used in 4.2:

<project path="kernel/htc/KangBanged-7x30" name="KangBangKreations/KangBanged-7x30" remote="github" revision="kb-stable" />
[Desire HD Android Development] :
Thanks headset button work great :)
[Desire HD Android Development] nickdoherty:
I flashed dirty on newest nightly and no issues:) MD5: 14c28e2f6e7376e83f1b7c61abdec83c
[Desire HD Android Development] xhejtman:
Would it be possible to provide also boot.img that is ready for flashboot boot boot.img ? I have s-on DHD that is not ready for zip updates of kernel..
[Desire HD Android Development] magic1977:
It doesnt work for me. Md5 is correct and i can open the ZIP. Now i did a full wipe, install latest codefirex nightly. Let it settle, then flash the kernel. And now something really strange happend. My phone booted itself into recovery.

So i wait until the new features made it into the ROM.:rolleyes: