yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
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.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
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.
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
I'm still having that problem...
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
What problem? Low mic volume or low speakerphone volume?
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
speakerphone. when I'm talking to someone on the speakerphone I can barely hear him.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
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
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
I reverted these changes back, but no improvement. Will it help if I flash miui global stable 8.2.10.0 again?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
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
[Xiaomi Redmi Note 4 Questions & Answers] CiupaSs:
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
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
In what file mate?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
And speakerphone volume? It must be down. Right?
[Xiaomi Redmi Note 4 Questions & Answers] CiupaSs:
Find in mixer path lanes with DIGITAL and improve this over 90. I dont know how to quote all of you. Sorry.
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
Hes talking about boosting speaker volume via mixer_path_mtp file is system/etc

Editing these lines incerease headphones and speaker volume

<ctl name="RX1 Digital Volume" value="88" />

<ctl name="RX2 Digital Volume" value="88" />

<ctl name="RX3 Digital Volume" value="89" />

Rx1 and rx2 is headphones

Rx3 is speaker

Original value for rx1 and rx2 is 84

For rx3 its 78

max values for all is 84

---------- Post added at 02:11 AM ---------- Previous post was at 01:26 AM ----------

Can soneone test if editing this line mixer_path_mtp fixes the speakerphone volume WHEN FLUENCE IS DISABLED

<ctl name="Speaker Boost" value="DISABLE" />

change it to

<ctl name="Speaker Boost" value="ENABLE" />

Thanks in advance
[Xiaomi Redmi Note 4 Questions & Answers] jazzh:
Thank you, this has finaly fixed my problem.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
None of these fix the speakerphone volume with fluence disabled. Neither RX3 Digital Volume value, nor Speaker Boost enabled.
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
Leave all the fluence things on default and try adding these lines to the handset-mic value as shown in this file attached (copy paste)

View attachment mixer_paths_mtp.xml

And go to build.prop and change

Persist.audio.fluence.voicerec=true

To false

im extremely positive this works because it works for me
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
just in case it doesnt work, i have on last trick that you can try
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Doesn't work, I already tried this if you see my first post.

Actually my original problem isn't speakerphone volume. My problem is in-call low mic volume (thread name). And that isn't fixed unless I change "ro.qc.sdk.audio.fluencetype" value to "none" or "persist.audio.fluence.voicecall" value to "false". It improves the mic volume but earphone volume (too loud) and speakerphone volume (hardly audible) are disturbed.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
What's that?
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
im actually trying to fix your original problem lol (terrible mic volume)

the last fix is go to system/etc/audio_platorm_info.xml

and change the value for this line

SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC from 12 to 4.

(also leave all settings tweaks to default original values)
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Thanks man. I tried countless solutions very similar to these you are suggesting. Some were found on 4pda. There are still many to try but I'm fed up. Just disabled fluence to none and not using speakerphone for calls.

Well, now this line doesn't exist on my device:

SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC

Should I add it to audio_platorm_info.xml? If yes, where?

audio_platorm_info.xml is attached.
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
Ill attach my file for reference okay? You can copy and paste

View attachment audio_platform_info.xml

Also can you attach yours?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Yes. See my previous post.
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
yea put it near the last group of lines just like in my version of the file.

what you can try is test the value changes as I recommended and test with values above the default value (above 12) (below 12 which 4 as I recommended)
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Not working. Tried 2 values; 4 and 18.
[Xiaomi Redmi Note 4 Questions & Answers] asusm930:
There's a high chance it's fixed on newer MIUI roms? Ever gave that a chance?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I'm using MiUI 8.5.1.0 stable by xiaomi.eu. Not fixed on this. Waiting for some newer stable release, will try that. Not tried any beta release though.

