HDMI output - difference between stock and CM? - Motorola Photon Q 4G LTE

I just bought a Pioneer AppRadio for my car which can be connected to a phone via HDMI.
However, although my phone perfectly connected to different screens and TVs with CyanogenMod and CarbonRom installed, the Appradio didn't recognize the phone's HDMI output.
So I reverted back to the stock rom and the radio flawlessly recognized the Phonton Q's HDMI output.
My question is:
- Is there any reason why the HDMI output works differently under CM-based roms than stock?
- Is there a way to explain this difference to some CM developer to point him to a certain piece of code to maybe fix this?

Related

Anyone running AOKP Milestone 6? How's your HDMI output?

If you happen to be running AOKP Milestone 6 & use the Sensation's MHL / HDMI output, could you let me know if it's working ok for you?
For me it works ok in portrait, but if you launch an app / game the screenmode then switches to landscape and the picture via HDMI becomes garbled / corrupt, even though the phones' on-screen display stays fine.
Reason I'm asking is because I'm not sure if it's an issue with the rom itself, or my BizLink MHL adaptor.
Right, I've tried various roms & the only one I can get clean / decent HDMI output from is Sense 3.5 / 3.6 based ones.
Only problem is that the bluetooth stack is bugged in Sense roms apparently, so official PS3 controllers won't work with it via bluetooth.
AOKP Milestone 6 is as I said above.
OpenSensation nightly gives me no output on the tv.
CM9 nightly gives me nothing either.
With CM10 Alpha portrait works ok. I get output on the tv briefly - around half a second - in landscape, and then it goes blank with my tv saying no signal / out of range.
Note that this is using a BizLink MHL to HDMI adaptor, not the official HTC one.
I would have thought if it was an adaptor problem it wouldn't work with Sense 3.5 / 3.6 based roms.
Anyone else care to share their experience with HDMI output, just in case it's something I'm missing? Or if it is the fault of my BizLink adaptor?

USB audio on the Moto G?

