Galaxy S7 (and S7 Edge) easy headphone volume hack *root* Tested on SM-G935F Exonys - Samsung Galaxy S7 Themes, Apps, and Mods

For those that just want more headphone volume without the hassle of installing Viper4Android, this is an easy mod that takes literally a minute. The stock S7 (and edge) headphone volume output is very low, especially if you are trying to power larger studio type headphones.
1: Root your device (I used the Chainfire method)
2: You must have a file explorer with root folder access (I used Solid Explorer)
3: Navigate to System > Etc > mixer_gains.xml
4: Important .... take a backup or copy of mixer_gains.xml in case something gets screwed up or you wish to go back to stock volume in the future
5: Edit the following lines in the file under <path name="gain-media-headset"> as below (note, I have changed these values from the original post as these work better)
<ctl name="HPOUT1L Impedance Volume" value="110" />
<ctl name="HPOUT1R Impedance Volume" value="110" />
<ctl name="HPOUT1L Input 1 Volume" value="95" />
<ctl name="HPOUT1R Input 1 Volume" value="95" />
6: Save file and reboot.
This significantly increases headphone output without distortion, although if you do push it too high it will naturally overload the DAC. You can decrease the numbers in the lines above if you think it is too loud. I have tested this on Poweramp, MX Video Player and Spotify and it works perfectly. This does not affect the operation of system EQ's like sound alive.
Please leave thanks if you found this useful to you.
Keith

works great with poweramp, thanks for the this!!
Sent from my SM-G930F using Tapatalk

hey keith
kradcliffe said:
For those that just want more headphone volume without the hassle of installing Viper4Android, this is an easy mod that takes literally a minute. The stock S7 (and edge) headphone volume output is very low, especially if you are trying to power larger studio type headphones.
1: Root your device (I used the Chainfire method)
2: You must have a file explorer with root folder access (I used Solid Explorer)
3: Navigate to System > Etc > mixer_gains.xml
4: Important .... take a backup or copy of mixer_gains.xml in case something gets screwed up or you wish to go back to stock volume in the future
5: Edit the following lines in the file under <path name="gain-media-headset"> as below
<ctl name="HPOUT1L Impedance Volume" value="120" />
<ctl name="HPOUT1R Impedance Volume" value="120" />
<ctl name="HPOUT1L Input 1 Volume" value="55" />
<ctl name="HPOUT1R Input 1 Volume" value="55" />
6: Save file and reboot.
This significantly increases headphone output without distortion, although if you do push it too high it will naturally overload the DAC. You can decrease the numbers in the lines above if you think it is too loud. I have tested this on Poweramp, MX Video Player and Spotify and it works perfectly. This does not affect the operation of system EQ's like sound alive.
Please leave thanks if you found this useful to you.
Keith
Click to expand...
Click to collapse
Hey keith thanks brother. I will giv that a shot in the am.. i do really appreciate it homeboy. I'lllet you know how it sounds. specially if I screwed up. lol thanks

Thats look great
Do u have same method for bluetooth headset sound increase volume ?

abunhyan said:
Thats look great
Do u have same method for bluetooth headset sound increase volume ?
Click to expand...
Click to collapse
I haven't any BT devices so I haven't had a look. You could try increasing these values and see what happens.
<path name="gain-media-bt-sco-headset">
<ctl name="AIF3TX1 Input 1 Volume" value="32" />
<ctl name="AIF3TX2 Input 1 Volume" value="32" />
</path>
<path name="gain-media-speaker-bt-sco-headset">
<ctl name="AIF4TX1 Input 1 Volume" value="32" />
<ctl name="AIF4TX2 Input 1 Volume" value="32" />
<ctl name="AIF3TX1 Input 1 Volume" value="32" />
<ctl name="AIF3TX2 Input 1 Volume" value="32" />
</path>

