[Q] USB DAC/audio - Galaxy S II Q&A, Help & Troubleshooting

Hey, I've been through the forums searching out whether the i9100 has the capability to run its audio through a usb dac and have only come up with old and dead threads. This http://blog.jdslabs.com/?p=838 is saying that to utilize at lease their dacs you only have to either be compatible with usbaudioplayerpro or have a cyanogenmod rom (i'm guessing CM10/11). I've checked the compatibility list for the usbaudioplayer (http://www.extreamsd.com/USBAudioRecorderPRO/) and the i9100 isn't officially compatible because it has "No USB host mode" at term I think is synonymous with otg, and I've used an otg checker and my current setup (i9100 with http://forum.xda-developers.com/gal...m-gt-i9100-resurrection-remix-v4-0-7-t1436854) has that capability. On top of this the resurrection remix 4.4.2 rom is based on CM11 and so that makes me think that it will have the usbaudio problem solved anyway. I hope that I haven't missed anything significant, and for those wondering, the reason I haven't posted this in the rr thread is that I need ten posts to post there. Hopefully someone can confirm that this is now possible so that I, and others interested can go about buying usb dacs to bypass the shoddy yamaha internal dac.
tldr; is it now possible to run a usb dac on the i9100 using the new kitkat roms (specifically http://forum.xda-developers.com/gal...m-gt-i9100-resurrection-remix-v4-0-7-t1436854).
Thanks,
Luke

TL;DR = no.

MistahBungle said:
TL;DR = no.
Click to expand...
Click to collapse
I've seen that you have always been on the answer end of these threads, hopefully you can tell me why this really is and what steve kondik's work has done for the situation as I've read that he solved the problem for CM (an idea backed up by the original link i posted). Why has his contribution made the difference on other models but not this one? So it's a hardware issue or? Sorry if you just end up repeating yourself but it's not quite making sense.
Thanks,
Luke

I've been on the answer ends on a lot of these threads because for the two yrs I used my S2 (I don't anymore), I was very keen to have USB DAC functionality for myself if it was possible. Yes, everyone is aware of what he's been able to do, but it isn't possible with this device due to hardware limitations.
Trust me, if it was possible, it would have been done by now, as you know you're not exactly the first person who would like this to work.
Edit - It hasn't solved the problem for CM period, it's solved the problem for a number of devices. If you don't believe me, flash CM & see if you can get it to work.

