yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] dirkyd3rk:
Could definitely be the cable dude. I've owned 2 diff cables both I bought from Amazon; 1 is absolutely terrible and disconnects on its own, and the second cable is perfect; both new paid about 6 bucks a piece. So yes cables could play a huge role.
[EVO 4G Android Development] RichTJ99:
Just a FYI, I did test CM 6.12 (my daily driver) & it does seem to work just fine!
[EVO 4G Android Development] adeyo:
Awesome...that was my daily driver too. Great to know.

@Shinzul -AWESOME WORK! The alpha blew away my expectations. I prefer the simplicity of this app to fullHDMI. I also like the banners, but could understand that the option to disable (black sidebars) in some cases would be preferred.

***did i read somewhere that you were going to have this "webtop" enabled at some point, like the atrix?? :eek: That would be unbelievable!!!***
[EVO 4G Android Development] aceytech:
Cable & display issues

For everyone experiencing flakey HDMI cable behavior, crashing or no video:

Blow all the dust and pocket lint out of your HDMI connector! Use a can of compressed air, the kind for electronics.(no moisture)

You may not realize it, but there's ~20 connections at 0.5mm pitch, all DIGITAL**, and many of them are dependent on one another, all inside that little connector.

Hope this helps you. Cheers!

**The signals go thru or they don't, unlike analog, which looks fuzzy or diminished colors, etc..
[EVO 4G Android Development] :
Excellent suggestion. Shinzul should put this in the OP (or second post for troubleshooting tips).

Cable quality is a common problem as well. Wish it were easier to fix. :)
[EVO 4G Android Development] aceytech:
Nothing wrong with your graphics shift, I'm sure most people are just concerned about burn-in.

It's great that they'll be changeable. A whole new category for the themers!
[EVO 4G Android Development] -shift-:
lol i know. i was just being facetious ;) ..the banners were just for the initial presentation.
[EVO 4G Android Development] Dees_Troy:
WiFi Keyboard

If you don't want to spring for a Bluetooth keyboard or want to try it out before spending the money, then try this great app that is free in the Market:

WiFi Keyboard

It will allow you to connect to your EVO via WiFi (or 3G/4G) from any computer with a web browser. Whatever you type in the browser will be sent to your EVO. It even has a gaming mode for those that don't have a WiiMote (or if you're using Sense).
[EVO 4G Android Development] mytich:
Time to buy HDMI dock b4 price hike after this release.
[EVO 4G Android Development] da_wesmeista:
This is awesome! I've been scanning the boards daily waiting for the release :D
[EVO 4G Android Development] Shinzul:
Added it to the FAQ section :)
[EVO 4G Android Development] jcalba89:
wiped cache and dalvik-cache. fixed the white screen problem for me

:') its beautiful

Thank you!
[EVO 4G Android Development] :
Oh, you need overscan correction! Coming soon!
[EVO 4G Android Development] bradleyw801:
Shinzul and friends, do you forsee making an option for the user to choose their own kernel, and just add your drivers? Or will you just bake the drivers into cyanogenmod and allow anyone using any kernel and CM to use the app?

I did have an issue, I can't say for sure that it's related, it just happened after installing this .zip.

My phone's battery died. I plugged the phone in and let it charge for a bit, then I turned it on. It got stuck at the white splash screen. I pulled the battery, put it back on, and tried to boot up again. Same thing. Stuck at the white screen forever.

So, I pulled the battery, booted into recovery, wiped the dalvik cache, and re-installed the zip. So far so good. I have turned the phone off and on just to check and it booted up fine.

I will report back if the same thing happens after my battery dies. If not, it may be unrelated.
[EVO 4G Android Development] jcalba89:
yeah, but im happy. overscan doesnt bother me that much

here's another pic
[EVO 4G Android Development] :
The kernel will be completely open-source as required by the GPL. Unfortuantely, the GPU driver itself is *not* a driver, it's part of a bigger "built-in" component of the kernel. While it would be possible to split the driver out into a loadable module, that's not the default behavior for is at present, and we didn't bother to change it.

It will be at the discression of different ROM "owners" to determine if they want to integrate the changes into their ROM or not. We'll be happy to help them with the integration.
[EVO 4G Android Development] bradleyw801:
Thanks for the quick response.
[EVO 4G Android Development] agrabren:
That is not a healthy looking kmsg log... The nand writer is failing to write. I never saw an HDMI edid parse in the log, so can't say if that is also breaking. Do you boot with the cable plugged in? Or are you plugging in after you're booted?
[EVO 4G Android Development] rnunz:
Yes I am using KM.
[EVO 4G Android Development] agrabren:
Give the following link a try:

