Nexus 4 USB DAC Compatibility - Nexus 4 Q&A, Help & Troubleshooting

I know there was a workaround to get USB audio to work with the Nexus 7, but would this work with the N4 as well?

Potentially, but we'll need a kernel that supports it first. So I wouldn't expect anything for a few weeks at best.

zookalicious said:
Potentially, but we'll need a kernel that supports it first. So I wouldn't expect anything for a few weeks at best.
Click to expand...
Click to collapse
I'm hoping it will at least be compatible with the E17.

Any word on this yet?
/me chomps at the bit

Really curious about the plausibility of using my iBasso D-Zero with my N4, will donate well for a solution!

Could someone please test this app with a USB DAC? I would really like to know if it works with the N4. It is supposed to provide USB DAC support without using custom kernels. I dont have a DAC right now unfortunately...
https://play.google.com/store/apps/...vbS5leHRyZWFtc2QudXNiYXVkaW9yZWNvcmRlcnBybyJd
Please press the thanks button if it works for you

moose392 said:
Could someone please test this app with a USB DAC? I would really like to know if it works with the N4. It is supposed to provide USB DAC support without using custom kernels. I dont have a DAC right now unfortunately...
Click to expand...
Click to collapse
In the description, it states that it will not play audio from other programs. So it's pretty much useless for all other purposes other then playing recordings from the program.
I'm just looking for a way to hook up my N4 by USB to my car's AUX input. Any suggestions?

Well, the idea is pretty neat, I like it.
But really, the s4 chip does not have really impressing SQ.
Better buy a FiiO USB DAC, wich is only 100$ and gives you really nice quality.
Though, using a galaxy s1 i9000 and it's wolfson chip as USB DAC would be really really nice...

Related

[Q] Audio via USB?

Is it possible to get audio playing over the USB port from the HD2?
With the iPhones, the audio market have a line out dock which takes the proprietory plug the iPhone uses to charge and sync and outputs to a 3.5mm jack. This bypasses the internal amplification circuitry so that you can use an external amplifier for a better signal to your earphones/headphones/speakers of choice.
I was wondering if it was possible to do this with the HTC HD2.
Can anyone offer any insight?
I'm no expert however from what I know, I think the iPhones dock connector has more than just regular USB connections inside. It may have some audio connections and possibly even a video connection. So I'm guessing the audio actually gets sent through that rather than via USB.
However, I imagine that you could send audio via USB but at a guess I think it might require a processor is some description at the other end to take the audio and send it to the speakers.
This may be totally in the wrong direction but I believe it is probably along these lines
Sent from my Nexus S using XDA App
It's most certainly a question for those of the XDA Community who know the ins and outs of the USB port and what it can actually do.
I'd love to think that it is possible. Whilst I'm happy with the output of the HD2 sound quality-wise, the mere thought that it 'could' be better intrigues me.
Can anyone help explain if it can be done, how it can be done or if it can't be done, why it can't be done?
Just to get a bit more info, where were you thinking the USB audio would be used? Like through a PC and then to it's speakers, or do you have some MicroUSB audio dock thing? I imagine whether it is possible or not depends on where you want the audio to go to.
I imagine if it was through a PC then it would be a matter of software, and therefore be possible. But I don't know about a dock situation.
Jonathon Grigg said:
Just to get a bit more info, where were you thinking the USB audio would be used? Like through a PC and then to it's speakers, or do you have some MicroUSB audio dock thing? I imagine whether it is possible or not depends on where you want the audio to go to.
I imagine if it was through a PC then it would be a matter of software, and therefore be possible. But I don't know about a dock situation.
Click to expand...
Click to collapse
From the HD2's USB port into a portable amplifier (3.5mm jack) then onto a pair of IEM's.
I guess it is also plausible that it could go from the HD2's USB port to a USB DAC/Amp then out onto a pair of IEM's but that kind of DAC/Amp doesn't come cheaply and then there's a whole driver issue to contend with, possibly.
This is strictly to improve audio in a portable capacity, as iPhone users seem to have been able to do for quite some time.
Alright then, beyond my scope mate sorry we need other developers to check this out I think.
Anyone?
Sent from my Nexus S using XDA App
Thanks Johnathon.
Hopefully someone else will reply to this. Plenty of views but no chatter.
Yeah, I'm sure you will find someone though! It is the HD2 section after all more than enough devs in these parts
Sent from my Nexus S using XDA App
I do not think it would be, like the DAC isn't it? why not just use the Bluetooth A2DP?
growlye said:
I do not think it would be, like the DAC isn't it? why not just use the Bluetooth A2DP?
Click to expand...
Click to collapse
I do not understand your question and do not see how Bluetooth A2DP would help at all.
Final bump
I know that CyanogenMod9 allows audio out over usb on some phones.
I'm really interested to know too so have asked the Q in the android forum: http://forum.xda-developers.com/showthread.php?p=22920882#post22920882
Fingers crossed...
Bumping
There are many more people interested then it shows here.
I know the following must be in place before USB class audio will work:
ALSA drivers in the kernel
USB host
USB OTG
and if all of that is in, then in theory USB audio should work.
Jelly Bean makes this official, which is nice. but many of us still use CM7, especially Tyween Typhoons, for stability, and it would be awesum if it worked in there, although to be honest I am waiting for the final CM7.2 before I test again.

