[BUG][IN-CALL MIC VOLUME LOW][Redmi Note 4 SD] - Xiaomi Redmi Note 4 Questions & Answers

Device:
Redmi Note 4 SD
OS:
MIUI 8 up to 8.5.4.0 all official and xiaomi.eu versions flashable zips,
MIUI 9 official stable release and xiaomi.eu versions flashable zips and MIUI Pro as well,
Fastboot flash Global ROM MIUI 8.5.4.0,
Fastboot flash developer ROM MIUI 9 7.8.24,
RR, AEX, LOS up to 7.1.2
Android Oreo 8.1.0; Cardinal AOSP 5.3.1, OmniROM Oreo
Problem:
In-call mic volume is too low / distorted unless you speak very close to the phone. If phone is tilted, other person can hear only a robotic sound coming from space (most probably aggressive noise cancellation). However, internet calling apps (WhatsApp, FB Messenger, IMO etc.) work quite normal. Voice Recorder and Camera recordings are also quite acceptable. Though video recording from some distance has bad audio. Not tested for audio recording.
Failed Solutions:
Tried by disabling Google Voice / "OK Google" and denying Mic permission for Google app. Also tried SoundAbout app. Nothing helps.
Editing these files (as guided in 4pda post) improves the quality a little bit:
/system/etc/audio_platform_info.xml,
/system/etc/media_profiles.xml,
/system/etc/mixer_paths_mtp.xml,
system/build.prop
WORKING SOLUTION:
Changing "ro.qc.sdk.audio.fluencetype" value to "none" improves the low volume issue but with low quality voice (in-call noise) and disturbed speakerphone (low) and earphone (high) volumes. Speakerphone volume is fixed by editing "audio_platform_info.xml".
1. Unlock bootloader
2. Install custom recovery
3. Use my flashable zip if you don't wanna go through this hassle of step 4 & 5 manually. V-2 fixes both of these issues i.e. in-call mic volume (4) and speakerphone volume (5).
or
To fix in-call mic volume:
4 (i). Root your device.
(ii). Edit build.prop in /system with any text editor.
(iii). Find this line:
Code:
ro.qc.sdk.audio.fluencetype=[COLOR="red"]fluence[/COLOR]
On Oreo, it's
Code:
ro.vendor.audio.sdk.fluencetype=[COLOR="red"]fluence[/COLOR]
(iv). Replace "fluence" with "none".
(v). Reboot or proceed to next step.
To fix low speakerphone volume after disabling noise cancellation:
5 (i). Edit audio_platform_info.xml in /system/etc with any text editor.
On Oreo, it's /system/vendor/etc/audio_platform_info.xml​(ii). Find this line:
Code:
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="[COLOR="red"]50[/COLOR]"/>
(iii). Change value to 50 or if not found, add complete line at end before:
Code:
</acdb_ids>
</audio_platform_info>
(iv). Reboot.
CHANGELOG:
v-4
Support for Android Oreo added
v-5
Set SELinux Context on modified files.
v-7
Works with Android 10
v-8
Minor fixes
Edit 1:
Setting "ro.qc.sdk.audio.fluencetype" value in build.prop to "fluencepro" instead of "fluence" makes no difference.
Edit 2:
Changing "ro.qc.sdk.audio.fluencetype" value to "none" or "persist.audio.fluence.voicecall" value to "false" improves the mic volume (no other changes required) but with low quality voice, even distorted. Earphone volume and speakerphone volumes are disturbed. Respectively one is too louder, second is hard to listen.
Edit 3:
Magisk module "Android Mic Fix" claim to modify these values in build.prop but it doesn't work on RN4.
Code:
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicerec=true
persist.audio.fluence.speaker=false
use.voice.path.for.pcm.voip=true
Edit 4:
Editing these lines in /system/etc/mixer_path_mtp.xml doesn't fix speakerphone volume after fluence disabled:
Code:
<ctl name="RX3 Digital Volume" value="89" />
Origianl value is "78".
Code:
<ctl name="Speaker Boost" value="ENABLE" />
Original value is "DISABLE".
Suggestion:
There are also a few further lines mentioned in different forums which can be added to build.prop but these aren't found by default in Redmi Note 4. Anyone tried these?
persist.audio.fluence.mode = endfire or false
persist.audio.handset.mic = digital or analog
persist.audio.voice.clarity = ON or none
persist.audio.voicecall.mic = 0
persist.audio.aanc.enable = false
persist.audio.handset_rx_type = DEFAULT
persist.audio.nsenabled = ON
persist.audio.fluence.audiorec = false
persist.audio.fluence.spk.mono = true or false
persist.audio.spkcall_2mic = OFF

If you have magisk, maybe you can try android mic fix module, just maybe,.and plz tell if it works...
{
"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"
}
Sent from my Xiaomi RN4x

spaxon said:
If you have magisk, maybe you can try android mic fix module, just maybe,.and plz tell if it works...
Click to expand...
Click to collapse
Don't have magisk right now, but I'll definitely try and update.

I applied this, rebooted, will monitor it in the next few days.

spaxon said:
If you have magisk, maybe you can try android mic fix module, just maybe,.and plz tell if it works...
Click to expand...
Click to collapse
Magisk module claim to modify these values in build.prop but it doesn't work on RN4.
Code:
ro.qc.sdk.audio.fluencetype=none persist.audio.fluence.voicerec=true persist.audio.fluence.speaker=false use.voice.path.for.pcm.voip=true

