[Q] connecting USB headphones to microUSB - Android Software/Hacking General [Developers Only]

ok so if i would like to connect my USB headphones (logitech G35)
to ANY android device/tablet that has a microUSB port, how would i accomplish that? (if it is even possible..)
p.s or if not, can it be somehow connected to a 3.5mm jack in?
So, engineers, tell me if the above mentioned is possible.
Thanks!

Xxul said:
ok so if i would like to connect my USB headphones (logitech G35)
to ANY android device/tablet that has a microUSB port, how would i accomplish that? (if it is even possible..)
p.s or if not, can it be somehow connected to a 3.5mm jack in?
So, engineers, tell me if the above mentioned is possible.
Thanks!
Click to expand...
Click to collapse
Not sure about the USB part, but how much experience do you have a soldering iron?

AFAIK, this is not possible with the current Android Operating systems, however it might be possible with future platforms supporting the new Android Open Accessory support.
edit : As for connecting a standard 3.5mm jack, you should be able to do this if you bypass the USB sound card part and connect it directly to the wires coming out of the headphones. But depending on the headphones the USB soundcard circuitry (where the signal is converted from Digital to Analog) could be inside the headphones, somewhere in the middle of the cable or in the USB plug itself; you have to figure out where it is and attach the audio jack to the wires after the soundcard (where the signal is analog).

Parastie said:
Not sure about the USB part, but how much experience do you have a soldering iron?
Click to expand...
Click to collapse
HAHAHAHAH maaaaaaaaaann i haven't used those since childhood
PhoenixFx said:
AFAIK, this is not possible with the current Android Operating systems, however it might be possible with future platforms supporting the new Android Open Accessory support.
edit : As for connecting a standard 3.5mm jack, you should be able to do this if you bypass the USB sound card part and connect it directly to the wires coming out of the headphones. But depending on the headphones the USB soundcard circuitry (where the signal is converted from Digital to Analog) could be inside the headphones, somewhere in the middle of the cable or in the USB plug itself; you have to figure out where it is and attach the audio jack to the wires after the soundcard (where the signal is analog).
Click to expand...
Click to collapse
yeah, i think i know what i would need to do..
however since they costed a little fortune i won't try to experiment on em' in that matter

Related

[Q] Audio out from micro usb?

Does anyone know if the sensation has audio out on the usb port? If so, which pins is it on.
Looking to butcher a dock to make use of it if it does, to save me having to connect the 3.5mm jack and usb connector at night.
Usually, the pins are 'multi-use'.
So to get them to be 'Audio', you'd probably need to have a certain resistance across some pins, which would make it 'sense' that you have an audio device connected.
You could try a micro-usb audio adapter from, say, a Toshiba TG01 (I had one of these) and try it. (The TG01 also had USB Host adaptor as well!)
You might find there's an official lead for it, or it might just not be a feature that's available.
Until we get a service manual for the Pyramid, or you find a lead and test it, we're going to have no luck.
ICS is rumored to have support for USB Host, that should open up a world of possibilities, such as this.. not sure if this is possible at the moment, but I would wager that it's not.

[HELP] headphones jack output burned out