I already found out, that the Moto G supports USB OTG, but would it support USB DAC's (digital-analog audio converter) ? If any Moto G owner owns a USB Dac or atleast something compareable like a USB headset or USB headphones, I'd be really thankfull if you could try it out.
The dac/headset needs to be plugged into the phone using a USB OTG cable.
Thanks!
Sent from my GT-I8160 using xda app-developers app
Works!! BUT:
I hooked an USB-OTG to Moto G, in there a Creative USB Soundcard with analog/digital output. Analog didn't work (must be the soundcard), but digital. I connected the digital out with a light cable to my RME environment and I could hear the music but with wrong frequency and crackled - but it works
Moto G has enough power to let the soundcard work.
[edit]
Hooked another soundcard in, this time analog works but wrong sample frequency and oversaturated, no option to control the volume.
Wow! This phone seems to be even more incredible value than I ever thought.
The problems that you mention sound pretty weird, though. The first thing that I'd suspect is the lack of special drivers for the soundcards on the Moto g. Maybe a simple DAC that doesn't need any special drivers would work better.
In fact, stock androids rarely work with any USB audio devices. But there's a app that includes special drivers and makes most USB-OTG enabled droids work with USB audio devices. You can the trial version (link in the description of the app) of it if you like:
https://play.google.com/store/apps/...=organic&utm_term=usb+audio+recorder+pro+demo
Be aware that the trial only works for 15 minutes and it doesn't play the usual audio formats. ( .flac works) If you try it, you should put a flac on the phone before installing the app.
Oh, and who knows how well this might work when CM and KitKat arrive!
Thanks a lot for your help.
Sent from my GT-I8160 using xda app-developers app
With the app it works, without stuttering and you can control the output volume, although there was an error warning at startup regarding main volume
I tried to record something, but hadn't enough time. First try was unsuccessful unfortunately.
shaftenberg said:
With the app it works, without stuttering and you can control the output volume, although there was an error warning at startup regarding main volume
I tried to record something, but hadn't enough time. First try was unsuccessful unfortunately.
Click to expand...
Click to collapse
Well, that's nice to hear. Maybe some Custom ROMs (Cyanogenmod in particular) will have better support for this without the app.
Anyway, I think I'm going to get this phone (Christmas is coming ). Usb audio support (atleast with the app) is crucial for me, so thanks for reporting that it works.:good:
One last thing though, what make and model were the two soundcards that you used for testing?
UnknownAX said:
One last thing though, what make and model were the two soundcards that you used for testing?
Click to expand...
Click to collapse
First a cheap Creative USB Soundcard, second a DJ-Audio-Player from EKS (www.eks.fi) which has its own soundcard per player.
Could you test this on the faux kernel that your running atm, Shaftenberg?
Most people who have tried it on the stock ROM have experienced the same glitches that you mentioned in your first post. On the other hand, there's also one report of it working fine, with the Google music player. The DAC is probably the biggest factor.
Anyway, I'm just waiting for the 16gb version to be available....
I tried 2 DACs. One was a CEntrance DACport LX flashed with the iPad firmware, and the other was a cheap off-brand thing (ELE EL-D01 on eBay). Both of them "worked", but I encountered the same issue with each: I tested both by playing a Youtube video, and the audio was not playing back at the proper sampling rate. The audio was slightly slowed down... as a result, pitches were slightly lower, and the audio lagged behind the video pretty significantly. If I had to guess, the audio was 48kHz, and Android was trying to play it back at 44.1kHz without resampling it first.
Why it was doing this, I have no idea: on a Nexus 4 running stock Jellybean with jacknorris' patch (which, AFAIK, doesn't pay attention to sampling rates but just assumes Android will handle that properly elsewhere), this works perfectly. However, it was fascinating/encouraging to see this work at all on the Moto G: it means that with stock firmware, not only does OTG/USB host mode work, and not only does the kernel have the stock Linux USB DAC driver compiled in, but the Android framework itself attempts to use the DAC, which is *definitely* not true with plain-jane AOSP.
One thing I was sad to see (which also seems to be true of a LOT of other Android phones that support OTG out-of-the-box) is that if I injected 5V from an external source into the USB power lines, the phone would NOT charge as long as OTG mode was engaged. Which means that, at least with the stock Moto G firmware, you can't both be in USB host most *and* be charging the battery at the same time. (Interestingly, the very first time you plug the power in, the phone says "charging", but it's quickly obvious it isn't. If you unplug and re-plug the power in after that, it will not show the lightning symbol on the battery any longer until you reboot the phone. Normal USB chargers continue to work without the OTG cable without requiring a reboot.)
-- Nathan
nlra said:
If I had to guess, the audio was 48kHz, and Android was trying to play it back at 44.1kHz without resampling it first.
Click to expand...
Click to collapse
That makes sense to me. But what would happen if we played a 44.1kHz track? It wouldn't have to resample then, would it?
Maybe that's why there is a report of it working with google music player...maybe he just happened to try it with a 44.1kHz track?
I'm pretty sure this will/can be fixed with a ROM / Kernel. Like USB OTG charging, it's just a matter of time (I hope). Both things have already been successfully enabled on many different devices.
Thanks for the info, luckily I'm not the only one showing interest in this.
It most definitely works with my Moto G and my FiiO E17 (connected via a generic OTG cable)
Trouble is, although it ALMOST worked, I got sporadic but impossible to listen to skipping/stuttering when using Poweramp or the native Google player app.
I finally found an app made by the same people who do the USB Audio Recorder Pro as mentioned by the poster, called USB Audio Player Pro (can't post the link, being a new poster, but a quick search for "USB audio player" gets to it)
...it costs over 5 pounds, and to be frank it is not the world's prettiest or richly featured player, but it certainly works and the output sound is great.
Anyway, just posting to let you know that it works, at least with my Fiio E17.
So here's some good news: after applying the official KitKat 4.4.2 OTA, OTG still works, USB DAC support still exists, and now it even works properly, at least for me! No more strange audio sampling issues: I could attach either one of my DACs and play the same Youtube clip without any difficulty! Audio was perfectly in-sync with the video.
-- Nathan
Did anyone manage to get USB audio to work with the Moto G play edition?
Has anybody found a way to enable OTG and charging at the same time? I genuinely enjoy listening to Moto G + FiiO E17 but it leaves me with low battery on the way home which is rather frustrating and makes me to swap charger/DAC during the day.
I don't mind putting unofficial ROM in as long as it doesn't require hardware mods.
jjacks said:
Has anybody found a way to enable OTG and charging at the same time? I genuinely enjoy listening to Moto G + FiiO E17 but it leaves me with low battery on the way home which is rather frustrating and makes me to swap charger/DAC during the day.
I don't mind putting unofficial ROM in as long as it doesn't require hardware mods.
Click to expand...
Click to collapse
I have taken ziddey's USB OTG kernel patch for the Nexus 4, which allows both for charging as well as USB OTG mode without an actual OTG cable, and I have compiled a new kernel for the stock Moto G 4.4.2 ROM, and it works great! The only thing is that you have to use a non-OTG cable...if it detects the OTG cable it will shut off the charging. So you will need a USB Y cable to inject a 5V power source to both your DAC and phone, and plug the phone into the Y cable using a standard micro-USB cable instead of an OTG cable.
If people are interested in this kernel, I can post it. You will need to unlock your bootloader to flash it.
-- Nathan
That is interesting. I would be happy to flash it. Is it safe operation? I flashed multiple windows mobile / windows phone devices but no experience with Android mods yet. Any downsides of custom kernel?
jjacks said:
That is interesting. I would be happy to flash it. Is it safe operation? I flashed multiple windows mobile / windows phone devices but no experience with Android mods yet. Any downsides of custom kernel?
Click to expand...
Click to collapse
You should read some of the other threads on how to unlock your Moto G bootloader and how to flash stock ROMs back, at the very least, before applying mine. I can't educate you on these matters here and there are other threads more appropriate for those discussions. Then take that knowledge and apply it to this. In this case, as long as you are using a stock Motorola ROM already (and not a GPE ROM!), you only need to flash one component: the kernel.
This kernel is completely identical to the stock Motorola kernel in every way except that it has ziddey's patch applied. So the only downsides would be:
1) because you have to unlock the bootloader, if you live in the U.S. at least, Motorola can legally void your hardware warranty, even if you have a hardware failure that cannot be linked to your unlocking of the bootloader. (Other countries' laws are different and Motorola may not be legally allowed to void warranties for bootloader unlocks where you are at.)
2) If an OTA update is pushed to your phone, I believe the kernel will be replaced with a stock one again, and this will stop working. Either that, or because you are running a custom kernel or an unlocked bootloader, perhaps OTAs won't be pushed to your phone, or if they are, they might not install. I have not tested this or read up on this myself as I generally detest OTA updates outside of my control, and prefer to flash my devices myself on my terms when I'm ready to do so.
You can read about ziddey's USB OTG patches that he developed (with the help/inspiration of CaptainMuon) here: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
The only real difference between how this works on the Nexus 4 and how this works on the Moto G is that, as I explained previously, on the Moto G, there is something in hardware that prevents the phone from accepting a charge if it detects that you are using an OTG micro-USB cable, whereas the Nexus 4 doesn't care if you use an OTG cable or not because pin 5 on the Nexus 4 is not actually wired to anything internally. On the Moto G, there is even a slight cosmetic quirk: if you try to inject 5V power to the phone through an OTG cable, the first time that you plug it in after a fresh reboot, it will say that it is charging after you plug the cable in, but it actually isn't (battery will continue to deplete). And if you unplug the cable and plug it back in, it will no longer show the "charging" symbol, until you reboot the phone again. If you plug in a regular micro-USB cable, though, it will both show charging as well as actually take a charge.
Another thing to be aware of is that there are two different releases of KitKat 4.4.2 that Motorola has released for the G (they released an updated 4.4.2 ROM that fixed a couple of bugs after its initial release), but as far as I can tell, they have so far only released the kernel sources for the original 4.4.2 ROM and not the updated one. So I have only managed to build a kernel for the original 4.4.2 update for the Moto G. I have not tested this, but it's *possible* that this kernel will work just fine with the later 4.4.2 ROM. You are welcome to try it; you won't harm your phone by doing so and can always flash the factory kernel back if it doesn't work or has problems. This kernel likely won't work with any 3rd-party ROMs or with the Google Play Edition ROM (which doesn't support USB DACs anyway, sooo no point in using that one, at least if you care about USB audio which you obviously do). Motorola has not released any kernel sources for 4.4.3 or 4.4.4 yet either, so you should stick with 4.4.2 for now. If this kernel does not work with the later 4.4.2 release, then you should be able to downgrade your system image to the older 4.4.2 ROM and use this kernel with that.
The two 4.4.2 releases on the Moto G (excluding the GPE ROM) are marked by their kernel versions. The first 4.4.2 kernel is versioned as KXB20.9-1.8-1.4, and corresponds to the U.S. retail 172.44.4 ROM version, among others internationally. The second 4.4.2 kernel is versioned as KXB20.9-1.10-1.24-1.1, and corresponds to the U.S. retail 174.44.1 ROM version, among others internationally. It is the source for the first kernel that I have access to.
You may download my kernel from here: http://www.nconx.com/~nathan/motog/boot_motog_KXB20.9-1.8-1.4_OTG_charge.img
After you have unlocked the bootloader via Motorola's site and mfastboot, enter Fastboot mode on your phone again, and then flash the kernel to the phone with mfastboot (the Motorola version of fastboot) the same way that you would flash a stock Motorola kernel (see this post, step 3b: http://forum.xda-developers.com/showthread.php?t=2542219), but substituting in the file name of my kernel instead:
Code:
mfastboot flash boot boot_motog_KXB20.9-1.8-1.4_OTG_charge.img
Reboot your phone, plug it into your DAC + 5V power source (again, using a normal micro-USB cable), and enjoy battery charging while simultaneously connected up to your external DAC.
Good luck,
-- Nathan
Great. Thanks a lot. I will give it a try when I find some spare time
My Moto G works with Creative X-FI DAC
My Moto G runs Kitkat.
OTG cable is connected between Creative X-FI Dac and Moto G. Then Creative device's optical output is fed to the Logitech speaker with optical input. Sound with this setup is much better and awesome.
My Moto G Works w/ Fiio E07K
Running Android 4.4.4
Moto G (LTE) > USB OTG cable > Fiio E07K USB Cable > Fiio E07K > headphones
:victory:
nlra said:
I have taken ziddey's USB OTG kernel patch for the Nexus 4, which allows both for charging as well as USB OTG mode without an actual OTG cable, and I have compiled a new kernel for the stock Moto G 4.4.2 ROM, and it works great! The only thing is that you have to use a non-OTG cable...if it detects the OTG cable it will shut off the charging. So you will need a USB Y cable to inject a 5V power source to both your DAC and phone, and plug the phone into the Y cable using a standard micro-USB cable instead of an OTG cable.
If people are interested in this kernel, I can post it. You will need to unlock your bootloader to flash it.
-- Nathan
Click to expand...
Click to collapse
Would you be interested in building a compatible kernel for 4.4.4? Is the source available? My Moto G is brand new pre-installed with 4.4.4. so no option to use your 4.4.2 kernel. I would really appreciate the help - I have a project that requires me to be able to charge and host simultaneously.
Also, I'm fine with flashing an alternate ROM with source available, such as CyanogenMod -- anything to get OTG + Charging working. Any advice is appreciated.
Thanks,
samwathegreat

[Q] Samsung Captivate Glide (i927) - MHL adapter fails to output on bubor Omnirom?

The two most recent versions of bubor's Unofficial KitKat Omnirom (20140130 and 20140215) have consistently failed to output anything via my MHL adapter. When on Omnirom, the cable fails to output anything; however, it works perfectly when I use the 4.0.4 stock rom. The cable is generic (purchased off eBay from the user "digitalaccessoriesstore", item name "2M 6Ft 1080P Micro USB MHL to HDMI Cable adapter HDTV For Captivate Glide i927"), but I'm unsure if that's the cause of the problem. The cable was plugged into a power outlet every time I used it.
All roms were flashed via the TWRP recovery tool. The issue existed before I rooted the phone on either version of Omnirom, and persisted once I was rooted on the 20140215 version. I didn't succeed in rooting 20140130, but the issue was present regardless.
Anyway, long story short, I'd like to know if there's a way to get this cable to work. Should I wait for an update? Should I get a new cable? Any help with this issue would be greatly appreciated!
Did it work?
Did you have any luck getting MHL to work? I have been trying to use the new CM 11 based rom on the other thread. KitKat works great, but a couple of minor issues.

[Q] video out of headphone jack S5

Does anyone know if the s5 has video out on the braphone jack like old galaxy s devices?
I need a solution to get composite audio and video to a projector. Projector has DVI / svideo / composite/ VGA.
Any ideas? I have seen mhl to hdmi which are cheap but then I would have to convert to dvi and loose audio and run a separate cable.
No but there is MHL to VGA adapters you can buy from eBay etc.
http://www.ebay.com/itm/400785524940
But that's audio only.
I found thus that might do the trick and doesn't need any external power.
http://pages.ebay.com/link/?nav=item.view&id=251649511743&alt=web
Oh actually just looked again and there's an audio out socket on the aide of the VGA.
A7mag3ddon said:
I found thus that might do the trick and doesn't need any external power.
http://pages.ebay.com/link/?nav=item.view&id=251649511743&alt=web
Click to expand...
Click to collapse
Says in the description you get video but you can't get audio out of that using S3/4/5 etc. Probably because of the newer MHL standard.
Perhaps they mean on the older phones? The description says AV cable. The A standing for audio and V standing for video. If it doesn't do audio then the item is not as described. I have just queried this with him. You can't have a title saying AV then in the last line if the small print say doesn't support audio.
Does that mean that the mhl to HDMI doesn't carry audio either?
A7mag3ddon said:
Perhaps they mean on the older phones? The description says AV cable. The A standing for audio and V standing for video. If it doesn't do audio then the item is not as described. I have just queried this with him. You can't have a title saying AV then in the last line if the small print say doesn't support audio.
Does that mean that the mhl to HDMI doesn't carry audio either?
Click to expand...
Click to collapse
It means it works with audio and video on older devices using the original MHL, but S3/4/5 etc use MHL2.0 with different pinout and that's why you need an adapter, but maybe something about that RCA cable can't use the audio for whatever reason.
But as long as you use that little adapter you can use any MHL to HDMI with audio.
Just checked my MHL version is 2.1 hopefully they will clear it up. If that is the case can't I just use audio out the headphone jack and video from the mhl phonos? Pain in th ass from a wiring point if view but should still work.
A7mag3ddon said:
Just checked my MHL version is 2.1 hopefully they will clear it up. If that is the case can't I just use audio out the headphone jack and video from the mhl phonos? Pain in th ass from a wiring point if view but should still work.
Click to expand...
Click to collapse
Yeah that'll work but audio quality won't be as good, but I guess it's the only way unless you buy a HDMI to RCA converter, but that means plugging 2 separate adapters into the phone and even more hassle.
Yeah plus I already bought that cable haha.
Your right its a massive hassle, I just gave away my iphone as well which was dead easy to connect via RCA, add that to my unable to swap extSD with inSD on kitkat problem and im starting to wish i hadnt bothered with the S5 now.
just bought Monoprice mhl vga converter which is supposed to be 100% compatible but can't connect... nothing happens,.. no sound, no error, just nothing. installed the Rom with stock kernel (thought that might be an issue (since I was running on Twi5ted Lollipop Rom with a custom kernel... same result, while my wife on her htc one m7 running a custom ROM too had no problem... just connect and enjoy... i'm at a loss... anyone here got an advice? thanx.
Galaxy S5 G900F... stock kernel.
I got an MHL converter in the end as well and it works great, you need to plug your charge cable into it as well at the same time to get it to work.

Mhl Hdmi TV out Video

Hi, been trying like hell for info in here to search about HDMI 30 pin adapter for MHL out, but for some reason the info seems to be completely lacking.
So decided to start this thread.
I have a p5113 and the 30-pin mhl-hdmi out adapter I got mailed from Thailand. Works ok on stock ROM. Works fine on a 16:9 monitor, but if I try to output on a 4:3 monitor it blinks rapidly only. I mean the video-out blinks rapidly on the monitor.
So I tried a bunch of non-stock roms and none of them seem to work. No MHL out at all.
Is there anybody on here who has figured this out exactly? What ROMs/Kernels have MHL out actually working for p5113?
Is it true that only stock based ROMs have it working. Or are some of the rumors about non-stock ROMs having it working true?
Thanks,
Blobby

Categories

Resources