Hi, is there something mod to increase the volume of this tab? Ive switch on the xloud bout, i dont hear much difference I'm root.
Grettings
You could do it by yourself by editing the file "/system/etc/mixer_path.xml". After edit you might need to set file permission to 0644 and clear dalvik cache in recovery. Make backup of your original file though.
kulvertti said:
You could do it by yourself by editing the file "/system/etc/mixer_path.xml". After edit you might need to set file permission to 0644 and clear dalvik cache in recovery. Make backup of your original file though.
Click to expand...
Click to collapse
and which are those parameters that i have to change, i dont know so much, would you like to advice me?
rokrd1579 said:
and which are those parameters that i have to change, i dont know so much, would you like to advice me?
Click to expand...
Click to collapse
Depending what you want? Speakers or headphones. If I remember correctly these lines are for headphones:
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
And again if I remember correctly speakers are these lines:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
RX1 and RX7 are perhaps those that make differences but try yourself.
Remember to be careful because one can easily damage the hardware if increasing more than speakers can handle.
kulvertti said:
Depending what you want? Speakers or headphones. If I remember correctly these lines are for headphones:
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
And again if I remember correctly speakers are these lines:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
RX1 and RX7 are perhaps those that make differences but try yourself.
Remember to be careful because one can easily damage the hardware if increasing more than speakers can handle.
Click to expand...
Click to collapse
I have made the change and now is loud but when im recording a video i just can hear the sound of right speaker, that happen when i record a video from my tab :c
And if you go back to stock values what happens?
kulvertti said:
And if you go back to stock values what happens?
Click to expand...
Click to collapse
i cant get audio if i go back to stock i made something wrong i guess check this... is the original
This is the original mixer of my tab
rokrd1579 said:
i cant get audio if i go back to stock i made something wrong i guess check this... is the original
Click to expand...
Click to collapse
Do you have any other mods? Only differencies with your mixer_paths are that you have increased "RX1" from 82 to 100, RX2 from 82 to 100 and original file have "</mixer>" this line in the end of the file without quotes.
Related
Hello everyone. I use the Android 4.1.1 (HTC Desire X) and I want to reduce the maximum media volume permanently at about 75-80% of the current one... I have found many apps and settings but they reduce it temporarily... Any help?
Thanks in advance...
energeiakos said:
Hello everyone. I use the Android 4.1.1 (HTC Desire X) and I want to reduce the maximum media volume permanently at about 75-80% of the current one... I have found many apps and settings but they reduce it temporarily... Any help?
Thanks in advance...
Click to expand...
Click to collapse
Editing the mixer XML would do this.
And how can I do it?
From the root directory, go to /system/etc/mixer_paths.xml this file can break audio for you so please make a backup of the original before editing it, now you're going to be looking for something very similar or the same as I've pasted for example,
<path name="speaker">
<path name="fb-protection" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX3 Digital Volume" value="67" />
<ctl name="RX4 Digital Volume" value="67" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="4" />
<ctl name="SPK Amp CLK" value="On" />
</path>
For the lines that read RX3 Digital volume value and RX4 Digital volume value you'll be editing the values of those two lines. For example if I wanted a lower maximum volume I'd change both RX3 and RX4 from 67 to 66 for a lower 100% volume, the 67 will not be the same on your device however it'll be different from mine just so you don't use mine as an exact example, lastly make sure the permissions are good and the end result should be where you want it.
PS:You're going to need to edit this several times and reboot after each time to have the changes take effect.
Remember to listen for a comfortable volume level each time after editing so you don't make it too low. And last but not least, Goodluck!
---------- Post added at 04:58 PM ---------- Previous post was at 04:55 PM ----------
energeiakos said:
And how can I do it?
Click to expand...
Click to collapse
This is assuming that you're rooted of course. If you need any help just ask me, I can edit this file for you if aren't comfortable with doing it yourself.
This particular tutorial is for the phones speaker by the way, If your question is intended for headphone use that can be changed also.
Really, thank you for your help. But I cannot find the file mixer_paths.xml. I use root explorer and root browser, but it is nowhere in system/etc. Maybe it is a hidden file?
It may be elsewhere within your device, I'm not too familiar with the root directory of HTC devices.
Credit for this goes to @langeveld024, in this thread: http://forum.xda-developers.com/lg-g3/themes-apps/g3-t2936465
I've only modified and tested it for the Sprint LS990 version.
You need to be rooted, and use a root editor to modify the mixer_paths.xml file.
1. Make a backup of your existing file. You might want to make a nandroid backup so if something goes badly wrong you can recover easily.
2. In your root editor, search for the text string "speaker" (with the quote marks). You should find this path:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX3 Digital Volume" value="60" />
<ctl name="RX4 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="3" />
</path>
ABOVE the row <ctl name="RX3 Digital Volume" value="60" />
insert this line. I copied the existing RX3 Digital Volume row, pasted it, and changed RX3 to RX1.
<ctl name="RX1 Digital Volume" value="60" />
When complete, it should look like this:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="75" />
<ctl name="RX4 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="SPK Amp Volume" value="3" />
</path>
A couple of notes:
(1) Your values may be different than 60. I've edited my mixer_paths multiple times, and no longer remember what the original values are. If yours are different, you can leave them at your current settings.
(2) RX1 = the earpiece, RX3 = the rear speaker. I set the rear speaker louder to get better balance between the two when the phone is face up.
(3) The sound seems to still be mono, not stereo, but there's a noticeable improvement in the sound quality when viewing videos.
Finally, save the file. Make sure permissions are 0644 (rw-,r--,r--). And reboot.
@meyerweb
The top lines should be like this:
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RX1 MIX1 INP1" value="RX2" />
Then it will be stereo
---------- Post added at 09:44 AM ---------- Previous post was at 09:40 AM ----------
Oh and u might want to add some of these, IF present in headphone path:
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" /
Great find.
langeveld024 said:
@meyerweb
[/COLOR]Oh and u might want to add some of these, IF present in headphone path:
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="30" />
<ctl name="HPHR Volume" value="30" /
Click to expand...
Click to collapse
Can you explain what these do? Thanks!
meyerweb said:
Can you explain what these do? Thanks!
Click to expand...
Click to collapse
These will complete a proper configuration, but only if these line's are also found in the headphones path.
Cuz I pasted it from a note 4 path xD
I've made several surround sound mods for several device's (S5, xperia SP, LG G3, and put some time in others who wanna make it for LG G2 and note 4) and in almost every case some of these line's and maybe others may be needed for proper surround sound.
But it is very important to not copy my work by using line's found in some of my mods.
Every mod is device specific and therefore in every device may be other lines be used.
The base principal is the same for any device but it is very important to look in the headphones path and speaker-ear path. Use only those lines.
The lines I posted above are (as I said earlier this post) lines from a note 4, but may appear in ur stock headphones section or so.
The note 4 lines I posted as example will tell the earpiece to play better and louder and will help you to create real stereo effect. (At least, that's what I found out by trial and error)
If u want me to make an test version, send me the file and I'll look into it :thumbup:
Thanks. Attached my mixer_paths file. I haven't had time today to look into it and see if I have those lines or not.
langeveld024 said:
These will complete a proper configuration, but only if these line's are also found in the headphones path.
Cuz I pasted it from a note 4 path xD
I've made several surround sound mods for several device's (S5, xperia SP, LG G3, and put some time in others who wanna make it for LG G2 and note 4) and in almost every case some of these line's and maybe others may be needed for proper surround sound.
But it is very important to not copy my work by using line's found in some of my mods.
Every mod is device specific and therefore in every device may be other lines be used.
The base principal is the same for any device but it is very important to look in the headphones path and speaker-ear path. Use only those lines.
The lines I posted above are (as I said earlier this post) lines from a note 4, but may appear in ur stock headphones section or so.
The note 4 lines I posted as example will tell the earpiece to play better and louder and will help you to create real stereo effect. (At least, that's what I found out by trial and error)
If u want me to make an test version, send me the file and I'll look into it :thumbup:
Click to expand...
Click to collapse
Anyone have tihs working on ZV6? I am running stock ZV6 and cannot get this working. Tried editing myself and tried downloading one in post. It doesn't play anything out the front speaker.
You're on a rooted ZV6?
I'm using it on BarRin, which is a slimmed down ZV6, and it's working fine. Did you make sure permissions were set correctly after modding the file?
One more thought: Did you make only the changes in post #1, or did you also make the changes in post #2? I could never get those to work correctly.
Has anyone tested this on CM12?
Yes sorry assumed that I was rooted is implied to be even attempting this. I have only done post 1 mods, not trying to get stereo going. Permissions are correct, etc. It's not a big deal the increased sound level worked so that speaker by itself is much louder now anyway.
/etc/mixer_paths.xml is apparently related to TinyAlsa (https://stackoverflow.com/questions/26923301/understanding-mixer-paths-xml-in-android).
The file can be edited to reroute or alter audio. "adb root && adb remount && adb push mixer_paths.xml /etc/ && adb reboot"
The file starts with a series of default parameters. I assume each corresponds to a hardware/ALSA value or rounting preference.
XML:
<ctl name="Voice Rx Device Mute" id="0" value="0" />
"id" is used when multiple controls appear under the same name. It's like an indexing scheme.
<ctl name="Voip Mode Config" value="12" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM_0_TX Channels" value="One" />
Then there are a series of profiles, which override default parameters.
XML:
<path name="headphones">
...
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
<ctl name="COMP1 Switch" value="1" />
</path>
I observed that changed "RX1/2 Digital Volume" changed the output volume. "HPHL/R Volume" had no effect.
Some paths include an inner "path name=" tag. I assume this inherits settings.
XML:
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="78" />
<ctl name="RX2 Digital Volume" value="78" />
</path>
--------
Now the kicker... What do path names mean?
For example, "headphones" obviously means headphone port, and "speaker" means speakers.
However, there are literally hundreds of speaker, headphones, headsets, handsets, mic, sidetone-iir, tty, etc... How does Android choose which path to enable?
If I'm trying to decrease headphone volume (for earbuds), which settings do I have to change? "headphones" only, or some unknown set of options?
I noticed an interesting <path name="ADSP testfwk">... What could that mean?
A Google search took me to http://www.perkel.com/x/snd_soc_msm . Searching `snd_soc_msm` took me to https://android.googlesource.com/pl.../4765c43/libalsa-intf/snd_soc_msm/snd_soc_msm... The log link references "mako" (Nexus 4), not my Nexus 5X (this is the first commit the file appears). Additionally, the file is not available in "master" branch (replace the hex with master), as apparently libalsa was removed.
jimbo1qaz said:
/etc/mixer_paths.xml is apparently related to TinyAlsa (https://stackoverflow.com/questions/26923301/understanding-mixer-paths-xml-in-android).
The file can be edited to reroute or alter audio. "adb root && adb remount && push mixer_paths.xml /etc/"
The file starts with a series of default parameters. I assume each corresponds to a hardware/ALSA value or rounting preference.
XML:
<ctl name="Voice Rx Device Mute" id="0" value="0" />
"id" is used when multiple controls appear under the same name. It's like an indexing scheme.
<ctl name="Voip Mode Config" value="12" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM_0_TX Channels" value="One" />
Then there are a series of profiles, which override default parameters.
XML:
<path name="headphones">
...
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
<ctl name="COMP1 Switch" value="1" />
</path>
I observed that changed "RX1/2 Digital Volume" changed the output volume. "HPHL/R Volume" had no effect.
Some paths include an inner "path name=" tag. I assume this inherits settings.
XML:
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="78" />
<ctl name="RX2 Digital Volume" value="78" />
</path>
--------
Now the kicker... What do path names mean?
For example, "headphones" obviously means headphone port, and "speaker" means speakers.
However, there are literally hundreds of speaker, headphones, headsets, handsets, mic, sidetone-iir, tty, etc... How does Android choose which path to enable?
If I'm trying to decrease headphone volume (for earbuds), which settings do I have to change? "headphones" only, or some unknown set of options?
I noticed an interesting <path name="ADSP testfwk">... What could that mean?
A Google search took me to http://www.perkel.com/x/snd_soc_msm . Searching `snd_soc_msm` took me to https://android.googlesource.com/pl.../4765c43/libalsa-intf/snd_soc_msm/snd_soc_msm... The log link references "mako" (Nexus 4), not my Nexus 5X (this is the first commit the file appears). Additionally, the file is not available in "master" branch (replace the hex with master), as apparently libalsa was removed.
Click to expand...
Click to collapse
"headphones" only, or some unknown set of options?
---------
Yes change "headphones" only
<ctl name="RX1 Digital Volume" value="82" />
<ctl name="RX2 Digital Volume" value="82" />
I don't want people saying "change headphones only".
I'm a programmer. I want to know what the different options mean, which files in the Android source code associates different phone/call/Bluetooth states with different audio paths, and documentation on which paths are used/unused, and when.
Because I want proof that my ears won't get blown out when I get a call, or some app happens to output audio to the wrong path, etc.
Did you ever find any documentation on this? There seem to be many posts about changing this or that, but where are they getting the information from on exactly what is what?
sumade said:
Did you ever find any documentation on this? There seem to be many posts about changing this or that, but where are they getting the information from on exactly what is what?
Click to expand...
Click to collapse
https://github.com/CirrusLogic/tinyhal/blob/master/audio.example.xml
Are you running the stock global ROM and you've noticed that even at max volume the headphone jack output is too low? Here's how to fix it.
For some reason Xiaomi uses different mixer settings between global and China ROMs. The ones in China ROM give you substantially louder volume output.
Those settings are stored in 3 files:
/system/etc/mixer_paths.xml, /system/etc/mixer_paths_i2s.xml, and /system/etc/mixer_paths_tasha.xml (I think that only the last one is actually used by the system, but I didn't check it). To fix the audio volume problem you have to extract those files from the China ROM and overwrite the ones on your /system/ partition. Then you just need to reboot and done.
Here are those files from China stable ROM 8.1.3.0: https://drive.google.com/drive/folders/0B0LGcdBSjQjKeERFRmRuM0ZXSlU?usp=sharing
GREAT... thank you so mush
hcwdjk said:
Are you running the stock global ROM and you've noticed that even at max volume the headphone jack output is too low? Here's how to fix it.
For some reason Xiaomi uses different mixer settings between global and China ROMs. The ones in China ROM give you substantially louder volume output.
Those settings are stored in 3 files:
/system/etc/mixer_paths.xml, /system/etc/mixer_paths_i2s.xml, and /system/etc/mixer_paths_tasha.xml (I think that only the last one is actually used by the system, but I didn't check it). To fix the audio volume problem you have to extract those files from the China ROM and overwrite the ones on your /system/ partition. Then you just need to reboot and done.
Click to expand...
Click to collapse
i did it and now there is no sound at all, help me please
never mind, i fixed it. It woks great
This works for the Mi Max as well, albeit using a different filename.
felixmorillo said:
never mind, i fixed it. It woks great
Click to expand...
Click to collapse
how ? i don't have sound too
yorikkk said:
how ? i don't have sound too
Click to expand...
Click to collapse
Probably have to fix the permissions?
felixmorillo said:
never mind, i fixed it. It woks great
Click to expand...
Click to collapse
oreo27 said:
Probably have to fix the permissions?
Click to expand...
Click to collapse
did, no change
yorikkk said:
how ? i don't have sound too
Click to expand...
Click to collapse
i deleted the three files, i rebooted de phone then i move the new files to etc folder, i rebooted the phone and it worked
felixmorillo said:
i deleted the three files, i rebooted de phone then i move the new files to etc folder, i rebooted the phone and it worked
Click to expand...
Click to collapse
that works, thanks...
yorikkk said:
that works, thanks...
Click to expand...
Click to collapse
happy to help
I would actually like to do the opposite, lower the volume on ROMs different from the Global-Stable
Other ROMs I've tried (xiaomi.eu and CM based) increase the volume but also the background noise... At least on sensitive In-Ear monitors.
And CM14/Lineage even changes the sound in other ways, increasing the bass (yes, even with AudioFX "off").
I wish it wasn't so, I prefer the sound as unadultered as possible...
Its working. Thanks a lot
Could someone please upload the mixer_paths_tasha.xml file from the global stable ROM, I'd like to understand what changes are made from this to Xiaomi.eu and to CM/Lineage.
I was able to retrieve it from the ROM image.
It seems the differences are these, in the "headphone" mixer path:
Lines present in Global stable but not on Lineage:
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
Lines changed from Global stable to Lineage (below are the original Global Stable lines):
<ctl name="SLIM RX5 MUX" value="AIF4_PB" />
<ctl name="SLIM RX6 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX5" />
<ctl name="RX INT2_2 MUX" value="RX6" />
RX5 and RX6 become RX2 and RX3.
Changing these settings on the Lineage mixer paths file has an effect on sound, but it isn't consistent. Sometimes, volume and noise is lower (what I wanted), but sometimes it isn't. This with Spotify.
Pausing and resuming playing a song sometimes results in louder and sometimes in lower volume, so it seems it is not reading the setting all the time or consistently...
strikereg said:
I was able to retrieve it from the ROM image.
It seems the differences are these, in the "headphone" mixer path:
Lines present in Global stable but not on Lineage:
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
Lines changed from Global stable to Lineage (below are the original Global Stable lines):
<ctl name="SLIM RX5 MUX" value="AIF4_PB" />
<ctl name="SLIM RX6 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX5" />
<ctl name="RX INT2_2 MUX" value="RX6" />
RX5 and RX6 become RX2 and RX3.
Changing these settings on the Lineage mixer paths file has an effect on sound, but it isn't consistent. Sometimes, volume and noise is lower (what I wanted), but sometimes it isn't. This with Spotify.
Pausing and resuming playing a song sometimes results in louder and sometimes in lower volume, so it seems it is not reading the setting all the time or consistently...
Click to expand...
Click to collapse
I noticed similar changes between Global and China ROMs as well:
Code:
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11
strikereg said:
I was able to retrieve it from the ROM image.
It seems the differences are these, in the "headphone" mixer path:
Lines present in Global stable but not on Lineage:
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
Lines changed from Global stable to Lineage (below are the original Global Stable lines):
<ctl name="SLIM RX5 MUX" value="AIF4_PB" />
<ctl name="SLIM RX6 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<ctl name="RX INT1_2 MUX" value="RX5" />
<ctl name="RX INT2_2 MUX" value="RX6" />
RX5 and RX6 become RX2 and RX3.
Changing these settings on the Lineage mixer paths file has an effect on sound, but it isn't consistent. Sometimes, volume and noise is lower (what I wanted), but sometimes it isn't. This with Spotify.
Pausing and resuming playing a song sometimes results in louder and sometimes in lower volume, so it seems it is not reading the setting all the time or consistently...
Click to expand...
Click to collapse
But do you know which lines should change to make the speaker louder?
The <ctl name="HPHL Volume" value="11" /> only increase the headphones volume.
<ctl name="HPHR Volume" value="11" />
The difference is huge btw from Global to China rom.
Apexinioo said:
But do you know which lines should change to make the speaker louder?
The <ctl name="HPHL Volume" value="11" /> only increase the headphones volume.
<ctl name="HPHR Volume" value="11" />
The difference is huge btw from Global to China rom.
Click to expand...
Click to collapse
He simply compared the Global rom with the china ROM to spot the differences.
Can we use the files from the OP on the new Global Beta ROM, which is based on nougat? It's version 7.1.19
*KiD CuDi* said:
Can we use the files from the OP on the new Global Beta ROM, which is based on nougat? It's version 7.1.19
Click to expand...
Click to collapse
Try to compare the files first and see if there are any major differences.
Hey guys, I'm working on a headphone jack volume boosting magisk mod, and I'm trying to figure out which value corresponds to the headphone jack. On other phones, things were more obviously labelled, but I can't seem to figure this one out. I've attached the stock 'mixer_paths.xml' file to look through.
I'd really appreciate any help and insight you all may have.
To me lack of conformity with the volume of the headphones, I modified these lines I noticed a reasonable increase. <path name="headphones">
<ctl name="SLIM_5_RX Channels" value="Two"/>
<ctl name="ISRC2INT1 Input 1" value="SLIMRX5"/>
<ctl name="HPOUT1L Input 1" value="ISRC2INT1"/>
<ctl name="ISRC2INT2 Input 1" value="SLIMRX6"/>
<ctl name="HPOUT1R Input 1" value="ISRC2INT2"/>
<ctl name="HPOUT1 Digital Volume" id="0" value="130"/>
<ctl name="HPOUT1 Digital Volume" id="1" value="130"/>
<ctl name="HPOUT1 Digital Switch" id="0" value="1"/>
<ctl name="HPOUT1 Digital Switch" id="1" value="1"/>
</path>
<path name="line">
<path name="headphones"/>
<ctl name="HPOUT1 Digital Volume" id="0" value="130"/>
<ctl name="HPOUT1 Digital Volume" id="1" value="130"/>
---------- Post added at 09:50 AM ---------- Previous post was at 09:46 AM ----------
<path name="headphones">
<ctl name="SLIM_5_RX Channels" value="Two"/>
<ctl name="ISRC2INT1 Input 1" value="SLIMRX5"/>
<ctl name="HPOUT1L Input 1" value="ISRC2INT1"/>
<ctl name="ISRC2INT2 Input 1" value="SLIMRX6"/>
<ctl name="HPOUT1R Input 1" value="ISRC2INT2"/>
<ctl name="HPOUT1 Digital Volume" id="0" value="130"/>
<ctl name="HPOUT1 Digital Volume" id="1" value="130"/>
<ctl name="HPOUT1 Digital Switch" id="0" value="1"/>
<ctl name="HPOUT1 Digital Switch" id="1" value="1"/>
</path>
<path name="line">
<path name="headphones"/>
<ctl name="HPOUT1 Digital Volume" id="0" value="130"/>
<ctl name="HPOUT1 Digital Volume" id="1" value="130"/>
How did you save the file may I ask since it's read only even with superuser?
MirceaViP said:
How did you save the file may I ask since it's read only even with superuser?
Click to expand...
Click to collapse
I can edit the '/vendor/etc/mixer_paths.xml' with no problems with root access. I don't know what you are talking about.
viggy96 said:
I can edit the '/vendor/etc/mixer_paths.xml' with no problems with root access. I don't know what you are talking about.
Click to expand...
Click to collapse
I can't. Am trying something...hope I manage. I'm on Lineage OS Btw.
MirceaViP said:
I can't. Am trying something...hope I manage. I'm on Lineage OS Btw.
Click to expand...
Click to collapse
Same, I'm on Lineage OS 16, on the Moto X4. Using Magisk, I can get root access, and edit the file just fine. And now, the edits are persistent across updates, so I don't really need to develop this mod anymore.