While I was trying my car radio mods for a jack input, I probably make for error a short citcuit to some cable at 12v with my phone jack output
My phone crashed and restarted itself. All seems ok, but now when I try to use my jack output (for example with normal headphones) I have a lot of background noise, and when I try to turn up the volume above a certain treshold, I get a lot of distortion and the music is not "listenable" (simply horrible, only strange sounds distorted and so on..).
I have another photon Q (FAIL sim mod but working) and I was trying to see the resistence values from the jack output to the components near the output, but I can't se any differences with my headphone-broken-board.
The music works well if I use the internal speaker, the problem is only with headphone, jack output.
Someone can help me? Someone have the circuit of the board near the jack out to understand what I have burned out?
I hope so
Try replacing the jack from your other only held in with double sided tape
Sent from my XT897 using Tapatalk
You might want to use a bluetooth headset with a headphone jack in the future. Just to make sure that the actual expensive thing won't get hurt.
With such bluetooth headset you don't even need the jack at your Photon Q
I assume that some resistor or fuse has been blown up.
But I don't have experience in such things.
thanks for your replies!
bluetooth is good idea, I was considering also a microUSB to jack out, so I don't waste energy for bluetooth connection.. do you know if photon q can handle jack out from microUSB or microHDMI out?
I have replaced the back cover with the other one of the 'good working' phone, but the problem is here.. I think some resistors or capacitor is broken, it seems a filtering issue or a output impedance issue.
I could remove resistors from the other board and solder in my board, but I don't know what is broken and I don't know the circuit logic.
would love to repair circuit, otherwise I could solder a micro hdmi/usb to jack out in the phone to replace the standard jack out.. ahah! But is not so easy
Over microHDMI it can but only digital, not analog. Useless for a car radio.
Never tried over microUSB. But I think it's also digital.
The energy which is lost because of bluetooth is not really more than the analog sound over the headphone jack.
Listening music for about 6 hours (with sometimes texting/surfing for about 50 minutes) I get nearly 40% battery used.
Bluetooth is on, day and night. As long as it is not connected to anything, the energy usage is nearly zero.
Loader009 said:
Over microHDMI it can but only digital, not analog. Useless for a car radio.
Never tried over microUSB. But I think it's also digital.
The energy which is lost because of bluetooth is not really more than the analog sound over the headphone jack.
Listening music for about 6 hours (with sometimes texting/surfing for about 50 minutes) I get nearly 40% battery used.
Bluetooth is on, day and night. As long as it is not connected to anything, the energy usage is nearly zero.
Click to expand...
Click to collapse
thanks for your info. I have never used bluetooth so much
But what about similar cables: http://it.aliexpress.com/item/Micro...er-For-Nokia-E52-E72-N900-8600/547805050.html
Perhaps some phone can handle analog output from microusb?
If photon q is able to do this, and if in that cable is not present some type of circuit, i can solder the correct cables from microusb to standard jack out. I could lose mic input, but I don't use it..
I'll try to find similar cables in my zone for testing, before buy it
edit: this thread is great http://forum.xda-developers.com/showthread.php?t=1321491
i think that soldering similar things in my phone I could never use my usb port for data again
for now I'll buy similar cable. I hope to find a way to repair my board anyway
If you have a microUSB cable, you could theoretically cut it and try it out.
But you need to know the correct colorcode for this cable, maybe wikipedia is useful.
Still, I think the audio over microUSB is only for the docking station.
(Never tried that, pure theory.)
This cable should do what you need: http://www.amazon.com/Motorola-Audio-Power-SKN6394A-Bionic/dp/B00H8YATYI
It comes with the original Photon Q car dock and when it's connected, the phone switches to EMU audio output - analogue audio output on USB pins.
I've done the coding work so this cable is supported in CM 10.2/11 (changes to kernel, audio HAL and framework).
I haven't tried to figure out how it's actually wired and what resistor values are used between what pins so the connection of this cable is recognized by the phone as there was no need for me - the cable I have works just fine. I can try to measure it if you need it, but I unfortunately can't promise when I actually find the time for it - I would need to make some preparation with usb female connectors I don't have handy currently.
Your issue sounds like you've damaged some part of the headphone amplifier. I don't know the hardware details of how it's exactly wired in the case of Photon Q. I suppose it's using a separate Speaker amplifier TPA2015D1 (as used in Atrix HD), but the headphone output may be coming almost directly from the WCD9310 headphone output. Not sure.
kabaldan said:
This cable should do what you need: http://www.amazon.com/Motorola-Audio-Power-SKN6394A-Bionic/dp/B00H8YATYI
It comes with the original Photon Q car dock and when it's connected, the phone switches to EMU audio output - analogue audio output on USB pins.
I've done the coding work so this cable is supported in CM 10.2/11 (changes to kernel, audio HAL and framework).
I haven't tried to figure out how it's actually wired and what resistor values are used between what pins so the connection of this cable is recognized by the phone as there was no need for me - the cable I have works just fine. I can try to measure it if you need it, but I unfortunately can't promise when I actually find the time for it - I would need to make some preparation with usb female connectors I don't have handy currently.
Your issue sounds like you've damaged some part of the headphone amplifier. I don't know the hardware details of how it's exactly wired in the case of Photon Q. I suppose it's using a separate Speaker amplifier TPA2015D1 (as used in Atrix HD), but the headphone output may be coming almost directly from the WCD9310 headphone output. Not sure.
Click to expand...
Click to collapse
Thanks for your help.
I'll buy one of these cable for now, but I would like to repair anyway my photon Q headphone output.
I could find this WCD9310 in the board: I have a rework station so I could swap that chip from my other photon Q hoping to solve the issue..
But the output signal in headphones seems disturbed, usually I know that the digital electronics either works or it does not work .. it seems a problem of analog electronics, filtering or output impedance. I'm wrong? Or maybe within the WCD9310 there is some analog circuit?
nagash91 said:
Thanks for your help.
I'll buy one of these cable for now, but I would like to repair anyway my photon Q headphone output.
I could find this WCD9310 in the board: I have a rework station so I could swap that chip from my other photon Q hoping to solve the issue..
But the output signal in headphones seems disturbed, usually I know that the digital electronics either works or it does not work .. it seems a problem of analog electronics, filtering or output impedance. I'm wrong? Or maybe within the WCD9310 there is some analog circuit?
Click to expand...
Click to collapse
The Qualcomm proprietary audio hub WCD9310 contains also integrated headphone amplifier.
See the MSM8960/PM8921/WCD9310 reference design schematics:
http://d-h.st/xJ9
Sheets 28 and 29.
You can see that there are only resistors and transient voltage suppressors between the headphone jack and WCD9310 HPH outputs.
kabaldan said:
The Qualcomm proprietary audio hub WCD9310 contains also integrated headphone amplifier.
See the MSM8960/PM8921/WCD9310 reference design schematics:
http://d-h.st/xJ9
Sheets 28 and 29.
You can see that there are only resistors and transient voltage suppressors between the headphone jack and WCD9310 HPH outputs.
Click to expand...
Click to collapse
You're giving me a great help, thank you.
Unfortunately I'm not so good with integrated circuit or similar.
What I can understand from the sheets:
- J6 JA13331-SW38-4F at top-right of sheet 29 is the jack output socket.
- Pin 1 and 4 are right and left headphone signals.
- As you said, the pin 1 and 4 goes to the WCD9310: HPH_LP pin 12, HPH_RM pin 17, and HPH_REF pin 18 (i think is the headset "gnd")
- As you said, between pin 1 and pin 4 of jack input and the WCD9310, there are only resistors, capacitors, and voltage suppressors.
So I understand: the problem are these voltage suppressors or capacitors or resistors or WCD9310 ! :laugh:
You said that probably is WCD9310.. you are more expert than me of coures, and I hope the only problem is the WCD9310 because is the easier component to locate and replace!
I could try to swap the WCD9310, but I don't know where is locate in photon Q, and all IC in the board are covered from metal cases.
I can remove all the metal covers from my 2nd photon Q until I find WCD9310.. but I'll destroy that board definitively.
It is possible that there is so little information on the photon q on the internet? I would like to find a circuit schematics, or at least an info about how the IC are placed in the board.
Good news!!!!!!
I have found WCD9310 in my broken board!!
I'll remove also the other two "capsule" and I'll make a detailed photo, it could be usefull for other problems :laugh:
back with SanDisk 8gb "ssd":

