[Guide][Root] Activating Quad DAC control panel on AOSP roms - LG V50 ThinQ Guides, News, & Discussion

So, I read from the V40 Telegram group that it was a way to activate the DAC panel for AOSP roms. I run Havoc GSI on my Sprint LG V50, rooted and bootloader unlocked and it turns on DAC and indeed does put the panel up. I can't control the gain but I can control everything else. I thought I'd share what I had to do. You guys can test it and let others know for future knowledge. You have to be rooted.
Browse
Code:
/vendor/etc/mixer_paths_tavil.xml
Replace these lines
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="2" />
</path>
After you make these changes, save it and restart your phone. You should be able to add the tile by adding it within the settings.

lowridincrew said:
So, I read from the V40 Telegram group that it was a way to activate the DAC panel for AOSP roms. I run Havoc GSI on my Sprint LG V50, rooted and bootloader unlocked and it turns on DAC and indeed does put the panel up. I can't control the gain but I can control everything else. I thought I'd share what I had to do. You guys can test it and let others know for future knowledge. You have to be rooted.
...
.
Click to expand...
Click to collapse
Thanks for this. Is the Havoc GSI stable? Does everything work?

lallolu said:
Thanks for this. Is the Havoc GSI stable? Does everything work?
Click to expand...
Click to collapse
Hey sorry I'm late it was Havoc GSI. It works great. The only issues I've had was the Google Maps resolution is wonky and the I had a issue to where it was recording a lot of static

lowridincrew said:
Hey sorry I'm late it was Havoc GSI. It works great. The only issues I've had was the Google Maps resolution is wonky and the I had a issue to where it was recording a lot of static
Click to expand...
Click to collapse
Thanks for the reply. Good to know that GSI will save the day if there are no custom ROMs and LG has stopped updating the phone.

Related

low volume through headphones etc

The max volume on op5t through headphones or bluetooth speakers is not quiet as loud as my previous phones was. I tried several sound apps from playstore but nothing worked. A few years back on my samsung s4 i was able to edit some kind of volume file in system to increase the volume.
Does anyone know apps/modules or a way to modify this "volume" file?
Use a root explorer to open system/etc/mixer_paths_tasha.xml and look towards the bottom for the following.
Code:
<path name="headphones">
<ctl name="SLIM RX2 MUX" value="AIF4_PB" />
<ctl name="SLIM RX3 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected],2017/3/14,use 24bits to get rid of 16bits innate noise -->
<ctl name="SLIM_6_RX Format" value="S24_LE" />
<!-- #endif VENDOR_EDIT-->
<ctl name= "RX INT1_2 MUX" value="RX2" />
<ctl name= "RX INT2_2 MUX" value="RX3" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT2 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX1 Mix Digital Volume" value="78" />
<ctl name="RX2 Mix Digital Volume" value="78" />
</path>
Change the RX1 and RX2 Mix Digital values to your liking. I have mine set at 84 and have not tested higher because there is no need. I love volume and it is more than ample for me.
....or you could just flash a custom kernel that supports sound control and make the necessary adjustments that way. These work for wired headphones, not bluetooth.
One thing to remember, anytime you flash an update you will have to go back and edit the mixer_paths_tasha.xml
Dazed No More said:
Use a root explorer to open system/etc/mixer_paths_tasha.xml and look towards the bottom for the following.
Change the RX1 and RX2 Mix Digital values to your liking. I have mine set at 84 and have not tested higher because there is no need. I love volume and it is more than ample for me.
....or you could just flash a custom kernel that supports sound control and make the necessary adjustments that way. These work for wired headphones, not bluetooth.
One thing to remember, anytime you flash an update you will have to go back and edit the mixer_paths_tasha.xml
Click to expand...
Click to collapse
In oos ob2 there isnt such file.. does it have an other Method?
janis_dschi said:
In oos ob2 there isnt such file.. does it have an other Method?
Click to expand...
Click to collapse
Im not familiar with OB2 but the 8.1 custom roms all have that file in /vendor/etc, try there. If not you can flash a kernel that has sound control and use a kernel manager to increase the headphone gain.
Dazed No More said:
Im not familiar with OB2 but the 8.1 custom roms all have that file in /vendor/etc, try there. If not you can flash a kernel that has sound control and use a kernel manager to increase the headphone gain.
Click to expand...
Click to collapse
When i edit mixer_paths_tasha.xml on codename phoenix 8.1 rom it doesnt work. But on aicp 8.1 it works?? Do you have any clue why?
janis_dschi said:
When i edit mixer_paths_tasha.xml on codename phoenix 8.1 rom it doesnt work. But on aicp 8.1 it works?? Do you have any clue why?
Click to expand...
Click to collapse
It should work. You might have to mount vendor or root directory "/" to RW, I had to do this on the unofficial RR in order to save the file. On Codename Phoenix have you checked the values to see fi they did indeed save as what you changed them to?
It works but the volume steps that are added arent increasing the volume. 1/4 of the last steps are the same volume. I also have a custom kernel with volume support but this doesnt help on Bluetooth devices.. do you know any bluetooth increaser or a file to edit bluetooth volume?
I checked several times. It saved
any help with this? I checked this and did it but haven't helped... in my case the audio is fine some times, but other times, especially after i get a call or instagram plays audio, the audio of my phone decides to be incredibly low and I have no idea how to fix it... restarting the phone does nothing

