[Galaxy S 4 i9500 Original Android Development] madman14:
Have been using this rom for a while now. Its bugfree except 2 issues no led notification from apps likr whatsapp and battery drains very quick.. Any way to slove these?

And I have had issues with low speaker volume and headphones volume.. Here use this edited mixer paths to solve the issue [MENTION=3555887]alvin14[/MENTION] you can also include it in the next build just 2 values changed..

Code:

<mixer>

<!--

INOUT_MAP {

<ctl name="Earpiece", "Builtin Mic", "Back Mic" />

<ctl name="Speaker", "Back Mic", "Third Mic" />

<ctl name="Headset Out", "Headset In" />

<ctl name="Headphone", "Builtin Mic" />

<ctl name="SCO Headset Out", "SCO Headset In" />

<ctl name="SCO", "SCO Headset In" />

<ctl name="SCO Carkit", "SCO Headset In" />

}

INPUT_CHANNEL_MAP {

<ctl name="Builtin Mic", "Left" />

<ctl name="Back Mic", "Right" />

<ctl name="Headset In", "Left" />

<ctl name="Third Mic", "Left" />

<ctl name="SCO Headset In" value="None" />

}

-->

<!-- Initial mixer settings -->

<!-- Noise gate control -->

<ctl name="Noise Gate Switch" value="0" />,

<ctl name="HPOUT1L NG HPOUT1L Switch" value="0" />

<ctl name="HPOUT1R NG HPOUT1R Switch" value="0" />

<ctl name="HPOUT2L NG HPOUT2L Switch" value="0" />

<ctl name="HPOUT2R NG HPOUT2R Switch" value="0" />

<ctl name="EPOUT NG EPOUT Switch" value="0" />

<ctl name="SPKOUTL NG SPKOUTL Switch" value="0" />

<ctl name="SPKOUTR NG SPKOUTR Switch" value="0" />

<ctl name="SPKDAT1L NG SPKDAT1L Switch" value="0" />

<ctl name="SPKDAT1R NG SPKDAT1R Switch" value="0" />

<ctl name="Noise Gate Threshold Volume" value="3" />

<!-- Analog output AMP -->

<!-- AP Side is mixed to Input 1 of each out mixer -->

<!-- RCV(Mono) -->

<ctl name="EPOUT Input 1" value="AIF1RX1" />

<ctl name="EPOUT Input 2" value="AIF1RX2" />

<ctl name="EPOUT Digital Switch" value="1" />

<ctl name="EPOUT Digital Volume" value="128" />

<!-- SPK(Mono) -->

<ctl name="SPKOUTL Input 1" value="AIF1RX1" />

<ctl name="SPKOUTL Input 2" value="AIF1RX2" />

<ctl name="Speaker Digital Switch" value="1" />

<ctl name="Speaker Digital Volume" value="122" />

<!-- HP(stereo) -->

<ctl name="HPOUT1L Input 1" value="AIF1RX1" />

<ctl name="HPOUT1R Input 1" value="AIF1RX2" />

<ctl name="HPOUT1 Digital Switch" value="1" />

<ctl name="HPOUT1 Digital Volume" value="112" />

<!-- VPS(stereo) -->

<ctl name="HPOUT2L Input 1" value="AIF1RX1" />

<ctl name="HPOUT2R Input 1" value="AIF1RX2" />

<ctl name="OUT2 Digital Switch" value="1" />

<ctl name="OUT2 Digital Volume" value="124" />

<!-- BT <-AP(use input 1) -->

<!-- ASRC2(RX domain) -->

<ctl name="ASRC2L Input" value="AIF2RX1" />

<ctl name="ASRC2R Input" value="AIF2RX2" />

<!-- Currently use i2c dual mono(both L/R) -->

<!-- CP->RCV -->

<ctl name="EPOUT Input 3" value="None" />

<ctl name="EPOUT Input 4" value="None" />

<!-- CP->SPK -->

<ctl name="SPKOUTL Input 3" value="None" />

<ctl name="SPKOUTL Input 4" value="None" />

