[DEV] MHL - HTC Rezound

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

Related

USB host support

Edit: work is in progress on this, as soon as there are updates, u'll know about it.
The patches that were released were for getting nook in the main linux kernel.
Turns out cm7 team might have a few more goddies for you
best reserve this just in case
now for a real post...
Great! keep up the good work
rep+
Thanks for reserving the post, as u can see am a total noob here
rigy73 said:
Thanks for reserving the post, as u can see am a total noob here
Click to expand...
Click to collapse
hahah, not as bad as some others....
anyway, can we get a mod to change the maker of my first post to rigy?
Try looking at the Archos gen8 kernel sources. They use OMAP36XX and a similar PMIC if not the same one. I don't think the NC has a charge pump and don't think you can rely on ID to detect an otg cable.
Good luck!
rigy73 said:
A while back i started looking into enabling usb host support, I have come across a lot of resources while trying to figure out how.
...
Click to expand...
Click to collapse
Great Idea... I had questioned whether we just picked up this functionality in CM7 build of our drivers at least... so I plugged my Lexar flash drive formated FAT32 into a USB to micro USB adapter and plugged it into the Nook and rebooted to see if the the nook flashed the pwr to the drive as usually happens during init on other devices but unfortunately no luck... it doesn't pwr the conn during init...
But I've got plenty of devices I can test with if you get to a point that would help...
jtbnet said:
Great Idea... I had questioned whether we just picked up this functionality in CM7 build of our drivers at least... so I plugged my Lexar flash drive formated FAT32 into a USB to micro USB adapter and plugged it into the Nook and rebooted to see if the the nook flashed the pwr to the drive as usually happens during init on other devices but unfortunately no luck... it doesn't pwr the conn during init...
But I've got plenty of devices I can test with if you get to a point that would help...
Click to expand...
Click to collapse
Okay thanks for that info, can you try something like a keyboard with both standard mirco usb cable and B&N cable, try restarting and then send me the dev logs.
You can send logs with aLogCat
Evergreen has done a good bit of work on this already. He will be back next week.
I've also been actively working on this.
I have gotten the musb into a_idle in the past and also just echoing host into mode seems to start some of the transition. I'd pin seems to be a lost cause and I gave up on. It already.
Sent from my Desire HD using XDA App
dalingrin said:
Evergreen has done a good bit of work on this already. He will be back next week.
Click to expand...
Click to collapse
Good to know other people too have been working on it.
I've also been actively working on this.
I have gotten the musb into a_idle in the past and also just echoing host into mode seems to start some of the transition. I'd pin seems to be a lost cause and I gave up on. It already.
Click to expand...
Click to collapse
can u also share your progress here, so that we can increases the resources.
TPS65921
It looks like rigy73 has already uncovered most all of what i've been able to pull together as well as some extra testing information. So glad everyone who has been looking at / working on this is coming together to share.
Here is a link (if needed) to more documents regarding TPS65921:
http://focus.ti.com/docs/prod/folders/print/tps65921.html
It contains the datasheet, and under technical documents has register manual.
This. I mean with this no more worrying about bluetooth keyboards! And hopefully we could even get crazy things like ddr pads working ;p. Talk about the ultimate game system on the go.
Two kernel patches added.
Have you contacted anyone on our CM7 team to include it in the kernels (fattire, dalingrin, etc)?
I haven't tested it personally, nor do i have any proof that it is actually working, it can be included once we know that there are no problems in the code.
Really interested in seeing this happen =D.
Ophbalance said:
Have you contacted anyone on our CM7 team to include it in the kernels (fattire, dalingrin, etc)?
Click to expand...
Click to collapse
The patches are from the CM7 team
The patches are from the CM7 team
Click to expand...
Click to collapse
That's what i figured too, who else would want to make nook more awesome.
And has anyone been able to get this working?
THANK YOU!
Sorry for the screaming, but this is amazing. I was just looking into this this morning because, RcketScientist is working on a camera raw patch. This is the last thing my Nook needs. I am not great at compiling, but I will help when things get a bit more stable. Is this going to be able to patch the stock kernel? Will it be flashable? or incorporated into a new build? Sorry if I am jumping the gun.
Leko
P.S. Check out the app...
http://www.anthonymandra.com/RawDroid/?author=2

[Answered] NT USB port unusable at this time...right?

