yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] PearcePowers:
To further confirm -- received my N5 yesterday. Hooked it up to my Audio-GD Compass DAC via USB OTG cable, and no dice. Phone detects nothing, and the music continues to play out of the horribly tiny built-in speaker. There's got to be some way to get a decent digital (or even line out?) signal from this phone??
[Nexus 5 Q&A, Help & Troubleshooting] paul_59:
It works with the paid version of USB audio recorder pro
[Nexus 5 Q&A, Help & Troubleshooting] scescy:
My n5 works fine with my fiio e7 only with USB audio recorder.

I will ask to kernel devs if it is possible add usb audio support into mod kernels.

Bye.

Stefano.
[Nexus 5 Q&A, Help & Troubleshooting] pr0phet:
Just wanted to bump this thread as I'm also very interested in getting my Nexus 5 to work with a USB DAC without the ridiculously designed UARP app.
[Nexus 5 Q&A, Help & Troubleshooting] OryZ:
I would also be interested in following what happens both with kernel support etc.
[Nexus 5 Q&A, Help & Troubleshooting] levesqu6:
also interested in support for USB audio
[Nexus 5 Q&A, Help & Troubleshooting] hcabrita:
Me too
[Nexus 5 Q&A, Help & Troubleshooting] Sherlock Combs:
I support this too
[Nexus 5 Q&A, Help & Troubleshooting] effinay:
+100
[Nexus 5 Q&A, Help & Troubleshooting] legendnexus:
*10000000
[Nexus 5 Q&A, Help & Troubleshooting] shiznu:
FWIW I asked Faux and he said USB otg should be enabled by default on the N5. Are any of you powering the DAC with anything?
[Nexus 5 Q&A, Help & Troubleshooting] PearcePowers:
While USB OTG may be enabled by default (for mass storage use, etc.), there is no audio signal being output from the N5 when using a USB OTG cable. I'm using an externally powered DAC, fwiw.
[Nexus 5 Q&A, Help & Troubleshooting] brooksyx:
I don't know if it works or not but USB audio output was merged with CM11.0 last by Cyanogen himself (Steve kondik).

http://review.cyanogenmod.org/#/c/54343/

So maybe it is a software thing.
[Nexus 5 Q&A, Help & Troubleshooting] shiznu:
So otg works with other devices just not audio out thru USB? I wonder if it would need a kernel patch for power+audio. In other words does the power for the hub take over? Maybe Google doesn't want us to have nice things. I will see if I can bug some kernel guys.
[Nexus 5 Q&A, Help & Troubleshooting] brooksyx:
Here let me quote myself for you.
[Nexus 5 Q&A, Help & Troubleshooting] shiznu:
Yeah caught that the first time. The original conversation was out of the box.
[Nexus 5 Q&A, Help & Troubleshooting] brooksyx:
Its never going to work out of the box. I highly doubt google will add this to the stock rom. But someone could build the AOSP rom from source and cherry pick this in.
[Nexus 5 Q&A, Help & Troubleshooting] shiznu:
I sent your commit link to faux so maybe we will see it in all kernels soon.
[Nexus 5 Q&A, Help & Troubleshooting] shiznu:
Franco said its enabled in his kernel if anyone wants to test. I don't get a DAC till about 10 days.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Do you have a link to where he said this regarding the nexus 5? Ideally I don't want to go custom ROM and kernel on this baby until someone can verify a certain kernel/ROM combo works for USB DACs without needing USB Audio Recorder Pro app. Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] peetah_k:
Just installed cm11. Audio playing out of my hifimediy sabre tiny DAC. Only major issue is there's no volume control so its either on or off. Never used an external DAC on a phone before so don't know if this is normal behavior or not but will be going back for now. Shame cause i was really digging the sound quality. A few other bugs I found like restarting with DAC plugged in resulted in no sound at all and unplugging it resulted in no sound once as well.

