[OFFICIAL] LineageOS 18.1 for the Samsung Galaxy S4 (All QCOM Variants)

Search This thread

Achsel

Senior Member
Jan 17, 2007
69
36
@minoo14534: You can increase the volume values in the "/system/vendor/etc/mixer_paths.xml" at these positions by "try and error" (not tested by myself):

Volume for speaker:

<path name="speaker">
<path name="spk" />
<ctl name="LINEOUT2 Volume" value="8" />
<ctl name="LINEOUT4 Volume" value="8" />
<ctl name="RX5 Digital Volume" value="82" />

Volume for speaker-mic:

<path name="speaker-mic">
<path name="adc" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />

Volume for handset:

<path name="handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for handset-mic:

<path name="handset-mic">
<ctl name="Main Mic Delay" value="4" />
<ctl name="DEC3 Volume" value="105" />
<ctl name="DEC4 Volume" value="105" />

Volume for headphones:

<path name="headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 Digital Volume" value="76" />
<ctl name="RX2 Digital Volume" value="76" />

Volume for headset-mic:

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

Volume for voice-handset:

<path name="voice-handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for voice-handset-mic:

<path name="voice-handset-mic">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />

Volume for voice-speaker:

<path name="voice-speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="RX5 Digital Volume" value="84" />

Volume for voice-speaker-mic:

<path name="voice-speaker-mic">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />

Volume for voice-headphones:

<path name="voice-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />

Volume for voice-headset-mic:

<path name="voice-handset-mic">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="68" (S4 VE: "62") />

Volume for speaker and headphones:

<path name="speaker-and-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT2 Volume" value="8" />
<ctl name="LINEOUT4 Volume" value="8" />
<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />
<ctl name="RX5 Digital Volume" value="83" />

Volume for voip-handset-comm:

<path name="voip-handset-comm">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for voip-speaker-comm:

<path name="voip-speaker-comm">
<path name="spk" />
<ctl name="LINEOUT2 Volume" value="12" (S4 VE: "8") />
<ctl name="LINEOUT4 Volume" value="12" (S4 VE: "8") />
<ctl name="RX5 Digital Volume" value="84" />

Volume for voip-headset-comm:

<path name="voip-headset-comm">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />

Volume for voip-main-mic-comm:

<path name="voip-main-mic-comm">
<path name="adc3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="84" />

Volume for voip-sub-mic-comm:

<path name="voip-sub-mic-comm">
<path name="adc4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />

Volume for voip-headset-mic-comm:

<path name="voip-headset-mic-comm">
<path name="adc2" />
<ctl name="ADC2 Volume" value="3" />
<ctl name="DEC5 Volume" value="84" />

Volume for voice-rec-mic:

<path name="voice-rec-mic">
<path name="adc3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="88" />

Volume for tty-headphones:

<path name="tty-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />

Much luck!
 

minoo14534

Senior Member
May 14, 2019
50
13
Rojava Kurdistan
@minoo14534: You can increase the volume values in the "/system/vendor/etc/mixer_paths.xml" at these positions by "try and error" (not tested by myself):

Volume for speaker:

<path name="speaker">
<path name="spk" />
<ctl name="LINEOUT2 Volume" value="8" />
<ctl name="LINEOUT4 Volume" value="8" />
<ctl name="RX5 Digital Volume" value="82" />

Volume for speaker-mic:

<path name="speaker-mic">
<path name="adc" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />

Volume for handset:

<path name="handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for handset-mic:

<path name="handset-mic">
<ctl name="Main Mic Delay" value="4" />
<ctl name="DEC3 Volume" value="105" />
<ctl name="DEC4 Volume" value="105" />

Volume for headphones:

<path name="headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 Digital Volume" value="76" />
<ctl name="RX2 Digital Volume" value="76" />

Volume for headset-mic:

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

Volume for voice-handset:

<path name="voice-handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for voice-handset-mic:

<path name="voice-handset-mic">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />

Volume for voice-speaker:

<path name="voice-speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="RX5 Digital Volume" value="84" />

Volume for voice-speaker-mic:

<path name="voice-speaker-mic">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />

Volume for voice-headphones:

<path name="voice-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />

Volume for voice-headset-mic:

<path name="voice-handset-mic">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="68" (S4 VE: "62") />

Volume for speaker and headphones:

<path name="speaker-and-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT2 Volume" value="8" />
<ctl name="LINEOUT4 Volume" value="8" />
<ctl name="RX1 Digital Volume" value="74" />
<ctl name="RX2 Digital Volume" value="74" />
<ctl name="RX5 Digital Volume" value="83" />