[Q] Adapter Nightmare

I have a BOSE stereo with a USB port that normal takes input from a 30 pin apple cable (ipod or other piece of proprietary garbage). So, I now need a new generation A2DP bluetooth dongle that will connect to the 30 pin end of said cable, with the USB end plugged into the stereo. This should theoretically allow me to stream A2DP from an android device (non-proprietary wonderfulness).
Any ideas?
:silly:
Probably doesn't help you, but when I was in the same dilemma few years back I bought a Pioneer 7" touchscreen head unit with bluetooth. Absolutely love it, best 1k I've spent in a while!!
You mean, something like this?
http://www.aliexpress.com/item/30Pi...MUSE-IHOME-iPhone-Speakers-ETC/734175608.html
Specifically mentions the Bose, so...
pwyller said:
I have a BOSE stereo with a USB port that normal takes input from a 30 pin apple cable (ipod or other piece of proprietary garbage). So, I now need a new generation A2DP bluetooth dongle that will connect to the 30 pin end of said cable, with the USB end plugged into the stereo. This should theoretically allow me to stream A2DP from an android device (non-proprietary wonderfulness).
Any ideas?
:silly:
Click to expand...
Click to collapse
How about like this type?
http://www.amazon.com/gp/aw/d/B0094G44PS/ref=pd_aw_sims_10?pi=SS115&simLd=1
Sent from my SM-N910G using XDA Free mobile app
Nope
Quote from the Amazon listing for the device:
"2008 Infiniti M35 (does not get power, with power adapter will pair but car will not recognize it as an iPod)"
Strike One...
The I-Link device plugs into a 30-pin cable that terminates in a USB plug and a 3.5 audio plug -- if I had a 3.5 aux jack on the stereo, I wouldn't need anything else...