Raising in call volume fix

Firstly, thanks to the person/persons who discovered this little mod and shared it with others. Am sharing this here and on the MODS page as not sure which is the right one.
For me one of the most important things about a phone is the in call quality and volume.. I've always had this particular problem with most phones I used, except the classic and honorable BB Z30 which probably still has the best in call quality (my own opinion) . Even custom ROM's (I've tried many) have never addressed this issue so in case anyone still uses the Redmi 5 Plus and are not aware, I'd like to share a fix I found elsewhere and edited to my liking. My daily driver is the Xenon HD ROM (to me the best ROM I've ever used on any phone that it was developed for) with Android Pie but it might also work on Oreo.
The normal mono speaker on this phone is the best I've experienced, aside from Samsung S6 Edge Plus and although the in call speaker is fine it does not quite reach the volume I desire so below is the edited part of the 'mixer_paths_mtp.xml' found on /SYSTEM/VENDOR/ETC'. You'll find it towards the bottom of the file.
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="92" />
<ctl name="EAR PA Gain" value="POS_8_DB" />
<ctl name="EAR_S" value="Switch" />
</path>
The lines that are important are:
<ctl name="RX1 Digital Volume" value="92" />
<ctl name="EAR PA Gain" value="POS_8_DB" />
So after various attempts I found the optimum levels for me (RX1 Digital Volume Value=92 & EAR PA Gain value=8) Not all ears are the same so you may need to edit to your liking.
Hope this helps anyone out there
This is the thread where I found the suggested fix:
https://forum.xda-developers.com/mi...earpiece-speaker-volume-xiaomi-t3797082/page2

In call volume *FIX*

Firstly, thanks to the person/persons who discovered this little mod and shared it with others. Am sharing this here and on the DISCUSSION page as not sure which is the right one.
For me one of the most important things about a phone is the in call quality and volume.. I've always had this particular problem with most phones I used, except the classic and honorable BB Z30 which probably still has the best in call quality (my own opinion) . Even custom ROM's (I've tried many) have never addressed this issue so in case anyone still uses the Redmi 5 Plus and are not aware, I'd like to share a fix I found elsewhere and edited to my liking. My daily driver is the Xenon HD ROM (to me the best ROM I've ever used on any phone that it was developed for) with Android Pie but it might also work on Oreo.
The normal mono speaker on this phone is the best I've experienced, aside from Samsung S6 Edge Plus and although the in call speaker is fine it does not quite reach the volume I desire so below is the edited part of the 'mixer_paths_mtp.xml' found on /SYSTEM/VENDOR/ETC'. You'll find it towards the bottom of the file.
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="92" />
<ctl name="EAR PA Gain" value="POS_8_DB" />
<ctl name="EAR_S" value="Switch" />
</path>
The lines that are important are:
<ctl name="RX1 Digital Volume" value="92" />
<ctl name="EAR PA Gain" value="POS_8_DB" />
So after various attempts I found the optimum levels for me (RX1 Digital Volume Value=92 & EAR PA Gain value=8) Not all ears are the same so you may need to edit to your liking.
Hope this helps anyone out there
This is the thread where I found the suggested fix:
https://forum.xda-developers.com/mi...earpiece-speaker-volume-xiaomi-t3797082/page2
After changes set permssion 755 and flash latest fw ...reboot
Can you tell me what and where exactly I have to set the 755 permissions and what is fw ...reboot and can you please give a link of the file. Thanks.

[MAGISK MODULE] Handset (earpiece) incall volume increase - Mi A2 Lite

Hi,
The incall volume on the handset (earpiece volume) is very low after Pie update so I created a Magisk module to fix this.
I'm sharing it here.
What I did:
In all the mixer_paths....xml files from \system\vendor\etc I changed:
<mixer>
"RX1 Digital Volume" value="84" to 96
<path name="handset">
"RX1 Digital Volume" value="84" /> to 96
"EAR PA Gain" value="POS_8_DB" to POS_8_DB
Note: modding only mixer_paths.xml didn't work so I modified all the mixer_paths files...and it worked:
mixer_paths.xml
mixer_paths_mtp.xml
mixer_paths_mtp_global.xml
mixer_paths_qrd_sku3.xml
mixer_paths_qrd_skuh.xml
mixer_paths_qrd_skuhf.xml
mixer_paths_qrd_skui.xml
mixer_paths_qrd_skum.xml
mixer_paths_qrd_skun.xml
mixer_paths_skuk.xml
mixer_paths_wcd9306.xml
mixer_paths_wcd9326.xml
mixer_paths_wcd9330.xml
mixer_paths_wcd9335.xml
PS: Tested on latest Pie v10.0.16.0.
Thank You ❤
So does this only increase the volume of calls during headset or from the device itself? Sorry, I'm not sure about this.
Is increasing the phone earpiece volume during cals.
mbgheban said:
<mixer>
"RX1 Digital Volume" value="84" to 96
<path name="handset">
"RX1 Digital Volume" value="84" /> to 96
"EAR PA Gain" value="POS_8_DB" to POS_8_DB
Click to expand...
Click to collapse
Thank you mbgheban
I was looking for a way to boost the mic volume system-wide, so I piggy-backed off your tweaks and set all my "RX* Digital Volume" values to 96, and all my "DEC* Volume" values to 96 too under <mixer>. It'll probably distort loud sounds like I had with my Redmi 2, but I personally find it a worthwhile compromise.
EDIT: Sorry, actually misunderstood original intention of your mod. Sorry for semi-hijacking your thread. By the way, the correct XML is mixer_paths_mtp_global.xml (at least, it is in my case, running stock ROM v10.0.17)

How to increase speakerphone volume

I'm writing this because I searched many times with google, but I haven't found literally anywhere how to do it, not even a hint.
Everything as ROOT.
First I used the command tinymix, I found the parameter 233 is the right one:
233 INT 1 AIF1TX1 Input 1 Volume 0
"tinymix 233" gives the current value: 32
Then I played with the values, to increase from the default 32:
tinymix 233 36
Something between 36 and 38 looks good to me,
so to make the change permanent I edited /system/etc/mixer_paths_wcd9306.xml
from line 869:
<path name="voice-speaker">
<path name="speaker" />
</path>
became:
<path name="voice-speaker">
<path name="speaker" />
<ctl name="AIF1TX1 Input 1 Volume" value="36" />
</path>
As far as I understand, by default "voice-speaker" inherits "speaker" values; with the added line I override the default, but only for the speakerphone, leaving the other defaults unchanged.
And since I was already playing with mixer_paths, I fixed another problem I've had for years, LOL
Moto Z Play has 3 microphones, but when recording videos the camcorder app uses the front facing one, the same you use on a phone call.
The camcorder app should use the rear mic, catching sounds coming from the scene you are recording.
From my tests, mic1 is the default front mic, mic2 is the upper mic, mic3 is the rear mic.
So, look around line 930
<path name="camcorder-mic">
<path name="speaker-mic" />
</path>
speaker-mic is prevoiusly defined as mic1, but I want mic3:
<path name="camcorder-mic">
<path name="mic3" />
</path>
Hello members of the forum! Tell me please, help or rather with the problem: when you call and turn on the speakerphone, the interlocutor practically does not hear me or the sound just gurgles. Where to dig? Which file to open and make changes?
Thanks in advance.

Categories

Resources