IPB

Welcome Guest ( Log In | Register )

[Tell Google to] Enable USB audio on any Android 4.0 smartphone/tablet
DanBa
post Feb 12 2012, 11:45
Post #1





Group: Members
Posts: 53
Joined: 12-February 12
Member No.: 97106



If you want the USB audio enabled on any Android 4.0 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



According to Android 3.1 specifications, Android 4.0 devices could support the USB audio feature, i.e. Android 4.0 devices and USB_CLASS_AUDIO compliant devices like standard USB DAC could interoperate:
http://developer.android.com/guide/topics/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).
And the latest Android 4.0 includes “card.c“, the USB Audio Driver for ALSA which should be compliant with USB audio class 2 devices allowing for 24 bits / 192 kHz.
https://bitbucket.org/paulobrien/android_ke...ound/usb/card.c



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.


The official Android with USB audio enabled should be used by most people, who don’t want to mod their device.

Android kernel modders have already enabled the USB audio feature on Nook Color tablets which are powered by Android 2.3 Gingerbread.

This post has been edited by Canar: Feb 13 2012, 18:58
Reason for edit: Edited out ToS-infringing content at author's request.


--------------------
Android & standard USB audio: Itís up to us!
Go to the top of the page
+Quote Post
 
Start new topic
Replies
DanBa
post Dec 8 2012, 14:35
Post #2





Group: Members
Posts: 53
Joined: 12-February 12
Member No.: 97106



The $43 Samsung Galaxy S3 + Car Stereo Upgrade for WAaaY better sound quality!
http://www.head-fi.org/t/639883/the-43-gal...r-sound-quality

Galaxy S3 > digital USB audio out >> "USB OTG" cable >> Behringer UCA202 USB DAC >> car stereo amp >> car stereo speakers

"...
And so what are the results you ask?

HOLY MOLY!
Not only is the audio quality MUCH improved, but the sound is so CLEAN now. No clicks, burps, or any other weird background noises. Just straight CD quality background silence.
Even my GPS voice sounds prettier. hahah
Bass is tighter and deeper. Highs are more revealing. Everything is so much better that a novice could tell it sounds better.

And yes, GPS navigation works perfectly. If I'm listening to Pandora or an MP3 and my GPS needs to talk, then my music will go several db quieter and GPS will speak up, then afterwards the music will automatically go back to full volume.

Also, one thing I hated about Bluetooth was everytime I turned my car off for just a minute, when I would power it back on the Bluetooth would not consistently reconnect. Well, this USB-OTG has been very consistent for me so far. Music just picks back up where it left off at and is fairly quick to do so.

Cons? Well, I haven't tested hands free calling yet. But I'm told it doesn't work with this USB-OTG to DAC configuration. Maybe there is a bluetooth solution for that. I dunno? And AOSP does not yet support DACs.

Pros? Freakin everything.

Pics are below.


Here is the DAC and the USB-OTG cable:


This is how you configure the DAC.
You can probably also use the headphones output instead of the stereo RCA, but I didn't try it.


I wired up my USB-OTG cable to my iBOLT dock. It comes up through my dash defrost vents.


This is what the three connectors on the USB-OTG cable look like:


Here is the DAC being wired up. I taped up the non-used RCA's to prevent anything bugging with them.


I wrapped up the DAC with DUCT tape.
Not sure how or why the pic is sideways. It looks normal on my desktop.


Hid it behind my dash.


Here is the USB-OTG cable with my iBOLT dock.


The car stereo w/audio cable attached. Some car stereos have the 3.5mm connector in the back. Or a dual-RCA input. I'd prefer one of those to have a cleaner install. Maybe someday I'll upgrade my car stereo.


And here is the finished product. My S3 docked, charging and outputing beautiful digital music!


.." [CZ Eddie]


--------------------
Android & standard USB audio: Itís up to us!
Go to the top of the page
+Quote Post
kwanbis
post Jan 26 2013, 21:15
Post #3