Connecting an android phone to a car with a MOST optical audio system. Help needed!

Hi all,
I have an interesting problem to pose to the techies amongst you.
I have just managed to get my dream car and now need to integrate my phone without paying the huge sums being asked for by the car manufacturers and some aftermarket electronic suppliers (car ICE specialists too). My phone is currently a Samsung Galaxy Note 3 and the car has MOST optical audio and satnav systems.
I'm after 3 distinct, yet simultaneous, solutions, which are : -
A/ power supply to the phone
B/ HDMI or RCA output to a dash mounted 5 inch lcd screen for satnav purposes
C/ audio output to link into the car's current MOST audio system (head unit in the dashboard, also running the car's hvac, and the amplifiers are in the boot)
My first thought was to open up the USB 3 cable and to run individual wires to 3 separate plugs for each of the 3 solutions listed above. At this point many of you may be laughing at my clearly very poor understanding of modern electronics, particularly USB, and I would not argue that at all - I'm a complete dimwit here! Obviously (I think...) the clear solution is in the fact that USB can run different objectives simultaneously.
So... I run my USB 3 CABLE from the phone to a (presumably powered?) USB 3 hub and have 3 appropriate cables plugged in and running respectively to A/ a USB cigarette lighter socket, B/ an hdmi (or RCA, or composite?) plug and C/ to a standard stereo headphone jack or socket.
I don't think A/ will work because I don't see power going from the socket back through the hub and into the phone. Suggestions welcomed as I can't see how to get power to the phone at the same time as having a USB cable supplying data out. Or is there power over USB through a hub available?
B/ seems straightforward enough.
C/ the audio then needs to go to an analog to digital / wired to optical adapter and then a 2 into 1 optical switch (so I can still have the existing output from the head unit) before plugging into the amplifiers. These 2 adapters are easily available through eBay, Amazon or Maplins as far as I can see. The issue I foresee here is will the head unit still be able to control volume, fade, etc of the signal coming from the phone? If the control of the amplifiers happens via the optical cables then presumably that won't happen if I've used a switch to change the source? Would taking the output from the phone's headphone socket be of any benefit? I doubt it as the output power from there may be quite a bit higher than from the USB port...
So you can see that I clearly need some knowledgeable direction here or I will be forever going round in ever decreasing circles!
Many thanks in advance for any help given. Cheers, Mark

USB Type C to 3.5mm Headphone Jack Adapter