jazzh said:
I applied this, rebooted, will monitor it in the next few days.
Click to expand...
Click to collapse
I'm disappointed. It's even worse now than before, speaker incall output is too low, while music is ok. I disabled and uninstalled this magisk module, rebooted, but still low. Any suggestions?

I remeber that i fixd this problem on mi4c with changing numbers in this file: system/etc/mixer_paths.xml
Now im trying to fix this on redmi note 4 with ResurrectionRemix, i will test few things.
I used this examples: https://github.com/morphicts/android_device_xiaomi_libra/pull/2/files#r70112222

CiupaSs said:
I remeber that i fixd this problem on mi4c with changing numbers in this file: system/etc/mixer_paths.xml
Now im trying to fix this on redmi note 4 with ResurrectionRemix, i will test few things.
I used this examples: https://github.com/morphicts/android_device_xiaomi_libra/pull/2/files#r70112222
Click to expand...
Click to collapse
I tried my best. Nothing works. Do tell if it improves the situation

jazzh said:
I'm disappointed. It's even worse now than before, speaker incall output is too low, while music is ok. I disabled and uninstalled this magisk module, rebooted, but still low. Any suggestions?
Click to expand...
Click to collapse
Manually modify these values in /system/build.prop:
Code:
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.speaker=false
to
Code:
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.speaker=true
Backup before any modifications in case if something goes wrong accidentally

mirfatif said:
Manually modify these values in /system/build.prop:
Code:
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.speaker=false
to
Code:
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.speaker=true
Backup before any modifications in case if something goes wrong accidentally
Click to expand...
Click to collapse
No, nothing helps. I applied this build.prop lines, as well as xml lines as per video, but still low spkphone call volume... Everything else OK.

jazzh said:
No, nothing helps. I applied this build.prop lines, as well as xml lines as per video, but still low spkphone call volume... Everything else OK.
Click to expand...
Click to collapse
If you fix mic volume by editing build.prop, speakerphone volume will be low (hardly audible) and earphone volume will be high (distorted). If you compromise on mic volume, both others will be good. So it's a choice. I prefer mic volume to be fixed because I rarely use speakerphone or earphone for calls.
Editing other files in /system/etc/ doesn't fix mic volume. I think they fix audio / video recording volume which isn't my problem.

I'm still having that problem...

jazzh said:
I'm still having that problem...
Click to expand...
Click to collapse
What problem? Low mic volume or low speakerphone volume?

mirfatif said:
What problem? Low mic volume or low speakerphone volume?
Click to expand...
Click to collapse
speakerphone. when I'm talking to someone on the speakerphone I can barely hear him.

jazzh said:
speakerphone. when I'm talking to someone on the speakerphone I can barely hear him.
Click to expand...
Click to collapse
I already stated if you fix mic volume by changing "ro.qc.sdk.audio.fluencetype" value to "none" or "persist.audio.fluence.voicecall" value to "false" in build.prop, speakerphone volume is automatically disturbed (hardly audible). No fix found for this so far

mirfatif said:
I already stated if you fix mic volume by changing "ro.qc.sdk.audio.fluencetype" value to "none" or "persist.audio.fluence.voicecall" value to "false" in build.prop, speakerphone volume is automatically disturbed (hardly audible). No fix found for this so far
Click to expand...
Click to collapse
I reverted these changes back, but no improvement. Will it help if I flash miui global stable 8.2.10.0 again?

jazzh said:
I reverted these changes back, but no improvement. Will it help if I flash miui global stable 8.2.10.0 again?
Click to expand...
Click to collapse
There must be some changes which aren't reverted. Replace build.prop with original file if you have backup. Otherwise flashing rom will definitely resolve the problem. Prefer fastboot flashing

mirfatif said:
I tried my best. Nothing works. Do tell if it improves the situation
Click to expand...
Click to collapse
It was good solution, i changed everything over 90 and now i can hear everything, im using RR rom.
I dont know which lane is for earspeaker cause now everything is on rly high volume ;d

CiupaSs said:
It was good solution, i changed everything over 90 and now i can hear everything, im using RR rom.
I dont know which lane is for soundspeaker cause now everything is on rly high volume ;d
Click to expand...
Click to collapse
In what file mate?

CiupaSs said:
It was good solution, i changed everything over 90 and now i can hear everything, im using RR rom.
I dont know which lane is for earspeaker cause now everything is on rly high volume ;d
Click to expand...
Click to collapse
And speakerphone volume? It must be down. Right?

Related

[MOD][ONEPLUS ONE][4.4.x-7.1.x] True Stereo effect [BALANCED]