http://www.techerrata.com/agrabren/PoonSense-signed.zip

It doesn't have the fixes yet for YouTube and Gallery, those are in the works. I really wish HTC would get the source code for GB sense released so I can port into Synergy ROM.
[EVO 4G Android Development] Apo11on:
plugging after booted, because most of the time I cant even boot if the cable is plugged in - phone gets stuck on the white screen. I will wipe my kmsg, do more testing and try to generate a clean log.
[EVO 4G Android Development] Apo11on:
OK, this one looks much cleaner. I've verified there is HDMI trace in it and in this log I was able to captuire both events: daemon v6 download loop (I tried to download 3 times) and phone freeze after unplugging/plugging back HDMI cable.

I really really hope this sheds some light on the root cause. I'm here if you need more logs or to do more testing
[EVO 4G Android Development] Apo11on:
I think this is the sequence, where I've unplugged and reconnected HDMI cable, after which the phone froze and I had to pull the battery:

<4>[ 8.526794] [hdmi/tpi]tpi_start, ID=9024

<4>[ 8.527313] [hdmi/hdcp]hdcp_init:

<4>[ 8.531280] [hdmi/hdcp]hdcp_check_support: ret=1

<4>[ 8.538330] [hdmi/hdcp]hdcp_check_aksv: askv={4a, a5, 94, e7, 33}

<4>[ 8.541564] [hdmi/hdcp]hdcp_check_aksv: :ret=true

<4>[ 8.546142] [hdmi/hdcp]hdcp_off:

<5>[ 8.560668] 0x00003ff60000-0x000040000000 : "misc"

<5>[ 8.567504] 0x000004240000-0x0000046c0000 : "recovery"

<4>[ 8.567779] [hdmi/tpi]tpi_cable_disconn, into_d3=1

<4>[ 8.568084] [hdmi/hdcp]hdcp_off:

<5>[ 8.573730] 0x0000046c0000-0x0000049c0000 : "boot"

<5>[ 8.578002] 0x0000049c0000-0x00001a7c0000 : "system"

<4>[ 8.601318] [hdmi/tpi]tpi_cable_disconn, playing=0

<4>[ 8.601470] [hdmi/lcdc]lcdc_disable_video, blank_count=0

<4>[ 8.601745] [hdmi/tx]hdmi_standby

<4>[ 8.604553] [hdmi/tx]hdmi_standby: INT_EN=01

<3>[ 8.606201] msm_i2c msm_i2c.0: error, status 43c8 (3B)

<3>[ 8.606384] msm_i2c msm_i2c.0: Error during data xfer (-5) @3B

<4>[ 8.606597] [hdmi]hdmi_power(2)

<4>[ 8.608825] [hdmi/tpi]Cable unplugged.
[EVO 4G Android Development] rnunz:
I still get stuck in the boot up loop. The kernal installs but will not reboot even when using the link you provided.
[EVO 4G Android Development] agrabren:
What kernel do you normally use?
[EVO 4G Android Development] Apo11on:
I decided to give PoonKang a shot, just to test the latest EDID fix, but in kernel manager it says "Last Updated: 5/18" for PoonKang, so I tried to flash GoDm0dE v9 instead, which I know for a fact have the fix. Couldn't flash it - see snapshot.

I'm pretty sure this is related to those nand writer errors, in the first kmsg log I sent - how do I fix this?
[EVO 4G Android Development] rnunz:
PoonKang(v1)

PoonKang(v1)
[EVO 4G Android Development] agrabren:
Oh! Then don't use poonsense! You're running an AOSP os, not sense. Have you grabbed the latest poonkang from km?
[EVO 4G Android Development] Apo11on:
I was able to flash GoDm0dE v9 in recovery. Still getting daemon v6 download loop, HDMwIn still doesnt work - says "Cable Undetected" and unplugging/replugging HDMI cable still causes phone to freeze. New kmsg log for all this stuff while running GoDm0dE v9 is attached
[EVO 4G Android Development] agrabren:
There is nothing in your log showing that your device was ever detected at all. You should try a Sense ROM and see if you can get YouTube or Gallery to work with your HDMI port and HDMI cable. From the log provided, it appears that your HDMI port or cable are defective.
[EVO 4G Android Development] Apo11on:
I came to CM7 from Sense rom and using that Sense rom and the same HDMI cable i'm using now I was able to get HDMwIn to work - youtube, gallery and everything else, with the exception of HDMI audio and frequent freezes when unplugging/plugging the cable. If you're suggesting my HDMI cable may have gone bad - I still have nandroid backup of that Sense rom, so what I will do tonight after work is I will flash that rom again and test with this HDMI cable. My money is on the fact it'll still work and it's not my hardware, but I'll let you know. Thanks for taking the time to look into this.