Also tried stock with Franco r12 and r14 no go either.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Holy crap that's awesome!! Where are you getting CM11? I want to make sure I get the same version. Thanks!!
[Nexus 5 Q&A, Help & Troubleshooting] zkkzkk32312:
Hi everyone,

this might not be related directly to the topic,

but what is the point of using a USB DAC for your nexus 5 when the stock android still only have 15 steps of media volume control?

They don't really care about serious music lovers at all.

I tried the framework modification for 30 steps and it only worked in ART mode.

sure USB DAC will be nice but they cannot even get the volume control right at the first place...
[Nexus 5 Q&A, Help & Troubleshooting] peetah_k:
Used this one here. Unofficial but that's all I could find yesterday. I think an official nightly is due soon if it isn't already out.

http://xdaforums.com/showthread.php?t=2519243

cm-11-20131124-UNOFFICIAL-hammerhead is the version I used.

Do you know if you normally get volume control using a DAC? Not sure if its regular behaviour or if its a bug...
[Nexus 5 Q&A, Help & Troubleshooting] PearcePowers:
It's my understanding that USB audio out is at a "line-level," and therefore, should not be adjustable. You'll have to use the headphone amp (separate, or built into the DAC) for volume adjustments. This is a good thing.

** Edit: amp, not preamp
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
This is my understanding too. Sorry to the guy who asked. I have that DAC too, but when I want to use that DAC for USB audio, I connected it to an amp that can control volume.

Otherwise I use my other DAC (Fiio E07k).

---------- Post added at 03:07 PM ---------- Previous post was at 03:04 PM ----------

