Movatterモバイル変換


[0]ホーム

URL:


XDA Forums
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use analternative browser.

[MOD][N5] Surround Sound

Search This thread
By:
GtrCraft

GtrCraft

Recognized Developer
Jun 3, 2013
6,835
17,911
Moto G5 Plus
Xiaomi Poco F1
Very very good mod , works on LMY47I (5.1). I reverted to stock because i am scared of possible damage to speaker. Nice MOD bro!:)
The speaker will not be damaged, if you dont set it too high
 

aWpTiger

Member
Nov 28, 2014
27
7
Bucharest
The speaker will not be damaged, if you dont set it too high

Are you sure? I dont want to broke my nexus 5:D
 

Sc4ryB3ar

Senior Member
Mar 3, 2012
961
516
Plymouth
Google Pixel 5
Are you sure? I dont want to broke my nexus 5:D
I have been flashing this since it came out. If you keep to the default settings supplied it does just fine.
 
  • Like
Reactions:Mr.Jay
Zahih

Zahih

Senior Member
Feb 28, 2012
643
223
@androidous, Thanks for this great surround sound mod...
Is this mod has conflict with Viper4Android?
 
perobot

perobot

Senior Member
Dec 14, 2014
248
31
34
Guayaquil
;)
@androidous, Thanks for this great surround sound mod...
Is this mod has conflict with Viper4Android?

No problems I use with viper + dolby and hassle mixer_paths.xml edit and put these values in audio speaker 96/83 and excellent postscript well you have to configure your viper4android create a good profile.
 
  • Like
Reactions:Zahih

Sc4ryB3ar

Senior Member
Mar 3, 2012
961
516
Plymouth
Google Pixel 5
;)

No problems I use with viper + dolby and hassle mixer_paths.xml edit and put these values in audio speaker 96/83 and excellent postscript well you have to configure your viper4android create a good profile.
Dolby? Is that another audio mod?
 
perobot

perobot

Senior Member
Dec 14, 2014
248
31
34
Guayaquil
HTC Mod

Dolby? Is that another audio mod?