Also I have tried custom roms 7.1.2 LOS, RR, PA and AEX. All have same bug. Fixed on none.
[Xiaomi Redmi Note 4 Questions & Answers] Maksymilian777:
I have little other problem with speakervolume. When I called to someone I hear his voice to loud, distorted. Could someone help me please? I have this on all roms custom and official.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Welcome to this weird world of XIAOMI audio related bugs :D
[Xiaomi Redmi Note 4 Questions & Answers] Maksymilian777:
So it's impossible to fix this?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
No but official developers' attention is required.

You may try editing this line in "/system/etc/mixer_path_mtp.xml":

<ctl name="RX3 Digital Volume" value="78" />

Lower this value and check. Root access is required. Backup before playing with system files. Reboot phone after any modifications to see effect
[Xiaomi Redmi Note 4 Questions & Answers] :
I have same problem, primary mic level is way too low. I have to keep phone very close to my mouth in calls and i cant use speakerphone at all. If i try use speakerphone in call then the person at the other end does not hear anything or the sound begins to echoing. There may have some weird going on noisecancelling too?

Secondary mic level is ok.

This seems a common problem with RN4 SD and looks like it is a software related bug(?) and i hope someone there found way to fix this problem. I have tried different roms (Global Miui, Miui Eu, many aosp based roms) with no luck. I have flashed newest firmware but no help.

There is lot discussion about RN4 mic problem:

-c.mi.com/thread-131627-1-1.html

-en.miui.com/thread-507780-1-1.html

Edit: Another in-call sound bug. When use headphones in calls, sound level in headphones is too high even if volume slider is lowest possible position. This problem is only in calls, otherwise headphone levels are ok.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Agreed.

I have changed "persist.audio.fluence.voicecall" value to "false" in build.prop file. Noise cancellation is disabled and in-call mic volume is fixed. But I don't use speakerphone and earphone for calls. One is too low and other is too louder.
[Xiaomi Redmi Note 4 Questions & Answers] arindam4u:
Thank you for the bug fix. Can anyone please provide me a flashable zip with this fix along with the fix mentioned here https://xdaforums.com/redmi-note-4/how-to/fixed-bad-audio-videos-finally-t3625069

I don't have root but have TWRP. Rooting and unrooting make my banking app stop. I am using latest Global beta Rom. Thanks.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
You can use Magisk to hide root from banking apps. However you can edit build​.prop through twrp. Using twrp file manager, copy build.prop to internal memory. Then boot into rom and edit file. Then again boot into twrp and copy back the build.prop to /system. But MAKE SURE the permissions of the file are same after and before. Otherwise rom won't boot. You can set permissions from twrp.

I'll advise you not to use others' build.prop file in your device by flashing through twrp because this file may differ for devices even it's same model and same version of rom, so causing bootloops. A script that edits build.prop instead of replacing it will not cause problems but that's a pure developer's job :)
[Xiaomi Redmi Note 4 Questions & Answers] Zile995:
Please backup and test https://xdaforums.com/attachment.php?attachmentid=4224737&d=1501157961

This is a flashable zip, it edits build.prop also. Works on Nougat.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Issue isn't still resolved in MIUI 8.5.4.0 Stable and MIUI 9. Sad :(
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Added a flashable zip to 1st post. Victims may try and give feedback.
[Xiaomi Redmi Note 4 Questions & Answers] nilanko:
I'm in 8.2.10.0 stable. I haven't tested much but as far as I have tested, I never get robotic sound no matter whatever the position of phone be.

Plus this phone is huge so your mouth is not really near the mic when you're in call. The mic is at the bottom, that's the problem. They should have placed it over the surface of the phone at the bottom like Motorola phones have.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Bro making call is a matter of common sense. One doesn't need training to make call or hold the phone. We are dead sure that the problem exists and I have solved it temporarily by editing build.prop. The same mic on bottom now works fine after disabling noise cancellation (fluence). Google "Xiaomi mic problem" and there are thousands of people complaining of the same issue for years
[Xiaomi Redmi Note 4 Questions & Answers] nilanko:
Please tell me how you exactly solved it and what are the side effects.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
1. Unlock bootloader

2. Install custom recovery

3 (a). Use my flashable zip attached at first post.

or