Group: Developer (Donating)
Posts: 2362
Joined: 28-June 02
From: Argentina
Member No.: 2425



This is the most gallant thread on a long time.

People actually waste so much time and energy on this bs instead of just connecting to the aux?


--------------------
MAREO: http://www.webearce.com.ar
Go to the top of the page
+Quote Post

Posts in this topic
- DanBa   [Tell Google to] Enable USB audio on any Android 4.0 smartphone/tablet   Feb 12 2012, 11:45
- - Canar   All it takes is a custom kernel to enable USB audi...   Feb 12 2012, 19:40
|- - DanBa   QUOTE (Canar @ Feb 12 2012, 19:40) You ar...   Feb 13 2012, 12:22
|- - saratoga   QUOTE (DanBa @ Feb 13 2012, 06:22) QUOTE ...   Feb 13 2012, 17:48
|- - Canar   QUOTE (DanBa @ Feb 13 2012, 03:22) Anyway...   Feb 13 2012, 18:59
|- - DanBa   Thank you!   Feb 13 2012, 21:20
- - saratoga   I think we should just ignore the second half of t...   Feb 12 2012, 21:30
|- - DanBa   QUOTE (saratoga @ Feb 12 2012, 21:30) I t...   Feb 13 2012, 12:39
- - hlloyge   What is the point of that? I don't get it, wha...   Feb 12 2012, 21:44
- - saratoga   It would let you plug any Android phone into the U...   Feb 12 2012, 21:51
|- - andy o   First post is kind of spammy (googled for specific...   Feb 13 2012, 02:28
|- - saratoga   QUOTE (andy o @ Feb 12 2012, 20:28) Does ...   Feb 13 2012, 02:41
- - hlloyge   Oh, I thought it already can do that. My mistake.   Feb 12 2012, 23:04
|- - saratoga   QUOTE (hlloyge @ Feb 12 2012, 17:04) Oh, ...   Feb 13 2012, 01:38
- - saratoga   Actually, google turns up some people using USB ...   Feb 13 2012, 02:43
- - andy o   I think iPads can power USB speakers and headphone...   Feb 13 2012, 03:15
|- - saratoga   QUOTE (andy o @ Feb 12 2012, 21:15) I thi...   Feb 13 2012, 03:25
- - soulsearchingsun   What I'd like to know: Is it necessary for th...   Feb 13 2012, 08:20
|- - DanBa   QUOTE (soulsearchingsun @ Feb 13 2012, 08...   Feb 13 2012, 14:40
- - DanBa   Instructions for enabling USB audio on Ainol Novo ...   Feb 26 2012, 09:45
- - DanBa   "[64GB + 64GB] #GalaxySIII includes an USB dr...   May 4 2012, 10:44
|- - DanBa   QUOTE "[64GB + 64GB] #GalaxySIII includes an ...   May 19 2012, 23:16
- - DanBa   USB audio is enabled on Texas Instruments Blaze ta...   May 18 2012, 00:55
- - DanBa   Like the overwhelming majority of factory or stock...   May 26 2012, 17:43
- - SoNic67   What, the Archos G9 has the USB audio enabled? Wow...   May 27 2012, 03:17
- - DanBa   Apparently, the USB audio feature is enabled on fa...   Jun 2 2012, 09:43
- - DanBa   Samsung Galaxy S III interworks with USB DAC/amp F...   Jun 10 2012, 00:23
|- - DanBa   The Samsung Galaxy S III interworks with the ODAC:...   Jun 22 2012, 21:28
- - saratoga   USB Audio USB audio output support allows hardwar...   Jun 27 2012, 20:28
- - DanBa   The USB DAC recommended by Google is a new type of...   Jun 29 2012, 01:52
- - superconsumer   USB-Audio support for which ADCs with Line-In or S...   Jul 2 2012, 12:56
- - andy o   It seems Android lacks low latency audio, that...   Jul 2 2012, 16:22
- - DanBa   An Android 4.1 Jelly Bean-powered device can have ...   Jul 3 2012, 18:31
- - DanBa   The Samsung Galaxy S III interworks with the iBass...   Jul 8 2012, 18:24
- - DanBa   A list of standard USB DAC reportedly interworking...   Jul 15 2012, 10:39
- - DanBa   The Samsung Galaxy S III interworks with the async...   Jul 16 2012, 00:41
- - DanBa   The Samsung Galaxy S III interworks with the async...   Jul 16 2012, 00:44
- - dumdidum   DanBa, gearporn on HA, O RLY? edit: but thanks f...   Jul 16 2012, 09:22
- - DanBa   Sorry for the double post! I have asked a mode...   Jul 17 2012, 17:04
- - andy o   any testing on the Nexus 7? (BTW, I appreciate all...   Jul 23 2012, 10:43
- - DanBa   As expected, for the time being the Nexus 7 doesn...   Jul 23 2012, 21:33
- - DanBa   A stock Jelly Bean powered Nexus 7 should be able ...   Jul 24 2012, 08:48
- - probedb   The annoying thing with Google is they don't a...   Jul 24 2012, 13:35
- - DanBa   A custom Nexus 7 interworks with a standard USB DA...   Jul 27 2012, 15:01
- - DanBa   A custom Nexus 7 interworks with a standard USB DA...   Aug 9 2012, 16:33
- - andy o   Well, astoundingly, the Nexus 7 doesn't suppor...   Aug 12 2012, 20:20
- - DanBa   The Samsung Galaxy S III with Snapdragon SoC inter...   Aug 23 2012, 11:00
|- - DanBa   Samsung Galaxy S III with Snapdragon SoC & USB...   Aug 26 2012, 15:16
- - DanBa   A Samsung Galaxy S III interworks with a USB DAC/...   Aug 28 2012, 13:59
- - DanBa   A list of standard USB DAC reportedly interworking...   Aug 28 2012, 14:01
- - DanBa   A list of standard USB DAC reportedly interworking...   Aug 28 2012, 14:05
- - DanBa   Samsung Galaxy S III & Stoner Acoustics UD100,...   Sep 14 2012, 22:23
- - DanBa   Nexus 7 & USB DAC/amp FiiO E17: http://www.hea...   Sep 15 2012, 20:43
- - skamp   Why are you so obsessed with using USB DACs with s...   Sep 15 2012, 22:53
|- - DanBa   Lots of spontaneous smiles! "Spent my h...   Sep 18 2012, 09:30
- - DanBa   Samsung Galaxy S III & Objective DAC: NwAvGuy:...   Sep 18 2012, 09:35
- - DanBa   VentureCraft sees potential in Android & stand...   Sep 20 2012, 10:46
- - DanBa   Samsung Galaxy S III & Epiphany Acoustics EHP-...   Sep 22 2012, 10:19
- - DanBa   Samsung Galaxy S III & affordable tiny Stoner ...   Sep 23 2012, 09:53
- - DanBa   Samsung Galaxy S III & xDuoo XP-1 USB DAC/amp:...   Sep 27 2012, 20:47
- - DanBa   AudioQuest Bumblebee Android DAC: http://www.avla...   Sep 30 2012, 13:35
- - Roseval   Audioquest's documentation is a bit confusing....   Sep 30 2012, 15:41
- - DanBa   The standard USB audio is also enabled on stock An...   Oct 4 2012, 21:27
- - DanBa   Yet another Stoner Acoustics UD100-based rig with ...   Oct 6 2012, 18:10
- - DanBa   Samsung Galaxy S III & Matrix Mini-i: http://w...   Oct 11 2012, 18:33
- - DanBa   A list of standard USB DAC reportedly interworking...   Oct 12 2012, 08:06
- - DanBa   Samsung Galaxy S III & HeadAmp Pico USB DAC/am...   Oct 13 2012, 12:57
- - DanBa   Custom Stoner Acoustics UD100 based on 24-bit ESS ...   Oct 21 2012, 10:17
- - probedb   I'm not sure what this thread is about any mor...   Oct 21 2012, 10:36
- - skamp   http://goo.gl/S2d3O   Oct 21 2012, 11:34
|- - Elbart   QUOTE (skamp @ Oct 21 2012, 12:34) http:/...   Oct 22 2012, 08:24
||- - DanBa   QUOTE (Elbart @ Oct 22 2012, 08:24) QUOTE...   Oct 27 2012, 00:54
||- - skamp   QUOTE (DanBa @ Oct 27 2012, 01:54) There ...   Oct 27 2012, 12:53
|- - probedb   QUOTE (skamp @ Oct 21 2012, 11:34) http:/...   Oct 22 2012, 10:29
- - DanBa   The Samsung Galaxy Note II can work with the FiiO ...   Oct 27 2012, 00:58
- - andy o   Not sure what the advantage is. At first I was int...   Oct 27 2012, 06:35
|- - DanBa   QUOTE (andy o @ Oct 27 2012, 06:35) The a...   Oct 27 2012, 12:14
- - DanBa   A list of standard USB DAC reportedly interworking...   Oct 27 2012, 12:18
- - DanBa   Galaxy Note II & Headstage Lyrix Pro USB total...   Nov 10 2012, 13:05
- - DanBa   Samsung Galaxy S III & planar magnetic Audeze ...   Nov 20 2012, 21:43
- - DanBa   The $43 Samsung Galaxy S3 + Car Stereo Upgrad...   Dec 8 2012, 14:35
|- - [JAZ]   QUOTE (DanBa @ Dec 8 2012, 14:35) HOLY MO...   Dec 8 2012, 15:48
||- - DanBa   QUOTE ([JAZ] @ Dec 8 2012, 15:48)...   Dec 8 2012, 18:59
|- - kwanbis   This is the most gallant thread on a long time. P...   Jan 26 2013, 21:15
|- - ChronoSphere   QUOTE (kwanbis @ Jan 26 2013, 22:15) Peop...   Jul 7 2014, 14:43
|- - skamp   QUOTE (ChronoSphere @ Jul 7 2014, 15:43) ...   Jul 7 2014, 16:59
|- - kornchild2002   QUOTE (skamp @ Jul 7 2014, 08:59) Or, you...   Jul 7 2014, 17:26
|- - skamp   QUOTE (kornchild2002 @ Jul 7 2014, 18:26)...   Jul 7 2014, 17:44
|- - kornchild2002   QUOTE (skamp @ Jul 7 2014, 09:44) One tab...   Jul 7 2014, 18:59
- - OzarkVe   I was actually interested in the topic name but sh...   Dec 8 2012, 17:23
|- - skamp   QUOTE (OzarkVe @ Dec 8 2012, 17:23) I don...   Dec 8 2012, 18:25
|- - OzarkVe   QUOTE (skamp @ Dec 8 2012, 12:25) QUOTE (...   Dec 8 2012, 22:00
- - [JAZ]   Analog USB audio??? What does that mean? [Edit: Ok...   Dec 8 2012, 19:15
- - andy o   Wow, that looks messy. Especially for the car, I...   Dec 12 2012, 18:12
- - DanBa   The compatibility list of Android devices / USB DA...   Jan 26 2013, 20:29
- - ChronoSphere   Tablet + USB card = one music collection to sync T...   Jul 7 2014, 18:37
- - skamp   What? No. We've established that the tablet su...   Jul 7 2014, 20:04
|- - kornchild2002   QUOTE (skamp @ Jul 7 2014, 12:04) What? N...   Jul 7 2014, 22:38
- - saratoga   Qualcomm devices uniformly have low output impedan...   Jul 7 2014, 20:22
- - Audible!   Chris Heinonen at anandtech has done some actually...   Jul 8 2014, 00:38


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2014 - 16:56