Volume for voip-handset-comm:

<path name="voip-handset-comm">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="84" />

Volume for voip-speaker-comm:

<path name="voip-speaker-comm">
<path name="spk" />
<ctl name="LINEOUT2 Volume" value="12" (S4 VE: "8") />
<ctl name="LINEOUT4 Volume" value="12" (S4 VE: "8") />
<ctl name="RX5 Digital Volume" value="84" />

Volume for voip-headset-comm:

<path name="voip-headset-comm">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />

Volume for voip-main-mic-comm:

<path name="voip-main-mic-comm">
<path name="adc3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="84" />

Volume for voip-sub-mic-comm:

<path name="voip-sub-mic-comm">
<path name="adc4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />

Volume for voip-headset-mic-comm:

<path name="voip-headset-mic-comm">
<path name="adc2" />
<ctl name="ADC2 Volume" value="3" />
<ctl name="DEC5 Volume" value="84" />

Volume for voice-rec-mic:

<path name="voice-rec-mic">
<path name="adc3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="88" />

Volume for tty-headphones:

<path name="tty-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />

Much luck!
Hey Achsel
Thank you so much for your Information . At moment i am busy and i will try soon and give fadeback.

Thanks lot of
 
  • Like
Reactions: Achsel

minoo14534

Senior Member
May 14, 2019
50
13
Rojava Kurdistan
Mic Boost

Hello Achsel
Thank you for your guidance I have successfully changed the values.

The volume For me it is now optimal for recordings as well as the general volume of the headset loudspeakers and both microphones.


Many many thanks.


<path name="speaker">
<path name="spk" />
<ctl name="LINEOUT2 Volume" value="8" />
<ctl name="LINEOUT4 Volume" value="8" />
<ctl name="RX5 Digital Volume" value="88" />
</path>

<path name="speaker-mic">
<path name="adc4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="88" />
<ctl name="MICBIAS3 CAPLESS Switch" value="1" />
</path>

<path name="handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="88" />
</path>

<path name="handset-mic">
<ctl name="Main Mic Delay" value="4" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="112" />
<ctl name="SLIM TX8 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="108" />
<ctl name="MICBIAS1 CAPLESS Switch" value="1" />
<ctl name="MICBIAS3 CAPLESS Switch" value="1" />
</path>

<path name="dmic-endfire">
<path name="handset-mic" />
</path>

<path name="headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHR DAC Switch" value="1" />
<ctl name="HPHL Volume" value="12" />
<ctl name="HPHR Volume" value="12" />
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
<ctl name="COMP1 Switch" value="1" />
</path>

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

<path name="voice-handset">
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="ES325 RX2 Enable" value="1" />
</path>

<path name="voice-handset-mic">
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC4" />
<ctl name="DEC4 MUX" value="ADC3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="DEC4 Volume" value="84" />
<ctl name="SLIM TX8 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="MICBIAS3 CAPLESS Switch" value="1" />
<ctl name="TX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="TX4 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="TX5 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="ES325-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="4" />
<ctl name="ES325 TX1 Enable" value="1" />
<ctl name="ES325 2Mic Enable" value="1" />
</path>

<path name="voice-speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX5 MIX1 INP1" value="RX1" />
<ctl name="RX5 MIX1 INP2" value="RX6" />
<ctl name="RX6 DSM MUX" value="DSM_INV" />
<ctl name="RX4 MIX1 INP1" value="RX2" />
<ctl name="RX4 MIX1 INP2" value="RX7" />
<ctl name="RX4 DSM MUX" value="CIC_OUT" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="ES325 RX2 Enable" value="1" />
</path>

<path name="voice-speaker-mic">
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC2" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="SLIM TX8 MUX" value="DEC3" />
<ctl name="DEC2 MUX" value="ADC5" />
<ctl name="ADC5 Volume" value="3" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="MICBIAS3 CAPLESS Switch" value="1" />
<ctl name="MICBIAS4 CAPLESS Switch" value="1" />
<ctl name="TX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="TX4 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="TX5 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="ES325-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="3" />
<ctl name="ES325 TX1 Enable" value="1" />
<ctl name="ES325 2Mic Enable" value="1" />
</path>

<path name="voice-headphones">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP2" value="RX6" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX2 MIX1 INP2" value="RX7" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHR DAC Switch" value="1" />
<ctl name="HPHL Volume" value="8" />
<ctl name="HPHR Volume" value="8" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="RX2 Digital Volume" value="88" />
<ctl name="ES325 RX2 Enable" value="1" />
</path>