<!-- CP->HP -->

<ctl name="HPOUT1L Input 2" value="None" />

<ctl name="HPOUT1R Input 2" value="None" />

<!-- CP->BT -->

<ctl name="AIF3TX1 Input 2" value="AIF2RX1" />

<ctl name="AIF3TX2 Input 2" value="AIF2RX2" />

<!-- Route all mics via LHPF1 -->

<!-- need to move modifier field -->

<ctl name="LHPF1 Mode" value="High-pass" />

<ctl name="LHPF2 Mode" value="High-pass" />

<!-- BT mic->CP -->

<ctl name="AIF2TX1 Input 2" value="AIF3RX1" />

<ctl name="AIF2TX2 Input 2" value="AIF3RX2" />

<!-- Stereo recording from mics -->

<!-- need to move channeltype -->

<!-- Gain for main and headset mics -->

<ctl name="IN1L Volume" value="30" />

<ctl name="IN1R Volume" value="30" />

<!-- Gain for sub and 3rd mic -->

<ctl name="IN2L Volume" value="30" />

<ctl name="IN2R Volume" value="30" />

<!-- Mics to AIF2TX -->

<ctl name="ASRC1L Input" value="LHPF1" />

<ctl name="ASRC1R Input" value="LHPF2" />

<ctl name="AIF2TX1 Input 1" value="ASRC1L" />

<ctl name="AIF2TX2 Input 1" value="ASRC1R" />

<!-- BT<-CP(use input 2) -->

<ctl name="AIF1TX1 Input 2" value="ASRC2L" />

<ctl name="AIF1TX2 Input 2" value="ASRC2R" />

<!-- LHPF1 & 2 filter -->

<ctl name="LHPF1 COEFF FILTER" value="64Hz" />

<ctl name="LHPF2 COEFF FILTER" value="64Hz" />

<!-- common digital volume -->

<!-- don't change this common volume -->

<ctl name="AIF1TX1 Input 1 Volume" value="32" />

<ctl name="AIF1TX1 Input 2 Volume" value="32" />

<ctl name="AIF1TX1 Input 3 Volume" value="32" />

<ctl name="AIF1TX1 Input 4 Volume" value="32" />

<ctl name="AIF1TX2 Input 1 Volume" value="32" />

<ctl name="AIF1TX2 Input 2 Volume" value="32" />

<ctl name="AIF1TX2 Input 3 Volume" value="32" />

<ctl name="AIF1TX2 Input 4 Volume" value="32" />

<ctl name="AIF1TX3 Input 1 Volume" value="32" />

<ctl name="AIF1TX3 Input 2 Volume" value="32" />

<ctl name="AIF1TX3 Input 3 Volume" value="32" />

<ctl name="AIF1TX3 Input 4 Volume" value="32" />

<ctl name="AIF1TX4 Input 1 Volume" value="32" />

<ctl name="AIF1TX4 Input 2 Volume" value="32" />

<ctl name="AIF1TX4 Input 3 Volume" value="32" />

<ctl name="AIF1TX4 Input 4 Volume" value="32" />

<ctl name="AIF1TX5 Input 1 Volume" value="32" />

<ctl name="AIF1TX5 Input 2 Volume" value="32" />

<ctl name="AIF1TX5 Input 3 Volume" value="32" />

<ctl name="AIF1TX5 Input 4 Volume" value="32" />

<ctl name="AIF1TX6 Input 1 Volume" value="32" />

<ctl name="AIF1TX6 Input 2 Volume" value="32" />

<ctl name="AIF1TX6 Input 3 Volume" value="32" />

<ctl name="AIF1TX6 Input 4 Volume" value="32" />

<ctl name="AIF1TX7 Input 1 Volume" value="32" />

<ctl name="AIF1TX7 Input 2 Volume" value="32" />

<ctl name="AIF1TX7 Input 3 Volume" value="32" />

<ctl name="AIF1TX7 Input 4 Volume" value="32" />

<ctl name="AIF1TX8 Input 1 Volume" value="32" />

<ctl name="AIF1TX8 Input 2 Volume" value="32" />

