How to increase mic sensitivity - Moto Z Play Themes, Apps, and Mods

My Mic sensitivity is too low.
I spent too much efforts googling around for the solution without success, so I did it myself:
I'm trying out LineageOS now, but this could be applicable to other roms as well.
BEWARE, I don't know if this breaks something else !
Default values are 18, the maximum is 31, I set 25 and as far as I tested it, the person on the other end can hear me much better, recording app volume is higher, etc)
For a temporary solution, in Terminal Emulator I used tinymix:
su -l
tinymix (prints out all the parameters, I have IN1L at 25)
tinymix 25 (prints out the current value of the parameter 25, as well as its range (0-31))
then I set all 3 of them:
tinymix 25 25
tinymix 26 25
tinymix 27 25
For the permanent solution I modified /system/etc/mixer_paths_wcd9306.xml (as root, and after remounting /system in rw mode)
old values:
<ctl name="IN1L Volume" value="18" />
<ctl name="IN1R Volume" value="18" />
<ctl name="IN2L Volume" value="18" />
new values:
<ctl name="IN1L Volume" value="25" />
<ctl name="IN1R Volume" value="25" />
<ctl name="IN2L Volume" value="25" />
be careful to keep permission 644 and root:root as owner:group

Safe?

SupahCookie said:
Safe?
Click to expand...
Click to collapse
I can't tell, and I didn't dig through any of the source code, but as far as I know when audio is concerned, usually there are potential problems when dealing with the outputs and excessive currents to the speakers. But here we are dealing with a microphone, so the worse that can happen in my opinion is introducing a little distortion when I'm screaming near the mic.
I also played with IN1L Digital Volumes which also work (parameters from 35 to 38, default values 128, max values ~199)
But now I'm wondering: doesn't this phone have 3 microphones ?
I have only 1 mic working in Lineageos... when taking Videos, the audio is taken from the front mic. What the heck ?

Rob2800 said:
My Mic sensitivity is too low.
I spent too much efforts googling around for the solution without success, so I did it myself:
I'm trying out LineageOS now, but this could be applicable to other roms as well.
BEWARE, I don't know if this breaks something else !
Default values are 18, the maximum is 31, I set 25 and as far as I tested it, the person on the other end can hear me much better, recording app volume is higher, etc)
For a temporary solution, in Terminal Emulator I used tinymix:
su -l
tinymix (prints out all the parameters, I have IN1L at 25)
tinymix 25 (prints out the current value of the parameter 25, as well as its range (0-31))
then I set all 3 of them:
tinymix 25 25
tinymix 26 25
tinymix 27 25
For the permanent solution I modified /system/etc/mixer_paths_wcd9306.xml (as root, and after remounting /system in rw mode)
old values:
<ctl name="IN1L Volume" value="18" />
<ctl name="IN1R Volume" value="18" />
<ctl name="IN2L Volume" value="18" />
new values:
<ctl name="IN1L Volume" value="25" />
<ctl name="IN1R Volume" value="25" />
<ctl name="IN2L Volume" value="25" />
be careful to keep permission 644 and root:root as owner:group
Click to expand...
Click to collapse
Can't I find the route something is wrong?

Related

Dual Speaker Mod (G935T)