[Kernel]- Usb Audio support - Initial idea

Hi Devs.
After doing a little research, its seems that USB audio support is enabled in the S3 kernel. There seems to be a fair bit of support for implenting this feature accross a range of devices.
I also note that the cheap C-media chips are recognised by the S3 kernel. So I'm going to buy one, as they are cheap as chips. I realise the sound quality won't be up to much but its a step in the right direction, as I don't currently have and other USB audio devices.
So, I fancy a little kernel compiling. I have done this on linux systems many years ago and I still compile the odd program when I have to. There seem to be some kernel compiling good guides, but I am wondering if anyone else is looking into this feature, or can suggest a good place to start. Is it worth starting with an S3 kernel, (I guess not) or should I start from scratch, or another kernel I like? Anything I compile and test will have cifs support, as its something I can't do without.
I also see the Glados kernel for Nexus already has USB audio support.
Obviously I'm aware of the emmc erase issue, so starting with sources that disable this feature would be a good idea.
Am I completely mental or is this worth having a go at? I'm willing to wait a while if its too dangerous to try until Samsung release a fix for the SuperBrick.
I'll admit I'm rusty, but I have successfully complied kernels in the past.
Any comments will be graciously be recieved!
OK, no love for USB audio. Looks like I'm on my own then!
+1 for USB audio
Galaxy note Paranoid Android 1.7ghz goodness
audio over usb
Galaxy Note has USB audio support too. Take a look at Samsung EDD-D1E1 Dockingstation for Samsung Galaxy Note. it's with Line-Out for external speaker.
The note doesn't supply much power in the USB OTG configuration so may need to be an externally powered unit, or running via a hub.
As NBLive says, the car dock has a USB --> 3.5mm option which works fine with the Note (I was using it about 2 hours ago), so the support is there, we just need driver support for "generic" units.
It's also pretty much a non-issue for the S3 anyway as it's got the good Wolfson DAC rather than the crappy Yamaha (iirc) one the Note has.
NBLive said:
Galaxy Note has USB audio support too. Take a look at Samsung EDD-D1E1 Dockingstation for Samsung Galaxy Note. it's with Line-Out for external speaker.
Click to expand...
Click to collapse
As I recall it the dockingstation only have analog audio (not usb audio but it might use the same connector), I have the dock somewhere, will check when I find it.
To OP, you are absolutely not alone on this one, It is one of the most requested features on Android (link).
There are also a few threads in the forum.
slinbin said:
As I recall it the dockingstation only have analog audio (not usb audio but it might use the same connector), I have the dock somewhere, will check when I find it.
To OP, you are absolutely not alone on this one, It is one of the most requested features on Android (link).
There are also a few threads in the forum.
Click to expand...
Click to collapse
You are correct. The dockstation is just a usb connector with the sense pin 4 having a resistor of a certain value connected to ground, telling to phone to output analogue audio to the data lines of the usb circuit. This is similar to how the phone senses a USB OTG or MHL-HDMI cable.
What I'm talking about here is USB audio device driver support at the kernel level. Currently its not compiled into the Note's but is supported for a limited number of devices in the galaxy S3 kernel. Simplistically put, the phone doesn't have the drivers.
I've looked around at various config files in the Note and am now wondering if SPDIF audio can be outputted over USB. However, I could be wrong as the there is a lot of ancient crap left over from linux configs from 10 years ago, for instance, config files for Turtle Beach sound cards!
The other option is to use the MHL-HDMI adaptor and then an HDMI to digital audio but that's a bit clunky and given that the S3 can do what we want, it shouldn't be too hard.
The advantages of this are a higher quality audio, multi channel output from DTS surround Vidoe and audio and stereo line in recording. Although android is not the greatest OS for audio work due to latency issues, USB audio support is a step towards iphone like audio recording/mixing and effects work. The S3 can also support much higher Bit rates and sampling frequencies, upto 24bit/192kHz. Far better than CD quality, let alone mp3.
Many people can't hear or don't care for higher quality audio. I for one can tell the difference between mp3 and CD or FLAC. To be honest, listening to mp3's can sometimes be painful to my ears. If you can't hear the difference, imagine being forced to listen to everything on an AM radio!
Sorry to blabber on lol
knightnz said:
The note doesn't supply much power in the USB OTG configuration so may need to be an externally powered unit, or running via a hub.
As NBLive says, the car dock has a USB --> 3.5mm option which works fine with the Note (I was using it about 2 hours ago), so the support is there, we just need driver support for "generic" units.
It's also pretty much a non-issue for the S3 anyway as it's got the good Wolfson DAC rather than the crappy Yamaha (iirc) one the Note has.
Click to expand...
Click to collapse
Reports are coming in that the Woflson DACs are not sounding so good. The Car docks do not have any kind of DAC in them.
+1, This would be great if I could use my Fiio E17 on note!
Sent from my GT-N7000 using XDA
I can build a kernel with that for you.. I guess. if nothing fails to build.
I'm using a custom kernel that I've had built for myself. Its basicly a Speedmod kernel with some modules (USB ethernet).
Do you have any chip in mind? I can make a CWM package to you.
It will be a Speedmod kernel with the modules.
Remember that Its not a kernel module thay you Want. I don't know if Android will recognize it and play out thru it.
mdrjr said:
I can build a kernel with that for you.. I guess. if nothing fails to build.
I'm using a custom kernel that I've had built for myself. Its basicly a Speedmod kernel with some modules (USB ethernet).
Do you have any chip in mind? I can make a CWM package to you.
It will be a Speedmod kernel with the modules.
Remember that Its not a kernel module thay you Want. I don't know if Android will recognize it and play out thru it.
Click to expand...
Click to collapse
Thanks a lot, saves me setting up a dev environment. I'm still struggling to get a stable laptop and I really don't wanna start doing critical stuff with it (fingers crossed, no hard video hangs with ubuntu 12.04!)
Try compiling for the cheapo c-media chipsets. They are only £1.50 and one is in the post. Think the driver is called cs4281 or something similar and are used in loads of crappy speakers/headphones.
I have read reports that these are recognised under dmesg on the S3.
If this is successful, they I might buy a better USB DAC.
I wonder if the yamaha chip can be persuaded to output spdif over usb. This would enable a wider (and cheaper!) range of DAC's to be used. There is support for ie958 under alsa in android........just a thought.
EDIT: hold off till I get the usb sound device. Some of them are using newer chipsets. I will plug it in to a linux machine and let you know what it is.
I would really benefit being able to plug my YETI microphone into my note for journalism. I remember vaguely looking at it a while ago where people were saying that you need to edit a file (to fake drivers or something) but in the end they were waiting on Google to release audio USB drivers.
I'm only a noob so take what I say with a pinch of salt.
+1
I would love to be able to plug a USB mic into the Note for audio recording.
I don't know if it will solve the latency problems that Android has, but the better audio quality would be good.
reconchrist said:
I would really benefit being able to plug my YETI microphone into my note for journalism. I remember vaguely looking at it a while ago where people were saying that you need to edit a file (to fake drivers or something) but in the end they were waiting on Google to release audio USB drivers.
I'm only a noob so take what I say with a pinch of salt.
Click to expand...
Click to collapse
richlum said:
+1
I would love to be able to plug a USB mic into the Note for audio recording.
I don't know if it will solve the latency problems that Android has, but the better audio quality would be good.
Click to expand...
Click to collapse
I currently have a logitech usb mic to test with also but I have to stress, this testing is just intitial driver support. There probably won't be any programs that will be able to select inputs for recording. I may be able to write a script to select an alternative input device but we are still quite far from this goal.
Glad to see things gaining traction. Hopefully google and samsung are already far ahead and will release something soon.
I would like to see the S3 sources though!
I've been looking through the S3 kernel source. Under /drivers/usb/gadget/ there a various drivers and headers called f_audio.c, u_audio.c, u_audio.h.
Also the Kconfig file details on how to implement these drivers into the kernel. It seems to me that if these can be compiled sucessfully for the Note kernel, it should just be a matter of changing alsa config files to at least initially get audio input/output support for usb audio devices.
Can't wait to have a go!
Someone else will have to write an app to do the device selection in a nice way. That side of things is beyond me.
Downloading the Note kernel source to compare.
Do you know if android uses any sound manager?
My worst fear is that we can't play sound thru it.
Getting a USB device to be recognized by the kernel is easy. All I need to do is to build a kernel with that extra module.
Load the module and boom. Kernel should recognize it.
How about Android sets his output to that new device?
-Zage- said:
+1, This would be great if I could use my Fiio E17 on note!
Click to expand...
Click to collapse
That's the kind of cake I wanna eat.....
Have your music in one place listen to lowQ when thats enough and highQ when you want that (with a extra box on the side, but the music and control stays in the Note).
I feel like if android natively supported exterior USB audio better. The app potential would be huge for audio out apps and simple 2-8 track recording apps among other things
Galaxy note Paranoid Android 1.7ghz goodness
Always looking to improve sound quality. Thanks for thinking outside the box. Hope it all works out in our favour. Suck it iphones xD.
Dynamano said:
Always looking to improve sound quality. Thanks for thinking outside the box. Hope it all works out in our favour. Suck it iphones xD.
Click to expand...
Click to collapse
Whilst I don't like Apple products at all, audio is the one area that an Android user just hangs his head in shame when someone with iOS shows them what they can do on their iphone or ipad.
I'm hoping Android gets a low latency solution soon, but even then, it will be a long way till Android if close to being on par with iOS for audio apps.

