[General Topics] Elements1984:
Hello :)

I had a look at your 2 screenshots and it seems your values are set really low, I wonder which Sony phone model you own, but let's get things changed ;)

On the second screenshot, go to the line number 10 for HPHL and line number 12 for HPHR, the value is set to 15 and you should change it to 20 for both (make sure you just change the value and don't erase a space by accident)

Now you have the optimal output for the amplifier. Next we will try to boost the RX values to get a bit more gain.

First of all, RX1 translates as the digital volume of the LEFT output (in this situation the left part of the headset), and RX2 is the right digital output. Therefore they should be set to the same level.

(If necessary, you can set the HPHL and HPHR to different values if your ears are unbalanced or your headset has a problem where it outputs the sound unequally on the 2 sides.)

Go to the line number 14 and 16 where you find RX1 and RX2 respectively. Here, you should change both RX values to 85 or even 86, save the file and put it in system/etc then reboot. Play a song that has a correct volume, not one which is lower than your other mp3s. Now if the sound is loud enough, you can stop here. If you wish to get it higher, try to change the RX1 and RX2 to higher levels, like 88 or 89 or even higher up to what seems loud enough for you or till you start to notice a quality loss.

So here you have managed to get the boost on your headset, you can apply the same to other parts of your device such as the speaker or the microphone if desired.

As for the master volume (if it exists), I assume it could be contained in the beginning (maybe in the first screenshot), but I can not tell for sure that it exists since I don't usually mess with that part. If you wish, try the first part that was explained above and save the file, make a backup of that file in another location in case you make a mistake and then you can start some experiments with the values on the beginning of your XML file. Here is what you could try:

- LINEOUT 1 till 4 is set at 13, you can try changing it to 20 and see if it makes a difference after you save and reboot.

- ADC 1 till 6 or 7 is set to 19, you can try changing it to 20 and see if you get an increase in the master sound after you save and reboot. There is no risk at trying, but I think 19 is the maximum value if I am not wrong, so going higher might cut your sound or decrease it.

Make sure you only change one thing at the time to be able to find out what is the master sound. Also if your sound stops, you will be able to know what value was wrong and set it back to it's previous value.

Important: If you changed a value and it didn't have any effect on the volume, it is important to change it back to it's original value, because the modified parameter might be related to another piece of hardware (microphone or bluetooth) which you will not notice it's not working until you need it (during a call, skyping or in your car).

If you wish to save a lot of time when experimenting, you can try a soft reboot instead of a normal reboot, it will be way faster and it should work just fine. There are some apps on the play store that can bring this option to your power off options. Alternatively, there is an xposed module which does the same if you're running KitKat, I believe xposed doesn't work on Lollipop the last time I heard, correct me if I am wrong ;)

I look forward to your feedback, especially regarding the master volume experiments, let me know if you found it and also tell me what Sony phone model you have.

If my answer was helpful, you can hit the thank you button :)