3 (b) (i). Root your device

(ii). Edit "build.prop" in /system with any text editor

(iii). Find "ro.qc.sdk.audio.fluencetype" value, it should be "fluence"

(iv). Replace "fluence" with "none"

(v). Reboot.

No side effects other than noise cancellation is disabled. It means if you are in a noisy atmosphere, the other person in-call with you will hear noise as well.

Also, I get disturbed speakerphone (low) and earphone (high) volumes. But I rarely use speakerphone and earphone for calls.
[Xiaomi Redmi Note 4 Questions & Answers] nilanko:
Thanks a lot for the solution. I'm generally outdoors in traffic while I'm on calls. Will that be a big problem if I disable noise cancellation? Will the sound quality be really bad?
[Xiaomi Redmi Note 4 Questions & Answers] TheKryptonite:
How do I disable/reverse this?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I don't feel much differnce. Try it. You may easily reverse it in seconds using my flashable zip if you have custom recovery
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Same as done. Similarly undone. Use my flashable zip if you have twrp. It's simple
[Xiaomi Redmi Note 4 Questions & Answers] NikoBitan:
Is there a way without side effect of low speakerphone volume after disabling noise cancellation? I did not find any yet.....does somebody knows solution for that maybe? I am using speakerphone sometimes.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
There is a fix for speakerphone as well. Check this:

https://xdaforums.com/showpost.php?p=74000643&postcount=210

Or I have a flashable for same if you need
[Xiaomi Redmi Note 4 Questions & Answers] NikoBitan:
Where have you been until now? :)

You are tkalking about flashable zip you didn't upload / or I have not found yet?

Will you be so kind and share, please?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I didn't upload because I wasn't quite confident about it though works perfect for my device. Not tested on any other. And also there is echo problem after disabling noise cancellation as reported here. So, still there's work to be done.

Flashable zip with speakerphone volume fixed is attached. Try and give feedback. Initial credits go to [MENTION=5839502]Zile995[/MENTION] for giving me directions.
[Xiaomi Redmi Note 4 Questions & Answers] NikoBitan:
I think that attached zip is for disabling noise cancellation only, not for speakerphone.

Anyway, I manage to fix speaker fix by editing file audio_platform_info.xml manually. But.....you need to edit chmod to 644, there is no sound if it stay 600 after editing.

Thanks :)
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Good to hear you resolved the issue. Thanks for suggestion
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Disable Enable Noise Cancellation v-2.zip with fixed permissions added at first post.
[Xiaomi Redmi Note 4 Questions & Answers] Zasnizas:
I don't know for those who are having this issue , maybe it relates to hardware because for me , I don't have any issue with in call mic volume. It's loud enough for me.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
No it isn't due to hardware. It's due to fluence enabled. Disabling fluence (noise cancellation) fixes this.
[Xiaomi Redmi Note 4 Questions & Answers] Zasnizas:
Ooo I IC BTW mine don't have this bug
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Redmi Note 4 (mido)?
[Xiaomi Redmi Note 4 Questions & Answers] Zasnizas:
yes, RMN4X (mido) stock miui 9 stable
[Xiaomi Redmi Note 4 Questions & Answers] Hoddok:
Will this flashable zip work on mediatek version?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Just checked on mido. Try it. If it doesn't work, reflash to restore. Or edit files manually. Ask for any help
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Disable Enable Noise Cancellation v-3.zip added at first post.

Fixed device check.

Edit both files independently, if one edited already.

While enabling noise cancellation, restore original values if existed and thus backed up in same file while editing.

Restore original file if disabling or enabling failed.