Features:
Activates the front facing (handset) speaker during media playback, enhancing audio quality.
Installation:
Have your phone on and plugged in to your computer. (It should be running G935TUVU4APIA, I haven't tested in other versions. Root needed.)
Download and extract the attached zip (Do this on a computer)
Run install.bat (Windows)
Restoring Previous Mixer Paths:
Same as above but run restore.bat instead of install.bat (The install script creates a backup)
More Information:
To Adjust Handset Volume:
Find the below lines:
Code:
<path name="spk-mono">
<ctl name="PRI_MI2S SampleRate" value="KHZ_48" />
<ctl name="SLIM_0_RX SampleRate" value="KHZ_48" />
<ctl name="One Stop Mode" value="Mono Left" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM RX0 MUX" value="AIF3_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX0" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX0 Digital Volume" value="[B]93[/B]" />
</path>
<path name="spk-mono-44.1">
<ctl name="PRI_MI2S SampleRate" value="KHZ_44P1" />
<ctl name="SLIM_0_RX SampleRate" value="KHZ_44P1" />
<ctl name="One Stop Mode" value="Mono Left" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM RX0 MUX" value="AIF3_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX0" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX0 Mix Digital Volume" value="[B]93[/B]" />
</path>
And change the bold numbers. (I would recommend values between 90 and 95)​
Disclaimer: I am not responsible if your phone breaks.
@zubi182 has a thread here for the international versions. This mod is based off of the verizon betas
Root needed?
Sent from my SM-G935U using Tapatalk
abbas78861 said:
Root needed?
Click to expand...
Click to collapse
Yes, you need root.
Does it have a static issue?
nitroevo said:
Does it have a static issue?
Click to expand...
Click to collapse
No, it does not have static.
Worth a try.
Just installed onto the latest Echoe ROM 1.5 with mixed results. It plays out of both speakers when playing the boot animation sound, and then system sounds (lock screen, notifications, ringtone, etc) play through both, but nothing else seems to work.
CaptainMorgan said:
Just installed onto the latest Echoe ROM 1.5 with mixed results. It plays out of both speakers when playing the boot animation sound, and then system sounds (lock screen, notifications, ringtone, etc) play through both, but nothing else seems to work.
Click to expand...
Click to collapse
Hmm. I'm using Echoe 1.4.1 and videos work but not from Youtube or music apps. But it does work... somewhat.
CaptainMorgan said:
Just installed onto the latest Echoe ROM 1.5 with mixed results. It plays out of both speakers when playing the boot animation sound, and then system sounds (lock screen, notifications, ringtone, etc) play through both, but nothing else seems to work.
Click to expand...
Click to collapse
Binary100100 said:
Hmm. I'm using Echoe 1.4.1 and videos work but not from Youtube or music apps. But it does work... somewhat.
Click to expand...
Click to collapse
It works for all audio for me. I'm running stock, but I don't think using a custom rom would be the problem. Could you try rebooting and not using the phone for five minutes first, that has been a problem occasional for me. I'm somewhat busy during the week, so I'll try to fix some things over the weekend.
(ps: VLC may work for music.)
Hello friend, install it and does not work, I set permissions are not equal to other files, you have to change the permissions? Thanks & best regards!
rubendario067 said:
Hello friend, install it and does not work, I set permissions are not equal to other files, you have to change the permissions? Thanks & best regards!
Click to expand...
Click to collapse
Do only some sounds work, or do none of the sounds come out of the handset speaker?
Just of make an installation clean of the rom, by the time when it turn on if sounds the speaker front, but YouTube does not.
rubendario067 said:
Just of make an installation clean of the rom, by the time when it turn on if sounds the speaker front, but YouTube does not.
Click to expand...
Click to collapse
Well then, I guess I'll be testing with the Echoe rom this weekend.
This ECHOE ?
http://forum.xda-developers.com/tmobile-s7-edge/development/echoe-rom-g935t-beta-t3440877
Seems to work for dual speaker. Anyway we can make it much louder?
This is awesome! Running this with PD8 on a standard S7 with the ECHOE rom.
*Also it even works with YouTube! Thank you!
Is there a possibility this could work on the AT&T variant?
EZ
qwewqa said:
Features:
Activates the front facing (handset) speaker during media playback, enhancing audio quality.
Installation:
Have your phone on and plugged in to your computer. (It should be running G935TUVU4APIA, I haven't tested in other versions. Root needed.)
Download and extract the attached zip (Do this on a computer)
Run install.bat (Windows)
Restoring Previous Mixer Paths:
Same as above but run restore.bat instead of install.bat (The install script creates a backup)
More Information:
To Adjust Handset Volume:
Find the below lines:
Code:
<path name="spk-mono">
<ctl name="PRI_MI2S SampleRate" value="KHZ_48" />
<ctl name="SLIM_0_RX SampleRate" value="KHZ_48" />
<ctl name="One Stop Mode" value="Mono Left" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM RX0 MUX" value="AIF3_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX0" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX0 Digital Volume" value="[B]93[/B]" />
</path>
<path name="spk-mono-44.1">
<ctl name="PRI_MI2S SampleRate" value="KHZ_44P1" />
<ctl name="SLIM_0_RX SampleRate" value="KHZ_44P1" />
<ctl name="One Stop Mode" value="Mono Left" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="SLIM RX0 MUX" value="AIF3_PB" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX0" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX0 Mix Digital Volume" value="[B]93[/B]" />
</path>
And change the bold numbers. (I would recommend values between 90 and 95)​
Disclaimer: I am not responsible if your phone breaks.
@zubi182 has a thread here for the international versions. This mod is based off of the verizon betas
Click to expand...
Click to collapse
Would this technically work on the flat S7?
ezwalker63 said:
Is there a possibility this could work on the AT&T variant?
EZ
Click to expand...
Click to collapse
You could try it, it should work, but I can't test
qwewqa said:
You could try it, it should work, but I can't test
Click to expand...
Click to collapse
Unfortunately, it didn't work. I'm running the Echoe ROM and the sound is only playing through the bottom speaker. I was really hoping it would work since there is hardly any development on the AT&T side....
EZ

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.

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