Sorry for the thread resurrection... I happend to browse across the following, which looks promising:
- Galaxy S2 DIY Car Dock with USB audio output (https://www.youtube.com/watch?v=skgEKS4uzWA)
- [HOWTO] Enable the car dock external audio without Samsung's Home apps by TheBeano (http://forum.xda-developers.com/showthread.php?t=980937)
- Fun with resistors (home/car dock mode + more) by TheBeano (http://forum.xda-developers.com/showthread.php?t=820275)

I am also kinda interested in this.
So far it seems that my headset is being detected by my s2 running pac rom.
There is still no sound output.
I would say it is because the lack of usb audio drivers in our devices.
All that is needed is to compile the snd_usb_audio.ko module and load it.
From there on, I assume android can handle it well enough.
Otherwise we can use alsa directly.
Edit: After loading the module, sound works (from chroot) but I don't know how to tell android to output to the headset.

ruleh said:
I am also kinda interested in this.
So far it seems that my headset is being detected by my s2 running pac rom.
There is still no sound output.
I would say it is because the lack of usb audio drivers in our devices.
All that is needed is to compile the snd_usb_audio.ko module and load it.
From there on, I assume android can handle it well enough.
Otherwise we can use alsa directly.
Edit: After loading the module, sound works (from chroot) but I don't know how to tell android to output to the headset.
Click to expand...
Click to collapse
Hi ruleh, can you try this trial app 'USB Audio Player PRO' to test if it works? https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
You can find the trial link in the app description section.
Do let us know your findings.
[emoji16]
Sent from my GT-I8190N using Tapatalk

tltan86 said:
Hi ruleh, can you try this trial app 'USB Audio Player PRO' to test if it works? https://play.google.com/store/apps/details?id=com.extreamsd.usbaudioplayerpro
You can find the trial link in the app description section.
Do let us know your findings.
[emoji16]
Sent from my GT-I8190N using Tapatalk
Click to expand...
Click to collapse
I will look at this at some point after I get my kernel sorted out.
(probably this week)

--- edit ---
after a few more staring at the item (as item gallery does not have better view perspectives), i could be wrong... ha. i'll update back once i have more details ya.
--- end ---
i found this cable, "USB 2.0 Adapter Splitter to micro usb 5pin + Car Aux Stereo Jack audio 3.5mm" - http://www.wish.com/geek/m/c/552f5808563a980bffe08ae8, which allow phone to go into "car mode"... i have yet to try, but i believe with this, you no need to diy your own as mentioned in my previous post; and it seems that you only need to rewire the 3.5mm audio jack to the usb male connector...?
ha. my two cents.
Sent from my GT-I9100 using Tapatalk

Related

[Q] slow/distored sound with android car stereo unit

whats up guys, this seemed the best place to post this since it doesnt pertain to any of the devices listed here. i have the Dynavin Android unit (www .dynavin .com / android.php) in my car and im having an issue that so far it seems only 2 other users have had.
with this unit there are 2 "sides", 2 different computers in one is guess you can say. the am/fm radio, CD/DVD, bluetooth, etc is all completely separate from the android OS side. whats happening to me is ALL sound played on android gets distorted, slow, and staticy. i have reinstalled the firmware numerous times, used different SD cards, i have tried different apps, it happens with music from the SD card and internet music, it even happens with the sounds when u adjust the volume. nobody on our huge thread at e46fanatics can figure it out and only 1 or 2 other people have had the issue.
the weird part is that many times it will play fine for a few minutes and then start to slow down, and even rebooting doesnt help at that point. im thinking maybe it could be overheating, but even with the a/c blasting in the car it happens. and the radio/cd part is completely unaffected.
thoughts?
nobody has any idea? its android 2.2
geez tough crowd
ANY ideas?
dammit....
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Can you post a link to the beemer forum thread?
Kind of sounds like a faulty unit though...
Sent from my GT-I9100 using Tapatalk
landwomble said:
Can you post a link to the beemer forum thread?
Kind of sounds like a faulty unit though...
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
thats what im starting to think, hope not though. heres the thread: http://forum.e46fanatics.com/showthread.php?t=839753
opey said:
thats what im starting to think, hope not though. heres the thread: http://forum.e46fanatics.com/showthread.php?t=839753
Click to expand...
Click to collapse
Wow, that's a sizeable thread!
Looks an interesting device. What troubles me is that it appears to be an intermittent issue. I'd agree that heat could be a culprit, possibly - I'd be tempted to try running it out of the car for an extended period of time and see if that helps.
You could also try OSMonitor or similar and see if you can monitor internal temperature. If the ROM is rooted, you could even try under or overclocking it and see if that helps.
Car audio I can cope with, but Android debugging not so much - you could try doing a logcat (assuming you can hook up via USB) and see if it gives you useful info when it's freezing up.
I have to say, this is screaming out for you to install Torque on it and a bluetooth ODBII scanner...!
landwomble said:
Wow, that's a sizeable thread!
Looks an interesting device. What troubles me is that it appears to be an intermittent issue. I'd agree that heat could be a culprit, possibly - I'd be tempted to try running it out of the car for an extended period of time and see if that helps.
You could also try OSMonitor or similar and see if you can monitor internal temperature. If the ROM is rooted, you could even try under or overclocking it and see if that helps.
Car audio I can cope with, but Android debugging not so much - you could try doing a logcat (assuming you can hook up via USB) and see if it gives you useful info when it's freezing up.
I have to say, this is screaming out for you to install Torque on it and a bluetooth ODBII scanner...!
Click to expand...
Click to collapse
yea its not rooted and the manufacturer doesnt seem to want to help with that, and they cant seem to replicate any of the issues the units are having (including force close loops). as for Torque, problem is that the bluetooth doesnt work with the android part, it only works on the radio part for phone calls or streaming music. its like 2 separate OS's in one unit.
landwomble said:
I have to say, this is screaming out for you to install Torque on it and a bluetooth ODBII scanner...!
Click to expand...
Click to collapse
The Android side of the unit has a hardwired OBD connection available, and the latest units have an OBD software module.
opey said:
as for Torque, problem is that the bluetooth doesnt work with the android part, it only works on the radio part for phone calls or streaming music. its like 2 separate OS's in one unit.
Click to expand...
Click to collapse
The unit also has USB ports on the back, that talk to the Android side. You can attach a powered USB hub to that to gain more ports. This way you can add a WiFi USB dongle, and even a BT dongle via USB.
MacConsult said:
The unit also has USB ports on the back, that talk to the Android side. You can attach a powered USB hub to that to gain more ports. This way you can add a WiFi USB dongle, and even a BT dongle via USB.
Click to expand...
Click to collapse
You need to make sure the USB hub is powered independently.

Call Audio through Car Dock

Hello All,
I have been looking for months now for Kernel/Rom version that route the Call audio to the Car USB Dock and from than to the 3.5mm line out
Can Anyone please help me ?
I have read that there are Kernel that does it but yet to find one.
Thanks for your help
cabiylo said:
Hello All,
I have been looking for months now for Kernel/Rom version that route the Call audio to the Car USB Dock and from than to the 3.5mm line out
Can Anyone please help me ?
I have read that there are Kernel that does it but yet to find one.
Thanks for your help
Click to expand...
Click to collapse
I'm looking as well, but I'm afraid no kernel currently implements it
I have read that KF1 support it,
Can anyone confirm?
same problem... newest lite'ning rom.. KE3 Kernel.... for the Galaxy 1 exist a app in the market but it dosent work for the SGS2.
Dr4g0n said:
same problem... newest lite'ning rom.. KE3 Kernel.... for the Galaxy 1 exist a app in the market but it dosent work for the SGS2.
Click to expand...
Click to collapse
That is false because the purpose of the app is to redirect media audio to the dock. Call audio is not redirected as well.
KF1 supports it? I'm on KG6 (VillainRom) and I won't change to KF until pulser updates the ROM.
Can someone confirm that?
I am looking for the same solution for (official) car dock AND desktop dock. All sounds go through line-out except calls which is kind of a stupid oversight by Samsung.
What I'd like is option to have all audio through the 'line-out' of the official docks
Option to have FM work via the same
Option to have the phone operate like a radio alarm when in the desktop dock
1 question though. My phone died on me tonight and when I got back to the car I put it in my dock which made it turn on right away. I got to input my pin, then I saw it was charging but it switched off and restarted and kept on going (off->on for 15secs-> off).. I figured it was because it was running out of battery faster than it was charging it - ridiculous since I wasn't doing anything with the phone. So I had to unplug the car charger cable from the back of the dock, put it in my dead phone for 5mins then replug everything in again.
Samsung needs to look into that seriously...
Edit: I'm running 2.3.4 XXKG5 atm
Where can I place clarification request from Samsung to support phone calls into the Dock?
I will donate 25$ to the one that will make it work
Anyone else ?
Not sure about $25 but I'd donate a few dollars if someone can make the voice and radio be passed through the usb line out while using the existing apps.
Who knows how long it will take Samsung to implement a feature which I am surprised doesn't already work.
I have used my phone connected through the headphone output to my car stereo and made phone calls using the car speakers for the voice feedback and the internal phone mic for my voice. And it worked really well with no echoing at all which surprised me. I thought with the added volume through the speakers that feedback issue would occur but it didn't appear so. Maybe the secondary mi helps with the eco cancellation.
this problem still persists with XWKI4 stock rom. call audio outputs fine through the headphone jack on the phone itself, but refuses to route through the dock. with all of other audio going fine through usb, i'm inclined to think that it's a bug and can be fixed.
And the problem is also present in XWKI8...
I'd also be more than happy to donate to any dev prepared to look into getting the call audio rooted through the line out. I've been reading into it a little bit and apparently it is likely to be something that can be changed with a modded kernel. Unfortunately I have no developer experience and wouldn't even know where to start.
Kamikaze62 said:
I'd also be more than happy to donate to any dev prepared to look into getting the call audio rooted through the line out. I've been reading into it a little bit and apparently it is likely to be something that can be changed with a modded kernel. Unfortunately I have no developer experience and wouldn't even know where to start.
Click to expand...
Click to collapse
+1
Me too...

OTG Cable & HDMI MHL Adapter

Ok i havent gotten my samsung galaxy player 5.0 yet but i am working on it i ran across these 2 amazing accessories. And i was wondering has anyone else tried this on there device. Let me know any info you may have
HDMI HHL Adapter
http://www.amazon.com/Menotek-Adapt...Sensation/dp/B005F9W6DU/ref=pd_bxgy_cps_img_b
OTG Cable
http://www.amazon.com/T-Flash-Adapter-Samsung-GT-i9100-GT-N7000/dp/B005FUNYSA/ref=pd_cp_e_1
As for the HDMI,
The Samsung galaxy player, dose not support tv out
No OTG support (yet). They recently ported it to the galaxy s, we might be able to get it to work at least on the 4.0, witch is pretty much identical from what I have seen. So far I have confirmed their partitions are mounted identically, they have the same CPU, and I think they might even have the same motherboard (both of them have "ro.board.platform=s5pc110" in build.prop, not sure if that is the MB or not). The 5.0 is a totally different story though...
OP, you should go for the korean version if you want the HDMI output.
This version also supports 1080p (the device is also in english), has 16 or 32gb, and I found something very amusing : the korean version is made in Korea, whereas all the other versions are made in China. I guess koreans only buy korean products, haha! But I couldn't tell if it's any better...
MHL is definitely not present in the 5.0 - I tried the adapter that came with my Infuse.
There's a chance it might support analog TVout via the headphone jack, but this is unknown and no one has tried it yet.
Sent from my GT-P7510 using Tapatalk
Hey entropy512, would you be willing to edit the settings.apk for the 4.0 U.S. version if I sent it to you, then someone with the right cable could see if the tvout works?
I have a TV out cable from my ipod 5g, if someone needs testing, i'm game
When I plug the cable into my headphone port, no picture shows up, however the audio dose not switch to headphones, it keeps playing through the speakers, so that must mean something...
BOBdotEXE said:
I have a TV out cable from my ipod 5g, if someone needs testing, i'm game
When I plug the cable into my headphone port, no picture shows up, however the audio dose not switch to headphones, it keeps playing through the speakers, so that must mean something...
Click to expand...
Click to collapse
Yep, it means that your headphone jack detector works.
Dang, I'm almost sure this has video out, at least the 4.0 since I think it even has the same MB as the gt-i9000! I sure wish I could smai edit the settings.apk so that the option would show up, but I've been looking for a good guide on doing so and have yet to find one. I havn't had time to just learn smali as I have school, so unless there is someone out there with a 4.0 (possibly 5.0 has TV out as well, but less likely) that knows how to smali edit, we're stuck.
If you want tvout settings to appear then all you should need to do is get a settings.apk from a gt-i9000 and load it. Make sure it is the same framework as the one that you are running eg. 2.3.5. The setting will show up but I have found that just having the setting there does nothing if the functionality is not there...
Let me know how it goes...
Sent from my YP-G70 using XDA App
Well, I asked for the apk two days ago on the gt-i9000 forum but no one ever responded. Guess I'll go bump the thread! I guess those galaxy s owners are to busy to help a poor galaxy player owner, lol!
FYI, You don't need to ask, all you need to do is download a full rom for gt-i9000 and pull the settings.apk out.
You can use "kitchen" to do this if it's an odin flash, if it's a CWM zip then just open this zip and extract it out...
Ya, I thought of that, my internet is really slow though, guess I'll start it and it will be done by tonight.
Well, I tried the settings.apk, but it fc when I select display, or any other menu. Any suggestions? I guess the real way to do it would be to smali edit the original, but I have no idea how to do so.
Well, I have a 5.0 and not a 4.0 and I'm using 2.3.6. In the 5.0, settings for tvout are not there. It's just not in the code. If I were you, I would use adb logcat to get the exception info to find out why the settings.apk is fc and go from there....
Eh, I think I might call it quits for now. I've got a busy month, so if someone wants to pick up where I left off, here is the apk someone gave me.
forum.xda-developers.com/showthread.php?p=22106185#post22106185
Why doesn't OTG work on the galaxy players? I thought it was standard in all android devices?
I think this player not support TV out?
There is a small chance it supports TV out via the 3.5mm jack. Someone needs to test it with a correct cable first, to confirm or deny.
http://forum.xda-developers.com/showthread.php?t=1406174&page=4

usb audio

Has anyone been able to get usb audio working on the S3? Such as connecting it to a car dock or usb dac? If you have had success, can you list your audio device, firmware and kernel versions.
thanks
Remember to turn it on "Dock sound"
Hi,
I've been using USB audio with Revolution HD and also Omega. Both of these ROMs offer a very stock experience but both are good.
Remember you have to go to "System settings" > "Accessory" and tick "Dock sound" in order to output audio through the USB while connected to a recognised dock.
I would like to know if there are any JB kernels that support dock audio yet as the option is greyed out in all JB ROMs that I've tried.
thanks for the hint, but unfortunately its a no go for me. Im trying to get a pico dac/amp to work with my s3 but its been an uphill battle.
hocgwai said:
thanks for the hint, but unfortunately its a no go for me. Im trying to get a pico dac/amp to work with my s3 but its been an uphill battle.
Click to expand...
Click to collapse
The HeadAmp Pico USB DAC/amp is confirmed working by people on both the international and USB variants of the S3. You're sure you have a USB OTG cable?
My PICO should arrive next week, should also have a red AT&T S3 to go with my white international one by then too, will let you know how I get on.
NZtechfreak said:
The HeadAmp Pico USB DAC/amp is confirmed working by people on both the international and USB variants of the S3. You're sure you have a USB OTG cable?
My PICO should arrive next week, should also have a red AT&T S3 to go with my white international one by then too, will let you know how I get on.
Click to expand...
Click to collapse
thanks for your chime in. i'll keep an eye out for your post on head-fi
easy way, connect via Bluetooth. :good:
hocgwai said:
thanks for your chime in. i'll keep an eye out for your post on head-fi
Click to expand...
Click to collapse
No worries, will post here and there.
In the meantime I would see if you can try another USB OTG cable, since nnotis definitely has this working on his S3. He says it sometimes takes a couple of connection attempts though, but I presume you've tried all permutations of connection ordering etc.
RE: Bluetooth, I think you misunderstand what the OP is trying to do here.
So using the otg cable and a male to male usb cable I can get the sgs3 to output audio to my usb car stereo?
Sent from my GT-I9300 using Tapatalk 2
I don't know why few ROM don't have "accessories" menu . So, there's no usb sound (for dock use).
If you want usb sound, you have to edit /system/etc/audio_poilcy.conf and add |AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET at the end of devices under audio_hw_modules {
primary {
outputs {
primary {

[DEV] MHL

Hello Everyone! This is a movement/project to get MHL going on CM10 ROMs. I have started tearing into it as some of you may have seen on some other threads, but I am just a noob
I would love some help on this. I am not good with programming or working with source so i have posted my changes on pastebin. Reason for that is so that you guys (and gals) can help out! If you know what you're doing and can build with some changes you make yourself, please go ahead and do so, but keep me informed. If you are not as savvy with this stuff like me, you can still help by searching through the code and trying to see what is missing or out of place! Thank you to all that help out. Post any news or questions here!
Pastebin ==> http://pastebin.com/u/slingerdroid
Attached log files from attempting MHL use on AOSP and actually doing it on Sense 3.6.
Big Thank you to SirGatez
cslingerland said:
Hello Everyone! This is a movement/project to get MHL going on CM10 ROMs. I have started tearing into it as some of you may have seen on some other threads, but I am just a noob
I would love some help on this. I am not good with programming or working with source so i have posted my changes on pastebin. Reason for that is so that you guys (and gals) can help out! If you know what you're doing and can build with some changes you make yourself, please go ahead and do so, but keep me informed. If you are not as savvy with this stuff like me, you can still help by searching through the code and trying to see what is missing or out of place! Thank you to all that help out. Post any news or questions here!
Pastebin ==> http://pastebin.com/u/slingerdroid
Click to expand...
Click to collapse
Hawtness. Will def jump in wherever I can.
What is MHL.
Sent from my ADR6425LVW using xda app-developers app
merlin66676 said:
What is MHL.
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
Mobile High-Definition Link. Basically, the HDMI over USB protocol that the Rezound supports in Sense but not AOSP.
place holder. so tapa can have this in my recent. going to work on this more tonight. thank you op
shrike1978 said:
Mobile High-Definition Link. Basically, the HDMI over USB protocol that the Rezound supports in Sense but not AOSP.
Click to expand...
Click to collapse
Sense 3.6 only. The Sense 4.x builds do not support MHL.
To the OP, thank you guys so much for attempting to make this work. You guys keep breathing life into this device. Your work is VERY appreciated!
Sent from my ADR6425LVW using xda premium
synisterwolf said:
place holder. so tapa can have this in my recent. going to work on this more tonight. thank you op
Click to expand...
Click to collapse
let me know what you find or if i can help
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Flyhalf205 said:
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Click to expand...
Click to collapse
yeah its already there
Flyhalf205 said:
Question. I don't have CM10 installed right now but you guys have tried adding "ro.hdmi.enable=true" to the build.prop? Worth a try.
Click to expand...
Click to collapse
I thought thus was used for HDMI only and not the mhl connector.
Cm10 trys to output video to USB when connected to the mhl device. It just doesn't know how. Someone posted a logcat and it shows its passing the information to com.android.athome.mediaroute.provider
But errors right there. Unless I'm looking at the wrong error. But I need to look at it some more. Couldn't do much at work today. :/
Sent from my iPhone...
synisterwolf said:
I thought thus was used for HDMI only and not the mhl connector.
Cm10 trys to output video to USB when connected to the mhl device. It just doesn't know how. Someone posted a logcat and it shows its passing the information to com.android.athome.mediaroute.provider
But errors right there. Unless I'm looking at the wrong error. But I need to look at it some more. Couldn't do much at work today. :/
Sent from my iPhone...
Click to expand...
Click to collapse
I've been reading a lot and CM10 seems like it has problems with MHL anyways. You say it tries to push it through USB but just doesn't know how to. That would be kernel issue would it not?
I will be able to start testing when I get my MHL adapter back tomorrow. I got a lot of free time to test since I'm done updating recoveries for now
EDIT: I reading more and saw where one guy somehow changed his refresh rate to [email protected] inside of the kernel. So is it somewhere in there most likely???
im also good to test. might be sending the phone in though so sooner rather than later would be good. It seems that everything starts with the ActivityManager file... i could be wrong though.
Flyhalf205 said:
I've been reading a lot and CM10 seems like it has problems with MHL anyways. You say it tries to push it through USB but just doesn't know how to. That would be kernel issue would it not?
I will be able to start testing when I get my MHL adapter back tomorrow. I got a lot of free time to test since I'm done updating recoveries for now
EDIT: I reading more and saw where one guy somehow changed his refresh rate to [email protected] inside of the kernel. So is it somewhere in there most likely???
Click to expand...
Click to collapse
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just black is because its getting some sort of output.
Sent from my iPhone...
synisterwolf said:
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just back is because its getting some sort of output.
Sent from my iPhone...
Click to expand...
Click to collapse
I think the real issue is as I discussed else where (where I posted the logs in CounterShrike) and the issue is that the kernel has everything it needs to utilize MHL hardware and the HDMI out driver is functioning (but separate from the actual media pipeline. The pipeline portion that MHL require to function (the middleman that takes the graphics, sound and sends them to MHL hardware) does not seem to be in our sources (not the kernel, but the libraries) because it is proprietary. I am going to experiment with trying to hack the display middleman into AOSP and see if it works, with any luck it will be drop in and won't require anything HTC specific.
In Stock once the MHL cable is connected an HDMI broadcast is sent and picked up by the DisplayListener which responds by handshaking and configuring the MHL/HDMI output of the device before handing off to the AudioListener which does the same. AOSP is not performing any of this short of identifying the MHL cable is connected and rotating the home screen for display (it also appears any portrait app besides the home screen stays in portrait mode regardless of MHL cable connected)
This is an issue affecting many MHL capable devices, NOT just the Rezound. I have read MHL does work on some AOSP devices but I have not been able to locate any source to specific roms capable of it (which could help us). I think our best bet is a hack until we can get/find proper source.
Once we can get the DisplayListener and AudioListener to handshake with MHL/HDMI hardware like Stock we can identify what else we may need to fix if we are still without picture and or audio.
synisterwolf said:
Kernel is built with HTC source. I would think it would carry over but I'm no way a kernel dev. The jar file posted in the other thread might be needed but I haven't had time to look at it yet. As it sits now the phone doesn't know how to pass the information from the screen to the USB mhl to the TV. I think the reason why screen says source and just black is because its getting some sort of output.
Sent from my iPhone...
Click to expand...
Click to collapse
Hmm..That is true. Should be taken from original source unless Chad has modified a file which I doubt that is the case.
EDIT: Or what he said above This guy has his MHL fix in his kernel at https://github.com/ZenArcade/Infusion-GB-Z/commit/e70be75f5e709ef17df9dd2705bee1b810e0a2b6
waiting for a reply back from meetmhl on exactly what files are used in the api. Hopefully it's something as simple as missing a lib.
SirGatez said:
I think the real issue is as I discussed else where (where I posted the logs in CounterShrike) and the issue is that the kernel has everything it needs to utilize MHL hardware and the HDMI out driver is functioning (but separate from the actual media pipeline. The pipeline portion that MHL require to function (the middleman that takes the graphics, sound and sends them to MHL hardware) does not seem to be in our sources (not the kernel, but the libraries) because it is proprietary. I am going to experiment with trying to hack the display middleman into AOSP and see if it works, with any luck it will be drop in and won't require anything HTC specific.
In Stock once the MHL cable is connected an HDMI broadcast is sent and picked up by the DisplayListener which responds by handshaking and configuring the MHL/HDMI output of the device before handing off to the AudioListener which does the same. AOSP is not performing any of this short of identifying the MHL cable is connected and rotating the home screen for display (it also appears any portrait app besides the home screen stays in portrait mode regardless of MHL cable connected)
This is an issue affecting many MHL capable devices, NOT just the Rezound. I have read MHL does work on some AOSP devices but I have not been able to locate any source to specific roms capable of it (which could help us). I think our best bet is a hack until we can get/find proper source.
Once we can get the DisplayListener and AudioListener to handshake with MHL/HDMI hardware like Stock we can identify what else we may need to fix if we are still without picture and or audio.
Click to expand...
Click to collapse
I believe this rom has working MHL. https://github.com/rascarlo/platfor...jb-ras-mr1/core/java/android/hardware/display
Very good work cslingerland and Flyhalf205. Could one of our AOSP devs check this code out and see if compiling it into the ROM resolves our MHL problems? I do not currently have a development environment setup Someone would likely beat me to having a compiled library ready. I would have to D/L some source first as I haven't done any kernel dev work since Gingerbread. Thanks!
FYI, HDMI/MHL has nothing to do with USB, they just share a connector (it can do USB or MHL, not both).
SirGatez said:
Very good work cslingerland and Flyhalf205. Could one of our AOSP devs check this code out and see if compiling it into the ROM resolves our MHL problems? I do not currently have a development environment setup Someone would likely beat me to having a compiled library ready. I would have to D/L some source first as I haven't done any kernel dev work since Gingerbread. Thanks!
Click to expand...
Click to collapse
i would, but that is the very reason i started this thread. i dont know exactly what files we need and what ones need to be modified.
i was hoping some dev would have more knowledge to be able to look at it and know

Categories

Resources