AVS Forum banner

1 - 20 of 441 Posts

·
Registered
Joined
·
982 Posts
Discussion Starter #1 (Edited)
Edit: Android 5.0 Lollipop supports standard USB audio. Thank you!
http://www.avsforum.com/forum/173-2-channel-audio/1393599-enable-usb-audio-any-android-4-0-smartphone-tablet-10.html#post28879001



If you want the USB audio enabled on any Android device via official firmware/kernel, please vote (aka star) here:
http://code.google.com/p/android/issues/detail?id=24614
Star: Vote by clicking on the star (it appears after signing in)


According to Android 3.1 specifications, Android devices could support the USB audio feature, i.e. Android devices and USB_CLASS_AUDIO compliant devices like standard USB DAC could interoperate:
http://developer.android.com/guide/t...usb/index.html
http://developer.android.com/reference/and...bConstants.html


USB_CLASS_AUDIO compliant devices like standard USB DAC don't need a special USB device driver. Instead, they use an operating system standard driver.
The Android standard USB audio driver is the generic USB Audio Driver for ALSA (Advanced Linux Sound Architecture).




Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model. The Linux kernel also acts as an abstraction layer between the hardware and the rest of the software stack.
Thus Android handles all the things that Linux is really good at such as a vast array of device drivers, which take the pain out of interfacing to peripheral hardware.


Most USB DAC work without special USB device driver on PC, Mac and hopefully Android devices with USB audio enabled.


Some USB DAC:
. Portable FiiO USB DAC/amp:
http://www.fiio.com.cn/product/
. Portable iBasso USB DAC/amp:
http://www.ibasso.com/
. Portable RSA USB DAC/amp:
http://www.raysamuelsaudio.com/products/predator
. Portable HeadAmp USB DAC/amp:
http://www.headamp.com/pico/pico_dac_amp/index.htm
. Portable GoVibe USB DAC/amp:
http://jaben.net/shopping2/Porta-Tube_Plus.html
. Desktop CEntrance USB DAC/amp:
http://centrance.com/products/
. Desktop USB DAC MSB DAC IV:
http://www.msbtech.com/products/platinumHome.php
....



About external USB DAC/Amp
A digital audio system is composed of:



. A storage module: Music is stored in file as a series of bits 0 & 1 with different encoding formats (MP3, WAV, FLAC).
. A player: The player decodes the bits 0 & 1 to PCM digital audio signals.
. A DAC (Digital to Analog Converter): The DAC converts the PCM digital audio signals to the original analog audio signals.
. An amplifier: The amplifier amplifies the analog audio signals.
. A speaker: The speaker restitutes the music.


Like a PC or a Mac, an Android phone is a digital audio system.



Hopefully, the Android phone, running on a kernel with a USB audio driver, can output the PCM digital audio stream to an external standard USB DAC & amplifier & headphone, much more efficient than the internal DAC & amplifier & speakerphone.





FAQ:
https://drive.google.com/file/d/0B3XYy1FuzDUea3U3aTJ1RkpQdW8/edit

A list of USB OTG cables / adapters:
https://drive.google.com/file/d/0B3XYy1FuzDUeUFBGX05GTjU2UWc/edit

A list of USB Type-C cables / adapters:
https://drive.google.com/file/d/0B3XYy1FuzDUeWnh1XzRtdHpoRGs/view?pli=1

A list of stock Android-powered devices reportedly interworking with compatible USB DAC:
stock Android device > digital USB audio out >> USB DAC >> amp >> headphones
https://drive.google.com/file/d/0B3XYy1FuzDUeX2t4TmJRbVZsaVE/edit

A list of USB Audio Player PRO resources (compatible USB DAC, compatible Android devices, ...):
http://www.extreamsd.com/USBAudioRecorderPRO/

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samsung Galaxy S3 having a microSD card slot:
stock Samsung Galaxy S3 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >>headphones
https://docs.google.com/file/d/0B3XYy1FuzDUeRFIxNWE2eDZ6aE0/edit?pli=1

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samsung Galaxy Note2 having a microSD card slot:
stock Galaxy Note2 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >>headphones
https://drive.google.com/file/d/0B3XYy1FuzDUeNGkzYks3Qk43Qmc/edit

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samsung Galaxy S4 having a microSD card slot:
stock Samsung Galaxy S4 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >>headphones
https://drive.google.com/file/d/0B3XYy1FuzDUeRHQwMjBJQ0VqSjg/edit

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samsung Galaxy Note3 having a microSD card slot:
stock Samsung Galaxy Note3 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >> headphones
https://drive.google.com/file/d/0B3XYy1FuzDUeQmhCNnRjZ1ZzRlU/edit

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samung Galaxy S5 having a microSD card slot:
stock Samsung Galaxy S5 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >>headphones
https://docs.google.com/file/d/0B3XYy1FuzDUeZDNBSVpjQU9Nd2s/edit?pli=1