Galaxy s2 i9100 USB AUDIO status

Hi guys,
there is a lot of speculation on this matter,
and it seems that after the gs3, note 2 and other devices release, the interest of this project by the developers vanished.
I want to know if there is anyone that is making progress with this matter.
Maybe some custom rom that i'm not aware of,
maybe some kernel that i'm not aware of.
At the moment it seems that the situation is really bad.
I've found an app on the store that states that "Samsung blocks usb audio devices on the S1, S2, and note 1". But they have plenty of stock phones and tablets that work with the app for a usb audio output.
I really hope that someone is trying to do something for us.
Thank you very much all
I remember there was a lot of talk about this when details of ICS first started getting leaked cause it supposedly had support for USB audio naively coded into it. I think a few people tried with a few devices but didn't have much luck and it wasn't really investigated very well afterwards (someone correct me if i'm wrong, i'm going on memory from a year ago). When the S3 dropped people tried it with a range of USB DACs and it works with many, but not all.
I've not seen anything new about the subject on here for a while, i've been looking out for it and i'd have expected it to have been big news.
Anyway, these people over at head-fi seem to think the S2 is compatible and recognises the USB audio output, but will not output through that channel, and that it just needs some developer to code something to force audio through that channel. Thread is now cold. I've got limited coding experience and it doesn't sound like the hardest job, which makes me think theres more too it. Waiting to head if someone else knows anything.
maybe I don't understand correctly what USB Audio really means, but the original Samsung car holder outputs analog audio when phone is plugged into USB slot.
crisagatie said:
maybe I don't understand correctly what USB Audio really means, but the original Samsung car holder outputs analog audio when phone is plugged into USB slot.
Click to expand...
Click to collapse
I know very well the post on head-fi you mention as i'm a contributor.
The problem of the USB audio is a different problem from the car holder you mention.
What we basically want is an output of the DIGITAL audio from the usb, because we want to bypass the internal audio DAC, because it is really poor, and the output impedance of the galaxy s2 is terribly high.
If we can achieve the DIGITAL audio through usb we could convert and amp our sounds via an external DAC/AMP bypassing the internal DAC of the Galaxy s2, the Yamahaa, wich is really crap.
At the moment it is impossible for the galaxy s2 to achieve this because samsung blocks that.
The galaxy s3 is capable of this, and no one is coding something or is interested to achieve a result for our phone.
I also think that this post will go deep down the forum and goodbye.
Sad enough
Doesn't work & you hit the nail on the head; no developer will touch it. Many have been asked over the past 18 mths or so, a few have had a proper look & all have gone 'nope'. Too many proprietary Samsung blobs involved, you mess with one blob you break something else, etc, etc.
As the phone has been superceded by the S3 months ago now, the chances of finding a developer to get this done is pretty much zero. Don't bother offering money, that won't help. That one has been tried here as well; at one stage we had pledges totaling in the high 100's of $ & that did pique anyone's interest.
Better off getting an S3 if you want that kind of thing, and chances are you wouldn't need it with the S3 anyway because it has a Wolfson DAC & the sound is probably pretty reasonable. I haven't auditioned it myself as I have a good dedicated media player, which frankly is probably the WTG if you're really unhappy with the sound out of the SGS2.
Check out this item I found on eBay:
http://pages.ebay.com/link/?nav=item.view&id=251063674228
Sent from my GT-I9100P using Tapatalk 2
Yes, there is support for USB Dock Audio, but how does it work? I bet the dock itself doesn't have any DAC or other audio processing modules so maybe it's just MHL supported? But in other way, sound through MHL will be digital, and the output in dock is analog jack.
Any ideas?
I know the Audio works in Car Dock, Problem is i am also currently looking into the software i had on previously. Some say its The Kernel , unfortunately i flashed my phone so many times i am not really sure of the Firmware / Kernel. Rest assured if i discover i will share.:good::cyclops:
CapuozzoCantina said:
Hi guys,
there is a lot of speculation on this matter,
and it seems that after the gs3, note 2 and other devices release, the interest of this project by the developers vanished.
I want to know if there is anyone that is making progress with this matter.
Maybe some custom rom that i'm not aware of,
maybe some kernel that i'm not aware of.
At the moment it seems that the situation is really bad.
I've found an app on the store that states that "Samsung blocks usb audio devices on the S1, S2, and note 1". But they have plenty of stock phones and tablets that work with the app for a usb audio output.
I really hope that someone is trying to do something for us.
Thank you very much all
Click to expand...
Click to collapse
i don't understand everything that was written in here.
i'm very badly wating for the usb audio support of the original Samsung Galaxy S2 Car Holder/Dock.
i can't imagine why it takes so long or is so complicated to implement this feature when it worked back in cm9 like a charm.
A sullution... (http://forum.xda-developers.com/showthread.php?t=2029728) but is there a kernel compatible??

[Q] Usb "mounting" as a track??

Hello!
Humm, so i thought id ask something about what you can and can't do with usb on nexus 7. To start off with, i've built a simple rig on my car for this tablet, to work as multimedia interface. And it works awesome. The one thing that bugs me, is that the sound quality from the 3,5mm headphone jack going into my car stereo auxiliary input, isn't as good as the USB input on my car stereo.
This leads to the actual question, would it be even close to possible, to have a "virtual" .mp3 file or something like this, "mounted" as the usb? Like, when you plug the usb cord between car audio usb <--> nexus 7, the car audio would think the device has only one track, but that would be like a live stream of the tablets sound interface? I have absolutely no experience in anykind of coding and thus im here to ask you. I might be way out of boundaries on what can be done, you tell me!
Bump!
Am i alone with this matter? Please move this thread if you think it would get better attention somewhere else! :victory:
Go here and read the progress on adding external usb dac to the nexus.
http://rootzwiki.com/topic/37755-ti...host-power-management-usb-audio/page__st__990
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
Go here and read the progress on adding external usb dac to the nexus.
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
Thanks! Didnt catch my eye when searching earlier, this is exactly what i was looking for! :highfive:

Plugging in a usb Dac into 6p?

Hello.
I was just thinking it would be possible to usb host a Dac ( in my case fiio e-10k)
It seems that it got the output power(cause it can charge others phones) but does it have the drivers?
Any toughts on this?
hargibi said:
Hello.
I was just thinking it would be possible to usb host a Dac ( in my case fiio e-10k)
It seems that it got the output power(cause it can charge others phones) but does it have the drivers?
Any toughts on this?
Click to expand...
Click to collapse
If it's designed correctly, you don't need a driver.
I have headphones that have a DAC and they work fine on all the phones that support USB-OTG.
hargibi said:
Hello.
I was just thinking it would be possible to usb host a Dac ( in my case fiio e-10k)
It seems that it got the output power(cause it can charge others phones) but does it have the drivers?
Any toughts on this?
Click to expand...
Click to collapse
im interested too
i bought the Zorloo USB headphones from indigogo and they are the best sounding headphones i use with my N5...
wonder if using them with this adapter will work on the N6P.... (guess ill find out next month when i get the phone and adapter)
https://oneplus.net/oneplus-usb-type-c-adapter
chaco81 said:
im interested too
i bought the Zorloo USB headphones from indigogo and they are the best sounding headphones i use with my N5...
wonder if using them with this adapter will work on the N6P.... (guess ill find out next month when i get the phone and adapter)
https://oneplus.net/oneplus-usb-type-c-adapter
Click to expand...
Click to collapse
I bought 4 pairs on their family pack during the campaign.
My wife has one, daughter has a pair and I have two.

Categories

Resources