My issue
Hi everyone, I have a Nexus 6P and want to route my audio through a USB type C converter to 3.5mm headphone Jack. I have purchased one online, but it doesn't seem to be working. I have seen that the Moto Z has this adapter and I assumed one I found online would be compatible with my 6P. The reason I want to do this is because I prefer for the AUX jack to come out the bottom of my phone.
What I have tired
Changed 'Select USB Configuration' to all the different options and tried playing music.
Tried 'audio routing' apps from the app store
What I would like to know
Is this because I need to change a setting in my phone to route music out of the USB C?
Do I need to get some kind of DAC to allow support for this?
Has anyone else tried this with their phone?
Thanks
broj0nes
Subscribed. Interested in the solution.
Sent from my Nexus 6P using Tapatalk
If you don't mind my asking, why bother?
eregev said:
If you don't mind my asking, why bother?
Click to expand...
Click to collapse
One reason is that to me it makes more sense to put your phone upside down into you pocket. I've always done this at least. So when listening to music I have to put it the other way round. I have also heard the USB C port offers better sound quality.
brotherj0nes said:
One reason is that to me it makes more sense to put your phone upside down into you pocket. I've always done this at least. So when listening to music I have to put it the other way round. I have also heard the USB C port offers better sound quality.
Click to expand...
Click to collapse
Re:sound quality, you'd possibly see a quality increase if you use an external Digital to Analogue Converter or fully usb-c headphones. BUT, if you're using a little dongle (if it's possible), then the phone is still managing the analogue conversion and, thus, a very similar quality of audio output. Now I don't know of the 6p's ability to pipe it straight out iPhone 7 style through a dongle, but short of buying a DAC and going whole-hog on an audio upgrade, I'd just flip your phone the other way in your pocket and go the standard route.
Just my $.02
I have been looking for a solution to this too and I seem to have found one. I poked around on Amazon and I think I finally found adapters that work, here's the link https://goo.gl/QT2ith This the only one with positive reviews so when it comes in on the 30th I'll let all of you know.
sgandy2989 said:
I have been looking for a solution to this too and I seem to have found one. I poked around on Amazon and I think I finally found adapters that work, here's the link https://goo.gl/QT2ith This the only one with positive reviews so when it comes in on the 30th I'll let all of you know.
Click to expand...
Click to collapse
Looks quite similar to the one that I got. Hopefully it works for you! Let me know how it goes
I read recently that the current implementation of audio over USB-C isn't very efficient or battery friendly. There's a new spec being ratified to provide audio like the iphone can. Hopefully that's a firmware change and not a hardware one.
http://www.theverge.com/2016/8/17/12519936/intel-usb-type-c-headphone-jack-replacement-idf-2016
I don't think it's possible on the 6P, not without using a USB DAC anyway.
As far as I'm aware, the adapter you have is for a USB 3/3.1 interface. While the 6P has USB-C it is USB 2.
I'm able to get audio out of my USB C port, but it's with a USB headset. Haven't tried it with a 3.5mm headphone adapter, but havd no reason to try it either.
This is weird. Because i have a pair of Sennheiser Urbanites (Wireless edition), and i can use bluetooth, aux, and usb (like for a computer) audio. I once tried to turn off the headsets (bluetooth off, aux and usb still works if connected), and turned off bluetooth on my phone. Then i used my USB type C to USB type A Female adapter (from the google store), and connected the usb-cable from the headsets into the type c adapter. it did output audio through the usb-cable.
Mgrev said:
This is weird. Because i have a pair of Sennheiser Urbanites (Wireless edition), and i can use bluetooth, aux, and usb (like for a computer) audio. I once tried to turn off the headsets (bluetooth off, aux and usb still works if connected), and turned off bluetooth on my phone. Then i used my USB type C to USB type A Female adapter (from the google store), and connected the usb-cable from the headsets into the type c adapter. it did output audio through the usb-cable.
Click to expand...
Click to collapse
Bluetooth headphones usually have their own DAC, so the audio for all but the Aux is still being sent through the DAC first, which is supported by older USB standards.
The new USB 3.1 Audio standard can pass through analogue audio from the internal DAC, which is what I believe phones such as the Moto Z utilise. Otherwise the adapter would require it's own DAC, which would make it far larger and more expensive.
Not sure if you will find a good solution at the moment since they just created a standard for audio over usb c http://www.businesswire.com/news/home/20160927006252/en/USB-IF-Announces-USB-Audio-Device-Class-3.0
Did the amazon converter end up working for you?
My experience so far.
Hi, I ordered some usb c to 3.5mm & out of the box so far they aren't working. I tried Neutron and tried to force the audio to usb but unsuccessfully with phone not recognizing the USB connection.
On the other hand the type C to usb-a adapter worked beautifully using mixplorer. If I get working, will update. Thanks.

Categories

Resources