A list of standard USB DAC reportedly interworking with the Android-powered smartphone Samsung Galaxy Note4 having a microSD card slot:
stock Samsung Galaxy Note4 > digital USB audio out >> USB OTG cable (ID pin grounded) >> USB DAC >> amp >> headphones
https://drive.google.com/file/d/0B3XYy1FuzDUeQ0ZnYlB5SzlWVWs/view

USB DAC descriptors:
https://docs.google.com/file/d/0B3XYy1FuzDUeZXNUYmF2SG5WNWs/edit?pli=1

The basics:
https://drive.google.com/file/d/0B3XYy1FuzDUeaTdfUjVYalRjcW8/edit
 

·
Registered
Joined
·
16,705 Posts
I voted. Great idea
 

·
Registered
Joined
·
982 Posts
Discussion Starter #4

·
Registered
Joined
·
887 Posts
I agree. I love my Galaxy S2 but that Yamaha pos DAC hurts it (compared to the Wolfson on the original)
 

·
Registered
Joined
·
35 Posts
I've starred this feature request. It would be great since a lot of people use their iPods (and I assume the iPhone has this capability, as well) with a line out dock to run better amps. Being able to inject a nicer DAC/amp into an Android device signal chain would be a huge bonus.


I'd also like to see them work out the audio latency so the companies that make stuff like iRig could produce Android alternatives. I'd love to be able to hook my bass up to my tablet for those times that I don't want to fire up the amp. This is beyond the scope of the feature request, I presume, but getting Google to make vital changes to the platform to improve audio performance would be a huge step forward.
 

·
Banned
Joined
·
18,829 Posts
That's really cool Dan! May I have permission to copy your post to another forum to get more people aware of it and support its development?
 

·
Registered
Joined
·
982 Posts
Discussion Starter #9

Quote:
Originally Posted by amirm /forum/post/21638940


That's really cool Dan! May I have permission to copy your post to another forum to get more people aware of it and support its development?

Please do!


And thank you, Amir!
 

·
Registered
Joined
·
982 Posts
Discussion Starter #10

Quote:
Originally Posted by Nosferatu /forum/post/21638561


I agree. I love my Galaxy S2 but that Yamaha pos DAC hurts it (compared to the Wolfson on the original)

USB audio test is ongoing with a modded Galaxy S2 kernel:
http://forum.xda-developers.com/show....php?t=1288850


Red Pill Kernel

RedPill_Rev1.3

Experimental: USB Audio support for DAC devices
 

·
Registered
Joined
·
982 Posts
Discussion Starter #11

·
Registered
Joined
·
982 Posts
Discussion Starter #12

A "proprietary" USB DAC, wich is compliant with iPod/iPhone/iPad, has to include an Apple authentication coprocessor.
http://www.xmos.com/products/development-kits/ipod-dock



 

An iDevice compliant USB DAC acts as a USB host, and an iPod/iPhone/iPad acts as a USB device.



 

A common USB DAC compliant with PC, Apple Mac and modded Android devices acts as a USB device, and a PC/Mac/modded Android device acts as a USB host.


A common USB DAC should be considered as standard USB device able to connect to an Android smartphone/tablet like a USB mass storage device, a USB keyboard or a USB mouse.

The capability is there, because the Android kernel is a Linux kernel, and Linux can interface with USB DAC.


The Google issue "Enable USB audio", requesting Google to activate the feature "USB audio out towards a common USB DAC" on Android smartphones/tablets, is currently ranked 24 of 18247.
http://code.google.com/p/android/iss...ummary%20Stars


In fact, it is ranked in top 3 of less than one-year-old requests.


Vote: Click on the star (it appears after signing in)


Thank you for your votes!
 

·
Registered
Joined
·
982 Posts
Discussion Starter #14
For the time being, the standard USB devices for USB host-capable Android devices are only USB hubs, USB mass storage devices and USB class for human interface devices (for example, mice and keyboards).


We have to lobby for imposing USB DAC as a standard Android USB device, like a standard USB device for every Mac or PC (i.e. we don’t have to request each individual PC manufacturer to add the USB audio capability).


Google should include USB host (and USB audio) on every new Google "Nexus" device, which is supposed to be a reference Android device for others.


The 1st out-of-the-box (i.e. without modding) Android device able to support USB audio is the Android 4.0 ICS powered Archos G9.
Archos 80 G9 Turbo slate shipping now, Ice Cream Sandwich on board -- Engadget
Archos 80/101 G9


Archos G9 & Logitech USB speaker
http://forum.xda-developers.com/show...php?p=23852275





The Google issue "Enable USB audio", requesting Google to standardize USB audio on Android smartphones/tablets, is currently ranked 19 of 19,004.
Issue 24614 - android - Enable USB audio on the Galaxy Nexus (or any Android 4.0 device) - Android - An Open Handset Alliance Project - Google Project Hosting


It is ranked in top 3 of less than one-year-old requests.


Vote: Click on the star (it appears after signing in)
 