UPDATE 1: Flashed Sense rom - HDMwIn starts up just fine - no daemon v6 download loop whatsoever. Kernel used with that rom: 2.6.32.27-netarchy-toastmod-4.3.4-cfs-havs-more-sbc. Software is 3.70.651.1

UPDATE 2: my HDMI hardware works. Just as before, I was able to get HDMI mirroring working using this Sense rom, with the same symptoms: no HDMI sound and freezing most of the time when plugging the cable

Do you think it would be possible for you to give me a kernel version with debug traces enabled, which would output to the text file whatever things you need to see, to find out whats going on?

Meanwhile, flashing back my CM7 nandroid and giving GoDm0dE v9 another shot

UPDATE 3: And I'm back to daemon v6 download loop and "Cable Undetected" message...Well it was still worth going back to Sense - allowed me to make sure my HDMI hardware is OK
[EVO 4G Android Development] bigboy7525:
Love Donating 2day its working just fine on my evolution with Konis Elite rom
[EVO 4G Android Development] agrabren:
Can you try one more test? Reboot the device without the HDMI cable plugged in. After the device is up, and you've started capturing kmsg, plug the cable in for the first time. Give us a copy of that kmsg log.
[EVO 4G Android Development] Apo11on:
based on what you just said I'm not sure I've been collecting kmsg the right away. I was just doing: cat /proc/kmsg > /sdcard/kmsg.txt AFTER creating all the freezing, daemon v6 download loop, etc' :(

was I not doing it right, and this cat command is actually an ongoing process, which I should have run before doing the tests?
[EVO 4G Android Development] Apo11on:
OK, this time I did kmsg log output redirection to sdcard before I plugged in the cable. Phone was rebooted, as asked, and as soon as I plugged the cable phone completely froze, as usual - had to pull the battery. Log attached. Thank you very much for not giving up on me, heh
[EVO 4G Android Development] Apo11on:
there is definitly EDID stuff in that log, lines like this make me believe my cable is actually detected:

<3>[ 221.039855] SiL902x-hdmi 0-003b: tpi_read_edid: i2c transfer error

AND

<4>[ 247.003143] [hdmi/edid]edid_simple_parsing

<4>[ 247.003662] [hdmi/edid]edid_do_checksum: result=pass

<4>[ 247.004455] [hdmi/edid]edid_check_header: result=fail

<3>[ 247.004974] edid_simple_parsing: incorrect header

<4>[ 247.005889] EDID data:

<4>[ 247.005920] 0000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.005950] 0010 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.005981] 0020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006011] 0030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006042] 0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006072] 0050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006103] 0060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006134] 0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006164] 0080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006195] 0090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006225] 00a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006256] 00b0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006286] 00c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006317] 00d0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006347] 00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006408] 00f0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<4>[ 247.006439]

<4>[ 247.006439] =====[hdmi/edid]edid_check_sink_type: ret=0
[EVO 4G Android Development] agrabren:
Yes, we definitely saw the device connect there. You're failing the edid retrieval, which is why we're having troubles. I'll read the log in more depth tomorrow. But that's got a lot more to work with.
[EVO 4G Android Development] Pithism:
does poonsense suppose to work with new sense 2.1/3.0? or just gingerbread with sense 2.0

EDIT

Never mind i answered my own quesiton, just waiting for new poon sense then, because like others have said i keep getting a endless bootloop.
[EVO 4G Android Development] rnunz:
Anything new to report on the poon sense rom?
[EVO 4G Android Development] agrabren:
I'm stuck waiting for HTC to release source code for the OTA update.
[EVO 4G Android Development] Pithism:
id figured it be out by now???, how long does it usually take?
[EVO 4G Android Development] ViViDboarder:
Well, they have the ability to release it any time they want. It's there obviously. They released a kernel.
[EVO 4G Android Development] Apo11on:
have you had a chance to look at the log? any configuration changes I could make to achieve successful edid retrieval? any way we can leverage the fact HDMI actually works for me on froyo sense rom? (with the exception of sound and freezes)
[EVO 4G Android Development] rnunz:
Does the update released today help/fix our problem?
[EVO 4G Android Development] dvtmg704:
help

