I managed to enable usb audio support on my Pipo M8HD. (KitKat firmware)
First make a backup of your ROM !!!!!
I have found the necessary modules : snd-hwdep.ko, snd-rawmidi.ko, snd-USBMIDI-lib.ko and snd-usb-audio.ko
These files are in the system.zip that you will find in the link at the end of the post.
These modules musb be copied to /system/lib/modules and given rw-r--r-- permissions.
These modules must be installed in the following order :
insmod /system/lib/modules/snd-hwdep.ko insmod /system/lib/modules/snd-rawmidi.ko insmod /system/lib/modules/snd-usbmidi-lib.ko insmod /system/lib/modules/snd-usb-audio.ko
This script that I named 99sound must be copied to /system/etc/init.d and given rwxr-x-r-x permission.
You need also modify the audio_policy.conf in /system/etc by the one I provided in the archive
Then you need to patch some system file (services.jar) to detect your usb audio device, this is done by a program files you will use through Windows : you will find find all the explanations here : forum XDA
Plug the usb cable to your PC, verify that USB debugger is on
Then unpack the archive usb-audio-Patcher.zip and run the usb-audio-Patcher.exe file on your PC to do the job automatically
Reboot.
You can verify that the modules are loaded by typing the command lsmod in a terminal.
By cons there is no option on the M8HD ROM in Android settings to change the sound output (USB, Bluetooth or normal).
The archive n7-volume-control-patch.zip that I provided doesn't seem to working.
I have tested the SoundAbout application, and it works well, you can switch to choose between different devices: for usb choose: Dock (Analog) Audio in Media.
I put all here: https://mega.co.nz/#F!EcdwCCCB!GGAxYdHjXO5Ks8cAtz8Dhw
I think it can work in others models too, maybe only with kitkat.
I'm using a cheap USB module with a CM119 Chipset from C-Media
In France, I found and buy this one : http://www.amazon.fr/gp/product/B00G...?ie=UTF8&psc=1
bye
Comment