Read Peace's last post. Volume control is a non-issue because it's a "line-level"output for USB Audio purposes. I agree they (Google) doesn't care about serious music lovers, but that's because they still haven't enabled native USB Audio Support in Android such that we can simply plug in our DACs and enjoy USB Audio without needing custom roms, kernels and prayers that a third-party solution will work. IMHO, a serious music lover doesn't (or at least wouldn't want to) plug in their audiophile-grade headphones into the headphone jack of a phone, but rather into a USB Dac/amp connected via OTG to the phone holding their very high bitrate FLACs.
[Nexus 5 Q&A, Help & Troubleshooting] peetah_k:
Thanks for clearing that up. Guess I'll need to get another DAC.

Just realised the version of CM I flashed was built by none other than brooksyx :D
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
To anyone else who needs a second confirmation, I installed the CM11 build peetah and mentioned and sure enough it works!! Subject to the same caveats peetah mentioned, but those are minor inconveniences at this point...we have USB Audio on the Nexus 5!! :) (Can't wait for official builds of CM11 to fix the minor issues)
[Nexus 5 Q&A, Help & Troubleshooting] zkkzkk32312:
good point that when using USB DAC its line level and therefore volume not adjustable,

but i am very serious about audio and I do not plan on using a USB DAC with it,

nor do I plan on using my power hungry full sized studio headphones with my phone.

all I wanted was 30 steps with my little in ear cans.

cheers.

---------- Post added at 08:08 PM ---------- Previous post was at 07:59 PM ----------

just another very good reason that CM is my personal STOCK android.

and hopefully the the volume increment mod will work on CM.

very exciting.
[Nexus 5 Q&A, Help & Troubleshooting] legendnexus:
Hello,

I was wondering if i can get audio out thru usb port. I searched and see that franco.kernel can do it i guess on usb dac devices according to what has been said up there.

So i have these samsung infuse 4g desk dock and Motorola Atrix Standard Desk Dock. They both have 3.5mm audio out jacks thru out usb.

The thing I don't know if they are considered as DAC devices or not..

I tried both of these docks with stock and franco kernels but i couldnt get audio out..

Also I tried 'USB Audio Recorder Pro' application, but it didnt help me to get audio from usb too.

Does anyone try anything like this? or am i missing sth?

Any help will be appreciated
[Nexus 5 Q&A, Help & Troubleshooting] kunjunk:
I'm trying to use a Fiio E7k with Franco kernel and Cataclysm rom with no luck. Do I need to be running CM11?
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Just switch to a CM11 rom (with the CM kernel it has with it, not some other kernel). The Franco Kernel on the Nexus 5 does NOT have the USB Audio fix, despite an earlier posting in this thread. I'm rocking a CM11 rom (Euroskank's to be exact, but any of the CM11 Roms that use the CM kernel should work) and USB Audio works just fine, SUBJECT to the caveats above (that if I unplug my dac and then plug it in later, doesn't work, need to reboot to use it again).
[Nexus 5 Q&A, Help & Troubleshooting] inamak:
Hi all,

So I just tried out connecting some usb speakers (Soundscience QSB) to my Nexus 5 and tried using USB audio recorder pro - it worked great!

The cool thing about these speakers is that they are powered from the usb itself - no external power/battery etc required.

Audio works and quality is great, and more importantly volume control within the app also works fine.

Main issues with using it this way is that you have to stick to that app, and it doesn't support mp3 yet.

Might have to give one of these modded kernels a go and see if it will work so I can use another app - would need volume control in my case though.
[Nexus 5 Q&A, Help & Troubleshooting] costcutter:
I'm running Cataclysm with faux's kernel and USB audio sort of works.

You have to reboot the nexus with it connected to the DAC, then once booted USB audio will work. Only problem is when you reboot with the DAC connected USB audio ONLY works, if you remove the usb cable and play music nothing will play out of the speakers/headphone you have to reboot again but without the DAC connected to get normal audio back.

Weird but works.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Very weird, thanks, good to see a custom rom working with a custom kernel. If you remove the USB cable, and turn up the volume on your phone, do you still hear your phone ring from the phone's speakers?

I can confirm first hand that CM11 based roms still work where you plug in your USB DAC and it works, but if you remove it and then try to plug back in, won't work and you'll need to reboot if you want USB Audio functionality again, in case anyone is following this. This includes the pure unofficial CM11, sanity (that's CM11 based, right? I forget now), and Euroskank.

I guess it (CM11 v. Cataclysm + Faux) comes down to whether you want to have uninterrupted USB Audio but nothing else, or be able to have regular audio/speakers, switch to USB audio, then switch back. I'm quite intrigued by this Cataclysm + Faux combo, I may need to try it!!
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
I just tried Cataclysm + Faux as you describe, I'm not getting anything out of my Fiio E07k USB DAC. Did exactly what you said, had the phone on, plugged in DAC, had it on, rebooted the phone.

Upon reboot, no audio going to DAC and no audio coming from speaker. Any other sound related settings you had enabled? Anything w/r/t to the kernel? Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] costcutter:
Did you flash the November 26th update? I was using the Google Play Music app to play my music. Also was the Fiio set to USB when you rebooted?
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Yes to both questions, and still, nothing. Strange.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
So...anyone try USB Audio on Android 4.4.1 yet? Just curious if now finally Google is providing native USB Audio Support. Thanks.

EDIT: It's been reported stock 4.4.1 doesn't enable USB Audio.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
Just an FYI that Steve Kondik on CM is aware of the issue with CM where, if you unplug your USB DAC, and then plug it back in, you get no USB Audio until you reboot. He's working on fixing it. You can communicate with him directly on the issue (or other issues of USB Audio on CM) here:

https://plus.google.com/+SteveKondik/posts/3cw2DWbbM1p
[Nexus 5 Q&A, Help & Troubleshooting] bdkoeh:
Hi guys. This is my first post. I've been an iPhone user for a wile (i know, i know) but I want to switch to Android. The only problem keeping me away is that I need a single cord solution to get AUX output AND charge my phone wile in the car. With my custom iPhone dock, I'm able to quickly slide in my phone without having to fiddle around with cables, and this is not a feature i can lose. I found this thread wile researching if Nexus 5 finally supports USB audio.

I see that a few of you have successfully got audio to your DAC via USB, but my question is: if it is a powered DAC, is it charging your nexus 5? Any input would be much appreciated.
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
No, a powered DAC does not charge the Nexus 5. I am 99.99% sure you cannot do what you are suggesting. In fact, you cannot charge the phone while a USB DAC is connected. Even wireless charging does not work when the DAC is plugged in. Both of these I can personally verify.

The closest you could do to what you seek is to put together (or buy?) a dock that makes use of the wireless charger and use the headphone jack from the nexus 5 to an AUX port. But even then, the Wireless Charger is connected via cable to your car for power, so it's a two cable solution. Or bluetooth audio if your car supports that.

Sad bummer that this is your dealbreaker from switching to Android/Nexus 5. :crying:
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
As of 12/12 build of CM11, the issue that USB Audio doesn't work after unplugging your DAC and then plugging it back in has been fixed by CM founder Steve Kondik. You now don't need to reboot if you unplug your DAC and then plug it back in later!
[Nexus 5 Q&A, Help & Troubleshooting] xonybubba:
Quick question to everybody doing this - you're using a USB OTG adapter like this

www dot amazon dot com/gp/product/B0091QLXW8/ref=ox_sc_act_title_1?ie=UTF8&psc=1&smid=AKPAYDACLYEJS

to connect your phone to the DAC, right?
[Nexus 5 Q&A, Help & Troubleshooting] PearcePowers:
Yes.
[Nexus 5 Q&A, Help & Troubleshooting] _Trev_:
EDIT: Sorry, this is incorrect.

This may be possible with a powered USB OTG cable such as this one on amazon:

http://www.amazon.com/Micro-Cable-Power-Samsung-AtomicMarket/dp/B009YPYORM
[Nexus 5 Q&A, Help & Troubleshooting] uzi74:
I can confirm the newest CM nigthly builds are supporting USB audio.

-I've tested with Fiio F07K - no issues (it has buttons for volume control)

-and with a HRT microstreamer - it is working, but no volume control (android volume control is on or off, so it is very loud, unusable without a headphone having a hardware potmeter) and it starts clipping after a few minutes of playback - I guess it has to do something with the buffer size - would it be possible to change it somehow?

Using the new all USB Audio Player Pro both are working fine (no clipping) - volume control is possible via USB Audio Recorder Pro (unforunately these apps are not for streaming like spotify of google music)

Are there any kernels/patches out there with volume control? Is there a way to change buffer size or other usb audio options?
[Nexus 5 Q&A, Help & Troubleshooting] ramjet73:
Working DAC/Amplifier with CM11 on Nexus 5

Crossposting from another thread:

Here's a combination that definitely works with the Nexus 5:

1. CM11 (1/2/2014 nightly) and PowerAmp Pro.

2. Stoner Acoustics UD110v2 DAC.

3. FiiO E5 Amplifier.

4. Audio Technica ATH-M50's.

Sounds great for less than $175 ($60 for the UD110v2, $22 for the E5 and $91 for the ATH-M50's). :)

Note: This configuration also works with Pandora, Google Play Music and other audio apps. Also, if I use an OTG cable with a power connector it will charge the phone while using the external DAC as long as the power supply is connected to the cable before plugging the micro USB connector into the phone.

ramjet73
[Nexus 5 Q&A, Help & Troubleshooting] mpgrimm2:
[MENTION=275009]ramjet73[/MENTION],

Where have you been at lately? Glad to see you poking around again and it looks like you picked up a Nexus-5 as well? Hope to see more of you around.

Mike
[Nexus 5 Q&A, Help & Troubleshooting] ramjet73:
Nice to hear from you again too. ;)

I've been distracted with a lot of other things but did manage to pick up both a Nexus 4 and Nexus 5. At this point the N4 is backup for the N5 but it's nice to still have a test phone. I really like the fact that the Nexus 5 can be used on Sprint, T-Mobile and AT&T and supports LTE on all those carriers.

Did you upgrade from your Evo 3D and HP Touchpad?

Edit: I see from your sig that you updated to the Nexus 5 as well. How do you like it? Have you been tweaking the audio too?

ramjet73
[Nexus 5 Q&A, Help & Troubleshooting] mpgrimm2:
Yep upgraded mine to a N5 and my son got a Gs4 so both my 3d's are retired (our threads are still active with Vmo users, etc). Right now just poking around on stock rooted 4.4.2 because of being busy with work/holidays. I'm not much of an audiophile so I likely won't do much with the Nexus-5's audio other than maybe make it louder at some point (single speaker position can be annoying when covered up by a hand).

Still active on the HP TP with CM10. 2 and CM11 if they can work out the 3.x kernel finally. It works very well for a 3yr old tablet and is hard to beat for the money.

See you around.
[Nexus 5 Q&A, Help & Troubleshooting] ggabriele3:
To resurrect this thread - was USB Audio removed from Cyanogenmod?

these threads over on the forums seems to say that it was:

http://forum.cyanogenmod.com/topic/88810-usb-audio/

http://forum.cyanogenmod.com/topic/85447-usb-audio-volume-control/

there have been nightly builds since, but no mention of USB Audio.

does anyone have any news on this?
[Nexus 5 Q&A, Help & Troubleshooting] hawktalon:
ODAC

Hi, I am running N5 with Carbon ROM with ElementalX kernel. Is there any way I can get my ODAC to work with it? I have a spare ODAC board that I ordered for my diy desktop DAC+AMP unit so I'm interested to give it a try. I haven't got myself a OTG cable(planned to make it myself) so I want to know before I do any work.
[Nexus 5 Q&A, Help & Troubleshooting] ggabriele3:
I just got this working with CM11 (2014-03-11 nightly) and my Fiio E17.
[Nexus 5 Q&A, Help & Troubleshooting] omegatek:
Oh wow, I want to try that out. I have a Fiio E07K and AT50's

Mind posting a link to that build?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] ggabriele3:
here are the hammerhead downloads: http://download.cyanogenmod.org/?device=hammerhead