can u turn screen off and still watch a movie on ur TV
[EVO 4G Android Development] m4f1050:
I think I read in this very thread that you can't, it is mirroring the screen, so if you turn it off, the mirror gets turned off.
[EVO 4G Android Development] agrabren:
It should be possible, but we're waiting on HTC to release the gb source.
[EVO 4G Android Development] agrabren:
Apo11on, sorry, I'm on vacation with the family. Will read it when I get back.
[EVO 4G Android Development] Apo11on:
no problem and have fun! I appreciate you letting me know.
[EVO 4G Android Development] rnunz:
Any progress on a fix yet?
[EVO 4G Android Development] xlxcrossing:
So I've been trying to get HDMI working at all on Sense 2.1 roms (MikG and Synergy) so far I can't get any output from HDMI on those roms just out of the box. I tested the mirroring app with the custom kernels suggested and the closest I got was with TeamHDMwIn's kernel. I was able to mirror my phone just fine but all video playback was replaced with a blank white screen instead. The sound came through fine though! Just what's going on with these darn HDMI issues? Are there going to be future releases of a stable kernel that can mirror without breaking video playback. I'm so close to getting what I want in this department. Any info I'm missing or suggestions for me are gladly welcomed.
[EVO 4G Android Development] louforgiveno:
Htc needs to release the source for the kernel that is running on sense 2.1&3.0, then dev's will need to port hdmi functionality into the roms (which are built off evo shift rom which is not a hdmi capable device)

nothing impossible, but that source code is the end all.
[EVO 4G Android Development] agrabren:
I don't need the source, fre3vo and fre3dom have been taking all my time...
[EVO 4G Android Development] m4f1050:
Can someone please post a working combination (kernel,ROM,HDMwIn) for YouTube/VLC S&C and HDMwIn to co-exist?

Thanks!
[EVO 4G Android Development] ViViDboarder:
CM7, GoDm0dE, HDMwIn
[EVO 4G Android Development] rnunz:
Are you telling the EVO 4G users that we will not get a fix for HDMwin ?
[EVO 4G Android Development] ViViDboarder:
Works perfectly in CM7. :) But he's a busy guy. He's got a new phone and the EVO 3D and Sensation communities are totally revolving around his new root package.

If he gets time I'm sure he'll take another look. If not maybe I'll take a look at it. :P
[EVO 4G Android Development] kennedy4260:
I just loaded this kernel with kingsrom alliance 7.4. And I am experiencing a white screen on all of my cameras. Has anyone run into this? What did you do to resolve? Thank you.
[EVO 4G Android Development] rnunz:
But we need it to work on the sense rom.Have you checked the EVO forums to see how many people are asking for a fix.
[EVO 4G Android Development] louforgiveno:
you can't run this on that rom, flash back to the latest stock htc kernel
[EVO 4G Android Development] DSwarP:
I would love to see this functionality as well because I am trying to do the exact same thing.
[EVO 4G Android Development] ViViDboarder:
Well it works on any non 2.3.3 sense Rom I think. To get a new kernel it might take the new kernel source. Are there any kernels out for your Rom?
[EVO 4G Android Development] rnunz:
Yes it worked on my stock sense Rom before I upgraded to 2.3.3.( I am running the stock rooted GB Rom and kernel.) I would like to have it work on this upgraded Rom. I do not know of any custom kernels for this Rom.
[EVO 4G Android Development] xlxcrossing:
So far we're good with AOSP roms and Stock Sense 1.0 roms....I appreciate this thread being active, looking forward to future fixes for sense 2.1 and 3.0. Question: If mirroring is working but video playback is not that means kernel is activating successful mirroring but borking video playback - although that seems weird that the intended kernel would disable it's main function which is video display. Is the issue more than just the kernel, does it have to do with video compression/decompression?
[EVO 4G Android Development] m4f1050:
Right on the spot, used your combination, and I have to admint, CM7 is super nice! Love it so far! I was testing CM7 for the EPIC but it's not as good yet...Hope they figure it out, because the EPIC is my phone and the EVO is wifey's..
[EVO 4G Android Development] Apo11on:
nope, that combination doesn't work for everyone. detailed logs are posted few pages back
[EVO 4G Android Development] ViViDboarder:
Works for everyone but you. ;)

Still looking to see why. This looks like where it gets hung up to me... I haven't been in the edid parsers in quite some time, but if I can find some time I'll see if I can't find something fixable. It's got to be some combination of things since it works for most people with the same combination.
[EVO 4G Android Development] AzumaK:
Godmode does work for me, but won't route HDMI audio correctly. I've tried all the kernels that have the EDID parsing fix that I need, and only Poonkang479 routes HDMI audio and gives consistent performance in CM7 and MIUI. I did have a headphone audio stuck bug for a couple dozen CM7 nightlies, but not on MIUI. I'm happily staying with it for a long time.