:D
Attention this mod is HTC ONE not ask for support or help your developer because it does not support other mobile other brands if you want to try it works very well sometimes stops but rarely see (Project ERA v23.2) if you want to install it later it is very good (in the installation everything as M8 and AOSP not install beast / audio then gives you bootloop remember to backup ...
 
vn00914361

vn00914361

Senior Member
Dec 24, 2010
1,033
178
Westminster
What shall i remove from mixer_paths.xml file to set all back to stock? (manually please,not using the zip file)

Original:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<!-- These are the initial mixer settings -->
<ctl name="Voice Rx Device Mute" id="0" value="0" />
<ctl name="Voice Rx Device Mute" id="1" value="-1" />
<ctl name="Voice Rx Device Mute" id="2" value="20" />
<ctl name="Voice Tx Mute" id="0" value="0" />
<ctl name="Voice Tx Mute" id="1" value="-1" />
<ctl name="Voice Tx Mute" id="2" value="500" />
<ctl name="Voice Rx Gain" id="0" value="0" />
<ctl name="Voice Rx Gain" id="1" value="-1" />
<ctl name="Voice Rx Gain" id="2" value="20" />
<ctl name="TTY Mode" value="Off" />
<ctl name="LINEOUT1 Volume" value="12" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT3 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="HPHL Volume" value="16" />
<ctl name="HPHR Volume" value="16" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
<ctl name="ADC1 Volume" value="13" />
<ctl name="ADC2 Volume" value="13" />
<ctl name="ADC3 Volume" value="13" />
<ctl name="ADC4 Volume" value="13" />
<ctl name="ADC5 Volume" value="13" />
<ctl name="ADC6 Volume" value="13" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="DEC7 Volume" value="84" />
<ctl name="DEC8 Volume" value="84" />
<ctl name="DEC9 Volume" value="84" />
<ctl name="DEC10 Volume" value="84" />
<ctl name="COMP0 Switch" value="0" />
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="SLIMBUS_3_RX Port Mixer MI2S_TX" value="0" />
<ctl name="HDMI_RX Port Mixer MI2S_TX" value="0" />
<ctl name="SLIMBUS_0_RX Port Mixer SLIM_0_TX" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia2" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="AUX_PCM_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="AUX_PCM_RX_Voice Mixer CSVoice" value="0" />
<ctl name="SEC_AUX_PCM_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="0" />
<ctl name="Voice_Tx Mixer SEC_AUX_PCM_TX_Voice" value="0" />
<ctl name="HDMI_RX_Voice Mixer CSVoice" value="0" />
<ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="0" />
<ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia2" value="0" />
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia5 Mixer AFE_PCM_TX" value="0" />
<ctl name="MultiMedia4 Mixer MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia1 Mixer SLIM_4_TX" value="0" />
<ctl name="MultiMedia1 Mixer SEC_AUX_PCM_UL_TX" value="0" />
<ctl name="HDMI Mixer MultiMedia1" value="0" />
<ctl name="HDMI Mixer MultiMedia2" value="0" />
<ctl name="HDMI Mixer MultiMedia3" value="0" />
<ctl name="HDMI Mixer MultiMedia4" value="0" />
<ctl name="HDMI Mixer MultiMedia5" value="0" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="0" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="IIR1 INP1 MUX" value="ZERO" />
<ctl name="SLIM TX10 MUX" value="ZERO" />
<ctl name="SLIM TX9 MUX" value="ZERO" />
<ctl name="SLIM TX8 MUX" value="ZERO" />
<ctl name="SLIM TX7 MUX" value="ZERO" />
<ctl name="SLIM TX6 MUX" value="ZERO" />
<ctl name="SLIM TX5 MUX" value="ZERO" />
<ctl name="SLIM TX4 MUX" value="ZERO" />
<ctl name="SLIM TX3 MUX" value="ZERO" />
<ctl name="SLIM TX2 MUX" value="ZERO" />
<ctl name="SLIM TX1 MUX" value="ZERO" />
<ctl name="DEC10 MUX" value="ZERO" />
<ctl name="DEC9 MUX" value="ZERO" />
<ctl name="DEC8 MUX" value="ZERO" />
<ctl name="DEC7 MUX" value="ZERO" />
<ctl name="DEC6 MUX" value="ZERO" />
<ctl name="DEC5 MUX" value="ZERO" />
<ctl name="DEC4 MUX" value="ZERO" />
<ctl name="DEC3 MUX" value="ZERO" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX7 MIX1 INP2" value="ZERO" />
<ctl name="RX7 MIX1 INP1" value="ZERO" />
<ctl name="RX6 MIX1 INP2" value="ZERO" />
<ctl name="RX6 MIX1 INP1" value="ZERO" />
<ctl name="RX5 MIX1 INP2" value="ZERO" />
<ctl name="RX5 MIX1 INP1" value="ZERO" />
<ctl name="RX4 MIX1 INP2" value="ZERO" />
<ctl name="RX4 MIX1 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP3" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="HPHL DAC Switch" value="0" />
<ctl name="DAC1 Switch" value="0" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="SLIM RX2 MUX" value="ZERO" />
<ctl name="SPK DRV Volume" value="7" />
<ctl name="AIF1_CAP Mixer SLIM TX7" value="0" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="0"/>
<ctl name="CLASS_H_DSM MUX" value="ZERO" />
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AUX PCM SampleRate" value="8000" />
<!-- echo reference -->
<ctl name="EC_REF_RX" value="NONE" />
<!-- echo reference end -->
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="0" />

<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
</path>

<path name="deep-buffer-playback hdmi">
<ctl name="HDMI Mixer MultiMedia1" value="1" />
</path>

<path name="deep-buffer-playback speaker-and-hdmi">
<path name="deep-buffer-playback hdmi" />
<path name="deep-buffer-playback" />
</path>

<path name="deep-buffer-playback bt-sco">
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia1" value="1" />
</path>

<path name="deep-buffer-playback bt-sco-wb">
<ctl name="AUX PCM SampleRate" value="16000" />
<path name="deep-buffer-playback bt-sco" />
</path>

<path name="low-latency-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
</path>

<path name="low-latency-playback hdmi">
<ctl name="HDMI Mixer MultiMedia5" value="1" />
</path>

<path name="low-latency-playback bt-sco">
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia5" value="1" />
</path>

<path name="low-latency-playback bt-sco-wb">
<ctl name="AUX PCM SampleRate" value="16000" />
<path name="low-latency-playback bt-sco" />
</path>

<path name="low-latency-playback speaker-and-hdmi">
<path name="low-latency-playback hdmi" />
<path name="low-latency-playback" />
</path>

<path name="multi-channel-playback hdmi">
<ctl name="HDMI Mixer MultiMedia2" value="1" />
</path>

<path name="compress-offload-playback">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia4" value="1" />
</path>

<path name="compress-offload-playback hdmi">
<ctl name="HDMI Mixer MultiMedia4" value="1" />
</path>

<path name="compress-offload-playback bt-sco">
<ctl name="SEC_AUX_PCM_RX Audio Mixer MultiMedia4" value="1" />
</path>

<path name="compress-offload-playback bt-sco-wb">
<ctl name="AUX PCM SampleRate" value="16000" />
<path name="compress-offload-playback bt-sco" />
</path>

<path name="compress-offload-playback speaker-and-hdmi">
<path name="compress-offload-playback hdmi" />
<path name="compress-offload-playback" />
</path>

<path name="audio-record">
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
</path>

<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer SEC_AUX_PCM_UL_TX" value="1" />
</path>

<path name="audio-record bt-sco-wb">
<ctl name="AUX PCM SampleRate" value="16000" />
<path name="audio-record bt-sco" />
</path>

<path name="low-latency-record">
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1" />
</path>

<path name="voice-call">
<ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="1" />
</path>

<path name="voice-call hdmi">
<ctl name="HDMI_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer SLIM_0_TX_Voice" value="1" />
</path>

<path name="voice-call bt-sco">
<ctl name="SEC_AUX_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer SEC_AUX_PCM_TX_Voice" value="1" />
</path>

<path name="voice-call bt-sco-wb">
<ctl name="AUX PCM SampleRate" value="16000" />
<path name="voice-call bt-sco" />
</path>

<path name="voice-call afe-proxy">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>

<path name="afe-proxy-playback afe-proxy">
</path>

<path name="afe-proxy-record afe-proxy">
</path>

<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
<ctl name="IIR1 INP1 MUX" value="DEC6" />
</path>

<path name="adc2">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC5" />
<ctl name="DEC5 MUX" value="ADC2" />
<ctl name="IIR1 INP1 MUX" value="DEC5" />
</path>

<path name="adc3">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="IIR1 INP1 MUX" value="DEC4" />
</path>

<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="88" />
<ctl name="SPK DRV Volume" value="6" />
</path>

<path name="speaker-mic">
<path name="adc3" />
<ctl name="DEC4 Volume" value="99" />
</path>

<path name="handset">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
</path>

<path name="handset-mic">
<path name="adc1" />
<ctl name="ADC1 Volume" value="16" />
<ctl name="DEC6 Volume" value="86" />
</path>

<path name="headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="RX1 Digital Volume" value="83" />
<ctl name="RX2 Digital Volume" value="83" />
<ctl name="HPHL Volume" value="15" />
<ctl name="HPHR Volume" value="15" />
</path>

<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="16" />
<ctl name="DEC5 Volume" value="90" />
</path>

<path name="voice-handset">
<path name="handset" />
<ctl name="RX1 Digital Volume" value="84" />
</path>

<path name="voice-handset-tmus">
<path name="handset" />
</path>

<path name="voice-speaker">
<path name="speaker" />
<ctl name="SPK DRV Volume" value="8" />
<ctl name="RX7 Digital Volume" value="94" />
</path>

<path name="voice-speaker-mic">
<path name="adc3" />
<ctl name="ADC3 Volume" value="14" />
<ctl name="DEC4 Volume" value="97" />
</path>

<path name="speaker-mic-aec">
<path name="adc3" />
<ctl name="ADC3 Volume" value="14" />
<ctl name="DEC4 Volume" value="88" />
</path>

<path name="voice-headphones">
<path name="headphones" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
</path>

<path name="voice-headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="15" />
<ctl name="DEC5 Volume" value="91" />
</path>

<path name="speaker-and-headphones">
<path name="headphones" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />
<ctl name="RX1 Digital Volume" value="81" />
<ctl name="RX2 Digital Volume" value="81" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="88" />
</path>

<path name="hdmi">
</path>

<path name="speaker-and-hdmi">
<path name="speaker" />
<path name="hdmi" />
<ctl name="SPK DRV Volume" value="7" />
</path>

<path name="voice-rec-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="DEC6 Volume" value="88"/>
</path>

<path name="camcorder-mic">
<path name="handset-mic" />
<ctl name="ADC1 Volume" value="15" />
<ctl name="DEC6 Volume" value="88" />
</path>

<path name="hdmi-tx">
<path name="handset-mic" />
</path>

<path name="bt-sco-headset">
</path>

<path name="bt-sco-mic">
</path>

<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="SLIM TX7 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
<ctl name="SLIM TX8 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="SLIM_0_TX Channels" value="Two" />
</path>

<path name="speaker-dmic-broadside">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="SLIM TX7 MUX" value="DEC7" />
<ctl name="DEC7 MUX" value="ADC1" />
<ctl name="SLIM TX8 MUX" value="DEC8" />
<ctl name="DEC8 MUX" value="ADC2" />
<ctl name="SLIM_0_TX Channels" value="Two" />
</path>

<path name="echo-reference">
<ctl name="EC_REF_RX" value="SLIM_RX" />
</path>

<path name="dmic-endfire">
<path name="speaker-dmic-endfire" />
<ctl name="IIR1 INP1 MUX" value="DEC6" />
</path>

<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
<ctl name="IIR1 INP1 MUX" value="DEC7" />
</path>

<path name="voice-dmic-ef-tmus">
<path name="dmic-endfire" />
</path>

<path name="voice-dmic-ef">
<path name="dmic-endfire" />
</path>

<path name="voice-dmic-bs">
<path name="dmic-broadside" />
</path>

<path name="voice-speaker-dmic-ef">
<path name="dmic-endfire" />
</path>

<path name="voice-speaker-dmic-bs">
<path name="speaker-dmic-broadside" />
</path>

<path name="voice-rec-dmic-ef">
<path name="dmic-endfire" />
</path>

<path name="voice-rec-dmic-bs">
<path name="dmic-broadside" />
</path>

<path name="voice-rec-dmic-ef-fluence">
<path name="dmic-endfire" />
</path>

<path name="voice-rec-dmic-bs-fluence">
<path name="dmic-broadside" />
</path>

<!-- TTY devices -->

<path name="tty-headphones">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
</path>

<path name="voice-tty-full-headphones">
<ctl name="TTY Mode" value="FULL" />
<path name="tty-headphones" />
</path>

<path name="voice-tty-vco-headphones">
<ctl name="TTY Mode" value="VCO" />
<path name="tty-headphones" />
</path>

<path name="voice-tty-hco-handset">
<ctl name="TTY Mode" value="HCO" />
<path name="handset" />
</path>

<path name="voice-tty-full-headset-mic">
<path name="adc2" />
<ctl name="DEC5 Volume" value="74" />
<ctl name="ADC2 Volume" value="16" />
</path>

<path name="voice-tty-hco-headset-mic">
<path name="voice-tty-full-headset-mic" />
</path>

<path name="voice-tty-vco-handset-mic">
<path name="adc1" />
</path>

<path name="bt-sco-mic-wb">
</path>

<path name="bt-sco-headset-wb">
</path>

<path name="voice-rx">
</path>

<path name="voice-tx">
</path>

</mixer>

You know what to do next!
 
  • Like
Reactions:AvivEliyahu
Ben36

Ben36

Senior Member
Jun 8, 2012
8,250
2,867
Works on m preview? Anybody?
No reason why not

Sent from my Android M Nexus 5 yo!
 
käsebr0t

käsebr0t

Senior Member
Apr 10, 2012
312
171
Nexus 7
Huawei P20
Has anybody tried this on the Nexus 5 X???? I'm on chroma build 11/11/15
It should work. I got it working on my Nexus 5 running UberMallow.
Edit: Sorry, I didn't see the X [emoji27]
 
Midomad

Midomad

Inactive Recognized Contributor
May 7, 2011
4,160
3,238
Salé
Google Pixel 5a
hey guys

I owe everyone a massive apology, I havent logged into XDA for months cause uni started and been having quite a bit of work to deal with there. ill try to log in more often and answer your questions
Will it work on nexus5x ? i don't know i dont have a 5x and havent seen the mixer_paths file of it :3 if anyone could send me theirs, i could take a look
What's the difference between dual mono and stereo zip files?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 66
    A mod originally made for the Note edge by @ sshafranko and now ported to the nexus 5 head on over to the original thread here , and Im merely helping him out here at the N5 forums
    http://xdaforums.com/note-edge/development/mod-sm-915t-surround-sound-t2955648


    This mod will activate you front earpiece speaker in conjunction with the rear main speaker any time Speaker mode is used for example playing music, watching movies, shows, you tube and so on, creating an almost surround sound type of effect.​

    Please keep in mind that this mod is for the T Mobile Note Edge variant. This modifies the mixer_path.xml file in you system/etc folder. This .xml file varies device to device and even carrier to carrier.I have not tested this on International or any other carrier Note Edge, and i used the T Mobile .xml file as my base. Therefore i don't know if it will work on any other carrier although i will say that there is a better chance of it working on another U.S. carrier than there is on International. If you decide to try it please have your rom backed up in case of a boot loop, and before you flash the zip or extract and push the .xml file to your system, rename your original mixer_paths.xml to mixer_paths.xml.bak so that you have your original easily accessible. There is a slight chance that if you pm me your mixer file i can mod it for your variant, and maybe add it to the thread assuming it doesn't work for you and i have some spare time.​

    PREREQUISITES

    A RootedGalaxy Note Edge Nexus 5
    Custom Recovery Installed. I tested on TWRP 2.8.1.1
    A set of human or alien ears (animal may also work but have not been tested by me)


    DISCLAIMER
    I am not responsible in any way, shape, or form, directly or indirectly for anything good or bad that happens to your device do to your modifications using my surround sound zips. Please do not inject, ingest or insert these zips anywhere on or in your body, they are meant to be flashed in a custom recovery on yourNote Edge Beast. HAMMERHEAD BEAST

    INSTALLATION
    STEP 1: Download the sound mod zip

    STEP 2: Boot to recovery by using modded shut down menu, Power Toggles type Widget, or simply turn your phone off. Once completely off hold Home, Volume up and Power buttons simultaneously which will then boot your recovery.

    STEP 3: Navigate to the Sound Mod Zip of your choice and flash it. I don't believe it is necessary to wipe caches with this type of mod, but i would suggest it. Any time i am in recovery i take the opportunity to wipe caches and fix permissions, almost as a maintenance type of habit.
    If you used CF root to root your phone you may be having some issues mounting the cache partition. There are 2 ways to fix this, both worked for me, the first of which may or may not work for you and is very simple to try and the second more involved.
    1) Wipe Dalvik Cache ONLY. Now wipe Cache ONLY. Now wipe both Dalvik Cache and Cache. If this worked for you, you will now be able to wipe caches without mounting errors.
    2) Begin from scratch and re-root your phone except this time DO NOT use Chainfire's CF Root. Odin TWRP recovery, make sure you have a zip of SuperSU 2.16 i believe it is on your sd. Once TWRP is odined, boot to recovery and inject (flash) SuperSU. When booted you will most likely be prompted to update SuperSU as i believe there was an update today, assuming you are injecting 2.16. These steps are only for those having troubles flashing do to CF Root braking TWRP. If this has been fixed, i apologize and please ignore, as i have not checked today.

    Post your experience with this mod here, any issues, requests and so on, and i will try to get back to you as soon as time allows. Happy flashing and i hope you all like it. It took me 5 hrs to figure out the correct code for the device and play scenarios in mixer_paths to get this working correctly, and a bunch of testing to get it bug free but well worth it. Hope you guys share my enthusiasm with this mod.

    Known Bugs: Sound plays from earpiece speaker while headphones are connected. FIXED
    Please let me know if you find something i missed. Thank You.

    CREDITS

    DWITHERELL-You are the best. Thank you for zipping it all up, and listening to all my dumb comments and questions...
    Chainfire
    Deeznuts
    Jdidtht
    Bacardilimon

    Contributors
    SShafranko

    Version Information
    Status: Stable

    Created
    November 25, 2014

    Downloads

    Dual mono SURROUND SOUND MOD-http://d-h.st/LgZ -
    REVERT TO STOCK -http://d-h.st/fCpS

    ---------------------------------------------------------------------------------------------------------
    Stero SURROUND SOUND MOD-http://xdaforums.com/showpost.php?p=57514832&postcount=75 -- thanks to@garynych

    All this is thanks to @ sshafranko so please do thank him on his thread, This has been shared here with permission from the owner
    29
    Do you have a flashable zip for your version?
    flashable zip
    25
    I played with mixer_paths.xml some more and now I have a gain setup that seems to work for me, both in terms of keeping distortions at bay and in terms of left-right speaker balance.

    My "speaker" device now looks like this:

    <path name="speaker">
    <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
    <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
    <ctl name="SLIM_0_RX Channels" value="Two" />
    <ctl name="RX1 MIX1 INP1" value="RX1" />
    <ctl name="RX7 MIX1 INP2" value="RX2" />
    <ctl name="RX1 Digital Volume" value="89" />
    <ctl name="RX7 Digital Volume" value="81" />
    <ctl name="SPK DRV Volume" value="6" />
    <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
    <ctl name="DAC1 Switch" value="1" />
    </path>


    Note that I deleted a few entries that are unnecessary along with the two cross-mixing entries mentioned earlier. Also, in my case, the gain difference between the main speaker (81) and the handset speaker (89) is eight ticks, which I believe corresponds to 8 dB. It is important to note that both the absolute and relative levels between the two loudspeakers are, in general, device-specific due to loudspeaker tolerances. You can certainly start with my values and optimize for your device.

    In order to make optimization easier, I attached the command-line program "tinymix" which is part of AOSP, but is not installed by default.
    Uncompress the binary, copy it somewhere to your binary search path such as /system/bin , and adjust the permissions to 744.
    With this binary, you can use the shell to adjust the gain values on-the-fly while you are listening to audio, e.g. as root

    # tinymix "RX1 Digital Volume" A
    # tinymix "RX7 Digital Volume" B


    where A,B ={0,124} is the desired gain level. Keep in mind that the values will always reset to the ones sitting in mixer_paths.xml as soon as you play with the playback controls of your media player, i.e. pause/resume, start/stop, and skip. For the values to "stick" you will have to modify mixer_paths.xml directly followed by a reboot. I would advise against cranking up the earpiece loudspeaker gain value to something higher than the lower 90s as distortions will be very audible at high playback volumes. Even though the audio codec used (WCD9320) seems to be having a current limiter in the earpiece path, damage to the loudspeaker cannot be ruled out if the loudspeaker is heavily distorting for a long period of time.


    In order to shut the handset speaker off during a (cellularand maybe VoIP) handsfree call, I modified another device in mixer_paths.xml, i.e.

    <path name="voice-speaker">
    <path name="speaker" />
    <ctl name="SPK DRV Volume" value="8" />
    <ctl name="RX7 Digital Volume" value="94" />
    <ctl name="RX1 Digital Volume" value="0" />
    </path>


    which simply sets the handset speaker gain to zero. Keeping the handset speaker on during a cellular speakerphone call may cause the phone's echo control to "work harder" than necessary and maybe even fail in some instances.

    Caveat: The earpiece loudspeaker does not seem to be turning off when using the speakerphone on voice-capable apps other than cellular telephony, such as Google Hangouts (via Dialer), Skype, Bria, etc, as these apps seem to be calling the "speaker" device directly (which of course now turns both loudspeakers on by default). This may wreck havoc on echo control. As I'm not really using any of these services on speakerphone on a regular basis, this is not a real problem for me. The only way around this issue that I can see right now is (other than lowering the playback volume as much as possible or seriously messing with the audio HAL) to use a service like Tasker to execute
    Code:
    tinymix "RX1 Digital Volume" 0
    whenever speakerphone mode is detected, which is non-trivial but possible.


    Edit (12/16/2014): I made some "frequency response" measurements of the two loudspeakers. I held my sound level meter at about 30 cm distance from the phone, approximately centered between the two loudspeakers. As can be seen from the attached plot, the two loudspeakers match pretty well in the perceptually important frequency range of 1 kHz and 4 kHz. The discrepancy between the two loudspeakers at frequencies higher than around 4.5 kHz can be explained by the fact that the main loudspeaker is not front-facing and high frequencies get attenuated more as a result of its placement with respect to the listener.
    11
    Can I use camcorder mod with this?

    Yes, but as of now you will have to edit your mixer_paths.xml file manually as outlinedhere after having installed the camcorder mod.
    An Aroma installer that combines the two mods is currently being worked on.

    Edit: Now you can, with a very flexible Aroma installer availablehere
    8
    So today i decided to try this mod out so i had a look at theSurround Sound(fixed).zip and noticed its only changed themixer_paths.xml insystem/etc

    not wanting to change my holemixer_paths.xml file i worked out that the part that makes this mod work is:
    Code:
        <path name="speaker">        <ctl name="SLIM RX1 MUX" value="AIF1_PB" />        <ctl name="SLIM RX2 MUX" value="AIF1_PB" />        <ctl name="SLIM_0_RX Channels" value="Two" />        <ctl name="RX1 MIX1 INP1" value="RX1" />        <ctl name="RX1 MIX1 INP2" value="RX2" />        <ctl name="RX7 MIX1 INP1" value="RX1" />        <ctl name="RX7 MIX1 INP2" value="RX2" />        <ctl name="RX1 Digital Volume" value="90" />        <ctl name="RX7 Digital Volume" value="88" />        <ctl name="SPK DRV Volume" value="6" />        <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />        <ctl name="HPHL Volume" value="20" />        <ctl name="HPHR Volume" value="20" />        <ctl name="HPHL DAC Switch" value="1" />        <ctl name="DAC1 Switch" value="1" />    </path>

    so i manually edited mymixer_paths.xml and used the code above

    after a reboot my earpiece speaker was very distorted onCM13 CAF so i played around with mymixer_paths.xml and worked out that it was theHPHL DAC so here is the new code without theHPHL DAC

    Code:
        <path name="speaker">        <ctl name="SLIM RX1 MUX" value="AIF1_PB" />        <ctl name="SLIM RX2 MUX" value="AIF1_PB" />        <ctl name="SLIM_0_RX Channels" value="Two" />        <ctl name="RX1 MIX1 INP1" value="RX1" />        <ctl name="RX1 MIX1 INP2" value="RX2" />        <ctl name="RX7 MIX1 INP1" value="RX1" />        <ctl name="RX7 MIX1 INP2" value="RX2" />        <ctl name="RX1 Digital Volume" value="90" />        <ctl name="RX7 Digital Volume" value="88" />        <ctl name="SPK DRV Volume" value="6" />        <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />        <ctl name="DAC1 Switch" value="1" />    </path>

    i also was not happy with the volume on the small speaker felt i was putting to much strain on the small speaker so i lowered the volume
    <ctl name="RX1 Digital Volume" value="76" /> = small earpiece speaker
    <ctl name="RX7 Digital Volume" value="88" /> = normal loud speaker

    i first turned RX7 to 0 then i tested RX1 at different levels and felt 76 was just right

    Code:
        <path name="speaker">        <ctl name="SLIM RX1 MUX" value="AIF1_PB" />        <ctl name="SLIM RX2 MUX" value="AIF1_PB" />        <ctl name="SLIM_0_RX Channels" value="Two" />        <ctl name="RX1 MIX1 INP1" value="RX1" />        <ctl name="RX1 MIX1 INP2" value="RX2" />        <ctl name="RX7 MIX1 INP1" value="RX1" />        <ctl name="RX7 MIX1 INP2" value="RX2" />        <ctl name="RX1 Digital Volume" value="76" />        <ctl name="RX7 Digital Volume" value="88" />        <ctl name="SPK DRV Volume" value="6" />        <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />        <ctl name="DAC1 Switch" value="1" />    </path>

    if you want to push your speakers a bit more these values would be my max
    <ctl name="RX1 Digital Volume" value="84" />
    <ctl name="RX7 Digital Volume" value="92" />

    Edit*
    Turns out we don't need two channels this is how you can have just one channel
    and this is my final code

    Code:
        <path name="speaker">        <ctl name="SLIM RX1 MUX" value="AIF1_PB" />        <ctl name="SLIM_0_RX Channels" value="One" />        <ctl name="RX1 MIX1 INP1" value="RX1" />        <ctl name="RX7 MIX1 INP1" value="RX1" />        <ctl name="RX1 Digital Volume" value="80" />        <ctl name="RX7 Digital Volume" value="90" />        <ctl name="SPK DRV Volume" value="6" />        <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />        <ctl name="DAC1 Switch" value="1" />    </path>

[8]ページ先頭

©2009-2025 Movatter.jp