Apply permissions to files, also if editing fails.
[Xiaomi Redmi Note 4 Questions & Answers] Schrotty35:
This is the first working fix which work on custom roms too. Thanks fir this. On miui i dont need a fix but on custom roms i need. Only I was told that I sound as if I was further away
[Xiaomi Redmi Note 4 Questions & Answers] Hoddok:
Flashable zips don't work on nikel.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
What error occurs? Check recovery log. Manually edit both files or extract and send me. I can do it for you for testing purpose.
[Xiaomi Redmi Note 4 Questions & Answers] Hoddok:
No error occured it flashed just fine but with no effect at all. I checked build.prop file and found out it's completely different. I'd show you how it looks like but xda won't allow me to do anything because i'm new user. So I sent it to you in PM.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Yes. It seems there's no fluence entry in mtk build.prop.

Flashable zip v3 must have displayed message fluence not found
[Xiaomi Redmi Note 4 Questions & Answers] Hoddok:
I tried only v2.
[Xiaomi Redmi Note 4 Questions & Answers] conduisant:
Thanks for your zip to fix the bug : for me very strange, i've got two RN4 SD : the bug is only for my RN4 4/64GB but not on my RN4 3/32GB...and i've tried with the same custom ROMs on both phone !
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Yes. The problem is found on random devices. No hard and fast rule so far to know which device is defected
[Xiaomi Redmi Note 4 Questions & Answers] choury:
The sound of in-call is noisy when using mic but clear when speaker, what should I do?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Question is unclear. Mic is always used on calls. You meant earpiece vs speakerphone for listening caller's voice?
[Xiaomi Redmi Note 4 Questions & Answers] choury:
I mean earpiece is noisy.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
My problem was low mic volume. Means other person couldn't hear me clearly. This isn't related to earpiece. You should have a different problem, I'm quite unaware of
[Xiaomi Redmi Note 4 Questions & Answers] gerega:
What does the flashable zip do? I mean how? Do we get a menu or so to apply or redo the system changes?
[Xiaomi Redmi Note 4 Questions & Answers] Amitbadoni001:
Does this zip work on Oreo ROMs?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Same zip contains redo option as well. You can use volume rocker in recovery to select options.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
No. Oreo has different configuration. Files are relocated. Will try zip for Oreo in a day or two. But make sure your problem is same as that of mine. Can't assure to fix other volume related issues.
[Xiaomi Redmi Note 4 Questions & Answers] Amitbadoni001:
Thank you, and yes, I've the same issue. And this zip fixed that on my Nougat ROM.

Btw, what's the difference between this thread and https://xdaforums.com/redmi-note-4/how-to/fixed-bad-audio-videos-finally-t3625069 ?

And which is better in your opinion?
[Xiaomi Redmi Note 4 Questions & Answers] quevon24:
Thanks for your information, How can I use this in my RN4 with snapdragon? I need to install something or root the device?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
With root, you can modify files from a file explorer. Otherwise you have to flash through TWRP. Choice is yours.
[Xiaomi Redmi Note 4 Questions & Answers] thapaavijeet:
I'm really thankful for the zip file, i flashed it using TWRP and it works perfectly on my LOS 14.1.

I was hoping to find a way that doesn't need me to reflash the zip after every LOS weekly update as I've noticed that the values revert to the default after an update.

None the less thanks a lot for this fix.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Disable Enable Noise Cancellation v-4.zip with Oreo support added at first post.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I reached my solution with help from [MENTION=5839502]Zile995[/MENTION] who's been working on the thread you mentioned. My focus was just a better in-call mic volume and speakerphone volume. They have worked on other aspects too like video and audio recording etc. I haven't tested that for a while now. Try that if works for you.
[Xiaomi Redmi Note 4 Questions & Answers] matiasdelafuente90:
Can i use that zip on my Xiaomi Redmi 4x or it's just for a note 4x? I have Nougat 7.1.2 and MIUI 9.2.4.0.
[Xiaomi Redmi Note 4 Questions & Answers] shamsud:
when I speak in call to someone on any oreo rom My voice get distorted. But on any miui it is crystal clear.

Tried all the zip in this thread but still other person hear bad quality voice of mine.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I tested these on "Redmi Note 4" (mido), not "Note 4X".
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
All the zip? There is only one :D