kradcliffe said:
For those that just want more headphone volume without the hassle of installing Viper4Android, this is an easy mod that takes literally a minute. The stock S7 (and edge) headphone volume output is very low, especially if you are trying to power larger studio type headphones.
1: Root your device (I used the Chainfire method)
2: You must have a file explorer with root folder access (I used Solid Explorer)
3: Navigate to System > Etc > mixer_gains.xml
4: Important .... take a backup or copy of mixer_gains.xml in case something gets screwed up or you wish to go back to stock volume in the future
5: Edit the following lines in the file under <path name="gain-media-headset"> as below
<ctl name="HPOUT1L Impedance Volume" value="120" />
<ctl name="HPOUT1R Impedance Volume" value="120" />
<ctl name="HPOUT1L Input 1 Volume" value="55" />
<ctl name="HPOUT1R Input 1 Volume" value="55" />
6: Save file and reboot.
This significantly increases headphone output without distortion, although if you do push it too high it will naturally overload the DAC. You can decrease the numbers in the lines above if you think it is too loud. I have tested this on Poweramp, MX Video Player and Spotify and it works perfectly. This does not affect the operation of system EQ's like sound alive.
Please leave thanks if you found this useful to you.
Keith
Click to expand...
Click to collapse
Hi. Thanks for this I been looking everywhere

Good job :good::good::good:. I'm really happy, thank you.

Nice
Works perfectly thank you so much!

Is there a difference between this and Sound MOD by ZuBi182?

Deadeye* said:
Is there a difference between this and Sound MOD by ZuBi182?
Click to expand...
Click to collapse
This is purely for the headphone volume. The other one changes many other settings as well and you have to push it with TWRP. This can be done with root only.

The XML files from ZuBi's thread can be extacted and copied in the same way. No need for TWRP.

Be careful with that. I tried exactly the same thing. Device wouldn't boot and was stuck on Samsung logo.
Had to flash the unmodified files with TWRP to get the device back.

kradcliffe said:
Be careful with that. I tried exactly the same thing. Device wouldn't boot and was stuck on Samsung logo.
Had to flash the unmodified files with TWRP to get the device back.
Click to expand...
Click to collapse
When you extract the files and copy is necessary to change the permissions or you have this problem.

Do you edit the files in the phone or on the computer? Which program are you using to edit the XML files directly in the phone?

As stated above, I used Solid Explorer text editor on the phone, although any text editor will work. You can also copy the file to your PC, modify there then put back to the phone.
Just make sure the permissions are the same for the returned file or the device won't boot. They should be -rw-r-r
Keith

thanks
Work greet thanks!

kradcliffe said:
4: Important .... take a backup or copy of mixer_gains.xml in case something gets screwed up or you wish to go back to stock volume in the future
5: Edit the following lines in the file under <path name="gain-media-headset"> as below
<ctl name="HPOUT1L Impedance Volume" value="120" />
<ctl name="HPOUT1R Impedance Volume" value="120" />
<ctl name="HPOUT1L Input 1 Volume" value="55" />
<ctl name="HPOUT1R Input 1 Volume" value="55" />
Click to expand...
Click to collapse
Great info. However I'd like to add a bit of further information:
1) For easy reference, the default values on my phone are 105,105,32,32.
2) The second pair of numbers ("Input 1 Volume") appear to be the digital volume control, i.e. sets the output level of the DAC. It accepts values up to 95. Any value above 95 is ignored and treated as 1. The settings appear to be linear (i.e. 64 is twice as loud as 32).
3) The first pair of numbers ("Impedance Volume") appear to be the analogue gain control, i.e. sets the analogue amplification applied after the DAC output. The values are highly non-linear (115 is more than twice as loud as 105).
4) Adjusting the digital control (Input 1 volume) does not cause any appreciable change in distortion or noise and I would recommend increasing this to maximum (95)
5) Adjusting the analogue control (Impedance volume) drastically increases noise, background hiss, and distortion. Even increasing this a tiny bit (e.g. from 105 to 108) causes there to be a constantly audible background hiss. I would recommend against changing this at all if it can be avoided, unless you have particularly insensitive cans.
Personally, mine's set to 105,105,95,95. That's just below the level needed to max out the DAC and the analogue amp, without the huge increase in noise you get from the 120 setting in the OP.

Wish I knew how to do it

it works well on my phone no problem I edit everything correctly
---------- Post added at 01:47 PM ---------- Previous post was at 01:16 PM ----------
ime95mos said:
Do you edit the files in the phone or on the computer? Which program are you using to edit the XML files directly in the phone?
Click to expand...
Click to collapse
on the phone use Soild Explorer and set 95,95,80,80 that works for me great great

So what are the values to enable dual speakers?

Related

[NEW] Increase 700/701 Headphone Volume

