Adjusting max volume with root

I wanna modify volume behavior on a rooted Android device. Did anyone ever do this before? Any ideas?

The goal is to have media volume go up to 25 (instead of 15) mainly for Bluetooth but also for the main speaker. Obviously not to be used on audio that’s already recorded loud but sometimes it’s useful. If anyone ever did this or has an idea let me know

I noticed sometimes in MX Player on my timmkoo device, it lets you go louder than 15 on specific videos. Not sure how it works, something to do with the SW or HW audio encoding

I believe there is an option in build.prop (ro.config.media_vol_steps) to add more volume steps, I don’t know if that breaks up the volume into more steps or if it adds steps to the actual volume.

Saw that but I think it breaks it up. Didn’t try though

according to claude you should be able to edit system/etc/audio_config_volumes.xml or vendor/etc/audio_config_volumes.xml to raise the volume limit. Find the type of audio you want to change (e.g. stream is media and device is headset) and there should be a list of what the volume is (in dB) at what percentage (e.g. 33 percent volume will be -28dB) so just change the dB for 100 percent volume. here is an example of the layout for voice call volume over bluetooth (first number is percentage, second number is dB, 100=1dB so 33,-2800 is -28dB)

<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>

claude also mentioned other files that were possible to edit, but I’m curious to see about this one