<ctl name="AIF1TX8 Input 3 Volume" value="32" />

<ctl name="AIF1TX8 Input 4 Volume" value="32" />

<ctl name="AIF2TX1 Input 1 Volume" value="32" />

<ctl name="AIF2TX1 Input 2 Volume" value="32" />

<ctl name="AIF2TX1 Input 3 Volume" value="32" />

<ctl name="AIF2TX1 Input 4 Volume" value="32" />

<ctl name="AIF2TX2 Input 1 Volume" value="32" />

<ctl name="AIF2TX2 Input 2 Volume" value="32" />

<ctl name="AIF2TX2 Input 3 Volume" value="32" />

<ctl name="AIF2TX2 Input 4 Volume" value="32" />

<ctl name="AIF3TX1 Input 1 Volume" value="32" />

<ctl name="AIF3TX1 Input 2 Volume" value="32" />

<ctl name="AIF3TX1 Input 3 Volume" value="32" />

<ctl name="AIF3TX1 Input 4 Volume" value="32" />

<ctl name="AIF3TX2 Input 1 Volume" value="32" />

<ctl name="AIF3TX2 Input 2 Volume" value="32" />

<ctl name="AIF3TX2 Input 3 Volume" value="32" />

<ctl name="AIF3TX2 Input 4 Volume" value="32" />

<ctl name="Input Ramp Up" value="8ms/6dB" />

<ctl name="RCV Switch" value="0" />

<ctl name="SPK Switch" value="0" />

<ctl name="HP Switch" value="0" />

<ctl name="VPS Switch" value="0" />

<ctl name="HDMI Switch" value="0" />

<ctl name="Main Mic Switch" value="0" />

<ctl name="Sub Mic Switch" value="0" />

<ctl name="3rd Mic Switch" value="0" />

<ctl name="Headset Mic Switch" value="0" />

<ctl name="AIF2 Mode" value="Master" />

<!-- Channels -->

<path name="channel-left">

<ctl name="AIF1TX1 Input 1" value="LHPF1" />

<ctl name="AIF1TX2 Input 1" value="LHPF1" />

<ctl name="ASRC1L Input" value="LHPF1" />

<ctl name="ASRC1R Input" value="LHPF1" />

</path>

<path name="channel-right">

<ctl name="AIF1TX1 Input 1" value="LHPF2" />

<ctl name="AIF1TX2 Input 1" value="LHPF2" />

<ctl name="ASRC1L Input" value="LHPF2" />

<ctl name="ASRC1R Input" value="LHPF2" />

</path>

<path name="channel-stereo">

<ctl name="AIF1TX1 Input 1" value="LHPF1" />

<ctl name="AIF1TX2 Input 1" value="LHPF2" />

<ctl name="ASRC1L Input" value="LHPF1" />

<ctl name="ASRC1R Input" value="LHPF2" />

</path>

<path name="channel-none">

<ctl name="AIF3TX1 Input 1" value="ASRC1L" />

<ctl name="AIF3TX2 Input 1" value="ASRC1R" />

<ctl name="ASRC1L Input" value="AIF1RX1" />

<ctl name="ASRC1R Input" value="AIF1RX2" />

</path>

<!-- Paths that roughly correspond to devices -->

<path name="speaker">

<ctl name="SPK Switch" value="1" />

</path>

<path name="earpiece">

<ctl name="RCV Switch" value="1" />

</path>

<path name="headphones">

<ctl name="HP Switch" value="1" />

</path>

<path name="sco-out">

<ctl name="AIF3TX1 Input 2" value="AIF2RX1" />

<ctl name="AIF3TX2 Input 2" value="AIF2RX2" />

</path>

<path name="dock">

<ctl name="VPS Switch" value="1" />

</path>

<path name="aux-digital">

<ctl name="HDMI Switch" value="1" />

</path>

<path name="aif2-stereo-mic">

<ctl name="AIF2TX1 Input 1" value="ASRC1L" />

<ctl name="AIF2TX2 Input 1" value="ASRC1R" />

</path>