obviously I can't vouch for the stability of this or any more recent nighlies.
[Nexus 5 Q&A, Help & Troubleshooting] omegatek:
Thank you! Time to get cracking on this :D
[Nexus 5 Q&A, Help & Troubleshooting] kssameer:
ggabriele thats great news. I did read about issues with Fiio E17 's requirement of 500mA over the bus. I have not been able to glean from other discussions if this is just a erroneous reporting by the E17 or if it really does need to be bus powered despite the internal battery when USB charging is disabled.

ggabriele can you please shed more light on the battery drain when you are using E17 on your Nexus 5? How fast is the drain on the Nexus 5? How long have you been able to use E17 connected to the Nexus 5? Is E17 really usable with the Nexus 5 as a Digital Audio Player (DAP) for extended lengths?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] ggabriele3:
The E17 runs off its own battery if you turn USB Charging Off. If you leave that setting On, it will drain the N5 battery, but it runs just fine as a DAC/Amp on its own battery.
[Nexus 5 Q&A, Help & Troubleshooting] kssameer:
ggabriele3 thanks for the clarification. Could you please also confirm that with N5 and E17 you could use any media player to play audio or is it still limited to "USB Audio Player PRO" ?

Thanks,
[Nexus 5 Q&A, Help & Troubleshooting] ggabriele3:
with CM, any player seems to work with USB audio out. I have used it with Appollo, PowerAmp, RocketPlayer, Google Play Music, and PlayerPro.
[Nexus 5 Q&A, Help & Troubleshooting] samuelleb11:
Please help me