<path name="voice-headset-mic">
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="ES325-AP Tx Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC5"

/>

<ctl name="DEC5 MUX" value="ADC2" />

<ctl name="ADC2 Volume" value="3" />

<ctl name="DEC5 Volume" value="92" />

<ctl name="IIR1_INP1_MUX" value="DEC5" />

<ctl name="RX1 MIX1 INP3" value="IIR1" />

<ctl name="RX2 MIX2 INP1" value="IIR1" />

<ctl name="IIR1 INP1 Volume" value="68" />

<ctl name="Internal Route Config" value="0" />

<ctl name="ES325 TX1 Enable" value="1" />

</path>



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

<ctl name="SLIM_0_RX Channels" value="Two" />

<ctl name="RX5 MIX1 INP1" value="RX1" />

<ctl name="RX5 MIX1 INP2" value="RX2" />

<ctl name="RX6 DSM MUX" value="DSM_INV" />

<ctl name="LINEOUT2 Volume" value="8" />

<ctl name="LINEOUT4 Volume" value="8" />

<ctl name="RX5 Digital Volume" value="88" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RX2 MIX1 INP1" value="RX2" />

<ctl name="HPHL DAC Switch" value="1" />

<ctl name="HPHR DAC Switch" value="1" />

<ctl name="HPHL Volume" value="0" />

<ctl name="HPHR Volume" value="0" />

<ctl name="RX1 Digital Volume" value="82" />

<ctl name="RX2 Digital Volume" value="82" />

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

</path>



<path name="voip-handset-comm">

<ctl name="SLIM_0_RX Channels" value="One" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RX1 MIX1 INP2" value="RX6" />

<ctl name="EAR PA Gain" value="POS_6_DB" />

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

<ctl name="RX1 Digital Volume" value="88" />

</path>



<path name="voip-speaker-comm">

<path name="spk" />

<ctl name="LINEOUT2 Volume" value="12" />

<ctl name="LINEOUT4 Volume" value="12" />

<ctl name="RX5 Digital Volume" value="84" />

</path>



<path name="voip-headset-comm">

<ctl name="SLIM_0_RX Channels" value="Two" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RX2 MIX1 INP1" value="RX2" />

<ctl name="HPHL DAC Switch" value="1" />

<ctl name="HPHR DAC Switch" value="1" />

<ctl name="RX1 Digital Volume" value="88" />

<ctl name="RX2 Digital Volume" value="84" />

<ctl name="HPHL Volume" value="12" />

<ctl name="HPHR Volume" value="12" />

</path>



<path name="voip-main-mic-comm">

<path name="adc3" />

<ctl name="ADC3 Volume" value="3" />

<ctl name="DEC4 Volume" value="88" />

</path>



<path name="voip-sub-mic-comm">

<path name="adc4" />

<ctl name="ADC4 Volume" value="3" />

<ctl name="DEC3 Volume" value="88" />

<ctl name="MICBIAS3 CAPLESS Switch" value="1" />

</path>



<path name="voip-headset-mic-comm">

<path name="adc2" />

<ctl name="ADC2 Volume" value="3" />

<ctl name="DEC5 Volume" value="88" />

</path>



<path name="hdmi">

</path>



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

<path name="speaker" />

<path name="hdmi" />

</path>



<path name="usb-headphones">

</path>



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

<path name="speaker" />

<path name="usb-headphones" />

</path>



<path name="afe-proxy">

</path>



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

<path name="adc3" />

<ctl name="ADC3 Volume" value="3" />

<ctl name="DEC4 Volume" value="94" />

</path>



<path name="camcorder-mic">

<path name="handset-mic" />

</path>



<path name="hdmi-mic">

<ctl name="SLIM_0_TX Channels" value="One" />

</path>



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

</path>



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

</path>



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

</path>



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

</path>



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

</path>



<!-- TTY devices -->

<path name="tty-headphones">

<ctl name="SLIM_0_RX Channels" value="Two" />

<ctl name="RX1 MIX1 INP1" value="RX1" />

<ctl name="RX1 MIX1 INP2" value="RX6" />

<ctl name="RX2 MIX1 INP1" value="RX2" />

<ctl name="RX2 MIX1 INP2" value="RX7" />

<ctl name="HPHL DAC Switch" value="1" />

<ctl name="HPHR DAC Switch" value="1" />

<ctl name="HPHL Volume" value="12" />