<path name="builtin-mic">

<ctl name="Main Mic Switch" value="1" />

<ctl name="LHPF1 Input 1" value="IN1L" />

<ctl name="IN1L Volume" value="30" />

<ctl name="IN1L Digital Volume" value="150" />

</path>

<path name="back-mic">

<ctl name="Sub Mic Switch" value="1" />

<ctl name="LHPF2 Input 1" value="IN2L" />

<ctl name="IN2L Volume" value="30" />

<ctl name="IN2L Digital Volume" value="150" />

</path>

<path name="third-mic">

<ctl name="3rd Mic Switch" value="1" />

<ctl name="LHPF1 Input 1" value="IN2R" />

<ctl name="IN2R Volume" value="30" />

<ctl name="IN2R Digital Volume" value="150" />

</path>

<path name="headset-in">

<ctl name="Headset Mic Switch" value="1" />

<ctl name="HPOUT1L Input 3" value="None" />

<ctl name="HPOUT1R Input 3" value="None" />

<ctl name="LHPF1 Input 1" value="IN1R" />

<ctl name="IN1R Volume" value="30" />

<ctl name="IN1R Digital Volume" value="150" />

</path>

<path name="sco-in">

<ctl name="AIF2TX1 Input 2" value="AIF3RX1" />

<ctl name="AIF2TX2 Input 2" value="AIF3RX2" />

<ctl name="ASRC2L Input" value="AIF3RX1" />

<ctl name="ASRC2R Input" value="AIF3RX2" />

<ctl name="AIF2TX1 Input 1" value="None" />

<ctl name="AIF2TX2 Input 1" value="None" />

</path>

<!-- Paths used by HAL -->

<!-- Playback paths -->

<path name="voice-speaker">

<path name="speaker" />

<ctl name="AIF2 Mode" value="Slave" />

<ctl name="SPKOUTL Input 3" value="ASRC2L" />

</path>

<path name="voice-earpiece">

<path name="earpiece" />

<ctl name="AIF2 Mode" value="Slave" />

<ctl name="EPOUT Input 3" value="ASRC2L" />

</path>

<path name="voice-headphones">

<path name="headphones" />

<ctl name="AIF2 Mode" value="Slave" />

<ctl name="HPOUT1L Input 2" value="ASRC2L" />

<ctl name="HPOUT1R Input 2" value="ASRC2R" />

</path>

<path name="media-speaker">

<path name="speaker" />

</path>

<path name="media-earpiece">

<path name="earpiece" />

</path>

<path name="media-headphones">

<path name="headphones" />

</path>

<path name="voice-rec-speaker">

<path name="speaker" />

</path>

<path name="voice-rec-headphones">

<path name="headphones" />

</path>

<path name="communication-speaker">

<path name="speaker" />

</path>

<path name="communication-earpiece">

<path name="earpiece" />

</path>

<path name="communication-headphones">

<path name="headphones" />

</path>

<path name="speaker-and-headphones">

<path name="speaker" />

<path name="headphones" />

</path>

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

<path name="sco-out" />

<ctl name="AIF2 Mode" value="Slave" />

</path>

<!-- Capture paths -->

<path name="voice-main-mic">

<path name="channel-stereo" />

<path name="aif2-stereo-mic" />

<path name="builtin-mic" />

<path name="back-mic" />

</path>

<path name="voice-headset-mic">

<path name="channel-left" />

<path name="aif2-stereo-mic" />

<path name="headset-in" />

</path>

<path name="media-main-mic">

<path name="channel-left" />

<path name="aif2-stereo-mic" />

<path name="builtin-mic" />

</path>

<path name="media-second-mic">

<path name="channel-right" />

<path name="aif2-stereo-mic" />

<path name="back-mic" />

</path>

<path name="media-headset-mic">

<path name="channel-left" />

<path name="aif2-stereo-mic" />

<path name="headset-in" />

</path>

<path name="voice-rec-main-mic">

<path name="channel-left" />

<path name="aif2-stereo-mic" />

<path name="builtin-mic" />

</path>

<path na