Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,571 Members 54,411 Now Online
XDA Developers Android and Mobile Development Forum

USB Audio not working on AOSP

Tip us?
 
xdadevnube
Old
(Last edited by xdadevnube; 10th March 2014 at 06:24 AM.)
#1  
xdadevnube's Avatar
Senior Member - OP
Thanks Meter 90
Posts: 741
Join Date: Jun 2011
Default USB Audio not working on AOSP

I tested the following ROMs and discovered they DO NOT support USB Audio:

AICP 3/06/14
AOSB 2/26/14
Carbon 3/02/14
CM10.2 2/01/14
CM11 3/07/14
Liquidsmooth 3/05/14
PACman 3/05/14
Slimkat 2/16/14

I can confirm that USB Audio DOES work with the GPE ROM. My understanding is that the GPE ROM is built from Sense, so I haven't encountered a single non/Sense ROM that supports USB Audio.
Has anybody had any luck with AOSP and USB Audio on the VZW HTC One?
 
disconnecktie
Old
#2  
disconnecktie's Avatar
Senior Member
Thanks Meter 1102
Posts: 4,784
Join Date: Oct 2011
USB audio requires support in the kernel to work. It is highly likely this support is lacking from the aosp kernel. It is completely possible that a dev could include usb audio though. I recall seeing it as not set in the config but the proper files would also need to be put into place and who knows if that would even compile properly into aosp from sense.

Sent from my One using Tapatalk
 
xdadevnube
Old
#3  
xdadevnube's Avatar
Senior Member - OP
Thanks Meter 90
Posts: 741
Join Date: Jun 2011
Quote:
Originally Posted by disconnecktie View Post
USB audio requires support in the kernel to work. It is highly likely this support is lacking from the aosp kernel. It is completely possible that a dev could include usb audio though. I recall seeing it as not set in the config but the proper files would also need to be put into place and who knows if that would even compile properly into aosp from sense.

Sent from my One using Tapatalk
I tried using Lunar kernel in addition to the bundled kernel with each ROM.
I will have to check over on the Lunar thread to see if they know whether support is included in the kernel.

Interestingly, I made a little progress by flashing the latest version of the USB Audio Patcher MOD in the thread started by JackNorris. Now I get the familiar HTC One USB Audio stepping (0 or 100%, no middle steps) as well as audio being routed from the speaker.
The problem is no sound comes out of the external DAC, although it is routed away from the speaker. Basically, it is the same behavior after flashing the patch as it is in the Sense ROMs, but just no audio coming from the DAC.
I believe the issue is something missing from the Services.jar part of the framework. I am now in over my head.

Sent from my HTC6500LVW using Tapatalk 2
 
nitephlight
Old
#4  
nitephlight's Avatar
Senior Member
Thanks Meter 30
Posts: 169
Join Date: Mar 2012
So on GPE roms audio works and you get output on the DAC, Sense you get stepping but no output, and AOSP stepping with patch but no output

Get the app Sound About from store and try on patched AOSP and report back plz

Sent from my HTC6500LVW using Tapatalk
__________________________________________________ __________________________________________________ ____
My One&Only: Droid Bionic The Guinea Pig: Samsung Galaxy Nexus
+too many Docks uh, its got a holster?

GraveYard: HTC Droid Incredible B&N Nook Color Droid 2 Global OG Droid (woot.) Xoom Wifi
 
coolguy71261
Old
#5  
Senior Member
Thanks Meter 6
Posts: 121
Join Date: Oct 2010
Any update, im on liquid smooth and may flash back to gpe rom.
 
GrayTheWolf
Old
#6  
GrayTheWolf's Avatar
Senior Member
Thanks Meter 2125
Posts: 4,955
Join Date: Mar 2012
Location: Raleigh, NC

 
DONATE TO ME
USB DACs work on CM11. The issue is that the phone doesn't automatically route all sound to the DAC like the stock ROM does.

It is there and working, but you wouldn't know it since the phone won't play sound through it. It is probably the same case with many other ROMs.
S-Off thanks to Beaups and Sonic2756!


If I helped in any way, please hit the "Thanks" button!

Click here to check out my development page.
 
coolguy71261
Old
#7  
Senior Member
Thanks Meter 6
Posts: 121
Join Date: Oct 2010
Quote:
Originally Posted by GrayTheWolf View Post
USB DACs work on CM11. The issue is that the phone doesn't automatically route all sound to the DAC like the stock ROM does.

It is there and working, but you wouldn't know it since the phone won't play sound through it. It is probably the same case with many other ROMs.
Then how does one fix the problem and get audio out of the external dac?
 
GrayTheWolf
Old
#8  
GrayTheWolf's Avatar
Senior Member
Thanks Meter 2125
Posts: 4,955
Join Date: Mar 2012
Location: Raleigh, NC

 
DONATE TO ME
Quote:
Originally Posted by coolguy71261 View Post
Then how does one fix the problem and get audio out of the external dac?
Dunno. Going to have to talk to an expert for that.
S-Off thanks to Beaups and Sonic2756!


If I helped in any way, please hit the "Thanks" button!

Click here to check out my development page.
 
coolguy71261
Old
#9  
Senior Member
Thanks Meter 6
Posts: 121
Join Date: Oct 2010
I'm willing to do a bit of coding work to help out if needed, GPE roms are not bad at all just shouldn't be the only roms that offer usb audio.
 
coolguy71261
Old
#10  
Senior Member
Thanks Meter 6
Posts: 121
Join Date: Oct 2010
Any update on an aosp rom with usb audio
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...