You may try performing steps manually. I had same problem on all ROM's including MIUI, is fixed by disabling fluence.
[Xiaomi Redmi Note 4 Questions & Answers] redevlz:
My Redmi Note 4 (SD) always low volume when sending voice note on Whatsapp, is there any solution? It works fine with soun recorder, but not with Whatsapp apparently.
[Xiaomi Redmi Note 4 Questions & Answers] Giacomo_ITA:
Suddenly I hear nothing during calls, I can't hear anything even if I use speakers or Bluetooth speakers.

It passes CIT's Receiver test and if I get a call from Telegram, WhatsApp, ecc. It works perfectly.

I tried my SIM with another phone and calls worked perfectly.

Help please
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Seems a problem with your ROM. Reflash if bootloader is unlocked or contact CS if you don't wanna mess with it.
[Xiaomi Redmi Note 4 Questions & Answers] Giacomo_ITA:
Thank you. Does that wipe my data?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Mostly ROMs don't, but you can wipe internal storage from recovery. Being on safe side, always keep a backup.
[Xiaomi Redmi Note 4 Questions & Answers] Giacomo_ITA:
Which backup is the best in my case?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
If you have TWRP, that's good at backing up. Or anything you feel easy; mtp, ums, dd, rsync, adb, tar...
[Xiaomi Redmi Note 4 Questions & Answers] Giacomo_ITA:
I have the stock recovery but yes I can flash the TWRP, can I backing up my phone directly on my PC?
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Yes you can. It's off-topic. Inbox me for any help
[Xiaomi Redmi Note 4 Questions & Answers] matiasdelafuente90:
My bad! This is the Note 4 thread. Sorry.
[Xiaomi Redmi Note 4 Questions & Answers] ArmDT:
HI all,

I flash the v4 zip on my Omni Rom (Mido) with oreo but now nobody can't hear me and I can't hear neither... How can I restore previous situation?? Thanks
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Reflash same zip. Opt to enable noise cancellation
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
"Disable Enable Noise Cancellation v-5.zip" added at first post.

Fixed:

Set SELinux Security Contexts on modified files.

Tested on OmniROM 8.1.0.
[Xiaomi Redmi Note 4 Questions & Answers] vikasb32:
[MENTION=225651]op[/MENTION] I am having similar problem while calling other rpserson can't hear me if i call lied down or in relaxed position i have to stand up everytime i call some only then they can hear me clearly.

I am using oreo 8.1 dots but i don't have ro.vendor.audio.sdk.fleucetype line in my build.prop should i add it?pls help

---------- Post added at 04:16 AM ---------- Previous post was at 03:52 AM ----------

Can you make a flashable zip of treble build.? please
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
I don't like Treble thing personally, so haven't tried yet. You may try this: https://xdaforums.com/showpost.php?p=76335273&postcount=352

Or try doing it manually as explained in first post. You just need to edit 2 files. I'm not sure how the files or their locations differ on Treble builds. Use find, grep etc. if necessary.
[Xiaomi Redmi Note 4 Questions & Answers] mirfatif:
Deleted
[Xiaomi Redmi Note 4 Questions & Answers] nikolai7:
I tried everything but it doesnt work. Editing the files or using the flashable zip only makes that the call sounds louder and with bad quality, but when the problem randombly appears where the mic doesnt work, it just wont work, zip flashed or not.

What I have found that sometimes works is enabling the speaker. It will always work in that mode. Sometimes if you disable the speaker, the mic will start working correctly without the speaker... But as I said this is random...

Does anybody have a solution? Im thinking in changing the mic, but if its software related it isnt going to do anything at all.

If its the aggressive noise cancellation the issue, could someone reprogram it?
[Xiaomi Redmi Note 4 Questions & Answers] nikolai7:
There are people who seem to not have this problem at all... I know a couple of them with 4X. Now, I wanted to replace the mic of a relative's 4X and noticed that there are 2 kinds of mic/charge port boards, the narrow and the wide. My theory is that the system is tunned to one mic, then they introduced the other kind, and this is the one that doesnt work well.