·
Registered
Joined
·
216 Posts
I have seen this post all over the internet! That DanBa guy gets around. It's the same images, and text, on every search result for USB Audio DAC Android. So I have an AT&T Galaxy S2 (I777) and have made a car audio cable. It sounds OK. I would really like to have a USB Audio DAC I can plug into the phone and have it output to line level analog out that would go into my Alpine headunit. Does anyone know of such a beast? I figured this would be a great place to start asking. Thanks!
 

·
Registered
Joined
·
982 Posts
Discussion Starter #16
For the time being, we are waiting for the decision of Google to impose USB DAC as a standard USB device supported by Android phones & tablets with a USB host controller.


Concerning the stock Samsung Galaxy S2, it’s up to Samsung to enable the USB audio feature, as the ALSA (Advanced Linux Sound Architecture) USB audio source code is included in the Android kernel source code.


However, there are at least two modded teams working to enable USB audio on SGS2:
http://forum.xda-developers.com/show...=digital+audio
http://forum.xda-developers.com/show....php?t=1288850

Quote:
Originally Posted by CNLiberal /forum/post/21947904


Does anyone know of such a beast?

There are a lot of reviews and discussions on USB DAC or USB DAC/amp on HeadFi:
http://www.head-fi.org/t/607048/audi...er-vs-fiio-e17
http://www.head-fi.org/t/507559/list...work-with-ipad


SGS2 & Samsung SII Car Dock:
http://forum.xda-developers.com/show...audio&page=291

"I have today received an Official Samsung SII Car Dock.

The dock has 1 USB connector (that goes into the phone) that is then split out into a USB power input and a Audio Jack input."

http://review.cyanogenmod.com/#change,14046

"Found that the dock usb analogue device (dock) emits the status 2 (which is the value for usb digital for (usb_audio)"
 

·
Registered
Joined
·
2,269 Posts

Quote:
Originally Posted by CNLiberal /forum/post/0


I have seen this post all over the internet! That DanBa guy gets around. It's the same images, and text, on every search result for USB Audio DAC Android. So I have an AT&T Galaxy S2 (I777) and have made a car audio cable. It sounds OK. I would really like to have a USB Audio DAC I can plug into the phone and have it output to line level analog out that would go into my Alpine headunit. Does anyone know of such a beast? I figured this would be a great place to start asking. Thanks!

Samsungs have Bluetooth audio feature. Save youself a hassle to have cable connection and use wireless.
 

·
Registered
Joined
·
982 Posts
Discussion Starter #18

·
Registered
Joined
·
2,269 Posts

Quote:
Originally Posted by DanBa /forum/post/0


It depends on your needs.


The SBC codec involved in the Bluetooth A2DP of the Samsung Galaxy S2 is lossy.
http://thewelltemperedcomputer.com/KB/Bluetooth.htm


The USB audio feature is able to support true 44.1 / 96 / 192 kHz bit perfect audio.

You will unlikely need lossless audio in the car. Noise level and overall distracion won't let you appreciate high resolution audio. So convenience of keeping your phone in the pocket will outweight loss of sound quality.
 

·
Registered
Joined
·
216 Posts

Quote:
Originally Posted by DanBa /forum/post/21948389


For the time being, we are waiting for the decision of Google to impose USB DAC as a standard USB device supported by Android phones & tablets with a USB host controller.


Concerning the stock Samsung Galaxy S2, it's up to Samsung to enable the USB audio feature, as the ALSA (Advanced Linux Sound Architecture) USB audio source code is included in the Android kernel source code.


However, there are at least two modded teams working to enable USB audio on SGS2:
http://forum.xda-developers.com/show...=digital+audio
http://forum.xda-developers.com/show....php?t=1288850


There are a lot of reviews and discussions on USB DAC or USB DAC/amp on HeadFi:
http://www.head-fi.org/t/607048/audi...er-vs-fiio-e17
http://www.head-fi.org/t/507559/list...work-with-ipad


SGS2 & Samsung SII Car Dock:
http://forum.xda-developers.com/show...audio&page=291

"I have today received an Official Samsung SII Car Dock.

The dock has 1 USB connector (that goes into the phone) that is then split out into a USB power input and a Audio Jack input."

http://review.cyanogenmod.com/#change,14046

"Found that the dock usb analogue device (dock) emits the status 2 (which is the value for usb digital for (usb_audio)"

Thanks for the reply DanBa. However, I'm already running CM9 on my I777. I've already asked Entropy about a USB DAC and he says he doesn't have one, so he doesn't know if it'll work or not. I guess if I got him one, he could make it work :)


I have the Dock Audio working. The links you provided are a little mis-leading. The USB Dock audio is actually just analog audio out. The reason I want the DAC is that I'm hoping it'll prevent alternator noise from the engine. That gets annoying, fast. With the noise reduction adapter I have (i think it's just a wire wrapped around a ferrite core), you lose some of the highs and lows. I'm really just trying to get comparable sound from my Android that I have from my iPhone. This could be a losing battle. I'll check out the Head-Fi posts. Thanks!!
 
1 - 20 of 441 Posts
Top