[HTC Droid DNA] drewX2:
I don't think that will work. Without getting too detailed (cuz im lazy), audio is vastly different on the DNA. This is something best discussed via irc because it can get quite in depth.

This is where I was at before I hosed some things by accident on my own build.... I am going to take a look when I can at what kernel differences we have to see if I enabled or disabled something different

Logcat (as you can tell its quite old... 02-06-13)

02-06 08:03:04.483 1430 1430 I AudioPolicyManagerBase: loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
02-06 08:03:04.523 1430 1430 D alsa_ucm: Single config file format detected
02-06 08:03:04.823 1430 1430 I AudioHardwareALSA: ucm instance opened: 1077219256
02-06 08:03:04.823 1430 1430 I AudioFlinger: loadHwModule() Loaded primary audio interface from QCOM Audio HW HAL (audio) handle 1
02-06 08:03:04.823 1430 1430 D AudioHardwareALSA: openOutputStream: devices 0x2 channels 3 sampleRate 44100
02-06 08:03:04.823 1430 1430 D AudioHardwareALSA: useCase HiFi
02-06 08:03:04.823 1430 1430 D ALSADevice: route: devices 0x2 in mode 0
02-06 08:03:04.823 1430 1430 D ALSADevice: No valid input device: 0
02-06 08:03:04.823 1430 1430 D alsa_ucm: snd_use_case_set(): uc_mgr 0x40350fb8 identifier _enadev value Speaker
02-06 08:03:04.823 1430 1430 E alsa_ucm: Invalid current verb value: Inactive - -1
02-06 08:03:04.823 1430 1430 D ALSADevice: switchDevice: mCurTxUCMDevivce None mCurRxDevDevice Speaker
02-06 08:03:04.823 1430 1430 D alsa_ucm: snd_use_case_set(): uc_mgr 0x40350fb8 identifier _verb value HiFi
02-06 08:03:04.823 1430 1430 D alsa_ucm: Set mixer controls for Speaker enable 1
02-06 08:03:04.823 1430 1430 D alsa_ucm: acdb_id 15 cap 1 enable 1
02-06 08:03:04.823 1430 1430 D alsa_ucm: Setting mixer control: SLIM_0_RX Channels, value: One
02-06 08:03:04.823 1430 1430 D alsa_ucm: Setting mixer control: RX3 MIX1 INP1, value: RX1
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: RX4 DSM MUX, value: DSM_INV
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: LINEOUT1 Volume, value: 65
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: LINEOUT3 Volume, value: 65
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: RX3 Digital Volume, value: 70
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 70
02-06 08:03:04.833 1430 1430 D alsa_ucm: Set mixer controls for HiFiSpeaker enable 1
02-06 08:03:04.833 1430 1430 D alsa_ucm: Setting mixer control: SLIMBUS_0_RX Audio Mixer MultiMedia1, value: 1
02-06 08:03:04.833 1430 1430 D ALSADevice: close: handle 0x410337a8 h 0x0
02-06 08:03:04.833 1430 1430 D ALSADevice: open: handle 0x410337a8
02-06 08:03:04.833 1430 1430 E ALSADevice: Music case
02-06 08:03:04.833 1430 1430 D ALSADevice: Device value returned is hw:0,0
02-06 08:03:04.843 1430 1430 D ALSADevice: setHardwareParams: reqBuffSize 2048 channels 2 sampleRate 48000
02-06 08:03:04.843 1430 1430 D ALSADevice: setHardwareParams: buffer_size 16384, period_size 2048, period_cnt 8
02-06 08:03:04.843 1430 1430 D ALSAStreamOps: ALSAFormat:0x2,audioSystemFormat:0x1
02-06 08:03:04.843 1430 1430 D ALSAStreamOps: ALSAFormat:0x2,audioSystemFormat:0x1
02-06 08:03:04.843 1430 1430 I AudioFlinger: HAL output buffer size 512 frames, normal mix buffer size 1024 frames
02-06 08:03:04.843 1430 1430 I AudioMixer: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
02-06 08:03:04.843 1430 1430 D ALSAStreamOps: ALSAFormat:0x2,audioSystemFormat:0x1
02-06 08:03:04.843 1430 1430 I AudioFlinger: Using module 1 has the primary audio interface
02-06 08:03:04.843 1430 1439 I AudioFlinger: AudioFlinger's thread 0x4007d008 ready to run
02-06 08:03:04.843 1430 1439 D AudioStreamOutALSA: standby
02-06 08:03:04.843 1430 1439 D ALSADevice: standby: handle 0x410337a8 h 0x0
02-06 08:03:04.843 1430 1439 E ALSADevice: standby handle h 0x41033918
02-06 08:03:04.853 1430 1439 D alsa_ucm: snd_use_case_set(): uc_mgr 0x40350fb8 identifier _verb value Inactive
02-06 08:03:04.853 1430 1439 D alsa_ucm: Set mixer controls for HiFiSpeaker enable 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: SLIMBUS_0_RX Audio Mixer MultiMedia1, value: 0
02-06 08:03:04.853 1430 1439 E ALSADevice: Number of modifiers 0
02-06 08:03:04.853 1430 1439 E ALSADevice: usecase_type is 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: snd_use_case_set(): uc_mgr 0x40350fb8 identifier _disdev value Speaker
02-06 08:03:04.853 1430 1439 D alsa_ucm: Set mixer controls for Speaker enable 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: LINEOUT1 Volume, value: 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: LINEOUT3 Volume, value: 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: RX3 Digital Volume, value: 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: RX4 Digital Volume, value: 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: RX4 DSM MUX, value: CIC_OUT
02-06 08:03:04.853 1430 1439 D alsa_ucm: Setting mixer control: RX3 MIX1 INP1, value: ZERO
02-06 08:03:04.853 1430 1439 D ALSAStreamOps: setParameters(): keyRouting with device 2
02-06 08:03:04.853 1430 1439 D ALSADevice: route: devices 0x2 in mode 0
02-06 08:03:04.853 1430 1439 D ALSADevice: No valid input device: 0
02-06 08:03:04.853 1430 1439 D alsa_ucm: snd_use_case_set(): uc_mgr 0x40350fb8 identifier _enadev value Speaker
02-06 08:03:04.853 1430 1439 D ALSADevice: switchDevice: mCurTxUCMDevivce None mCurRxDevDevice Speaker
02-06 08:03:04.853 1430 1436 D AudioHardwareALSA: setVoiceVolume(0.000000)
02-06 08:03:04.853 1430 1436 D AudioHardwareALSA: setVoiceVolume newMode 0
02-06 08:03:04.853 1430 1430 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
02-06 08:03:04.853 1430 1430 I AudioPolicyService: Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
02-06 08:03:04.863 810 869 E AudioService: Media server started.
02-06 08:03:04.863 1430 1430 D AudioHardwareALSA: setParameters() restarting=true
02-06 08:03:04.863 1430 1440 W AudioPolicyManagerBase: setPhoneState() setting same state 0
02-06 08:03:04.923 1430 1436 D AudioHardwareALSA: setVoiceVolume(0.800000)
02-06 08:03:04.923 1430 1436 D AudioHardwareALSA: setVoiceVolume newMode 0
02-06 08:03:04.923 1430 1440 D AudioHardwareALSA: setParameters() restarting=false