Hi everybody, I'm new here but i've been reading to xda forum for a while and now I have a question for you. I need help to get my Fiio E17 DAC/AMP works with my Nexus 5, I tested the latest CM11 in dalvik and art mode, also tested OmniROM and CarbonROM. Under CM11 in art mode I had it works for only 10 seconds and after nothing. It would be great to get it work with my Nexus 5 to use all the power of my Q701...

Thanks in advance ! :)
[Nexus 5 Q&A, Help & Troubleshooting] sst:
Sorry if this has already been covered but does the stock 4.4.2 support line out via micro USB? Planning to buy this cable: http://pages.ebay.com/link/?nav=item.view&id=141093571440 . had a similar cable for my iphone as it provided superior sound output compared to the 3.5 jack when hooked up to my car. Thanks
[Nexus 5 Q&A, Help & Troubleshooting] Gary13579:
Just picked up a FiiO E07K, one of the main reasons was to get it working with the Nexus 5. I would like to avoid custom ROMs at all costs. Too much hassle, it's why I bought a Nexus in the first place. Plus with Xposed, I don't need anything a custom ROM would offer... except USB audio.

Looking through the commits to CM11, it looks like enabling USB audio was just tweaking a couple of config files. There may be some kernel changes as well, but I haven't found them yet. I don't have an OTG cable handy, could anyone try the following on stock ROM with franco kernel and tell me if it enables USB audio?

