[ROOT][MOD] Xperia X Performance Volume Boost for stock config - Sony Xperia X Performance Themes, Apps, and Mods

What's bugging me about my brand new Xperia X? The overall low volume.
These simple tweaks, this mod if you may, simply modifies a few lines from the stock audio config files which, after a reboot make your speakers louder and headphones, a bit too loud (but I didn't hear anyone complaining about Xperias for being too loud lol)!
It's for rooted users only and for me it sounds a lot better than using (possibly) unstable sound mods instead of simply adjusting the volume on some pretty decent stock drivers.
***Tested on X Performance running Nougat. I've also got my hands on Xperia X Performance files which are pretty straight FWD see attach. Thanks @bkk99213 for testing and for the file!***​​​
Make a backup first or if you didn't simply put the original values back (82 for speaker lines and 76 for headphones). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal.
Features:
Louder Stereo Speaker sound system wide;
Louder Headphone sound;
Stereo Voice-Speaker call - NOT TESTED! Keep a backup and please let me know if it's working;
Customizable as you see fit! Just stick to the already explored options.
Conflict-free tweaks - no additional files added, no nothing, just some modified lines - you can trust it .
Installation:
By flashing the .zip on recovery or with FLASHFIRE [press the red "+" button > Flash ZIP or OTA > leave the options as they are and Click on the "done arrow thingy".
Manually copying the file to /etc - DO NOT forget to set the right permissions (RW R R). Please take a look over the Permissions.png screenshot in case you don't know how to set them - you long click on the file, then go to properties and you'll see the permissions button.
Do it yourself - there's a guide down bellow.
In the download section you'll find:
>>Flashable! already modified "Xperia X P Getting Loud.zip" with: SPEAKER values - 84 for both RX7/RX8 and HEADPHONE values - 84 for RX1/RX2.
>>Flashable! Stock Values - it's the stock file unmodified.
>>NON-Flashable! zips - there you have 1 zip for the modified file and the stock one so you can place it manually via ES file explorer or the explorer of your choosing.
**And some screenshots that are pretty self explanatory showing you what modifications need to be made if you want to do it yourself.
DIY Guide (using ES File Explorer):
You're probably acquainted with ES File Explorer so it should be pretty simple. The modifications I made were done with ES (it has an built-in editor).
1. Make sure the Root Explorer toggle is On - it's located in the Tools tab as you swipe the left side of the screen;
2. Go to the root of the files where you'll see folders such as "data; dev; firmware; storage; system; etc" go to "etc" folder and scroll down till you see the mixer_paths files;
3. Open "mixer_paths_tasha" and at the prompt, select ES Note Editor - it's a huge file so tap right above the navigation bar! A bar with percentage should show up - it will help you navigate through the file;
4.1 Speakers - Get to 45% of the file where you should see the path for "speaker", ctrl name RX7 and RX8 with their stock values - modify the values as you please but please don't go over 85 - sound will be too distorted;
4.2 Headphones - Go to 57% of the file - you'll see "headphones" path - ctrl name RX1 and RX2 - modify the values but anything more than 84 might be too much.
5. Save and reboot. If you choose to modify the files on a PC make sure to set the permissions when you put the file back. Otherwise bootloops might occur.
*Stereo Voice-Speaker call is untested but in theory it should work, as it does on my Xperia X. I added the second channel to the routing - screenshot bellow.
**Stereo Ringtone-Speaker - WIP. I'm currently stuck so feel free to jump in and notify me via PM.
***Internal players such as Music, Video, ringing and notification will try to compensate the sound so it might not be as loud as expected. But try a youtube video and you'll notice the difference.
***Do not attempt to modify something else unless you know what you're doing - on that note, make a backup first. In my first attempts I lost sound device wide with FC for sound effects apk.
***Do not go over the values I imputed (84 for speaker and 85 for headphone) - apart from the distortions that will occur because of the louder volume the internal DAC might not be able to reproduce the sound at such intensity - in my tests one of the speakers was shutting down. Again, no harm can come to your device but don't push it.
***I saw a lot of sections for hi-res headphones, Noise cancelling, etc - I did not explore those options because I don't have the means to test it. Any input and contributions from you guys are most welcome.
These files control the volume output for digital / analog which means it's a non-intrusive way to change volumes with no harm for the device. If volume limit exceeds the capacity of the speakers it will sound bad but there is no chance for physical damage.
I'm coming from a highly modded Xperia Z (that phone saw some torture) which made use of the earpiece speaker for stereo, and even if the speakers aren't designed for that output they are louder than the X which packs pretty decent speakers. This is the mod that gave me the idea: http://forum.xda-developers.com/xperia-z/themes-apps/mod-stereomod-xz-v1-1-t2835995
Click to expand...
Click to collapse
Also check this out. It's an xposed module that will disable the annoying thermal warning for the camera. No more functions disabled just because phone got a bit over skin temperature lol. http://forum.xda-developers.com/cro...-camera-xperia-thermal-disabler-v1-0-t3455087
Cheers and happy new year!

Cannot find 9335
In Xperia X Performance @7.0nougat
I can't find the file in etc folder.

bkk99213 said:
In Xperia X Performance @7.0nougat
I can't find the file in etc folder.
Click to expand...
Click to collapse
Yes that's why it's a guide-ish. Files are different still... Traditionally with Sony, you should aim for the largest file. In your case the right file should be "...tasha" file. If you want you can send it to me or try it yourself. Keep a backup. I had no bootloops (so there's nothing to fear) by modifying what I shouldn't (and i had a dozen of tries). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal. PM me. I'm curious about the file and results.

Sebi673 said:
Yes that's why it's a guide-ish. Files are different still... Traditionally with Sony, you should aim for the largest file. In your case the right file should be "...tasha" file. If you want you can send it to me or try it yourself. Keep a backup. I had no bootloops (so there's nothing to fear) by modifying what I shouldn't (and i had a dozen of tries). All that can happen if you modify the wrong thing is: Your settings won't do anything or you'll have no sound, that's why a backup is ideal. PM me. I'm curious about the file and results.
Click to expand...
Click to collapse
Here you go and thanks a lot. I know mi 4i can use same method to make the sound loudly. So I also interest your GUIDE
But PM cannot attach file. So I use REPLY..:laugh:

bkk99213 said:
Here you go and thanks a lot. I know mi 4i can use same method to make the sound loudly. So I also interest your GUIDE
But PM cannot attach file. So I use REPLY..:laugh:
Click to expand...
Click to collapse
It's simpler than it was on my X. I'll be back with an update. But I need my coffee first ))

Tested. It work. Whatsapp's Ringtone is obviously but some notification sound get distorted.
So I don't know the setting(84) is correct or not.

bkk99213 said:
Tested. It work. Whatsapp's Ringtone is obviously but some notification sound get distorted.
So I don't know the setting(84) is correct or not.
Click to expand...
Click to collapse
That's device specific. On my X 84 is just the right amount. I'll make another zip with 83 values. That's only one step over stock.
At least headphones are loud and distortion free. I noticed some good amplification on those. On my old Xperia Z I could never have such a powerful sound without signal cutting off on one of the channels.
Correction. The file had 85 for speakers. I'll put new zips with 84 soon.
---Files Updated---

Sebi673 said:
That's device specific. On my X 84 is just the right amount. I'll make another zip with 83 values. That's only one step over stock.
At least headphones are loud and distortion free. I noticed some good amplification on those. On my old Xperia Z I could never have such a powerful sound without signal cutting off on one of the channels.
Correction. The file had 85 for speakers. I'll put new zips with 84 soon.
---Files Updated---
Click to expand...
Click to collapse
84.perfect.:good::good::good:

bkk99213 said:
84.perfect.:good::good::good:
Click to expand...
Click to collapse
So glad I was able to help. You're welcome!

After tested 5 days, I get some trouble that my phone call's volume is lower than before.
But the settings should be no change for phone call, right?
* I have not much phone call, so I can't find this problem @ 1st day.
Thanks for your help again.

Does anyone know which xml would need to be modified for this to work on the X Compact?

agentsmith988 said:
Does anyone know which xml would need to be modified for this to work on the X Compact?
Click to expand...
Click to collapse
It's usually the largest one. So you should look for that. And then adapt this method to the X. Speakers might be with a different name buy you'll get it
Sent from my Xperia X using XDA Labs

Sebi673 said:
It's usually the largest one. So you should look for that. And then adapt this method to the X. Speakers might be with a different name buy you'll get it
Sent from my Xperia X using XDA Labs
Click to expand...
Click to collapse
Looks like it's mixer_paths_wcd9335.xml at 148.6KB. Both RX7 and RX8 are at 82 stock (under path name="wsa-speaker"). How much past the original values are you pushing these things, 2-3? Do these values boost the in-call speakerphone volume as well?
Unrelated, does anyone know if this XML has anything that could be modified to get get both speakers working when using the in-call speakerphone?

agentsmith988 said:
Looks like it's mixer_paths_wcd9335.xml at 148.6KB. Both RX7 and RX8 are at 82 stock (under path name="wsa-speaker"). How much past the original values are you pushing these things, 2-3? Do these values boost the in-call speakerphone volume as well?
Unrelated, does anyone know if this XML has anything that could be modified to get get both speakers working when using the in-call speakerphone?
Click to expand...
Click to collapse
I am pretty sure both X and X compact use the same HW - it seems to be the same file and wsa thingy - check my thread for X - https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691
it is possible to modify the call speaker - and there are more things to add like stereo for that one. But going over default for one speaker can get voice distorted. And if stereo is applied there, than microphone quality will drop a lot. There's a reason why the call speaker is mono - so that the mic on the other side can catch most of the sounds. At some point maybe I'll look for a hook for stereo.

bkk99213 said:
After tested 5 days, I get some trouble that my phone call's volume is lower than before.
But the settings should be no change for phone call, right?
* I have not much phone call, so I can't find this problem @ 1st day.
Thanks for your help again.
Click to expand...
Click to collapse
These modifications can't affect the phone call volume since I never touched those. And I never had such issues. But I'll keep my ear close to it )

Sebi673 said:
I am pretty sure both X and X compact use the same HW - it seems to be the same file and wsa thingy - check my thread for X - https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691
it is possible to modify the call speaker - and there are more things to add like stereo for that one. But going over default for one speaker can get voice distorted. And if stereo is applied there, than microphone quality will drop a lot. There's a reason why the call speaker is mono - so that the mic on the other side can catch most of the sounds. At some point maybe I'll look for a hook for stereo.
Click to expand...
Click to collapse
Awesome! Bumped the speaker and headphone values up to 86 and 85 and all I can say is wow! Made a huge difference!
Do you know which lines specifically control the in-call speaker volume? Makes sense about the mono audio/mic pick-up, however it'd be great to at least increase the volume.

agentsmith988 said:
Awesome! Bumped the speaker and headphone values up to 86 and 85 and all I can say is wow! Made a huge difference!
Do you know which lines specifically control the in-call speaker volume? Makes sense about the mono audio/mic pick-up, however it'd be great to at least increase the volume.
Click to expand...
Click to collapse
Adding stereo speaker to phone call is a bit tricky as far as I remember, especially without a recovery. Hopefully I'll have some spare time to look over it or at least identify call routing.
Sent from my Xperia X using XDA Labs

Sebi673 said:
Adding stereo speaker to phone call is a bit tricky as far as I remember, especially without a recovery. Hopefully I'll have some spare time to look over it or at least identify call routing.
Sent from my Xperia X using XDA Labs
Click to expand...
Click to collapse
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?

agentsmith988 said:
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?
Click to expand...
Click to collapse
yup, that should be it. I'm advocating for the stereo because stock values already distort a lot on speaker call
[Update] - stereo call speaker now working. Testing and applying method for ringtone speaker aswell

agentsmith988 said:
Would it be easier to just increase the in-call volume and leave it mono? I'm guessing that there is a similar RX line that can be bumped up a few values to increase the volume.
Under <path name="voice-speaker"> there is a line <ctl name="RX8 Digital Volume" value="82" />. I'm guessing that may be it?
Click to expand...
Click to collapse
[UPDATE] Please check the updated thread for Xperia X. For you, modifications should be easier to learn from there. Stereo Voice-Speaker added - no need for volume boost. https://forum.xda-developers.com/xperia-x/themes/xperia-x-mixerpaths-volume-tweaks-tank-t3525691

Related

[Q] Increasing volume

Looking for a good way to increase volume slightly, specifically for the speaker or the bluetooth. I've found tons of great articles that talk about editing mixer_paths.xml. Those instructions work great on nearly every other android phone I've seen...but not the M8. The naming is completely different.
For example:
- Articles say to change the speaker, you need to go to the <path name="speaker"> section and change the volume.
- On the M8, that section is empty.
My guess is that it's different section names than other phones, but I haven't figured out which is which. Anyone know?
If you're rooted you can use V4a audio mod. It has a lot of settings including increasing the gain. Mine is so loud at full volume I actually have to talk over the sound coming from external speakers!
ldjr said:
If you're rooted you can use V4a audio mod. It has a lot of settings including increasing the gain. Mine is so loud at full volume I actually have to talk over the sound coming from external speakers!
Click to expand...
Click to collapse
I'd prefer not to use V4a. Tried it, didn't care for it. I'd much rather find out the really easy text change in the mixer_paths.xml
Thanks though!
*Bump*
Currently just using H/K for the volume boost it gives bluetooth. Would love to find out what setting to change to adjust this myself...

[MOD] Amplified volumes for Xperia Z1 Compact KK 4.4.4

As we all know the volumes on the XZ1C are very low especially the loudspeaker , feels bad when your are on Call or Music with loudspeaker and when the Mic sensitivity is low when the phone is not near the mouth.
I have done some changes in Mixer_Path.xml which helped to increase volumes.
Hope that helps Z1C owners who need only some boost in sounds rather than third party custom sound mods.
Device must be on stock KK rooted and this also may work on XZ1
INSTRUCTIONS:
PLACE THE MIXER_PATHS.XML FILE IN SYSTEM/ETC DIRECTORY WITH 0644(RW-R--R--) PERMISSIONS AND REBOOT
Hit Thanks if you liked it
I'm on lasted Stock KK,Rooted + Odex, but i cannot flash this mod via TWRP.
sinosuke said:
I'm on lasted Stock KK,Rooted + Odex, but i cannot flash this mod via TWRP.
Click to expand...
Click to collapse
Whats the error ? anyways you can place the mixer_path.xml file in system/etc directory with 0644(rw-r--r--) permissions and reboot
This just flash with recovery?
imr.uvce said:
Whats the error ? anyways you can place the mixer_path.xml file in system/etc directory with 0644(rw-r--r--) permissions and reboot
Click to expand...
Click to collapse
Okay,will try
thanks
this is what i need,
thanks a lot,
just copy the xml, set the permission, reboot, and voila
the z1c volume is amplified
:good: :good:
Hi! Would you care to prepare one XML without the loudspeaker's modification? It's distorted on 60% already.
The headphones's volume is much better though, thanks!
myrddral said:
Hi! Would you care to prepare one XML without the loudspeaker's modification? It's distorted on 60% already.
The headphones's volume is much better though, thanks!
Click to expand...
Click to collapse
Speaker section in that XML is what impacts the call loudspeaker and music loudspeaker together.
Let know what you want !!
I tried to go through the xml but I can't find the speaker section to change the values.
All I need is what I said earlier: stock loudspeaker volume, because it is distorted around 60% volume already. Thanks!
myrddral said:
I tried to go through the xml but I can't find the speaker section to change the values.
All I need is what I said earlier: stock loudspeaker volume, because it is distorted around 60% volume already. Thanks!
Click to expand...
Click to collapse
If you want stock, use the stock file in OP .
Noo, I need something inbetween
The headphones are loud enough now, and I like it. I'd want the loudspeaker on stock volumes as it gets distorted. Help is much appreciated
myrddral said:
Noo, I need something inbetween
The headphones are loud enough now, and I like it. I'd want the loudspeaker on stock volumes as it gets distorted. Help is much appreciated
Click to expand...
Click to collapse
check this file ,speaker is reduced a bit.
Better, thanks very much!
Thanks for this, this phone is now perfect, headphone volume is spot on, I don't know if the speaker is a bit to loud though, on full volume the phone is vibrating with the sound and u can actually feel the air being blown out of the speaker grill! In the 2nd file u posted above is the headset volume still the same and just speaker a bit lower?
kxf41 said:
Thanks for this, this phone is now perfect, headphone volume is spot on, I don't know if the speaker is a bit to loud though, on full volume the phone is vibrating with the sound and u can actually feel the air being blown out of the speaker grill! In the 2nd file u posted above is the headset volume still the same and just speaker a bit lower?
Click to expand...
Click to collapse
Yes !! Check the OP updated with even better headset sound,MIC gain and descent loud speaker
imr.uvce said:
Yes !! Check the OP updated with even better headset sound,MIC gain and descent loud speaker
Click to expand...
Click to collapse
great! is the headset a little louder? i felt it could handle a bit more
am new user on android
can you tell me steps to do that
and how can i do 0644(rw-r--r--) permissions

Viper4Android

I have just installed this and for now it works
I will let u know in 1 or 2 days is there any problem
Its not my work but pressing Thanks wouldnt be bad
http://www.gizdev.com/guide-install-viper4android-on-any-lollipop-devices-android-5-05-1/
Ive been using it for almost a month no problems so far
Sent from my LGLS996 using XDA Free mobile app
lingo2012 said:
Ive been using it for almost a month no problems so far
Sent from my LGLS996 using XDA Free mobile app
Click to expand...
Click to collapse
Ohh cool cool
Whats the way you installed it?
Followed this guide for the g4 it works great on g flex 2
http://forum.xda-developers.com/g4/themes-apps/root-install-viper4android-rooted-lg-g4-t3181115
Sent from my LGLS996 using XDA Free mobile app
Works great for me too. I also followed the above G4 guide. Unsure of battery drain at the moment.
I have been using this for more than a month and no battery drain issues or any other problem. Works perfectly. And yes I had followed the same G4 guide.
Phone Speaker profile + Surround sound!
I made a V4A profile after installing the Surround sound mixer_paths.xml found here: http://forum.xda-developers.com/g-flex2/development/surround-mode-h955-t3376881/ (also edited volumes in post 3 of that thread.)
After installing V4A, go to Menu > UI Setting > select "Expert"
On the Phone Speaker tab:
Enable V4A-SpeakerFX
Enable FIREqualizer > Preset "Treble Booster"
Enable Convolver > Impulse Response "SonicHunter Speakers.wav" (Download it here, unzip and copy the .wav file to sdcard/ViPER4Android/Kernel/ folder on your phone. Credit to Vinardo_ZzZ 2000 and his awesome V4A IRS thread here)
Enable eXtra-Loud > Moderate > 6x > -6.0 dB
Output Gain 4.1 dB
Limit Threshold -3.0 dB
You may need to tweak the dB values according to content, but this particular V4A convolver combined with the surround sound mod has made for a pleasant stereo experience for me. Hope others will like it too.
I also suggest trying out Viper4713's Material mod for V4A 2.4.0.1 found here. Makes the app look that much cleaner.
@PhantasmRezound tried your settings but my earpiece speakers still distorts a lot. Better than original surround mod but still far from an enjoyable result. I think flex 2 earpiece can't be pushed to high volume. Thanks anyway
michele955 said:
@PhantasmRezound tried your settings but my earpiece speakers still distorts a lot. Better than original surround mod but still far from an enjoyable result. I think flex 2 earpiece can't be pushed to high volume. Thanks anyway
Click to expand...
Click to collapse
There is always a possibility for slight variance in hardware (aged speaker/phone case altering sound) but especially source material plays a part too. I was listening to a lot of music and movies just fine without extreme distortion... then certain YouTube videos that had clipping from poor gain and low voice tone distorted the earpiece for me too.
You can try to redo the surround values even lower, maintaining a difference of about 8 between the the speaker channels to maintain stereo balance. You may also use V4A from here and alter the last three gain values until the distortion is gone. For one video with clipping I watched, I had to drop eXtra-Loud to -10.5 dB and Limit Threshold to -6.0 dB to eliminate the clipping causing distortion, then reboost the Output Gain positive step by step until volume was higher again, without distortion.
Going to experiment with the high-pass filters and possibly other Qualcomm biquad filters in the mixer_paths.xml file next.
install Viper4Android
busybox
Link (Linux Mode Changer)
driver failed
paris07121978 said:
install Viper4Android
busybox
Link (Linux Mode Changer)
driver failed
Click to expand...
Click to collapse
Same, anyone know how to solve this?
Make sure you are rooted successfully and your SU manager app is allowing root to those programs (using Chainfire's SuperSU here.) Ensure Busybox is installed and running properly (using Stericson's Busybox Free here.) SELinuxModeChanger should have Permissive pressed in/greyed out; reboot for it to take effect first time. Verify Permissive system in the system Settings > General > About Phone > Software. Make sure you're using the latest version of V4A compatible with LP (2.4.0.1 at this time.) Install V4A drivers from its menu and reboot; check Driver Status and it should read "Normal." If it doesn't, something above is broken or perhaps another audio mod may be conflicting (if you installed other full system EQ style mods, not stereo/boosted speaker simple mods typically.) If Driver Status is greyed out on the V4A menu you need to change FX Compatible mode to Normal. (Compatible mode isn't system-wide effect and only to use with certain audio apps like Poweramp that run EQ functions of their own alongside V4A.) Good luck and hope you can trace the issue down.
Thanks a lot. I got it working. What audio source are you using to test it?

Nougat [32.4.A.0.160] [.33] Stereo Soundmod [Volume/Headphones Boost] - Xperia Z5P

Requirements:
1. Root
2. X-plore or any other file manager with root access
Procedure:
1. Extract and replace "mixer_paths.xml" in root/system/etc
2. Change the permissions to rw-r--r--
3. Restart your mobile
Note:
I won't be responsible if anything goes wrong.
I'm also providing the stock xml file if you want to revert back to the original settings.
Thanks to AndroPlus for providing custom kernel & recovery for the Z5P Dual.
***Version 2 added with sound from both speakers in speaker mode during a voice call***​
Thanks!
As soon as I want to go full volume the music stops. I use music player app with podcast and I let the music play as soon as the aux cable plugs in.
Killastyle said:
As soon as I want to go full volume the music stops. I use music player app with podcast and I let the music play as soon as the aux cable plugs in.
Click to expand...
Click to collapse
I haven't tested it with the aux cable. The in built speaker & the headphones are working fine.
arjun.arora said:
I haven't tested it with the aux cable. The in built speaker & the headphones are working fine.
Click to expand...
Click to collapse
It seems like it goes off automatically because of security? Maybe because the device "thinks" I'm using headphones and it will damage my ears when I set the volume this high. I'm using the aux cable for in my car.
Killastyle said:
It seems like it goes off automatically because of security? Maybe because the device "thinks" I'm using headphones and it will damage my ears when I set the volume this high. I'm using the aux cable for in my car.
Click to expand...
Click to collapse
Yes, maybe so. What happens if you don't turn it up to the full volume, I mean at 90 percent volume.
If I turn it up to 90 there is no problem
Killastyle said:
If I turn it up to 90 there is no problem
Click to expand...
Click to collapse
Great..
@arjun.arora I just compared the original file mixer_paths.xml with your modded mixer_paths.xml, and didn't find any differences.
Can you point out what you edited ?
Best Regard's
Alex1911
Alex1911 said:
@arjun.arora I just compared the original file mixer_paths.xml with your modded mixer_paths.xml, and didn't find any differences.
Can you point out what you edited ?
Best Regard's
Alex1911
Click to expand...
Click to collapse
Hi, I've just increased the volume of the main speaker as well as the headphones.. Kindly try it out and revert back, also backup your original mixer_paths file before replacing it..
arjun.arora said:
Hi, I've just increased the volume of the main speaker as well as the headphones.. Kindly try it out and revert back, also backup your original mixer_paths file before replacing it..
Click to expand...
Click to collapse
i just tested your soundmod, i think the speaker's have a hardware-security-function because at full volume the speaker's are about 2 sec loud and then somehow again a bit more quiet something like a protecting feature, can't say if it is software-limited or hardware-limited.
Best Regard's
Alex1911
Alex1911 said:
i just tested your soundmod, i think the speaker's have a hardware-security-function because at full volume the speaker's are about 2 sec loud and then somehow again a bit more quiet something like a protecting feature, can't say if it is software-limited or hardware-limited.
Best Regard's
Alex1911
Click to expand...
Click to collapse
Send me the stock xml file for the Z5, I'll take a look.
Can you take a screenshot of the settings you changed? That way, people can change them on their own until they find the best setting for their phone and earbuds
Is your Mod is Stereo also for Incoming call ringtones ?
I Mean is Ringtone sound comes from both speaker for incoming Call & Notifications Sound ?
Yes, both speakers play the ringtone. Sound from the bottom speaker is louder than the top one.
Yo bro, hey I'm don't believe, change your sound mod name or else I will report you, my mods are called stereo sound mod for abt 3 years, chose another name pls or else I will report if u wanna check then check.my threada
dontbelive said:
Yo bro, hey I'm don't believe, change your sound mod name or else I will report you, my mods are called stereo sound mod for abt 3 years, chose another name pls or else I will report if u wanna check then check.my threada
Click to expand...
Click to collapse
What? Do you have a patent on the term stereo soundmod. Are you kidding me? This mod is for Xperia Z5P dual. Suggest me an alternative name if you feel insecure or offended.
arjun.arora said:
What? Do you have a patent on the term stereo soundmod. Are you kidding me? This mod is for Xperia Z5P dual. Suggest me an alternative name if you feel insecure or offended.
Click to expand...
Click to collapse
No bcuz I was planning to release a sound mod for z5 line like I did for Z1/Z2/Z3 line, next will be z4 and z5 line. Just change to another name.
What Abt premium sound mod?
Why not use this name.
If not change the name then i will not publish my soundmod here in future.
Hi, will this work on regular Z5 ? I'd like to try it out especially if it increases bottom speaker
Funkmasterchilla said:
Hi, will this work on regular Z5 ? I'd like to try it out especially if it increases bottom speaker
Click to expand...
Click to collapse
Well it should. Do one thing, send me your stock mixer_paths.xml file. I'll edit it.

Question Microphone issues poll. [ Please participate :) ]

Hi, I've noticed that when recording voice notes on instant messaging apps such as WhatsApp or Telegram, the microphone being used for that is the one on the top (near the selfie cameras) instead of the one on the bottom (next to the USB port) and it records in such a bad quality. This issue extends to all apps, including Google voice search and Google assistant.
I've used this app (https://play.google.com/store/apps/details?id=org.greh.mictest) to test the microphone and it only works with the bottom microphone only if you set it to MIC and Stereo, every other setting just uses the top microphone. Also, recording video with the stock camera (using audio zoom or not) records audio with just the top mic too.
If anyone could test their device (either on stock or custom ROM, it doesn't matter as they both use the same mixer path and audio platform info) and answer the poll either with a yes or a no I would be very grateful.
I've factory reset the phone, checked apps that may be conflicting, etc and it's driving me nuts. Motorola support is just suggesting me to replace the phone, but I'm pretty sure this is a software issue.
I'm on the latest stock update if that matters.
EDIT: After more testing on camcorder, stereo recording works fine, but when choosing mono recording, it records sound with the top mic. This done with OpenCamera. Choosing different input options from open camera shows that when you select "Default input" in mono mode, it defaults to the top mic instead of the bottom one.
I am on lineage os 18.1 currently and honestly had no answer for the poor audio quality of my VNs in IM apps... I even developed a practice of asking about my voice clarity during phone calls. Now I understand...
I am going to upgrade to 19.1. If I find a fix or workaround, I will report back here.
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
KnightTheWayne said:
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
Click to expand...
Click to collapse
Nice find, I was taking a look at the stock mixer_paths.xml and the build.prop file under system_ext and found two things, for mono recordings, the mixer_paths.xml redirects all voice recording requests to the "speaker mic" which is set to record from microphone 2 (the top microphone from my testing) and the build.prop file has noise cancelling disabled for speaker and voice recording, if noise cancelling was active, the phone would use the main mic and use the top one for noise cancelling.
I will report this again to Motorola (the first time they just told me to get the phone RMA'd lmao, now I have mor people to back up my claims).
KnightTheWayne said:
I was just doing a little research. Maybe someone can compile an apk or a flashable zip to iron out this bug if Motorola doesn't step on it...
It appears that the "android.permission.RECORD_AUDIO" for IM apps is linked to "MediaRecorder.AudioSource.CAMCORDER" when it should be linked to "MediaRecorder.AudioSource.MIC" or vice-versa.
Click to expand...
Click to collapse
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Demax55 said:
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Click to expand...
Click to collapse
the mixer paths file is the same on stock and custom roms, the build prop is auto generated so they're different, it wouldn't be a good idea to use the stock build prop in lineage. It's a pitty that the changes made stuff worse. the only thing that comes to mind is to check under /vendor/etc and system/etc for the other build prop files and see which ones have the settings for noise cancelling. I'll extract them from lineage and see if there's anything I can suggest. Thanks for testing tho
Demax55 said:
On any custom ROM I have noise cancelling issues: my caller always hears their own voice when I'm in speaker mode.
So I tried to apply the changes you mentioned on LineageOS 19.1:
1) Cannot be done because lines 37-38 are missing
2) I did it by setting amic1 and then amic4, with a restart each time. But it looks like I broke my phone by doing this, as now calling apps just crash or stop working properly. Do I have to do anything else besides just modifying and restarting the phone? Even after setting it back to amic3, calling apps still crashed.
Edit: I had to update LineageOS to finally fix the problems.
In any case, can you share your stock build.prop and mixer_paths?
Click to expand...
Click to collapse
For the issue you say, you may be able to fix it by changing some stuff inside /vendor/build.prop
In line 134 change "persist.vendor.audio.voicecall.speaker.stereo" from true to false. If this doesn't fix your issue when calling using speaker mode then I'm out of ideas sadly.
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
Hi @blckbear ;
Could you share the exact lines (the content) in /vendor/etc/mixer_paths.xml and /system_ext/etc/build.prop which should be tested? I am on LOS20 and could do the check for you by pulling/pushing the files and changing the lines you are talking about, though on LOS20 it is definitely not /system_ext/etc/build.prop ;-)
blckbear said:
For the issue you say, you may be able to fix it by changing some stuff inside /vendor/build.prop
In line 134 change "persist.vendor.audio.voicecall.speaker.stereo" from true to false. If this doesn't fix your issue when calling using speaker mode then I'm out of ideas sadly.
Click to expand...
Click to collapse
Thanks for the help, but unluckily changing line 134 from true to false did not fix the issue...
blckbear said:
Hey, here are the things I think should be changed for the issue to be resolved (either try one or the other, not the two at the same time so we can see which one of these fixes the issue, if they do at all):
1) In the file '/system_ext/etc/build.prop':
In lines 37 and 38 we can see that noise cancelling is disabled for voice recording and speaker mode, which means that instead of using the bottom mic and the top mic as the noise mic, it's just using one mic, and it's using the wrong one (the top one), this values should be set to true.
2) In the file '/vendor/etc/mixer_paths.xml':
At lines 2177 through 2187 we can see each mic, 'mic1', 'mic2' and 'mic3' being set to 'amic1', 'amic3' and 'amic4' respectively. 'mic1' is the bottom mic, 'mic2' is the top mic and 'mic3' is the audio zoom mic.
Then, at line 2234 we can see that 'speaker-mic' is being set to 'amic3' ('mic2' according to the previous setting) which makes no sense as 'amic3' is the top mic, this should be set to 'amic3'.
I can't try this because my phone is still locked, but if you're rooted you could try this and see if they do work.
Click to expand...
Click to collapse
Using LOS20 build and changed the lines as you mentioned:
In /system/build.prop:
Code:
persist.vendor.audio.voicecall.speaker.stereo=false
In /system/vendor/etc/mxer_paths.xml line 3018:
Code:
<path name="amic1" />
The complete part:
Code:
<path name="speaker-mic">
<path name="amic1" />
</path>
Testing the coming days, will let you know the results.
Moto-J said:
Using LOS20 build and changed the lines as you mentioned:
In /system/build.prop:
Code:
persist.vendor.audio.voicecall.speaker.stereo=false
In /system/vendor/etc/mxer_paths.xml line 3018:
Code:
<path name="amic1" />
The complete part:
Code:
<path name="speaker-mic">
<path name="amic1" />
</path>
Testing the coming days, will let you know the results.
Click to expand...
Click to collapse
Unfortunately people on the phone are complaining about echo every time when on loudspeaker.
So, back to default settings.. ;-)

Categories

Resources