It was a long, hard, frustrating process testing cables, adapters, TVs and kernels as they were released and making minimal progress. Thanks to all the developers and XDA members, I finally figured out everything I needed to do. It's not perfect, I have to start mirroring, stop, uncheck and check route audio, mirror and it works. But now, I can even unplug and plug in the cable and it mirrors again. Mirroring even holds through doing LCD density change! Teamwin, and ViViDboarder especially, rock! :D
[EVO 4G Android Development] xlxcrossing:
Any timeframe, specific or non as to when a fix for sense 2.1 and above roms will occur?
[EVO 4G Android Development] thegregbradley:
I have tried every kernel out there. SZ, Tiamat, Godmode, poonkang... every time I click "start mirroring" on HDMWIN it makes my phone reboot. Currently running MIUI 1.7.8, and it WAS working like an hour ago till I started flashing kernels. I did cache/dalvik clears between each one. What is going on?
[EVO 4G Android Development] agrabren:
After fixing a scaling bug in the HDMI daemon, I tested on GB Sense, and it works perfectly. So if you're running a GB Sense build, just update and it should work fine.
[EVO 4G Android Development] jamsterzak:
Word. Thxs for the update!, now get on fre3dom,or I kill you! xD
[EVO 4G Android Development] louforgiveno:
which rom did you test with?
[EVO 4G Android Development] agrabren:
I'm using Kingdom ROM with the OTA GB kernel from HTC.
[EVO 4G Android Development] Pithism:
When you mean update do your mean up date the GB ROM or one of the links to download the kernel in the op
[EVO 4G Android Development] agrabren:
Running the HTC GB kernel that came to everyone.
[EVO 4G Android Development] louforgiveno:
gonna try this with kingdom
[EVO 4G Android Development] rnunz:
How do we get the update?
[EVO 4G Android Development] agrabren:
It should prompt to download when you start the app.
[EVO 4G Android Development] nickdollahz:
v7 daemon doesnt work at all for me using Synergy-Kingdom NIghtly 7/9 Rom, MikG all using HTC kernel and AOSP rom that worked with v6.
[EVO 4G Android Development] xlxcrossing:
When you say kingdom build do you mean the Rom you tested on is sense 3.0. I've tested on sense 2.1 + roms to no avail but ill check the fix. I'm running mikg so I'm wondering if you mean it tests fine on stock ota, stock sense (1.0)
[EVO 4G Android Development] agrabren:
I had sense 3, so I'll have to test some other configs. I also didn't test the UI or sound. I was fixing a quick bug to take my mind off E3D for a night, and found it worked with the gb kernel, when it wasn't before.
[EVO 4G Android Development] nickdollahz:
Could you roll back the daemon or atleast give us the previous daemon. Reading the recent market comments. It seems the new daemon is doing more harm then good atm.

Would really like to use the mirroring feature that was working last night.

Edit: Ill be willing to test all major ROM/Kernel combinations.
[EVO 4G Android Development] stkiswr:
It is. The new daemon broke my EVO deck mirroring
[EVO 4G Android Development] rnunz:
It does, but it never stops installing.
[EVO 4G Android Development] stkiswr:
The only reason I blame the daemon is for 4 days I have mirrored on my tv in the bedroom. Today I am prompted for daemon v7 and I hit install and it now won't work. Cable is new. I have tried everything to get it going but no luck. Data wipe. Reboots. Even uninstalling reinstalling. Rebooting after dling. Rebooting my ass off lol.
[EVO 4G Android Development] agrabren:
I'll fix it tonight. My EVO wasn't running CM, so I tested against Sense 3.0 only.
[EVO 4G Android Development] thegregbradley:
Hmm I wonder if my difficulties are all due to this new daemon? Slay this new daemon please :) Or perhaps an AOSP and a Sense version could be released? HDMwIn makes my phone lock up and reboot now.
[EVO 4G Android Development] stkiswr:
Thank u! It also wouldn't work on mik g 2.1. :( of course w the kernel in the first post it works but broke my camera lol.
[EVO 4G Android Development] agrabren:
It already handles the difference between AOSP and Sense. I'll fix it tonight, but it shouldn't cause lockup and phone crash. Are you running a custom kernel?
[EVO 4G Android Development] stkiswr:
I had lockup and reboot w tiamat 4.0.5 and evodeck 1.2.1. Then switched to savaged zen 2.2.1. No lockup but neither would output video. My cable is correct and good. It has worked all week w the sz 2.2.1 until it prompted me to update. Then all is lost. Thank you for yeting to help.