50 ohm sound volume by default with normal headphones, possible?

kadyt

Member
Sep 30, 2019
49
4
8
What I want is to get the 50 ohm sound volume when I connect a normal headphone

I guess it could be done either:

- Setting the 50 ohms sound volume to the hi-fi value

- Or, that the 50 ohms value is the one that is always triggered, no matter what I connect (normal headphone, high impedance headphone or aux)

Please, has anybody been able to achieve any of these?

I think you need to mess up with the mixer_paths_tavil.xml file but I wans't able to achieve it

My phone is rooted if that makes a difference
 

ShadoV90

Senior Member
Mar 5, 2017
228
85
0
Legnica
You have two options:
1) Buy impedance adapter to set impedance of headphones to 50+ ohm

2) You're right. You can mess with audio_mixer_tavil.xml and this will set it.
Code:
<!-- ESS DAC START -->
    <path name="headphones-hifi-dac">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="1" />
    </path>

    <path name="headphones-hifi-dac-advanced">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="2" />
    </path>

    <path name="headphones-hifi-dac-aux">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="3" />
    </path>

    <path name="headphones-hifi-dac-44.1">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="1" />
    </path>

    <path name="headphones-hifi-dac-44.1-advanced">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="2" />
    </path>

    <path name="headphones-hifi-dac-44.1-aux">
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="3" />
    </path>

    <path name="headphones-hifi-dacdop">
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="1" />
    </path>

    <path name="headphones-hifi-dacdop-advanced">
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="2" />
    </path>

    <path name="headphones-hifi-dacdop-aux">
        <ctl name="Es9018 Master Volume" value="0" />
        <ctl name="Es9018 AVC Volume" value="0" />
        <ctl name="Es9018 HEADSET TYPE" value="3" />
    </path>
This will set analog gain to max with any jack connection.
Problem is, in android pie in stock system you will probably won't be able to modify any file in /vendor partition. It must be "replaced" with magisk module.

Next problem is that even with replaced file, stock system will load default file. To solve it you need to open terminal app and type:

su
killall audioserver

After that you will have properly reloaded file, and volume will be maxed, but unfortunately it needs to be applied after every reboot. Oreo is ok, pie is ****ed up. That's why i am using custom rom.