Related
Its simple. A lot of sound mods out there but none of them suited my needs. Each of them had different mods that the other didnt have so i copiled a mixed_paths.xml with @olokos sound mod v 2.5 adding @odl 's mic fix and @dontbelive stereo speaker mod v 2 and made a Monster Stereo Volume Mod. Ben Volume
Req:
Rooted 4.4.4 Stock Sony Xperia Z1/Z1C/Z1S/Zu
Instalation:
Just download, rename the file to mixer_paths.xml and copy the file to system/etc and set the correct permisions.
WARNING:
THIS MOD CAN SERIOUSLY DAMAGE YOUR EARPIECE. DO IT AT YOUR OWN RISK ITS BETTER TO LOWER THE VOLUME A BIT WHEN LISTENING TO THE SPEAKER
DOWNLOAD
PRESS THX IF YOU LIKE IT.
I suggest 87 for volume on both channels. This value is sufficient for louder volume without risk of damage.
The problem with mic occurs when we set more bass for speakers:
Like this: <ctl name="SLIM_0_RX Format" value="S24_LE" />
I'm using S16_LE now, less bass but no problems with mic. @dontbelive is working to get more Bass without trouble for mic recording.
Cheers
Rafe said:
I suggest 87 for volume on both channels. This value is sufficient for louder volume without risk of damage.
The problem with mic occurs when we set more bass for speakers:
Like this: <ctl name="SLIM_0_RX Format" value="S24_LE" />
I'm using S16_LE now, less bass but no problems with mic. @dontbelive is working to get more Bass without trouble for mic recording.
Cheers
Click to expand...
Click to collapse
Still its something than nothing, can you share it?
Sent from my C6903 using XDA Free mobile app
beniamin24 said:
Still its something than nothing, can you share it?
Sent from my C6903 using XDA Free mobile app
Click to expand...
Click to collapse
Here you go:
<path name="speaker">
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP2" value="RX2" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<!-- There is no "HPHR DAC Switch" -->
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="87" />
<!--30 % of 20 register: 0x1AE-->
<ctl name="HPHL Volume" value="20" />
<!--30 % of 20 register: 0x1B4-->
<ctl name="HPHR Volume" value="20" />
<!--67 % of 124 (rounded) register: 0x2B7-->
<ctl name="RX1 Digital Volume" value="87" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
<ctl name="RX1 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="RX7 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="TFA98XX_PARAM_TYPE" value="Playback" />
<ctl name="TFA98XX_CHANNEL" value="Both" />
<ctl name="TFA98XX_SPKR_AMP" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="SLIM_0_RX Format" value="S16_LE" />
</path>
Cheers
i think your xml is misspelled...
must mixer.paths and no mixer.path...
xxx_sunnyboy_xxx said:
i think your xml is misspelled...
must mixer.paths and no mixer.path...
Click to expand...
Click to collapse
You are right i'll change the op to specify
ok...:good:
Your MOD is beautiful, love it...
Headphone ROCK's
xxx_sunnyboy_xxx said:
ok...:good:
Your MOD is beautiful, love it...
Headphone ROCK's
Click to expand...
Click to collapse
Glad you Like it but without the help of our fellow devs it could not be possible
Sent from my C6903 using XDA Free mobile app
only for stock ! or work on CM
7sen said:
only for stock ! or work on CM
Click to expand...
Click to collapse
It might work give it a try but backup first
Sent from my C6903 using XDA Free mobile app
I'm on lollipop Z1S, this work on it ?
Morgane3D said:
I'm on lollipop Z1S, this work on it ?
Click to expand...
Click to collapse
@Morgane3D No it is only for Android 4.4.4
Morgane3D said:
I'm on lollipop Z1S, this work on it ?
Click to expand...
Click to collapse
hi , you can use this app , try on z1 5.1.1 , its working.
Playstore Link
iedafarha said:
hi , you can use this app , try on z1 5.1.1 , its working.
Playstore Link
Click to expand...
Click to collapse
Haven't recovery in lollipop
Morgane3D said:
Haven't recovery in lollipop
Click to expand...
Click to collapse
are you root? if your phone root just download NUT dual recovery installer here ,
Is it possibile that there isn't an app to convert the output of the N5 from stereo to mono?
I know that Poweramp does the trick but I want to have a mono output with spotify and Play Music.
Is there something in the store? I tried a lot of DSP manager but I coudn't find one who does the job.
Thought the official lollipop had That in it for pple with handicaps or whatever the political correct term is
I'm confused, where is the output going that you want mono?
zerosum0 said:
Thought the official lollipop had That in it for pple with handicaps or whatever the political correct term is
Click to expand...
Click to collapse
Unfortunately no..
Ben36 said:
I'm confused, where is the output going that you want mono?
Click to expand...
Click to collapse
The system audio. I want to listen my music through spotify or play music but in mono, not stereo. Of course if I have the album on my N5 with poweramp I can listen in mono, but with the other apps (also youtube, for example) it's impossible.
I've tried searching everywhere but it seems the best solution is to buy a stereo to mono plug adapter (less than $5 on ebay).
Of you don't mind me asking why are you going from stereo to mono?
Dark_1 said:
Is it possibile that there isn't an app to convert the output of the N5 from stereo to mono?
I know that Poweramp does the trick but I want to have a mono output with spotify and Play Music.
Is there something in the store? I tried a lot of DSP manager but I coudn't find one who does the job.
Click to expand...
Click to collapse
Not an app, but if you are rooted you can edit your /system/etc/mixer_paths.xml file to "permanently" force all audio that is routed through
the headphone jack to be played in mono. Tell me what exactly you want, i.e. left audio channel on left headphone channel only, right audio channel on right headphone channel only, left audio channel mapped to left and right on headphone, right audio channel mapped to left and right headphone, or a mono mix on both headphone channels, and I can help you get set up.
ej8989 said:
I've tried searching everywhere but it seems the best solution is to buy a stereo to mono plug adapter (less than $5 on ebay).
Click to expand...
Click to collapse
Yeah I know, but I read that the volume will be a lot lower..
I don't know why Google doesn't add it in the accessibility menu. I know that IOS got this, but also some Samsung and HTC smartphones. I tried to look on my LG G Pad, and it has this feature.
PhyscoAssassinx said:
Of you don't mind me asking why are you going from stereo to mono?
Click to expand...
Click to collapse
I can listen freely my music in the office, but I don't want to put both the earphones. Of course if I listen to some stereo music I can lose a lot of details. It's not a matter of life and death, but I'm just confused why Google does not at least consider this.
chdloc said:
Not an app, but if you are rooted you can edit your /system/etc/mixer_paths.xml file to "permanently" force all audio that is routed through
the headphone jack to be played in mono. Tell me what exactly you want, i.e. left audio channel on left headphone channel only, right audio channel on right headphone channel only, left audio channel mapped to left and right on headphone, right audio channel mapped to left and right headphone, or a mono mix on both headphone channels, and I can help you get set up.
Click to expand...
Click to collapse
It will be not the easiest method (because I want to be able to listen, when I'm not in the office, stereo music) but it could be interesting. I'd like to have the same sound mixed on both channels, since I sometime use the left earphone and other time the right one.
Thanks!
you can buy this adapter - http://cable-trader.co.uk/items/3_5mm-stereo-plug-to-3_5mm-mono-socket , but i think stereo will be mixed only to one earphone and another will not work at all .
Dark_1 said:
It will be not the easiest method (because I want to be able to listen, when I'm not in the office, stereo music) but it could be interesting. I'd like to have the same sound mixed on both channels, since I sometime use the left earphone and other time the right one.
Thanks!
Click to expand...
Click to collapse
The following should do what you want. However, you need to reboot your phone after you made the change.
In your case you may want to keep two mixer_paths.xml files handy so you can swap them out as desired followed by a reboot, which could be done automatically by Tasker.
Very kludgy, I know, but it will do the trick.
Replace the following "headphone" section (stereo)
Code:
<path name="headphones">
<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="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="RX1 Digital Volume" value="83" />
<ctl name="RX2 Digital Volume" value="83" />
<ctl name="HPHL Volume" value="15" />
<ctl name="HPHR Volume" value="15" />
</path>
with the following dual-mono section
Code:
<path name="headphones">
<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="RX1 MIX1 INP1" value="RX1" />
<!-- the following line adds the cross mix from the second channel to the first one -->
<ctl name="RX1 MIX1 INP2" value="RX2" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<!-- the following line adds the cross mix from the first channel to the second one -->
<ctl name="RX2 MIX1 INP2" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="RX1 Digital Volume" value="83" />
<ctl name="RX2 Digital Volume" value="83" />
<ctl name="HPHL Volume" value="15" />
<ctl name="HPHR Volume" value="15" />
</path>
Great, it works perfectly!
Thanks!
Hi there!
I've bought a Lg G flex 2 for a good price to replace my faulty nexus 5. On my old phone i've had used a mod that enabled stereo sound using the earpiece as a left speaker and my main speaker as the right one and loved that!
After searching on the internet i found out that that mod was enabled on various phone models but not on flex 2
So, i'm asking if anyone could try to make this mod on this phone, since i don't know how to do it ( just know that i have to replace the mixer_paths.xml file).
Thanks in advance
Nexus 5
http://forum.xda-developers.com/google-nexus-5/themes-apps/mod-surround-sound-t2964809
Samsung GS5
http://forum.xda-developers.com/tmobile-galaxy-s5/themes-apps/gs5-surround-sound-mod-t2984303
LG G2
http://forum.xda-developers.com/lg-g2/development/true-stereo-mod-lg-g2-t2989287
Bump
Well, I took the plunge and edited myself my mixer_paths.xml file and achieved stereo sound on my G flex 2.
If anyone want to try it and enchance the settings just download the file and use the instructions here :
http://forum.xda-developers.com/lg-g3/themes-apps/g3-t2936465
Please share your experiences and i'm not responsible for any damage to your speakers.
Can you explain a bit more detalled what is the improvement in our Flex 2 using this mod?
Thanks!
francescrm said:
Can you explain a bit more detalled what is the improvement in our Flex 2 using this mod?
Thanks!
Click to expand...
Click to collapse
This mod enables the earpiece as a left speaker and the loudspeaker as a right speaker so that you can listen to stereo sound instead of mono sound with your flex.
It didn't work in my device {Rooted H955 v 15c}, even LG's music player stopped working, just for your info, i had to go back to stock xml file.
Edit, tried again and it seems to be working now, I had to change permissions, now it looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can you record video how is playing?
Is there any way to adjust the balance? The speaker on the back is much louder than the front so it sounds off
Nevermind, i figured it out, if anyone else has this problem open your edited mixer path, find this:
<!-- Start LGE Mono Speaker -->
<path name="speaker">
slightly under that is
<ctl name="RX7 Digital Volume" value="79" />
lowering this number makes the left side louder - raising this number makes the right side louder
i found 72-73 gives the best balance depending on your preference
tehargonaut said:
Is there any way to adjust the balance? The speaker on the back is much louder than the front so it sounds off
Click to expand...
Click to collapse
Yes, you have to edit the mixer_paths.xml file. Go to the " <path name="speaker">" and search for the lines :
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="RX1 Digital Volume" value="88" />
The "rx7" is the volume of the louspeaker and the "rx1" is the volume of the earspeaker, so you just have to change thoses values at will
Edit: Also, as francescrm said, you have to change permissions to the file like that.
sslmm said:
Yes, you have to edit the mixer_paths.xml file. Go to the " <path name="speaker">" and search for the lines :
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="RX1 Digital Volume" value="88" />
The "rx7" is the volume of the louspeaker and the "rx1" is the volume of the earspeaker, so you just have to change thoses values at will
Edit: Also, as francescrm said, you have to change permissions to the file like that.
Click to expand...
Click to collapse
Lol, just spent the last hour figuring this out for myself with trial and error and edited my post literally like a minute before you posted this
btw, the earspeaker gets a bit distorted at max normal volume, guessing that theres not an option to tweak that a bit eh?
tehargonaut said:
Lol, just spent the last hour figuring this out for myself with trial and error and edited my post literally like a minute before you posted this
btw, the earspeaker gets a bit distorted at max normal volume, guessing that theres not an option to tweak that a bit eh?
Click to expand...
Click to collapse
Great timming lol.
Btw, the original volume for louspeaker is "84"
After searching about this mod on the G3 i found other lines on that mod to enable High Pass filters e Low pass filters to reduce the distortion on the earpiece but tried it and didn't saw any diference.
I will attach that file from g3 mod if you guys want to try those lines for yourselfs and post your experiences
sslmm said:
Great timming lol.
Btw, the original volume for louspeaker is "84"
After searching about this mod on the G3 i found other lines on that mod to enable High Pass filters e Low pass filters to reduce the distortion on the earpiece but tried it and didn't saw any diference.
I will attach that file from g3 mod if you guys want to try those lines for yourselfs and post your experiences
Click to expand...
Click to collapse
do you know exactly which lines were edited to enable the filters? i don't want to put the g3 xml on my flex
tehargonaut said:
do you know exactly which lines were edited to enable the filters? i don't want to put the g3 xml on my flex
Click to expand...
Click to collapse
And you should not put a xml file from a diferent phone model on your phone. I just posted that file for reference
I think one of the lines is this :
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
It would be usefull if theres was somethin on the internet explaining the possibilities of modding this file. If anyone knows anything like that please share
«
Worked fine
Cool. Worked fine for me (on H950PR). I copied OP's entire 'LGE Mono Speaker' entry and replaced it in my mixer_paths.xml file, rebooted and had stereo sound. Thank you.
Code:
<!-- Start LGE Mono Speaker -->
<path name="speaker">
<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="RX7 MIX1 INP1" value="RX2" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<!-- <ctl name="HPHL DAC Switch" value="1" /> -->
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>
<!-- End LGE Mono Speaker -->
Even at max volume, distortion was acceptable. I added the low cut filter line, rebooted, but did not notice any difference.
Code:
<ctl name="RX1 HPF cut off" value="MIN_3DB_150Hz" />
thachtran said:
Cool. Worked fine for me (on H950PR). I copied OP's entire 'LGE Mono Speaker' entry and replaced it in my mixer_paths.xml file, rebooted and had stereo sound. Thank you.
Code:
<!-- Start LGE Mono Speaker -->
<path name="speaker">
<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="RX7 MIX1 INP1" value="RX2" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<!-- <ctl name="HPHL DAC Switch" value="1" /> -->
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>
<!-- End LGE Mono Speaker -->
Click to expand...
Click to collapse
Worked fine on LS996 zv9. Thanks.
Stock file anyone? I tried the mod but still find it a bit bad because earpiece is distorted
h955
thachtran said:
I added the low cut filter line, rebooted, but did not notice any difference.
Click to expand...
Click to collapse
Maybe it must be rx7, not rx3 ?
Norsha said:
Stock file anyone? I tried the mod but still find it a bit bad because earpiece is distorted
h955
Click to expand...
Click to collapse
Here it is
Felix861 said:
Maybe it must be rx7, not rx3 ?
Click to expand...
Click to collapse
i've just tried, it doesn't work..
I did more tests, and i think that we can't achieve true stereo sound. The earpiece simply can't serve as second loudspeaker. Maybe it's possible to tweak it in order to reproduce high frequencies on the earpiece and the lower ones on the loudspeaker, as the htc 10
** 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.
I edited the xml default is set at 84 but if I changed it to 90 it is in system/vendor/etc and their are two one I think is for headphones only other is for speaker but mixer_paths.xml editing doesn't seem to work on this device I did flash vipre and audio mods but volume is still sooo low anyone know how I can actually boost it I am ex infantryman and it's just soooo quiet vs the g6.
Under Viper there are setting for phone speaker called speaker optimization
and extra loud. Did you enable those?
Use the built-in Equalizer, AudioFX. Edit the Custom Preset.
Restore stock.
Had to rma it bad speaker tried everything got a new one in like 3 days just suggest you reflash latest stock unroot and relock bootloader works great now!
But ya I did everything you could think of the speaker was just blown so if you use vipre.be very careful.
Following.
I already did the hardware fix. Its better, but still not quite there.
This is the default values of vendor/etc/mixer_paths.xml. Seems like there is tweak in there somewhere
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="EAR_S" value="Switch" />
---------- Post added at 03:04 PM ---------- Previous post was at 02:59 PM ----------
From Nexus 6P forum
https://forum.xda-developers.com/nexus-6p/general/mod-boost-call-handset-volume-t3329419
I just tried editing the /vendor/etc/mixer_paths.xml file. After reboot, it reverts back to original file!
Which values should be changed & to what?
zapjb said:
Which values should be changed & to what?
Click to expand...
Click to collapse
I was playing with these
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
Does anybody know if its OK to change the permission from 644 -rw -r -r to something tighter so the phone can't restore the file after the mod?