Backup /system/etc/audio_policy.conf and /system/etc/mixer_paths.xml in case it doesn't work.

Replace audio_policy.conf with https://github.com/CyanogenMod/android_device_lge_hammerhead/blob/cm-11.0/audio_policy.conf

Replaces mixer_paths.xml with https://github.com/CyanogenMod/android_device_lge_hammerhead/blob/cm-11.0/mixer_paths.xml

Reboot your device and USB audio should work?
[Nexus 5 Q&A, Help & Troubleshooting] jhighsea:
What difference would Franco Kernal make, I have OTG and FiiO E7
[Nexus 5 Q&A, Help & Troubleshooting] pappy97:
I don't think USB Audio works properly with Omni or Carbon. CM11 should work just fine. Sometimes I find I need to plug and unplug a few times, but I never have it to where it works for only 10 seconds and after nothing. Are you using the most up to date version of CM11? I would get the latest nightly OR use my favorite CM based rom, http://xdaforums.com/google-nexus-5/development/-t2623088, to get this going.

I use that cRoid Simple I linked (CM11 based), with ART, and don't really have USB Audio issues. Been busy with work though, so I haven't used my USB Audio devices in a while. I suppose I could try this weekend and report back.
[Nexus 5 Q&A, Help & Troubleshooting] jhighsea:
Updated to franco Kernal and made these changes. Did not work, device would not boot without USB DAC connected, once booted device had no audio.
[Nexus 5 Q&A, Help & Troubleshooting] adn.t:
Hi, I just flashed CM11 20140308 SNAPSHOT M4 with the CM kernel (3.4.0) on my N5 but I can't seem to get USB audio to work with my ELE-D01 DAC, it just plays through the speakers... I've tried plugging them in different orders, rebooting with the DAC plugged in, but it still doesn't work.

USB OTG does work as it recognises my USB stick... (on a side note: where in settings or wherever do I safely unmount the USB stick?)

Anyone have any ideas as to why?

EDIT: Also I came from stock OTA kitkat with root
[Nexus 5 Q&A, Help & Troubleshooting] McCol1:
I spent quite a bit of time trying to get usb audio to work on the N5 through rooting but there is no need.

An app called USB audio player enables the usb audio without the need to root. Works on the N5. Theyhave a website with a list of Dac's that work.
[Nexus 5 Q&A, Help & Troubleshooting] xdrc45:
When using USB OTG, just pull down your notification panel and there should be a "Unmount USB Storage" notification and just click on it to unmount.

As far as the USB audio out... I'm not sure as I've not tried to mess with it yet. Maybe try the USB audio player app mentioned in the post above mine by McCol1