<ctl name="HPHR Volume" value="12" />

<ctl name="RX1 Digital Volume" value="88" />

<ctl name="RX2 Digital Volume" value="88" />

<ctl name="Internal Route Config" value="6" />

<ctl name="ES325 RX2 Enable" value="1" />

</path>
 

Retrial

Recognized Contributor & Translator
Jun 10, 2015
2,128
5,014
Athens
Samsung Galaxy S4
Xiaomi Poco F1

Senko7699

Member
Jan 20, 2022
25
3
Check my S4 Ultimate Collection & Guides, I have a GApps section there which you can find all working GApps. Make sure you have selected the proper Android version of the package and to be ARM.

Also if you are using TWRP, use the latest Official version.
LineageOS recovery also working fine.
Thank you i tried both recoveries.
Will try to update to the latest version as you suggested.
Tho would definitely love to install lineage 19.1.
Also quite interesting that the only supported gapps version is MindTheGapps
 

Retrial

Recognized Contributor & Translator
Jun 10, 2015
2,128
5,014
Athens
Samsung Galaxy S4
Xiaomi Poco F1
Thank you i tried both recoveries.
Will try to update to the latest version as you suggested.
Tho would definitely love to install lineage 19.1.
Also quite interesting that the only supported gapps version is MindTheGapps
19.1 is only available as Optimized LineageOS by side.
It has some issues here and there but mostly working fine.

MindTheGApps is not the only supported version. Look my collection as I said above.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    lineage-os-logo.png

    Samsung Galaxy S4

    Code:
    - Your warranty is now void.
    - You have been warned.
    - Use at your own risk.

    Introduction:
    This is the Official Lineage OS 18.1 thread for all Galaxy S4 variants.

    Downloads:
    Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.
    • jactivelte (GT-I9295)
    • jflteatt (SGH-I337) - Please note you will need to be on bootloader I337UCUAMDB or I337UCUAMDL
    • jfltespr (SCH-R970/C/X, SPH-L720)
    • jfltevzw (SCH-I545) - Please note you need to be on bootloader I545VRUSMDK
    • jfltexx (GT-I9505, SGH-I337M, SGH-M919) - NOTE: GT-I9505G is supported in this build, but due to system size space limitations it will not fit any form of GApps package.
    • jfvelte (GT-I9515/L)

    If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

    Known Bugs:
    • MHL doesn't work after LineageOS 14.1, and likely never will again, as Google dropped support for it platform-wide in AOSP.
    • Find any? Report them according to this guide.
    Notes:
    • The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.
    Kernel Source: https://github.com/LineageOS/android_kernel_samsung_jf
    13
    As @npjohnson said...even my builds seems to work fine, they simply "bypass" some new, Android 12 stuff because our old device can't support.

    Go to data usage, via settings, and check any application data usage. Let's say Chrome. Regardless how much u use the Chrome, the data usage seems zero. That's the problem.

    I personally consider and respect the fact that lineageos wouldn't ship a build which includes a hacky thing that bypasses those network related stuff. This feature is a big change on Android platform, hence, I understand why LineageOS insist on a fix on this

    tl;dr, as nolen said, the problem is on the kernel side and since jf can't have that backported change (I won't mess with it personally), the solutions are 2.

    1. Someone will mess with jf kernel and will backport ebpf (as lineage page says so)

    2. We will restore iptables back. This is my approach and I will personally work on it too. Fixing this will help many legacy device come back but trust me... It's really hard to bring it back
    8
    VoLTE will never work on the S4, or the S5.

    These are from early VoLTE generations - in which there was no even semi-standard method to do it. Samsung and LG both stuffed it into the frameworks side java code and it's hopeless - there are too many subsystems working together on the stock ROM we just can't reverse engineer and tie together on LineageOS.
    6
    There is available 19.1 for S4 by @side so the story doesn't end up here.
    However, tbh LineageOS team shouldn't be so strict with legacy devices to get the tag Official. These devices are old now and needs some "hacks" in order to work which LineageOS team doesn't approve.
    Side is one of us. He's aware of the constraints lol.

    It's not "strict" - the "workaround" people keep linking LITERALLY just ignores the error - data restrictions, data management, and routing in general will always be 100% broken - and that will never be considered "working" - if someone makes that stuff properly work, even if tacky, we're no opposed - just that the current stuff isn't even a hack, it's just "ignore what's broken".
    6
    thanks for response and support
    This issue is now fixed. You will need to sideload the upcoming build by hand to get back on track though.

    Sorry for the inconveniences.