Wednesday, 20 July 2016

[AOSP]_[Sound Boost] [MM 6.0.1+] [L720-L720T] Modified Sound Boost Flashable zip



Modified sound file for Marshmallow 6.0.1+ AOSP Based ROMs

I find that the Phone Speaker and Headphone volume is way too low for my preference so, I made flasable.zips of my modded snd_soc_msm_2x_Fusion3 file for CM13 Nightys so I didn't have to copy and paste my custom file every time I flashed a new nightly.

I only run CyanogenMod 13 so its only tested in CM13 but It should work in any AOSP Marshmallow ROM unless the file structure is different than CM.

Sound File is located in:
/system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3

Warning:
If the file structure does not have the same path then flashing this will break things


What is changed in this file?
Two Versions

Maximum (Highest without distortion)

Code:


SectionDevice
        Name "Speaker"
        Comment "Speaker Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:Two
        'RX5 MIX1 INP1':0:RX1
        'RX5 MIX1 INP2':0:RX2
        'RX6 DSM MUX':0:DSM_INV
        'LINEOUT2 Volume':1:83
        'LINEOUT4 Volume':1:83
        'RX5 Digital Volume':2:69.5%
    EndSequence

    DisableSequence
        'RX5 MIX1 INP1':0:ZERO
        'RX5 MIX1 INP2':0:ZERO
        'LINEOUT2 Volume':1:0
        'LINEOUT4 Volume':1:0
        'RX5 Digital Volume':1:0
    EndSequence

    ACDBID  15:1
    EffectsMixerCTL "SRS TruMedia"
    EC_REF_RXMixerCTL "SLIM_RX"

EndSection

SectionDevice
    Name "Speaker Extra Gain"
    Comment "Speaker Extra Gain Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:eek:ne
        'RX5 MIX1 INP1':0:RX1
        'RX5 MIX1 INP2':0:RX6
        'RX6 DSM MUX':0:DSM_INV
        'LINEOUT2 Volume':1:100
        'LINEOUT4 Volume':1:100
        'RX5 Digital Volume':2:67.7%
        'ES325 RX2 Enable':1:1
    EndSequence

AND

SectionDevice
        Name "Headphones"
        Comment "Headset Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:Two
        'RX1 MIX1 INP1':0:RX1
        'RX2 MIX1 INP1':0:RX2
        'HPHL DAC Switch':1:1
        'HPHR DAC Switch':1:1
        'HPHL Volume':1:100
        'HPHR Volume':1:100
        'RX1 Digital Volume':2:70%
        'RX2 Digital Volume':2:70%
        'COMP1 Switch':1:1
    EndSequence


Medium (Slightly boosted from Stock CM13)

Code:


SectionDevice
        Name "Speaker"
        Comment "Speaker Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:Two
        'RX5 MIX1 INP1':0:RX1
        'RX5 MIX1 INP2':0:RX2
        'RX6 DSM MUX':0:DSM_INV
        'LINEOUT2 Volume':1:83
        'LINEOUT4 Volume':1:83
        'RX5 Digital Volume':2:68.5%
    EndSequence

    DisableSequence
        'RX5 MIX1 INP1':0:ZERO
        'RX5 MIX1 INP2':0:ZERO
        'LINEOUT2 Volume':1:0
        'LINEOUT4 Volume':1:0
        'RX5 Digital Volume':1:0
    EndSequence

    ACDBID  15:1
    EffectsMixerCTL "SRS TruMedia"
    EC_REF_RXMixerCTL "SLIM_RX"

EndSection

SectionDevice
    Name "Speaker Extra Gain"
    Comment "Speaker Extra Gain Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:eek:ne
        'RX5 MIX1 INP1':0:RX1
        'RX5 MIX1 INP2':0:RX6
        'RX6 DSM MUX':0:DSM_INV
        'LINEOUT2 Volume':1:100
        'LINEOUT4 Volume':1:100
        'RX5 Digital Volume':2:68.5%
        'ES325 RX2 Enable':1:1
    EndSequence

AND

SectionDevice
        Name "Headphones"
        Comment "Headset Rx device"

    EnableSequence
        'SLIM_0_RX Channels':0:Two
        'RX1 MIX1 INP1':0:RX1
        'RX2 MIX1 INP1':0:RX2
        'HPHL DAC Switch':1:1
        'HPHR DAC Switch':1:1
        'HPHL Volume':1:100
        'HPHR Volume':1:100
        'RX1 Digital Volume':2:69%
        'RX2 Digital Volume':2:69%
        'COMP1 Switch':1:1
    EndSequence


If you have suggestions or you have found an issue please post below.

Cm13_max_snd-boost.zip

CM13_medium_snd-boost.zip



No comments:

Post a Comment