Steve Kondik (CyanogenMod) working on USB Audio!
Dec 10, 2013 at 3:13 PM Thread Starter Post #1 of 11

WiR3D

We intend to hurt him...quite a bit. very_evil_smiley.gif
Joined
Feb 2, 2012
Posts
2,319
Likes
98
So I have been on a mission to find out as much as a I can about USB audio on Android as possible, mainly because my Aune T1 doesn't work with my stupid #$%^&* Samsung S3, and the Fiio E17 has a glitch that prevents it working with most things.   
This has been about a year, and I have discovered that USB Audio is a mess. And linux had to a build a quirks table just to cater for all the blunders that hardware and chip manufacturers make. 

Which is all good if you are running the latest Linux distro, but heres where the wheels fall of the bus, Android is linux fork, and google doesn't strictly force much kernel wise onto the device manufacturers like Samsung. So the net result is a very fragmented kernel space. And then manufacturers like Samsung use 3 year old implementations of ALSA that barely has a quirks table and then we are stuck with the broken functionality. 
 
So you can blame, TI, Qualcomm, Samsung, HTC and even Fiio (and I'm a big fan of them, and this is to a lesser degree than the others), for the ****ty testing and QA process and shortcuts they took. 
 
For reference I own an SGS3, and have access to a Note I, Note II, Sony Xperia V and Sony Z tablet. I also own a Fiio E7, Aune T1, and Fiio E17. 

I figured a lot of this out by cloning the Samsung S3 i9300's stock kernel sources, the i9300 Boeffla kernel source, the Sony Xperia V stock kernel sources, and the ALSA sources from alsa-project.org 

The Sony can actually work with the Aune T1, and thats mainly due to the much newer ALSA implementation that they use, not the (and I'm not even joking and yes I am reiterating) 3 year old ALSA that Samsung dug out of the grave. 
Steve Kondik has decided to personally work on USB audio implementation on CM11, and he is learning what I have learnt, that its a mess. 

gerrit link 
 
So in light of this uphill challenge, I would like to gather support and show appreciation for the effort he is doing. Please post your thanks here, or on your social network of choice and direct the support at Cyanogenmod and Steve Kondik and post a link here. 
 
This is no mean feat, and has been an issue for years, and google is eating glue with their fingers in their ears going "la la la la la la". 

Spread the word!
 
Dec 11, 2013 at 9:45 PM Post #3 of 11
I want it pretty badly but would like to keep my genetalia.
 
I must admit I'm not entirely sure why this is so difficult to implement. I know google seem to have made a mess of it overall but the USB Audio Recorder Pro app has managed to get the job done pretty universally AFAIK. My Galaxy S4 also seems to be able to handle system wide USB Audio Out with certain DAC's but not others (yes with V800, no with CLAS -db).
 
I have no technical expertise but certainly some people have managed it (although not completely). Why is a complete solution so difficult?
 
Dec 13, 2013 at 3:51 AM Post #4 of 11
  I want it pretty badly but would like to keep my genetalia.
 
I must admit I'm not entirely sure why this is so difficult to implement. I know google seem to have made a mess of it overall but the USB Audio Recorder Pro app has managed to get the job done pretty universally AFAIK. My Galaxy S4 also seems to be able to handle system wide USB Audio Out with certain DAC's but not others (yes with V800, no with CLAS -db).
 
I have no technical expertise but certainly some people have managed it (although not completely). Why is a complete solution so difficult?

read the boring prequel, its because of a lot of things:
  1. Chip manufacturers making screw ups: Qualcomm and TI notably.
  2. Product manufacturers:
    1. not configuring the chips correctly: Fiio with the E17
  3. Device manufacturers:
    1. not including the latest ALSA: Samsung, and why it only works with some devices
    2. not implementing the correct logic in the Linux kernel: Google, and most manufacturers
  4. ROM and kernel devs being unaware of USB audio
 
Jan 21, 2014 at 10:13 PM Post #6 of 11
  read the boring prequel, its because of a lot of things:
  1. Chip manufacturers making screw ups: Qualcomm and TI notably.
  2. Product manufacturers:
    1. not configuring the chips correctly: Fiio with the E17
  3. Device manufacturers:
    1. not including the latest ALSA: Samsung, and why it only works with some devices
    2. not implementing the correct logic in the Linux kernel: Google, and most manufacturers
  4. ROM and kernel devs being unaware of USB audio

How do I show my support more? I'd send the force if I have the force strong with me.
 
I am a starter in Android flashing, and I am starting to download sources for CM 11 to compile the result to my Sony Xperia Acro S.
To my knowledge, Beanstalk ROM (based on CM on 4.4 kitkat kernel) still not support USB audio right away.
So I am trying to build CM 11 for my phone from source (hefty download process ongoing...) to see whether USB audio can work.
 
Any news?
 
Mar 5, 2014 at 11:57 PM Post #7 of 11
Want this sooo bad...
I support this! I see the issue got a code review +1 in January at CM Code Review...Is it safe to assume that in a few (3? 4?) months we could have a nice handler that takes 24/96 audio straight to my DAC/Amp? I mean, there are big guys on this....
Any concrete news?
CM ftw!
 
 
Aug 25, 2014 at 8:27 AM Post #8 of 11
Hi guys!
 
USB Audio is now working on my Nexus 7 2013 with the latest m release of cyanogenmod 11.
 
Has anyone tried it on his Nexus 4? I'm thinking about going cyanogenmod for my mobile phone as well but it is always a pain in the a.. to backup all the messaging services and get them working again...
 
So, has anybody tried cm 11 on the Nexus 4 in terms of USB Audio?
 
I know that the Nexus 4 doesn't have any USB OTG capabilities, but those shouldn't be necessary with a self powered external dad, like my FiiO E07K.
 
Cheers,
 
MoWe
 
Aug 26, 2014 at 10:42 AM Post #9 of 11
Doesn't work in Nexus 4...

Gesendet von meinem Nexus 4 mit Tapatalk
 
Aug 27, 2014 at 6:25 AM Post #10 of 11
It's a constant wip, I keep an eye on the jira issues, the problem is that they fix it, then something or someone else breaks it. Usb audio is Linux, actually all audio is very weird and a bit of a spider nest.

Now on Android it's even worse, because of hw issues, that being said there activity, so a bit of poker hand with devices and CM releases
 
Oct 19, 2014 at 6:38 AM Post #11 of 11
Anyone know anything about the Galaxy Note 8.0? Will it work? And how much of the native functionality of 4.4.2 and S-Pen am I giving up if any? Cheers
 

Users who are viewing this thread

Back
Top