dmesg (I just highlighted the [AUD] sections)

[ 5.523912] c3 223 [AUD] snd_soc_core: soc_dpcm_be_dai_startup:open BE Slimbus Playback
[ 5.523973] c3 223 [AUD] snd_soc_core: soc_pcm_open: pcm open Slimbus Playback
[ 5.524004] c3 223 [AUD] snd_soc_core: soc_pcm_open: pcm open MultiMedia1
[ 5.524065] c3 223 [AUD] apr: apr_register: Load Q6 image
[ 5.524126] c3 223 pil_get: mediaserver(223) for q6
[ 5.524187] c3 223 pil_get: pil_get q6 sucessfully, pil->count:0
[ 6.224660] c0 223 pil pil0: q6: Brought out of reset
[ 6.256004] c0 133 [AUD] apr_tal: apr_tal:Q6 Is Up
[ 6.257347] c0 223 [AUD] apr_tal: apr_tal: SMD_EVENT_OPEN
[ 6.502914] c0 223 apq8064_get_q6_effect_mode: mode -1
[ 6.512864] c0 223 apq8064_get_q6_effect_mode: mode -1
[ 6.514268] c0 223 [AUD] snd_soc_qdsp6: msm_pcm_hw_params:buf = dd9ae600
[ 10.532916] c0 58 [AUD] apr: apr_q6_check_worker: 2

If I get the chance and you don't figure it out, I'll sync your github and look at audio