I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
ebsq said:
I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
Click to expand...
Click to collapse
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
if you are... what the hell are you smoking?
please elaborate a little more as to unusable
424aca said:
please elaborate a little more as to unusable
Click to expand...
Click to collapse
I think he means, it can't be used to plug a keyboard in?
USB host mode is not supported in the stock B&N os.
424aca said:
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
Click to expand...
Click to collapse
Yeah - I guess as a USB host is the terminology I needed. I'm rooted - so, the Nook works fine as a device on my PC!
I just want to run devices from the Nook itself - particularly keyboard and game controllers (ps3).
It never occurred to me that it wouldn't function 'out of the box.' The only reason I can see to deny it is either battery drain or to guard against hack attempt. Pretty lame really!
dragon_76 said:
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
Click to expand...
Click to collapse
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
fortunz said:
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Click to expand...
Click to collapse
Cyanogenmod has USB host enabled. You could ask a cm dev how it is done. Dalingrin works on the Nook Color port, he may be able to tell you.
Cheers!
-M
XDA member since 2007
albertwertz said:
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
Click to expand...
Click to collapse
Yes. Once host mode is enabled you will have access to HID and mass storage. I have both on these on my ATRIX.
Cheers!
-M
XDA member since 2007

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

hdmi out

hi guys,
after abit of help. i bought a hdmi adaptor, from amazon this one http://www.amazon.co.uk/gp/product/B007K8NNOA/ref=oh_details_o02_s00_i00
so that i would be able to play content from my phone straight through to my tv. I also bought a new hdmi lead and i connected using the phone charger and lead that came with the phone.
When i plug it all together it shows on the phone that hdmi out is connected and i can display video or photos on the external device. But no matter what i do i cannot get a picture to display on the tv.
Am i doing something wrong? Or does it never work? I tried rebooting the phone i tested the hdmi lead to make sure it works. Is there another option on the phone i need to select to i need to use a different app?
Any advice would be greatly appreciated.
Are you on the stock rom/kernel? I can't say I use this feature as much as I thought I would, but I have noticed some kernels break this feature (though I can't say which ones anymore - been a while) and I've seen some roms break this as well. I don't know if this was a placebo or what, but I also noticed that it broke for me after removing some of Sprint's or HTC's bloatware... I think it was the transfer app, but it doesn't make much sense to me why.
I'd try it on a full stock rom/kernel first to make sure it's not software related. Then try it on multiple TVs. I actually had an experience once where it wouldn't display on my TV, but worked fine on my HDMI enabled pc monitor - same symptoms you're describing. Tried different kernel, all was better. But I've also read about people just having a bad mhl adapter or bad hdmi cable too.
As above it needs to be supported by rom and kernal. Try a stock configuration and see what happens. If that fails it might be a faulty adaptor, these cheap ones are known to fail easily.
i appreciate your guys help. i am on stock rom/kernal. my tv is pretty new. The phone is showing as having a hdmi connection so wasn't sure if it could still be the adaptor? i will try it on another tv at the weekend. if it still doesn't work maybe send the adaptor back?
so it should display whilst playing a film through the stock video player? i dont need to use a special programme or anything else?
It automatically displays whatever is on the phone's screen. No need for anything special beyond plugging it in. It could still be a faulty adapter even though the phone shows hdmi.
Another idea might be to double check your tv out settings on the phone. Make sure those are correct.
Sent from my PG86100 using XDA
gk1984 said:
It automatically displays whatever is on the phone's screen. No need for anything special beyond plugging it in. It could still be a faulty adapter even though the phone shows hdmi.
Another idea might be to double check your tv out settings on the phone. Make sure those are correct.
Sent from my PG86100 using XDA
Click to expand...
Click to collapse
Ah so it may still be the adapter. ok, thanks.
also how do you double check the tv settings? sorry if that is a noobish question.
3vo3d said:
Ah so it may still be the adapter. ok, thanks.
also how do you double check the tv settings? sorry if that is a noobish question.
Click to expand...
Click to collapse
Maybe just maybe, have it all plugged in before turning it on, then try.
Sent from my HTC EVO 3D X515m using Tapatalk 2
3vo3d said:
Ah so it may still be the adapter. ok, thanks.
also how do you double check the tv settings? sorry if that is a noobish question.
Click to expand...
Click to collapse
I can't remember exactly. It's in the phone settings. I'm on the ice cream sandwich leak so I think it's a little different.
Sent from my PG86100 using XDA
gk1984 said:
I can't remember exactly. It's in the phone settings. I'm on the ice cream sandwich leak so I think it's a little different.
Sent from my PG86100 using XDA
Click to expand...
Click to collapse
ive looked everywhere in the phone settings and cannot find it. also i read through the manual and must be really dumb as i cannot see anything in there about it either.
@ scariola thanks i tried your suggestion as well.
i would be really interested to hear if anyone ever got this to work?
You have to have it plugged into the wall outlet as well. Just a thought
just an update guys i tried it on an oldish portable tv and it worked? so no idea why it doesn't work here at home???
still thanks for all the help.

[Q] USB DAC/audio

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

Categories

Resources