First off, to be clear this is a reworked project. But definitely a great mod that might help many users.
Q. Oh gawd, a thread is already there. Moderator ban him!
-Yes, there is a separate thread for Audio mods and all, but I'm afraid not many people visit them. So I'm just posting it here for the sake of sharing. And yes, I'm very thankful to the original idea of the OP here : http://forum.xda-developers.com/oneplus-one/development/mod-oneplus-one-stereo-mod-t2967925 and most of the credit goes to him. Buy him a beer if you like this.
Q. Okay, whatever. Just tell me what will it do???
-Well, what in does in OP(s) own words "I have enabled true stereo playback by putting the speakers on a different channel than the earpiece. This version of the mod will only be noticeable if you are listening to music that was recorded in stereo."
-YES, IT DEFINITELY DOES SOUND BETTER.
What it basically does is sets up 2 channels, one from the speakers(both mono) and the other from the earpiece, thereby making it a True Stereo combo.
Enough of All the explanations, get me to the downloads. Grr.
HERE mate -
Download link: gdrive - https://drive.google.com/file/d/0Bzedbk3OVKq1ZjdoVWIzUnBtNWc/view?usp=drivesdk
Having issues? Want back stock just as it came? Here flash this : https://drive.google.com/file/d/0Bzedbk3OVKq1OGo3UXFxUXBoXzA/view?usp=drivesdk​
Benefits/profit over original mod :
-creates a balance so that it actually creates a surround stereo sound
-very noticeable, loud
-wont harm your speakers (any) even at high volumes
-more bass, treble, without any crackling.
-supports all Android versions from KitKat to Nougat ;D
Instructions :
1) Just flash the damn zip(s)
2) BOOM BOOM
Q) Is ViPER4Android supported?
-It sure is
Q) Is A.R.I.S.E. supported? What about Spotify? SoundCloud? Indian users: Gaana? Saavn? Hungama Music?
-Every music App/mod is supported which can output Stereo sound (most of them do) Don't worry. ^-^
Q) YouTube?
-F*ck yes.
WHAT ABOUT GAMES?
ALL IN STEREO, BABY​
Have any questions? Want to increase the speaker volume?
I'm there to help you, man. Just ask.
This mod will activate your front earpiece speaker in conjunction with the rear main speaker every time
{
"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"
}
All feedbacks are welcomed!
Enjoying this mod?
-You can gift me XDA Ad-Free.
Have fun
Hit thanks if I helped you, or your device xd
~from my exceptionally awesome Modded True stereo OnePlus One
Please mention the ROMs on which this mod worked without any issues. I'll update the list here.
Currently confirmed ROM(s), perfectly working-
CM13 Unofficial by @Sultanxda
Resurrection Remix 7.1.0 [5.8.0] by @varund7726 (with the modified zip linked here)
Resurrection Remix [5.7.4][CM13] by @varund7726 (with the modified zip linked here)
CM14.1 [OMS] [OPTIMISED] by @jgcaap (with the modified zip linked here)
crDroid v1.2 by @firebird11 (with the modified zip linked here)
Android Open Source Project | NDE63X [7.1.0_r7] by @kwoktopus
TugaPower [CM14.1] [OMS7] by @danieldmm (with the modified zip linked here)
CM12.1 Unofficial by @Sultanxda
CM13 [6.0.1] TugaPower 97.1 by @danieldmm
NitrogenOS 7.1.1 by @amardeep434
Zephyr-OS V6.2 [7.1.1_r4] by @~KV
AICP by @Raienryu (with the modified zip linked here)
AOSPlus One [7.1.1_r13] by @freshgiammi
Official LineageOS 14.1 maintained by @linuxxxx (with the modified zip linked here)
Unofficial optimized builds of LineageOS 14.1 by @idprophecy (Awesome Dev) (with the modified zip linked here)
Candy7 by @NoSpamDan (with the modified zip linked here)
Please do not flash this mod on jgcaap's CM13 ROM and other ROM ports
Modified zip* (for some ROMs, to fix the notifications sound and various other issues) -
Original : https://drive.google.com/file/d/0Bzedbk3OVKq1TTZBQlFDQ0FqQk0/view?usp=drivesdk
Balanced (Recommended) : https://drive.google.com/file/d/0Bzedbk3OVKq1N193UkYzSzRWU2s/view?usp=drivesdk
On steroids : https://drive.google.com/file/d/0Bzedbk3OVKq1QUs3QXVwMFNFN0k/view?usp=drivesdk
*This is a standalone file. Just flash this for the ROMs mentioned above and/or else stated otherwise
Mirrors
Dropbox : https://www.dropbox.com/sh/qlb1sk2ek02vz10/AADO5IhixdBlLZh5ejCK3xNJa?dl=0
Mega : https://mega.nz/#F!qsgBQKQB!Y2mod0dTphArGsogh-e7gg
If any moderator is reading this, I don't know why you deleted my previous thread, but please don't delete this one. This thread is the only copy of my work, shared for the benefit of fellow users. I hope you understand. Peace.
They love it**​
**Data from user posts below and the poll above
Will definetly try this. Thank You for sharing
Wysłane z mojego A0001 przy użyciu Tapatalka
any other download link, can not access gdrive.
Works for me, maybe add an option to balance sound volume between speakers? Main speaker are Lauder then upper one so stereo effect is minimal
Edit: but in game there is only music, sfx sounds doesn't work, eg Hill climb racing 2 only hear music, but nothing more, engines or other
berdey said:
any other download link, can not access gdrive.
Click to expand...
Click to collapse
Check out post #3
plantator said:
Works for me, maybe add an option to balance sound volume between speakers? Main speaker are Lauder then upper one so stereo effect is minimal
Edit: but in game there is only music, sfx sounds doesn't work, eg Hill climb racing 2 only hear music, but nothing more, engines or other
Click to expand...
Click to collapse
The earpiece cannot match the output of the main speakers (power output difference), however I've tried to create a balance between them.
To increase the earpiece volume -
Navigate to /system/etc
Open the mixer_paths.xml
Go to the "output paths" section
Find the <path name="speaker"> line
<path name="speaker">
<path name="spk-ear" />
*This is the earpiece volume code* (increase or decrease as per your will)<ctl name="RX1 Digital Volume" value="92" />
<ctl name="RX3 Digital Volume" value="66" />
</path>
About the game, I haven't tested it on Hill climb racing particularly. Can you check out more games and report and maybe I'm able to fix that as well.
Cheers.
the STEREO works great! thank you for the mod.
only problem I lost all sound in notifications and touch sound and lock screen sound doesn't work.
can it be fixed? I'm on RESURRECTION REMIX [5.8.0]
ALEXSG18 said:
the STEREO works great! thank you for the mod.
only problem I lost all sound in notifications and touch sound and lock screen sound doesn't work.
can it be fixed? I'm on RESURRECTION REMIX [5.8.0]
Click to expand...
Click to collapse
Try this : https://drive.google.com/file/d/0Bzedbk3OVKq1ejJXSW16aTVOUTg/view?usp=drivesdk
Just flash it over. Should fix the notifications sound.
yes it fixed it, thank you
Dude u gotta stop spamming otherwise the moderators will just delete threads... So stop and chilll i love your mod. Just dont advertise in other threads
Amazing mod bro, beat stomper sounds phenomenal with this!
TareqA said:
Dude u gotta stop spamming otherwise the moderators will just delete threads... So stop and chilll i love your mod. Just dont advertise in other threads
Click to expand...
Click to collapse
1. The posts already got deleted and I didn't even receive a PM about that
2. Yesterday, I also created a thread, but it got deleted for no absolute reason.
3. I'm not advertising anymore, find my post in any thread now. They're not there. So I created this final thread.
4. Glad that you love this.
Thepromodder said:
Amazing mod bro, beat stomper sounds phenomenal with this!
Click to expand...
Click to collapse
Can you share the ROM, so that I can add it to the list? Please read post #2, and post #3 as well. Would make it efficient for others.
Cheers.
RESURRECTION REMIX [5.7.4][CM13] working perfectly with this awesome mod. Good one.
Use Modified zip* (for some ROMs to fix the notifications sound).
mpaopao said:
RESURRECTION REMIX [5.7.4][CM13] working perfectly with this awesome mod. Good one.
Use Modified zip* (for some ROMs to fix the notifications sound).
Click to expand...
Click to collapse
Thanks. Post updated.
7u5h4r said:
Thanks. Post updated.
Click to expand...
Click to collapse
Resurrection Remix Nougat, also will there be any issues if I manually increase ear piece sound?
Thepromodder said:
Resurrection Remix Nougat, also will there be any issues if I manually increase ear piece sound?
Click to expand...
Click to collapse
The value is already set to 90%(if you're using the modified zip), I do not recommend going over 95 as it starts cracking after that and may affect the earpiece. However, you're free to set any values as per your will.
Just change the values, hit save and reboot.
Not working on jgcaap cm 13
harsha7sai said:
Not working on jgcaap cm 13
Click to expand...
Click to collapse
Try both the modified and the original one, and tell
Also, can anyone else using jgcaap CM13 confirm this?
7u5h4r said:
Try both the modified and the original one, and tell
Also, can anyone else using jgcaap CM13 confirm this?
Click to expand...
Click to collapse
Modified works fine

Bad speaker sound output on Note 4/4X

I don't know if this case is only with my handset or with every Mido on CUSTOM ROMS.
Any mod or some tweaks to boost speaker output? The case is that I am using aosp/los based roms and A.R.I.S.E / AINUR SAURON doesn't seem to function. And I don't want to revert back to stock MIUI just to get a decent output. Any suggestions? :crying:
Have you tried viper? It provides speaker audio gain, but the driver seems won't install on enforcing selinux.
Sauron does increase speaker output a little bit, and I think it also affect headphone output since it provides a better mid range output IMO. Oh and I also flashed the dirac addon.
suvam69 said:
I don't know if this case is only with my handset or with every Mido on CUSTOM ROMS.
Any mod or some tweaks to boost speaker output? The case is that I am using aosp/los based roms and A.R.I.S.E / AINUR SAURON doesn't seem to function. And I don't want to revert back to stock MIUI just to get a decent output. Any suggestions? :crying:
Click to expand...
Click to collapse
open this picture
https://drive.google.com/open?id=0B_Q4QjvbODxoQkRUQkU1amN2Smc
go to system/etc/mixer_path.xml and change these values that i circled
the first two change to 10
and the last one to anything below 94
I suggest 90 or 88
REMEMBER ITS THE MIXER_PATH.XML FILE
IF THERE IS A MIXER_PATH_MTP.XML FILE, DO THE SAME THING TO THAT FILE.
asusm930 said:
open this picture
https://drive.google.com/open?id=0B_Q4QjvbODxoQkRUQkU1amN2Smc
go to system/etc/mixer_path.xml and change these values that i circled
the first two change to 10
and the last one to anything below 94
I suggest 90 or 88
REMEMBER ITS THE MIXER_PATH.XML FILE
IF THERE IS A MIXER_PATH_MTP.XML FILE, DO THE SAME THING TO THAT FILE.
Click to expand...
Click to collapse
thanks bro

Everything is almost perfect...

So I finally set my X Compact.
I have 6.0.1 firmware with unlocked bootloader, root with Magisk, Twrp, Androplus kernel, Xposed, Nova Launcher...
Everything is nice as z3 compact and better: battery so far, much better camera (z3c sucks...), faster system, fingerprint...more ram etc...
But 3 things I have to solve for a perfect device:
- Sound speakers: It is not very high. I would like a sound boost app working, or a system mod, but I can't find it...
- Torch light is very low. Can't find a way to modify that. Here there is a thread: https://forum.xda-developers.com/x-compact/help/increasing-torch-power-root-t3637773
- Call recording issue. interlocutor's voice is usually too high and distorted... (This is the most annoing fact...!)... Software Developers says is a system issue...
That's it so far. I wonder if I update firmware to 7.1.2 can fix some. But Xposed is still not working propely on that Android version...
Hope some can help me...
mains75 said:
So I finally set my X Compact.
I have 6.0.1 firmware with unlocked bootloader, root with Magisk, Twrp, Androplus kernel, Xposed, Nova Launcher...
Everything is nice as z3 compact and better: battery so far, much better camera (z3c sucks...), faster system, fingerprint...more ram etc...
But 3 things I have to solve for a perfect device:
- Sound speakers: It is not very high. I would like a sound boost app working, or a system mod, but I can't find it...
- Torch light is very low. Can't find a way to modify that. Here there is a thread: https://forum.xda-developers.com/x-compact/help/increasing-torch-power-root-t3637773
- Call recording issue. interlocutor's voice is usually too high and distorted... (This is the most annoing fact...!)... Software Developers says is a system issue...
That's it so far. I wonder if I update firmware to 7.1.2 can fix some. But Xposed is still not working propely on that Android version...
Hope some can help me...
Click to expand...
Click to collapse
Can't look it up right now but if you google it it's easy to find. You can make the speakers louder by opening up a particular system folder with root explorer. The default value for max volume is 83. Change that to 93 or 94 and you will see a huge difference. Don't recommend setting the value higher than that though because at 100 you risk blowing a speaker.
P.S. mixer_paths.xml is what your looking for. "speaker" and "headphone" are the area you want. For speaker change the 83 to 93 or 94, for headphone if it's at 15 bump it up to 20.
Halftrack said:
Can't look it up right now but if you google it it's easy to find. You can make the speakers louder by opening up a particular system folder with root explorer. The default value for max volume is 83. Change that to 93 or 94 and you will see a huge difference. Don't recommend setting the value higher than that though because at 100 you risk blowing a speaker.
P.S. mixer_paths.xml is what your looking for. "speaker" and "headphone" are the area you want. For speaker change the 83 to 93 or 94, for headphone if it's at 15 bump it up to 20.
Click to expand...
Click to collapse
I found that file, but I can't find that value.
I attached it View attachment mixer_paths.xml
Thanks
PS. Maybe is it Rx1,rx2,rx3 digital volume?
mains75 said:
I found that file, but I can't find that value.
I attached it View attachment 4239925
Thanks
PS. Maybe is it Rx1,rx2,rx3 digital volume?
Click to expand...
Click to collapse
<path name="speaker"><ctl name="RX3 MIX1 INP1" value="RX1"/><ctl name="SPK" value="Switch"/></path>
<path name="wsa-speaker"><ctl name="RX1 MIX1 INP1" value="RX1"/><ctl name="RDAC2 MUX" value="RX1"/><ctl name="RX1 Digital Volume" value="84"/><ctl name="WSA Spk Switch" value="WSA"/><ctl name="SpkrMono WSA_RDAC" value="Switch"/></path>
Change the 84 in the RX1 Digital Volume value to a 93. Save it then reboot the phone. Been to lazy to root my compact so I cant test it myself but that should do it.
Halftrack said:
<path name="speaker"><ctl name="RX3 MIX1 INP1" value="RX1"/><ctl name="SPK" value="Switch"/></path>
<path name="wsa-speaker"><ctl name="RX1 MIX1 INP1" value="RX1"/><ctl name="RDAC2 MUX" value="RX1"/><ctl name="RX1 Digital Volume" value="84"/><ctl name="WSA Spk Switch" value="WSA"/><ctl name="SpkrMono WSA_RDAC" value="Switch"/></path>
Change the 84 in the RX1 Digital Volume value to a 93. Save it then reboot the phone. Been to lazy to root my compact so I cant test it myself but that should do it.
Click to expand...
Click to collapse
Thankyou I will try and I'll tell you!!
I wonder if I can solve the recording call issue with this file, too.
I see "voice rx gain" ...maybe if I give a minor value it does not create distortions with call recording...the issue is with interlocutor's voice only...
mains75 said:
Thankyou I will try and I'll tell you!!
I wonder if I can solve the recording call issue with this file, too.
I see "voice rx gain" ...maybe if I give a minor value it does not create distortions with call recording...the issue is with interlocutor's voice only...
Click to expand...
Click to collapse
Side note if for some reason that didn't work scroll down a couple lines and change the handset RX1 Digital Volume Value from 84 to 93 as well. Reboot and see what happens. Just always go with small changes, especially when going up in volume. I have never taken a compact higher than 94 due to risk of blowing a speaker.
As for the voice thing you can play with values just write the numbers down in case it doesn't work out so you can put it back to default value. Though I am not sure what distortion or loudness your getting from the callers end because I haven't noticed anything like that on mine. Granted it's still running stock though just with a flashed firmware for the fingerprint sensor.
Halftrack said:
Side note if for some reason that didn't work scroll down a couple lines and change the handset RX1 Digital Volume Value from 84 to 93 as well. Reboot and see what happens. Just always go with small changes, especially when going up in volume. I have never taken a compact higher than 94 due to risk of blowing a speaker.
As for the voice thing you can play with values just write the numbers down in case it doesn't work out so you can put it back to default value. Though I am not sure what distortion or loudness your getting from the callers end because I haven't noticed anything like that on mine. Granted it's still running stock though just with a flashed firmware for the fingerprint sensor.
Click to expand...
Click to collapse
I changed the speaker value only. I think it works. Speaker volume seems to be louder. Now it's night, I can't test correctly
Voice calling is ok. The issue is when you record the call and you listen to it. My recorded sound voice is ok, the other caller voice is distorted. But during the live call everything is ok.
Also bt calling and recording is ok.
You can try with this app: https://forum.xda-developers.com/showthread.php?t=1441643
mains75 said:
I changed the speaker value only. I think it works. Speaker volume seems to be louder. Now it's night, I can't test correctly
Voice calling is ok. The issue is when you record the call and you listen to it. My recorded sound voice is ok, the other caller voice is distorted. But during the live call everything is ok.
Also bt calling and recording is ok.
You can try with this app: https://forum.xda-developers.com/showthread.php?t=1441643
Click to expand...
Click to collapse
Try using Boldbeast from the playstore. I think it has a free trial version. See if that makes a difference on sound quality. Might just be a compatibility issue between that app and the phone.
Thankyou, it is a great app,too. But still I have this annoing issue... I’m very dispirited…
Hey Guys I solved my problem!!!
I just update form MM to Nougat 7.1.1. (34.3.A.0.206) and now call recording seems to be good!!!
Now I have the perfect device!!!!!!!!!!!!
(p.s. And with Genesis Kernel 1.05 installed too...)
Are you using boldbeast to record? If so what settings are you using? I've got the default settings and the recordings are so so
Sent from my Pixel using Tapatalk
skybronco said:
Are you using boldbeast to record? If so what settings are you using? I've got the default settings and the recordings are so so
Sent from my Pixel using Tapatalk
Click to expand...
Click to collapse
Now I use call recorder by Skvalex
https://forum.xda-developers.com/showthread.php?t=1441643
set api standard - voice Communication - mp3
I tested Systemless/Magisk version xposed under nougat and it works just fine
https://forum.xda-developers.com/xp...k-25-arm64-t3639221/post73437798#post73437798
Coming from Z3c, and just wondering about people's predictions - will there be much continuing development for Xc? I really like this phone, and feel like it's an upgrade, but would like to see more custom stuff. What do we think: more to come or heading out? I think I read that we should get official O, correct?
levone1 said:
Coming from Z3c, and just wondering about people's predictions - will there be much continuing development for Xc? I really like this phone, and feel like it's an upgrade, but would like to see more custom stuff. What do we think: more to come or heading out? I think I read that we should get official O, correct?
Click to expand...
Click to collapse
There should indeed be official Oreo soon but the future for more community content is uncertain imo. There isn't really much going on about this device (when compared to other devices, of course) and I think you could be maybe better off with XZ1c.
Crusheer said:
There should indeed be official Oreo soon but the future for more community content is uncertain imo. There isn't really much going on about this device (when compared to other devices, of course) and I think you could be maybe better off with XZ1c.
Click to expand...
Click to collapse
I had 2 Z1c's over the course of 3 years, and did just about everything you can do with it, a few times over. Development has almost stopped now... You're right, though, probably the best Xperia compact phone yet, as far as development.
Actually, I meant the new XZ1 Compact device.
https://forum.xda-developers.com/xperia-xz1-compact
There isn't much done yet but it has more potential, being newer and with better specs.

[MOD][Stereo][BiQuad][Audio] Stereo mod and enhanced bass using Qualcomms Biquads

Code:
*** Disclamer
I made this mod for myself and I'm willing to share it with you. Install this at your own risk.
Introduction
This mod activates the earpeace speaker for playback of multimedia audio, to create a stereo sound.
Using Qualcomms biquads, which is a hardware filter (doesn't interfere with software equalizers) in the audio codec that isn't used by default, I have been able to increase the volume and bass of the audio without harming the speakers. For this, I designed the biquads like this:
Earpiece
Let's be clear about it: the earpiece speaker isn't physically designed to produce loud and rich music and doing so may be harmfull for it.
I filtered out the low-frequency tones for the earpiece speaker because these are the most harmfull for it. Doing so, I was also able to turn up the volume a tad without sacrificing on the quality of the audio.
This is the frequency response of the earpiece speaker:
{
"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"
}
Main speaker
Here I made 2 versions: 'balanced' and 'volume boosted'.
Balanced:
On this one I lowered the volume of the main speaker to match the volume of the earpiece speaker. But because the low-frequency tones are quite weak on the oneplus one, I decided to keep the basses on stock level. This way, the sound is nice balanced while basses are a bit boosted. This leads to a very nice audio experience while watching video's, however the max volume is quite low.
The frequency response of the main speaker for this case is like this:
Volume boosted
This is actually the same as the balanced, but the total volume is about the same as stock.
I lowered the main speaker volume until the point where the earpiece and main speaker together produce about the same volume as stock. The low-frequency tones of the main speaker are kept at max volume. This leads to music with about the same volume, but better bass than stock. The nice stereo effect of the music is still present, but not balanced anymore.
This is the frequency response of the main speaker:
Click to expand...
Click to collapse
Features
Based on the latest mixer_paths.xml from sultanXDA's LineageOS 14.1
Stereo audio
Biquad filters
- earpiece is louder by filtering out the basses (main speaker also louder)
- A lot more bass out of main speaker
Perfect balance between left and right channel
Added some missing ULL cases and output paths
Click to expand...
Click to collapse
Download
Balanced:
Stereo_balanced.zip
Volume boosted:
Stereo_volume_boost.zip
Uninstall:
Uninstall.zip
Mirror:
https://drive.google.com/open?id=1Kp06mJsF9SiyNZnOdERMSJb_2T6PmJ7l
Click to expand...
Click to collapse
Installation instructions
1) Download the balanced or the volume boosted stereo mod above
2) Flash the zip-file through a custom recovery
(The mod will check if my 'balanced' or 'volume boosted' mod has already been installed. In case it hasn't, it'll make a back-up of the original mixer_paths.xml)
3) Ready!
Click to expand...
Click to collapse
Uninstallation instructions
Just install the Uninstall.zip, you're back to stock.
(I also noticed that not every ROM uses the same mixer_paths.xml, so if you lost your sound after flashing this mod, don't wory, just flash the Uninstall.zip)
Click to expand...
Click to collapse
Remarks
I use (and thus developed) this mod together with a dolby atmos port to get a great audio experience while watching movies and listening music. Therefore it is also optimal in combination with dolby atmos.
This mod was a lot of work, give a "thanks" or consider a small donation if you like it please.
Thanks To
Code:
@abhi08638 for teaching me about the stereo part of this mod.
@chdloc for teaching me about biQuads.
XDA:DevDB Information
Audio Mod, Tool/Utility for the OnePlus One
Contributors
louis-JYG4t
Version Information
Status: Stable
Created 2018-03-12
Last Updated 2018-03-21
12/03/2018
Initial publication.
21/03/2018
Added istaller support for android oreo.
First post.. where is download path
fahirrulez said:
First post.. where is download path
Click to expand...
Click to collapse
Fixed
louis-JYG4t said:
Fixed
Click to expand...
Click to collapse
I see so many duplicate threads on same name created by you. It will be confusing for the user. Please retain this thread and delete the remaining. Thanks.
Links not working
Yep links not working share another links plz
Nice work, but try to actually edit your posts instead of flooding the forum. Please. The mods are doing enough work already.
SirSoviet said:
Nice work, but try to actually edit your posts instead of flooding the forum. Please. The mods are doing enough work already.
Click to expand...
Click to collapse
fahirrulez said:
I see so many duplicate threads on same name created by you. It will be confusing for the user. Please retain this thread and delete the remaining. Thanks.
Click to expand...
Click to collapse
Hi
I know.. I kept arriving at a a page "this page doesn't work" so I thought the thread failed to be created every time.
Then I saw all the duplications and tried to delete them all, but although they were removed from my projects they kept existing in One Android Development...
In the mean time a mod already deleted the other ones Sory for the confusing!
That's weird... On pc, the link take you straight to this page (see attachment), but in the android app it doesn't... I'll upload a Google drive mirror..
Edit: same for the pictures in the 'introduction' section, they show up on pc but not in the android app.
Does it work with oreo?
zzyyi66 said:
Does it work with oreo?
Click to expand...
Click to collapse
I don't know, you can try. In case it doesn't, just install the uninstall.zip, this recovers your stock mixer_paths.xml.
when i am trying to flash it i have got error : 7 how can i fix it?
joead2010 said:
when i am trying to flash it i have got error : 7 how can i fix it?
Click to expand...
Click to collapse
Are you trying to flash this on a oneplus one? Could you check what is stated above the red tex that says error 7?
The mod probably can't identify your device as a oneplus one.
louis-JYG4t said:
Are you trying to flash this on a oneplus one? Could you check what is stated above the red tex that says error 7?
The mod probably can't identify your device as a oneplus one.
Click to expand...
Click to collapse
Take a look
louis-JYG4t said:
I don't know, you can try. In case it doesn't, just install the uninstall.zip, this recovers your stock mixer_paths.xml.
Click to expand...
Click to collapse
it works perfect.you can manual replace the mixer_paths.xml from /system/vendor/etc.great job.
louis-JYG4t said:
Are you trying to flash this on a oneplus one? Could you check what is stated above the red tex that says error 7?
The mod probably can't identify your device as a oneplus one.
Click to expand...
Click to collapse
Same here
joead2010 said:
Take a look
Click to expand...
Click to collapse
zzyyi66 said:
it works perfect.you can manual replace the mixer_paths.xml from /system/vendor/etc.great job.
Click to expand...
Click to collapse
Awais Bhatti said:
Same here
Click to expand...
Click to collapse
Oh I see, the location of mixer_paths.xml has changed with android 8.1...
I'll update the installer to support android 8.1. In the mean time, you could indeed manually replace the mixer_paths.xml like zzyyi66 said, but take a backup of the original because the uninstaller won't work if the installer can't make a backup.
For the people who manually replaced it without making a backup: another way to return to stock would be dirty flashing your rom again.
Created review and installation for mod on oreo based roms. Sound is like SRS now but not louder but we can use kernel auditer mod For sound control
MOD EDIT: YOUTUBE LINK REMOVED
pankspoo said:
Created review and installation for mod on oreo based roms. Sound is like SRS now but not louder but we can use kernel auditer mod For sound control
MOD EDIT: YOUTUBE LINK REMOVED
Click to expand...
Click to collapse
BTW whats the rom ur using?

[MAGISK][MOD][EOL] [v8]Stereo Speaker Mod For Oneplus 6 *AML COMPATIBLE*

{
"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"
}
This module enables the earpiece to be used as a secondary speaker while playing music or videos.
There were a few modifications in the mixer file, similar to Oneplus 5 & 5T.
*I am not responsible for any damage to your device*
You will need a stock rom with Magisk installed.
EDIT : After reviews from users I found out that this mod works partially with complete stock, to get stereo audio on all the apps please install NoLimits rom or Viper Audio.
Just add the module in magisk & reboot.
If you want it to be more loud, flash the cleanslate kernel and increase the earpiece gain.(*At your own risk)
Downloads :
v8 : Releases
Source : Github
Note : Download the file in the attachment, extract it & move it to ViPER4Android/Kernel folder in internal storage and select TubeAmplifier file in Convolver. This will significantly boost the output of both the speakers without causing any distortions. [Original thread]
Addidional Note : As reported by aenews v8 breaks AML compatibility with other mods, so if you're facing the same issues please revert to v7!
OLD VERSIONS :
Download v1 : DRIVE
Download v2 [Gain Reduced] : DRIVE
Download v2 : DRIVE [Does not require Viper]
Download v3 : DRIVE
Download v3 [With Unity & AML Support] : #232
Download v4 : DRIVE [PIE]
Download v5 : DRIVE
Download v6 : DRIVE
Youtube Video :
Featured On XDA Portal
Changelog :
Code:
v1 - Initial Release
v2 - Fixed the earpiece not working in several apps. The mod is now standalone and works without Viper as well
v3 - Fixed the earpiece not working during call
v4 - Fixed Bluetooth Audio[PIE]
v5 - Right channel audio plays through both the speakers now. Earpiece gain increased by 2dB
v6 - Fixed latency issue between earpiece and main speaker
v7 - Mod is now AML compatible
v8 - Fixed the issues with speakerphone and bluetooth devices
I had to go through several threads in order to port this mod.
Credits :
magura320
SpasilliumNexus
DorianX
chdloc
Dante63
Zackptg5
Regards,
acervenky
IT works thx
Works
The mod works very well. Thank you very much as its truly stereo, Works with Franko's Kernel as well. Any recommended values for the earpiece audio level.
anupsnair said:
The mod works very well. Thank you very much as its truly stereo, Works with Franko's Kernel as well. Any recommended values for the earpiece audio level.
Click to expand...
Click to collapse
Keep the earpiece gain in between 10-15 dB and you'll be fine
Regards,
acervenky
@acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.
But while playing youtube videos above test worked. Earpiece working.
pankspoo said:
@acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.
But while playing youtube videos above test worked. Earpiece working.
Click to expand...
Click to collapse
Music via play music as well as Xperia Music is playing through both the speakers for me.
As for the videos, gallery and mx player are working fine too.
Flash this on clean stock & magisk, it should work fine.
Regards,
acervenky
I have the Same Problem in music player.no Stereo sound
Kevinkuensken said:
I have the Same Problem in music player.no Stereo sound
Click to expand...
Click to collapse
pankspoo said:
@acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.
But while playing youtube videos above test worked. Earpiece working.
Click to expand...
Click to collapse
Which music player are you using?
Regards,
acervenky
Black Player.In Games No Stereo Sound too.NFS No Limits
acervenky said:
Which music player are you using?
Regards,
acervenky
Click to expand...
Click to collapse
Play music
Kevinkuensken said:
I have the Same Problem in music player.no Stereo sound
Click to expand...
Click to collapse
pankspoo said:
@acervenky while playing music and videos i think its not working i used clean salte confuguration and reduced speaker gain to 0 and earpiece gain to max but no sound.
But while playing youtube videos above test worked. Earpiece working.
Click to expand...
Click to collapse
Kevinkuensken said:
Black Player.In Games No Stereo Sound too.NFS No Limits
Click to expand...
Click to collapse
Black player working for me as well. I had flashed NoLimits rom to check compatibility, also viper and dolby were included in the rom, you can maybe try flashing viper and report back?
Meanwhile I will try to revert back to stock and check whether the earpiece is working.
EDIT : Reverted to stock, facing same issues as you guys. To get the stereo mod across all apps please install the Viper audio or NoLimits Rom.
OP will be updated accordingly.
Regards,
acervenky
Wow! It works pretty well!! Thx a lot!!!
Poweramp working too. How set volume and witch volume are safe?
After Install Viper black Player Work with Stereo Sound bitte NFS No Limits not
SpectraFun said:
Poweramp working too. How set volume and witch volume are safe?
Click to expand...
Click to collapse
You can modify gain levels by flashing clean slate kernel and installing the companion app.
You can increase the volume till the voice is clear, if it starts to crack lower the volume as it may damage the earpiece.
Kevinkuensken said:
After Install Viper black Player Work with Stereo Sound bitte NFS No Limits not
Click to expand...
Click to collapse
Ok, thank you for reporting back.
I'll check out the ingame audio.
Regards,
acervenky
Kevinkuensken said:
After Install Viper black Player Work with Stereo Sound bitte NFS No Limits not
Click to expand...
Click to collapse
Yes i had tested too its working with v4A
Can i damage speaker with this module? I'm on full stock without root for now, wan't to root my phone only for this module
damnedon said:
Can i damage speaker with this module? I'm on full stock without root for now, wan't to root my phone only for this module
Click to expand...
Click to collapse
You can damage the earpiece at very high volume levels. However, at moderate volumes this won't cause any issue.
Regards,
acervenky
acervenky said:
You can damage the earpiece at very high volume levels. However, at moderate volumes this won't cause any issue.
Regards,
acervenky
Click to expand...
Click to collapse
Can I regulate volume of top speaker or it's the same as main speaker? Maybe engineer menu? And maybe somehow I can adjust max lvl of top speaker to play on lower settings?
damnedon said:
Can I regulate volume of top speaker or it's the same as main speaker? Maybe engineer menu? And maybe somehow I can adjust max lvl of top speaker to play on lower settings?
Click to expand...
Click to collapse
You will have to flash the clean slate kernel and use the companion application to modify the max gain on earpiece speaker.
Regards,
acervenky

Categories

Resources