Does anyone know of a kernel allowing users to "hot plug" a USB DAC to get audio out?
Poitee and Trinity seems to support at least USB audio after a reboot, but so far I have had no luck identifying something that will simply allow me to place my Nexus 7 in my dock (with OTG USB DAC connected) and have the audio automatically routed through the external USB DAC.
Therefore, does anyone know of a rom/kernel allowing this (since my Samsung Galaxy S3 can do this)?
No one out there who knows? :crying:
I'll second this. I am installing my Nexus 7 semi-permanent in my Car, and i'd like to take it out and use internal sound without rebooting it every single time.
// Per.
Yeah, I was keen on making a car install too, but this is for a dock I am building.
I can tell you it involves B&O design and pure awesomeness, guess I cannot post images or give links until I reach 10 posts though.
Hotplug USB audio is indeed possible on the Nexus 7, it seems that a few of us all have similar plans for our Nexus's
Give this a try -> http://forum.xda-developers.com/showthread.php?t=2029728
If you have any issues try and reply in that thread so we keep them all in the same place.
Related
Ok, so I've been trawling the threads for hours and the time has come to make my first post on this..
Here's what I really want to do, and whether or not, as I understand, I can do it:
Nexus 7 in dash, 3G model - fine, been done loads of times
250GB USB HDD, connected via USB OTG, containing my music library - possibly, depends on my hard drive? Will it work if I can provide a secondary source of power to the HDD (my caddy allows this)
Charge the N7 at the same time - again possibly, with CM10 and kernel mod? Also new to Android so shooting in the dark a bit here.
OPTIONAL/BACKUP IDEAS:
Wi-Fi drive of some sort - If it works then maybe, seems like an extreme option though for a car install.
Google Music and stream my entire collection (I have 15GB monthly data sim that I can use in the N7) - will work but not ideal for me. I have a lot of lossless music which I won't be able to take advantage of this way. Which brings me on to...
USB DAC through OTG cable - possible I know, but to do this on top of the other stuff is gonna be difficult and unreliable? Can live with just the headphone jack output for the time being, unless:
Utilise the pogo pins for a line out and charging - would be a nice solution in the car but again, possible?
It would be fantastic if someone could tie this all together simply for me somehow, or if anyone has any far better ideas for what I'm trying to do :good:
Also feel free to ridicule my noob-ness
Cheers
Hi, I can't see any way to plug an external condensor mic into my new nexus 4, pretty bummed if that is the case.
I would like to use my phone as a portable recorder that can record sounds in at least cd quality and use some sort of mic I will have to buy.
Much like everyone is doing with their iphones and garageband, maybe the nexus isn't able to do it, there is no hardware problem, my 1st ibook with a 512 mb memory could do this without a single issue, I imagine this device can do it but maybe it isn't made with any thought of getting external audio into it ?
Makes me thing I need an iphone after all.
blendobass said:
Hi, I can't see any way to plug an external condensor mic into my new nexus 4, pretty bummed if that is the case.
I would like to use my phone as a portable recorder that can record sounds in at least cd quality and use some sort of mic I will have to buy.
Much like everyone is doing with their iphones and garageband, maybe the nexus isn't able to do it, there is no hardware problem, my 1st ibook with a 512 mb memory could do this without a single issue, I imagine this device can do it but maybe it isn't made with any thought of getting external audio into it ?
Makes me thing I need an iphone after all.
Click to expand...
Click to collapse
USB OTG (On the go) is not supported in this phone by stock. None of the developers have been able to figure it out as of now but it may be possible. Another limitation is the voltage the USB hardware is able to provide which we do not know for sure yet. If it is lower than usb spec (and hence USB OTG is not supported stock) then you won't be able to power your mic with the phone.
TL;DR No this phone won't accept your usb microphone, maybe in the future with further research by devs.
smacksa said:
USB OTG (On the go) is not supported in this phone by stock. None of the developers have been able to figure it out as of now but it may be possible. Another limitation is the voltage the USB hardware is able to provide which we do not know for sure yet. If it is lower than usb spec (and hence USB OTG is not supported stock) then you won't be able to power your mic with the phone.
TL;DR No this phone won't accept your usb microphone, maybe in the future with further research by devs.
Click to expand...
Click to collapse
That really sucks, lol.. and it did say this phone has "OTG" usb on the google page for the specs for the phone, no ?
Now i see why i need an iphone, i can't even find a note taking program i can manually sync between mac and android (like I did with my blackberry for 10 years) without using cloud storage and stuff, I don't want my stuff on a cloud.
Yes the original marketing material referred to the device having USB OTG. It was removed sometime near release and the rumor we have is that the device can't provide the full 5V required by USB specifications.
As far as no cloud solutions, I'm not really sure what your apprehensions are. Apple is going to sync your notes the same way Google/Evernote would. The days of using a cable to sync your device have passed.
he's trolling...he knows this phone doesnt have OTG
Closing thread.....
Does anyone know how I would be able to play music in my car through usb? I am currently using tune link which uses Bluetooth and 3.5 jack. The issue I have, is that I have to change the song using my phone rather than the control buttons on my steering wheel. Sounds dumb, but I hate having to pick up my phone and navigate to screen to change the song.
Sent from my SM-G900V using XDA Premium 4 mobile app
Try using an OTG, it enables the phone to be used as a typical computer usb port.
I will try that.
Sent from my SM-G900V using XDA Premium 4 mobile app
Yeah that didn't work.
Sent from my SM-G900V using XDA Premium 4 mobile app
Have 100% the same problem. Did anybody find the solution? My old Xperia Acr connected like a common flash card and worked fine. Now I have to use AUX and this is not so comfortable =/
Why do you use a cable AND Bluetooth ? Does you car have AD2P ? If it has you should be able to play music through your phones BT and have the steerring controls . I have a Kenwood head unit DNX 9140 and when i pair my phone to it, i can play music and still keep steering controls over BT
The music out via USB was removed on the s5...was present on the s4.
Tomo1971 said:
The music out via USB was removed on the s5...was present on the s4.
Click to expand...
Click to collapse
Not true. There is a lot of misinformation promulgated on the subject. Music out on USB works fine on my S5 just as it did on the S4, S3, S2 and S1..
But that isn't to say that Samsung, Google or (especially) the automotive audio equipment cartel make much effort towards standardized interoperability. It's frankly a mess, a hodge podge of half ass implementations and proprietary protocols that usually don't play nicely together. It can be made to work with carefully chosen components or creative approaches. But randomly connecting components from two different vendors typically fails.
While Samsung and Google could be characterized as only having made a minimal effort to provide standardized USB support.. that is still leagues ahead of what most automotive audio vendors have done. Not to mention that it's routine to find inaccurate details, if not outright lies of what automotive component X will supposedly interconnect with. I sometimes wonder if their marketing departments even bother to collate real facts on the subject before they write their copy.
It's not too hard to find decent DACs and headphone amps that will accept USB audio out from the S5, but I frankly gave up trying to figure out what would or wouldn't work on the automotive end. I ended up going with a brute force approach and installed a SBC (miniature PC) in my car. Having a full PC as a middleman, means that there is a vast array of powerful software (and hardware) that can slice, dice and format the control stream to whatever is needed by the auto head unit. But it's hardly a simple or off the shelf solution.
The OP can probably find a working solution if he searches hard enough. The S5 has USB audio out, although making it work with some car decks requires a combination of root, custom kernels (proper USB host support) and audio apps. An app like USB Audio Player, in conjunction with a kernel that has proper USB host support will satisfy many auto decks.
Hopefully Android L will give us better USB support. But it also depends on how sane your automotive equipment vendor was when they designed your car deck too.
Further reading for any stray audiophiles around here:
https://docs.google.com/file/d/0B3XYy1FuzDUeZDNBSVpjQU9Nd2s/edit?pli=1
http://www.avsforum.com/forum/173-2...-audio-any-android-4-0-smartphone-tablet.html
http://www.head-fi.org/t/595071/android-phones-and-usb-dacs
https://docs.google.com/file/d/0B3XYy1FuzDUea3U3aTJ1RkpQdW8/edit
.
The problem is that since 4.1.2,USB Mass Storage was removed.
Most, if not all, radios, media players, etc don't support the MTP protocol. They require a mass storage device, and do not support a media device.
Sent from my SM-N9005 using Tapatalk 2
MTP is a newer and much more capable protocol. The problem in your example is that radio, etc vendors are stuck in the past and not adopting newer standards.
MSC (mass storage) has many serious drawbacks that are overcome by the newer transactional protocol. MTP was standardized six years ago, which is just short of forever in consumer electronics. So one has to wonder why the radio vendors continue to drag their heels and can't get with the program.
It's like blaming Android for having moved to flash memory.. and refusing to go along. Expecting everyone to continue using cassette tapes instead. Yes that would be one way to maintain compatibity. But it doesn't make a lot of objective sense.
.
ShadowLea said:
The problem is that since 4.1.2,USB Mass Storage was removed.
Most, if not all, radios, media players, etc don't support the MTP protocol. They require a mass storage device, and do not support a media device.
Sent from my SM-N9005 using Tapatalk 2
Click to expand...
Click to collapse
Yes, and for activation Mass Storage root is required ...
Guys, but what about using USB analog audio input? I remember I did something like that with Galaxy S II - from 5 mini USB pins one was used to sense what phone is connecting to - for ex if it is a car dock, desk dock or... should it enable analog audio output on USB data pins.
Unfortunately I no longer have dock I made back then, anyone knows if that might work with S5?
EDIT: check this out!
http://forum.xda-developers.com/showthread.php?t=1321491
EDIT2: Oh it seems I completely missed the point, you want to use it as mass storage to connect to car USB port.
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
kerb12 said:
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
Click to expand...
Click to collapse
pls report your findings if you can make it happened!!
i can not help you with your problem but it is something that interest me too. i only can suggest to use a more feature enabled kernel like unleashed or hells core
pls report your findings if you make it work mate!
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
kerb12 said:
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
Click to expand...
Click to collapse
one thing that you might not know. nexus 4 does support usb otg BUT cannot provide electricity via usb. you must use a y cable and provide external power so you it might not be possible to use your DAC!
Thanks, I did know that, but I figured that since my DAC is self-powered (it has its own battery) that I wouldn't need to do the y-cable trick.
Worth a try though, I'm going to order one and see if I can at least get regular USB OTG to work. Maybe once that's working it'll be easier to troubleshoot the audio.
Just wanted to update, I got the Y OTG cable so I could have external power at the same time... but still doesn't work. This is with stock 5.0.1 and unleashed 98u kernel. I went into Synapse and enabled the OTG setting as well. DAC doesn't get recognized, and I tried a few free apps that are supposed to do OTG checks, but they all came back that nothing is attached.
Usb otg is one thing and uab audio out is another. USB otg means that you can connect an USB stick or external hdd to your phone ( with or without external power) USB AUDIO OUT need special circuits from your internal Dac to the USB. If those are not implemented you will never have USB audio out. This is something witch depends on the manufacturer ( S4 mini with snapdragon 400 don't work with USB otg or USB audio out, htc mini 2 M8 works perfectly with fiio E18 as a audio surce for external DAC). So if you really need USB audio out please next time do your homework and read before buying a phone. P.S. Htc mini 2 M8 has the best audio ever and really you don't need an external dac. If you need more power just use your fiio as an amplifier with your phone.
Maybe you could find for your phone a apecial kernel modified for better audio experience. Flash that and use your headphones.
Good luck!
Thanks, yeah I don't need usb audio out... I've had the phone for over 2 years and I still really like it, so no plans on getting a new one just for this.
I believe it's physically possible to do audio out on the N4... I've seen random posts about people getting it to work, but they've all been on custom ROM's based on 4.4.x stuff. I'd really rather not try to reproduce that since 5.0 is running so much better on my phone, and I was just hoping with the new native Android support it might work out of the box. But alas, it looks like google locked down 5.0 on the N4 - even USB OTG storage doesn't work unless you put a custom kernel like unleashed on.
In the meantime, I've just been using it as a headphone amp like you suggest and it's a big improvement.
Looking at possibly purchasing an android head unit for my 2015 Chevy Cruze and would like to use my portable USB DAC to get a digital signal to my DSP.
Does anyone know if audio over USB is possible on any of these units?
Hi,
I can try to connect my old SteelSeries USB DAC that worked on other Android devices.
Tested, and DAC Controls work (Voli+/-, MUTE, MIC ON) which means that USB DAC is detected correctly, but unfortunately there is no settings for selecting it as output, but again I'm on Stock non root HA Firmware.
NOTE: I tested same DAC on Alcatel Idol 3 and as soon as I connected USB it switched output to DAC immediately so it works without a hinch.
Here is the device I tested on Amazon https://www.amazon.com/dp/B000WJ9K4G/ and some pics of device.
Is this supposed to be slapstick/humor?
You will need to elaborate your statement, so that I understand what you meant by it.
marchnz said:
Is this supposed to be slapstick/humor?
Click to expand...
Click to collapse
If you are referring to my question, it was legitimate. After doing more research I have found the audio is all being controlled by the MCU and not by the Android operating system.
I was hoping it would work similar to my current signal chain which is Samsung Galaxy S8+ > OTG Adapter > Muse Portable DAC > MiniDSP.
Then, answer: Maybe I found it as interesting thing to test especially as I was missing a lot of Low Level Audio Access on Android.
I tend to agree on your findings in Alcatel Developer settings I can clearly set Audio Source for USB (see attachment) and it is Automatically selected when I insert DAC.in OTG like as you pointed for your S8+
Investigating it further and connecting to various Devices I've found one very very strange that Support is directly connected to Kernel "sound support soundcore module" and ALSA, to clam that I've done something interesting and connected the card to my QNAP NAS USB port to see what happen and on my surprise I got Audio OUT on my NAS Music App showed additional option for Audio Source "Internal Sound Card" and it worked flawlessly. So question is what we are missing in PX5 Kernel to make that working.