Ok folks, as you know, the headphone volume could use a little higher output than we have right now. Especially for those of us "rockers"!
So, this little edit will increase the volume to a more desired level. Thanks to ZeroInfinity for the conversation.
Warning! I'm not responsible if you blast your eardrums out, or damage your headphones/earbuds. You do this at your own risk.
That said, your tab should have the following.
A. Rooted
B. /system write privileges
C. A good file explorer (ES File Explorer for example)
Open your file explorer and go to the following folder: /System/etc
Find the file "nvaudio_conf.xml
Open in the built in editor
Scroll down the file about 70 or so lines and you will see the following section;
Code:
<path>
<!-- playback paths-->
<ctl name="DRC Switch" val="1"/>
<ctl name="HPF Mode" val="Hi-fi"/>
<ctl name="Speaker Volume" val="0x39"/>
<ctl name="Headphone Volume" val="0x30"/>
<!-- capture paths-->
<ctl name="Left Input PGA Volume" val="0x1C"/>
<ctl name="Right Input PGA Volume" val="0x1C"/>
</path>
Gee, what's that???
<ctl name="Headphone Volume" val="0x30"/>
Here's the hard part.
Change that 0x30 to a 0x36
This relates to a value from 48 to a new 54.
Save your file, close your file explorer, and reboot.
Blast your eardrums out! :laugh::laugh::laugh:
You can also do this with the external speakers, but I'd be careful with them. Acer isn't known for using quality speakers
EDIT: Use this chart for a Hexdecimal conversion
Cheers!
(don't forget the Thanks button).
Way cool!!!!!
Awesome, MD!
I think we could the volume of the external speakers as well, like you said, but only for a small percentage.
TomONeill said:
Awesome, MD!
I think we could the volume of the external speakers as well, like you said, but only for a small percentage.
Click to expand...
Click to collapse
You should be able to. Note you will probably have to tweak each ext speaker setting in the file. Seems there are multiple entries depending on app.
I would advise only increasing by 1 step though and see how it behaves. I've seen speakers go bad on the 50x tabs on a normal basis!
Also, if you're running my de-odexed rom, or have de-odexed your STOCK rom, I have a 30 step volume mode that really helps. Stock setting is 15 steps.
Thanks for tuto. I changed speakers to 0x42 and after reboot the audio stopped (only for speakers) so i changed to 0x39 again.
I try with playerpro, basic media, streaming audio.... and nothing audio One fue speakers
chivopsycho said:
Thanks for tuto. I changed speakers to 0x42 and after reboot the audio stopped (only for speakers) so i changed to 0x39 again.
I try with playerpro, basic media, streaming audio.... and nothing audio One fue speakers
Click to expand...
Click to collapse
Probably Acer has a limiter in one of the config files. Will have to take a look.
yeah, up to eleven! \m/

Archos 50 diamond increase headphone volume

I have an Archos 50 Diamond.
There is a way to increase the headphone volume output. Of course you have to be rooted. You not only have to change the "mixer_paths.xml" as described in many posts on the internet but ALL the "mixer_paths" files. There are 7 of those “mixer_paths” files. Otherwise, no change will occur.
First: make a back-up of those files so that you don’t screw anything.
I made the following changes to the Headphone Volume:
<ctl name="HPHL Volume" value="x" />. "x" was 9 and now "x" is 20
<ctl name="HPHR Volume" value="x" />. "x" was 9 and now "x" is 20
Except for the mixer_paths_wcd9306.xml file. The original value was already 20.
You also have to change the RX1 and RX2 Digital Headphone Output Volumes.
<ctl name="RX1 Digital Volume" value="x" />. "x" was 84 and now "x" is 95.
<ctl name="RX2 Digital Volume" value="x" />. "x" was 84 and now "x" is 95.
This results in a good Headphone Volume with no distortion.

Increase your earphones sounds [BY ADDING SOME LINES]

SONY HAVE ADDED SOME LIMITER TO THE EARPHONES SOUND SO THIS PROCESS WILL HELP U INCREASE THE LIMITER
PRECAUTIONS
#Save your stock Mixer.path.xml which is used here...
#try this only if you are on stock sound
#In case something goes wrong just replace it and sorry its not working for you
Steps
Step 1. Go into system /etc/ mixer.path.xml
Step 2. Open that file
Step 3.find this lines
<path name="headphones">
<path name="headphones-lite" />
<ctl name="COMP1 Switch" value="1" />
<ctl name="HPHL Volume" value="11" />
<ctl name="HPHR Volume" value="11" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
</path>
Step 4. Increase the volume by increasing value of Rx1 And Rx2
Step 5. U can increase max at 99 and my suggestion will be 88 or 90 not more than that..
Stpe 6. Save this file
how about speaker?
i really ****ed with that, i don't know any notification even that's an incoming call
Nah default is just best.. Because for few day u will think u are king of the world but some time speaker will start screening like its get braked up... And u have replaced it.. I had replacd mine
Grajatyadav said:
Nah default is just best.. Because for few day u will think u are king of the world but some time speaker will start screening like its get braked up... And u have replaced it.. I had replacd mine
Click to expand...
Click to collapse
What do you mean? I cannot hear anything when my phone is inside of my pocket

[MOD][FIX][July/09/2016] OnePlus 3 Audio Mods

** Added Mono + Disable Camera NS
What is this?
This post is a collection of all the audio related mods I have created from the OnePlus 3. The mods so far are: Mono surround sound, Camcorder Mic Gain, Cam Mic Gain plus Mono Surround sound, and various Camera recording tests. The cam disable NS is the latest for fixing the noise suppression on video recordings. If you have a request, then make it here and I'll try to make it if I can.
Various Mod Explanations
What is it?***Mono Surround***
This mod will activate you front earpiece speaker in conjunction with the bottom main speaker any time Speaker mode is used for example playing music, watching movies, shows, you tube and so on, creating an almost surround sound type of effect. This will not effect notifications because that is a different setting that I don't really care about.
Mono Surround Sound
This version plays all audio through one channel. This basically means that you now have 2 mono speakers. Fair Warning, I find the sound very underwhelming. WARNING: MESSING WITH YOUR EQ WILL ALSO EFFECT THE EARPIECE. IT COULD POTENTIALLY BLOW IT OUT IF YOU INCREASE THE VOLUME OR BASS TOO MUCH
Camcorder Mic Gain
This version increases the microphone gain for the audio recorded through the camcorder only. I did this as a workaround for the way too aggressive noise cancellation that happens. This won't fix the problem but hopefully make it more bearable. If I find a better way to fix this, I will update this mod.
Camcorder Mic Fix Test 1
This version uses a different stereo microphone path to record audio for the camcorder. This is a test and I don't know if it's better than stock or not. Please test and use the poll so I can see if its working or not
Camcorder Disable NS v4
V1: This version attempts to disable the noise suppression for the camcorder in the audio_platform_info.xml.
V2: It also increases the mic gain by 12db for the camcorder only on CM
V3: switches to stereo recording for CM
V4: Increases gain for OOS by 12 db
Prerequisites and installation instructions
MUST be rooted
MUST be on CM (OOS is untested)
MUST have TWRP installed
Flash one of the zips below
reboot
This mod modifies the mixer_path_tasha.xml in the /system/etc folder. I have only tested this on CM13. I don't guarantee it will work for your rom, because this is based off Blisspop rom. Although the worst that'll happen is you'll lose sound and mic. If you do lose sound, flash the revert zip to restore your original file. In a worst case scenario where you messed up the permissions and are in a bootloop, dirty flash your rom.
DIY
Background:
OnePlus is using deep buffering for their audio processing to conserve battery life. If you want to disable deep buffering, go to your build.prop and edit this line to false
Note: Changing this will change the sound mapping in the mixer_paths_tasha
Code:
audio.deep_buffer.media=true
audio_platform_info.xml
Speaker is referenced as "quat_i2s" with the interface "SLIMBUS_0_RX"
mixer_paths_tasha.xml
Audio playback for music
Code:
<path name="deep-buffer-playback quat_i2s">
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
Audio playback for notifications
Code:
<path name="low-latency-playback quat_i2s">
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
Note: If deep buffering is enabled, all sound will go through the low latency playback path.
Mono Surround Sound
Code:
<path name="deep-buffer-playback quat_i2s">
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_8_DB" />
<ctl name="RX0 Digital Volume" value="95" />
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
To change the volume of the earpiece for audio playback, change RX0 Digital Volume to a value from 1 to 128. Anything above 95 might be dangerous
To disable the speaker and only use the earpiece for audio playback, delete the line <ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
Earpiece Volume
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_6_DB" />
</path>
To modify the earpiece volume for anything that uses the earpiece for output add the line inside the path and modify the volume to your liking from 1 to 128
Code:
<ctl name="RX0 Digital Volume" value="95" />
to this path
Earpiece Mic
Code:
<path name="handset-mic">
<path name="adc4" />
</path>
Add the following line inside the path and change the value to your liking from 1 to 124 where 84 is the default. Each increase by 1 corresponds to 1db of gain.
Code:
<ctl name="DEC4 Volume" value="84" />
Headphones Volume
This might be the headphones path that is being used but I haven't tested it.
Code:
<path name="headphones">
<ctl name="SLIM RX5 MUX" value="AIF4_PB" />
<ctl name="SLIM RX6 MUX" value="AIF4_PB" />
<ctl name="SLIM_6_RX Channels" value="Two" />
<!-- #ifdef VENDOR_EDIT-->
<!-- [email protected],2016/4/7,use 24bits to get rid of 16bits innate noise -->
<ctl name="SLIM_0_RX Format" value="S24_LE" />
<!-- #endif VENDOR_EDIT-->
<ctl name="RX INT1_2 MUX" value="RX5" />
<ctl name="RX INT2_2 MUX" value="RX6" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT2 DEM MUX" value="CLSH_DSM_OUT" />
<!-- #ifdef VENDOR_EDIT -->
<!-- /*[email protected] , 2016/02/19, add for hw require*/ -->
<ctl name="HPHL Volume" value="19" />
<ctl name="HPHR Volume" value="19" />
<!-- #endif -->
</path>
Feel free to play around with the volume values
Adjusting Camera Mic Volume
This is only if you have flashed the disable NS Camera Fix
Code:
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
<!-- #ifdef VENDOR_EDIT -->
<!-- /*[email protected] , 2016/04/19, mic power high level mode and add adc volume*/ -->
<ctl name="ADC4 Volume" value="11" />
<ctl name="ADC5 Volume" value="11" />
<ctl name="AMIC_3_4 PWR MODE" value="HIGH_PERF" />
<ctl name="AMIC_5_6 PWR MODE" value="HIGH_PERF" />
<ctl name="DEC4 Volume" value="96" />
<ctl name="DEC5 Volume" value="96" />
<!-- #endif -->
</path>
DEC4 and DEC5 correspond to different channels. If you want to increase the gain equally, adjust DEC4 and DEC5 volume to whatever you like. 84 is the default value which means 0db gain. Each increment by 1 indicates a 1db gain for the corresponding channel. DEC volume ranges from 1 to 124.
Credits
All credits go to @chdloc for disabling the noise suppression and @mhoppi for testing
Flashable Zips are below
@abhi08638 I request your help to find out the handset mic values and handset speaker values (not earpiece), as I couldn't find them similar to many others mixer_paths.XML files which I have been modifying for several of my Android devices like OPO, OPT, Mi3 etc. Basically I want to increase the speaker and mic volumes of the phone. Can you just point me in the right direction? Already checked the mixer_path_tasha.xml but couldn't find anything! TIA.
@abhi08638 well nice to see you on op3 development
I will test ur mods on OOS and report u asap.
@abhi08638 is there a way to turn DOWN overall volume? I work in an office and even the lowest volume is quite high... Thanks!
Can u make Dolby atmos mod for op3
HatRiGt said:
Can u make Dolby atmos mod for op3
Click to expand...
Click to collapse
did you try the latest test zip from dolby atmos thread in android software development forum?
I can confirm that mono mod is working perfectly on my OP3 with Viper and extremebeats...!!
Thanks a lot for this mod..!!
Joyo-rocker said:
I can confirm that mono mod is working perfectly on my OP3 with Viper and extremebeats...!!
Thanks a lot for this mod..!!
Click to expand...
Click to collapse
which viper package did you use? i tried to install but i causes my OP3 won't boot up
The zips work fine on oxygen os. Thanks abhi!
Works great wit op3lite rom 3.1.3...awsome effort bro..thnks..?
lowest speaker volume too loud
kristofpetho said:
@abhi08638 is there a way to turn DOWN overall volume? I work in an office and even the lowest volume is quite high... Thanks!
Click to expand...
Click to collapse
I would appreciate more choices in lower speaker volumes as well. The lowest speaker volume is too loud for 90% of the environments/situations I operate in. thanks for considering it,
mweis said:
which viper package did you use? i tried to install but i causes my OP3 won't boot up
Click to expand...
Click to collapse
Just flash the zip from xtrememusic audio mod.
Google it or search on XDA.
The viper package comes along it...!
http://forum.xda-developers.com/android/software/mod-beatsaudio-e-xloud-installer-t3029951
There's the link..!
srvoleti said:
@abhi08638 I request your help to find out the handset mic values and handset speaker values (not earpiece), as I couldn't find them similar to many others mixer_paths.XML files which I have been modifying for several of my Android devices like OPO, OPT, Mi3 etc. Basically I want to increase the speaker and mic volumes of the phone. Can you just point me in the right direction? Already checked the mixer_path_tasha.xml but couldn't find anything! TIA.
Click to expand...
Click to collapse
This mixer paths is very odd, I don't know how to change the speaker volume since there is only an enable/disable option for speaker sounds. Ex: there's a different value for speaker notifications than audio playback because onePlus is using deep buffering to increase battery life. I'll look more into it and update the OP detailing the values and what they correspond to later today.
As for the handset, the handset is defined as the earpiece and there is conflict with the handset and speaker paths since they both use slimbus 0 for the path. The mic values are always tx values since they stand for transmit. The handset uses adc4 and if you want to control the mic gain you would have to do something like adc4 volume=20 inside the path of the handset mic or the mix part itself. I usually only make new paths and replace the old ones with the new paths just so I have a reference point.
kristofpetho said:
@abhi08638 is there a way to turn DOWN overall volume? I work in an office and even the lowest volume is quite high... Thanks!
Click to expand...
Click to collapse
HorstDCC said:
I would appreciate more choices in lower speaker volumes as well. The lowest speaker volume is too loud for 90% of the environments/situations I operate in. thanks for considering it,
Click to expand...
Click to collapse
Sorry guys but I don't know how yet, I'll keep trying though. The only thing I would be able to do at this point is to route all audio to the earpiece since its Max volume is lower and configurable.
On a side note I tried getting stereo sound to work but this is extremely difficult since it is not a normal mixer file. I'll keep trying it have no guarantees
Many thanks for your explanation @abhi08638.
abhi08638 said:
Sorry guys but I don't know how yet, I'll keep trying though. The only thing I would be able to do at this point is to route all audio to the earpiece since its Max volume is lower and configurable.
Click to expand...
Click to collapse
So turning down the earpiece volume is possible? How can i do that? Its to loud for me on the lowest level in stock.
bencozzy said:
Looks like the are using multiple mixed paths to control audio outputs have you tried changed volume in mixer path i2s?
Click to expand...
Click to collapse
I don't know if that would work since I don't even have that file on CM. I only have mixer_paths_tasha.xml, if you post it ill try seeing if I can get CM to load it and see if that works
Kreet said:
So turning down the earpiece volume is possible? How can i do that? Its to loud for me on the lowest level in stock.
Click to expand...
Click to collapse
I'll be posting a diy guide this week, Max 3 to 4 days because I'm very busy atm
abhi08638 said:
Camcorder Mic Gain
This version increases the microphone gain for the audio recorded through the camcorder only. I did this as a workaround for the way too aggressive noise cancellation that happens. This won't fix the problem but hopefully make it more bearable. If I find a better way to fix this, I will update this mod.
Click to expand...
Click to collapse
I have not been able to locate a sample of the camcorder audio produced by the Oneplus 3, but it sounds like it suffers from the same problem as the Nexus 5, for which I've come up with an effective workaround. I'm guessing the same can be done for the Oneplus 3.
As a first step, I suggest you try this.
Edit: Depending on what software you are running you may need to play around with another device, i.e. SND_DEVICE_IN_SPEAKER_STEREO_DMIC (produces a stereo recording), instead of SND_DEVICE_IN_CAMCORDER_MIC (produces a mono recording) and assign different numbers to acdb_id. Note that I found the acdb_id for the Nexus 5 by looking at the audio HAL sources (hardware/qcom/audio/hal/msm8974/platform.c, see here for the Oneplus 3) and trial-and-error.
chdloc said:
I have not been able to locate a sample of the camcorder audio produced by the Oneplus 3, but it sounds like it suffers from the same problem as the Nexus 5, for which I've come up with an effective workaround. I'm guessing the same can be done for the Oneplus 3.
As a first step, I suggest you try this.
Click to expand...
Click to collapse
Thanks ill be sure to look into this
abhi08638 said:
I don't know if that would work since I don't even have that file on CM. I only have mixer_paths_tasha.xml, if you post it ill try seeing if I can get CM to load it and see if that works
I'll be posting a diy guide this week, Max 3 to 4 days because I'm very busy atm
Click to expand...
Click to collapse
That would be great, thank you.
DeeZZ_NuuZZ said:
did you try the latest test zip from dolby atmos thread in android software development forum?
Click to expand...
Click to collapse
I just flashed the latest Dolby Atmos I released, but it isnt working. Also i found the deep buffer zip puts us in a boot loop.

use rear microphone as default for call

hi, my pixel's main microphone is not working.. but the rear mic can be used.. can someone help me on how to edit mixer_path.xml, to change from bottom mic to rear mic.. thanks..
Good idea, tried to understand the file mixer_paths.xml located in /vendor/etc but i couldn't (unfortunately).
Mine doesn't have this issue but hope i can help, will continue trying.
Edit1:
Try changing:
<!-- Phone SPK TX 3rdEC5 16dB, 2ndEC6 16dB, 1stEC7 16dB,-->
<path name="voice-speaker-mic">
<path name="triple-mic" />
<ctl name="DEC5 Volume" value="100" />
<ctl name="DEC6 Volume" value="100" />
<ctl name="DEC7 Volume" value="100" />
</path>
Click to expand...
Click to collapse
To
<!-- Phone SPK TX 3rdEC5 16dB, 2ndEC6 16dB, 1stEC7 16dB,-->
<path name="voice-speaker-mic">
<path name="dmic1" />
<ctl name="DEC7 Volume" value="100" />
</path>
Click to expand...
Click to collapse
(I didn't test, please report)
Edit2:
I am new with the Pixel, and i don't know how to edit files inside /vendor, tried with TWRP, making a Magisk module and manually with no success, don't know how u usually edit system files here (stock rom).
But if you figure out how to do so these changes will "theorically" swap the call mic to the voice recording mic.
moonlightdrive said:
Good idea, tried to understand the file mixer_paths.xml located in /vendor/etc but i couldn't (unfortunately).
Mine doesn't have this issue but hope i can help, will continue trying.
Edit1:
Try changing:
To
(I didn't test, please report)
Edit2:
I am new with the Pixel, and i don't know how to edit files inside /vendor, tried with TWRP, making a Magisk module and manually with no success, don't know how u usually edit system files here (stock rom).
But if you figure out how to do so these changes will "theorically" swap the call mic to the voice recording mic.
Click to expand...
Click to collapse
on oreo and pie, editing file in /vendor/etc will result the value to revert back to its default.. so, i stay on nougat for the time being and not use any tasker or create my own magisk module.. i found the line to swap bottom mic to use top mic but it causes other caller to hear themselves while calling..
so, in short;
1. microphone works but it only use rear mic (if you use voice recording app with multiple sources for recording, select main mic as source, it will use rear mic because its already swapped as main mic)
2. whatsapp voice message and audio recording works but you may have to talk to rear mic or talk louder
3. call works but other caller may heard themselves..
here are the line in mixer_path.xml in /system/etc/
find these codes and change dmic1 to dmic3 and DEC7 to DEC6
Code:
<!-- TX Main-mic D:4 dB -->
<path name="handset-mic">
<path name="dmic1" />
<ctl name="DEC7 Volume" value="88" />
</path>
<!-- VR MIC 1st D:22 dB -->
<path name="voice-rec-mic">
<path name="dmic1" />
<ctl name="DEC7 Volume" value="106" />
</path>
<!-- Unprocessed MIC 1st D:2 dB -->
<path name="unprocessed-mic">
<path name="dmic1" />
<ctl name="DEC7 Volume" value="86" />
</path>
and find this line in build.prop, change it from fluence or fluence pro to none;
Code:
ro.qc.sdk.audio.fluencetype=none
Great you could solve it!!, It will be helpful for lot of people.
Did you try to apply some air pressure with compressed air inside the mic "hole / notch" near the charging port? Some users reported it works, because the mic's diaphragm gets stuck and doing this will release it.
moonlightdrive said:
Great you could solve it!!, It will be helpful for lot of people.
Did you try to apply some air pressure with compressed air inside the mic "hole / notch" near the charging port? Some users reported it works, because the mic's diaphragm gets stuck and doing this will release it.
Click to expand...
Click to collapse
Did that but no luck.. my first pixel got same problem.. then i returned it and get another one, it also has same problem.. luckily, experimenting with mixer_path succeeded..

Categories

Resources