yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] seanwlk:
[MENTION=5030495]nanodroide[/MENTION]

I have already tried to fix that manually via term, no luck so far I replaced it with the default build.prop and the issue didn't fix. As I said the only fix so far is to flash manually only system.img from fastboot. You need to know what your rom is and then download the signed-fastboot zip and then run via CMD

fastboot flash system system.img

this is the only way that will save you data and everything on your phone.

Thanks for the zip really, but I prefer not flashing it since I already edited the build.prop by myself, which I could do even yesterday but I needed a fast fix since I had to go meet some people, I ended up wasting 30 mins troubleshooting the soft brick. :( next time I'll have to update I'll give it a try.
[ONE Android Development] nanodroide:
[MENTION=5964827]seanwlk[/MENTION] , Thanks, i've already fixed the rom, now i'm finding a way to fix the mic :(

[MENTION=4930863]mkhcb[/MENTION] thank for the zip, i will try it and i will let you know.
[ONE Android Development] nanodroide:
I flashed it, works like a charm!

OPO with twrp-3.0.2-0-bacon.img	and CM 12.1

Thank you very much
[ONE Android Development] vCillusion:
Check out the solution worked for me and I tried all the solution available and sharing below:

https://vcillusion.wordpress.com/20...n-low-mic-during-call-problem-in-oneplus-one/
[ONE Android Development] sindahouse:
I find this file (OPO_main_mic_bypass_v3.zip) works everytime but with a catch.. You lose notifications and ringing sounds.... regardless of what setting u do after. It's so annoying because u succeed then u don't. I don't write code but can anyone decipher and apply the portion of code that works and create some sorf of new fix.? Just an idea.. I think many of us would be grateful. ??
[ONE Android Development] FlamingPotato:
Didn't work for me, changed all non 0 specified lines to 93, still the same. And fluence type set to none.
[ONE Android Development] Shadow Samurai:
Here ya go guysssss.

Change your build.prop to match mine....

ADDITIONAL_BUILD_PROPERTIES

#

keyguard.no_require_sim=true

ro.carrier=unknown

mm.enable.smoothstreaming=true

ro.qc.sdk.audio.fluencetype=none

persist.audio.fluence.voicecall=true

audio.offload.buffer.size.kb=32

audio.offload.video=true

av.streaming.offload.enable=true

use.voice.path.for.pcm.voip=true

audio.offload.multiple.enabled=false

audio.offload.gapless.enabled=true

media.aac_51_output_enabled=true

audio.offload.pcm.16bit.enable=true

audio.offload.pcm.24bit.enable=true

audio.deep_buffer.media=true

af.fast_track_multiplier=1

audio_hal.period_size=192

dalvik.vm.heapminfree=2m

dalvik.vm.heapstartsize=16m

dalvik.vm.heapgrowthlimit=192m

dalvik.vm.heapsize=512m

dalvik.vm.heaptargetutilization=0.75

dalvik.vm.heapmaxfree=8m

Sent from the one and only Oneplus One
[ONE Android Development] FlamingPotato:
Nope
[ONE Android Development] vCillusion:
Did you already have a working microphone i.e. When you blow hard on the microphone the caller can hear the sound?(microphone is working but very little boost or at certain angle /when you speak directly into it)

Have you modified the non zero RX Digital Volume 1 and 2 only?

Note - these settings require a reboot to be applied.
[ONE Android Development] FlamingPotato:
Sure man, when I blow I can hear.. and yes I did reboot and yes I was careful to modify the correct lines.

I guess I'm doomed. Now I installed darkobas rom, rumor says mic works good in this. I'll try right now.

Edit: bull**** darkobas is the same thing. God damn..
[ONE Android Development] r0tati0n:
I would like to report :)

The flashing of the file in the first posting did not work, TWRP said something about backup could not be done.

build.prop was not changed.

I then did this:

https://vcillusion.wordpress.com/20...n-low-mic-during-call-problem-in-oneplus-one/

And apparently it worked :)

If I disable the multiple mics, is really only the mic near the mouth used?

When changing RX1 and RX2 from 0 to 93, what exacty does that mean? Which microphones are boosted?

ROM is jgcapp lastest MM ROM, OPO 64 GB
[ONE Android Development] FlamingPotato:
Back at this, apparently it started working,hopefully this fix is for good. Thanks man
[ONE Android Development] vCillusion:
Flag that it helped. :) Press the thanks button mate so that it can help others also.
[ONE Android Development] TheNerd:
Sadly in my case only moving to darkobas ROM solved all my mic issues.

Tried any of the available nougat ROMs ... All suffer the same issue.
[ONE Android Development] gil80:
Can you post your mixer_path.xml please?
[ONE Android Development] TheNerd:
Sure.

Here are both mixer paths and build props.

http://cloud.tapatalk.com/s/57f5d8a4e916a/files.zip
[ONE Android Development] gil80:
Hi.

I used your mixer_path.xml file and that solved all the microphone issues I had, while still using Sultan ROM CM13.

Thanks for that! :)

Just to reiterate the issues I had:

1. During a call, the other side couldn't hear me if I was in speaker mode

2. Similar if it was a skype / viber call

3. If I use Viper4Android, this would render the microphones useless if I switch from handset microphone to speaker phone. The other side couldn't hear me no matter which call mode I was using. I had to disconnect and call again.

4. Low mic volume is solved as well.

THANKS!
[ONE Android Development] cristianvlv:
Did you flash that zip with mixer...? Or how you solved the issue. Thanks in advance.
[ONE Android Development] Shadow Samurai:
https://vcillusion.wordpress.com/20...n-low-mic-during-call-problem-in-oneplus-one/

Try this

Sent from the one and only Oneplus One
[ONE Android Development] gil80:
I just downloaded the files.zip from the previous comment and copied the 'mixer_path.xml' file to /system/etc folder.

I then changed to the correct permissions rw-r-r like all files in that folder. I use ES Explorer to copy files and change permissions.

Before I have done this copy, I opened my mixer_path.xml and the mixer_path.xml from the zip file and compared them to see what are the changes.

There are substantial changes between the files.

After copying and changing permissions, I rebooted the phone and tested Skype/Viber and regular phone calls.

In build.prop I did change the fluence type to be 'none' but that didn't change much in calls.
[ONE Android Development] Shadow Samurai:
can someone give me their working build.prop and mixer_paths.xml on Android nougat? Issue came back since the update from 6 to 7 and can't install 6.0 build.prop stuff, etc
[ONE Android Development] phoenixita:
http://cloud.tapatalk.com/s/57f5d8a4e916a/files.zip try these! I'm on Tesla n and these work...It fixed my broken main mic.
[ONE Android Development] :
This ^ worked for me. On stock or custom Roms. Well, the two I've tried. Just got my OPO. :good:

(I'm on MM btw)
[ONE Android Development] Wisiwyg:
I've tried many fixes for this... including the one in this thread. The only thing I've found that truly works for me is the "Main Mic Bypass" found in this thread: http://xdaforums.com/showpost.php?p=66734283&postcount=6

Post #6 includes a link to the main script for Lollipop ROMS plus a revised script for Marshmallow ROMS. I'm running JGCaap's CM13.1 for OpO and this works for me.
[ONE Android Development] OpIcarus:
perfect, but during the recordings in the App There is a little noise in the background coming If I was in traffic .. solutions?
[ONE Android Development] buttasush:
It worked for me. I replaced mixer xml and now mic and speaker call volumes is perfect.
[ONE Android Development] Nadeem.k:
Low mic soln

well.....

Open back cover of one plus one

Take piece of small plastic or paper piece and place oy over the additional mics.. One on back of phone and one on the top, close the back panel and test it...

Its simple and easy step to try...

All the best...
[ONE Android Development] ggg333:
Please forgive me if iam hyjacking the thread. But when i was testing the AOSPlusone, the sound on earphone was great compared to say the neuclear rom or aicp. Not sure what the changes were between those rom's, if someone can shed some lights. Not blaming on any of the ROM's as i appreciate all the developers work, just sharing what i felt.
[ONE Android Development] darkreaper476:
I have tried this mod and many many others with no solution.. I am on tuga 7.1. I have tried manually changing both build.prop and the XML file with no results. Also tried many different zip "fixes" for the mic.. Including the Google now "fix". This is a fresh install and I disable the google app completely.. I really want to use this phone again. Any help would be great..

Thanks.
[ONE Android Development] Erivosh:
You can try this in build.prop add these line after

ro.qc.sdk.audio.fluencetype=fluence

ro.qc.sdk.audio.ssr=false

persist.audio.fluence.mode=endfire

persist.audio.handset.mic=digital

persist.audio.voicecall.mic=0

persist.audio.voice.clarity=none

persist.audio.aanc.enable=false

persist.audio.handset_rx_type=DEFAULT

persist.audio.nsenabled=ON

persist.speaker.prot.enable=false

persist.audio.spkcall_2mic=OFF

hope it help.
[ONE Android Development] Nadeem.k:
Try this.. And let me know your feedback

well.....

Open back cover of one plus one

Take piece of small plastic or paper piece and place oy over the additional mics.. One on back of phone and one on the top, close the back panel and test it...

Its simple and easy step to try...

All the best...
[ONE Android Development] Shadow Samurai:
Here guys. To fix the issue 101%, buy this part and replace it. I've been through one bad seller who gave me a non genuine one the first time, the part numbers are different and the slightly cheaper one will give you horrible reception, where only LTE will work. This is the correct one to buy. Currently have it in my phone, anything on this phone is extremely module underneath the cover, don't be intimidated. Look up YouTube for the replacement steps.

http://www.ebay.com/itm/172255734224
[ONE Android Development] Nomelas:
Btw, I created a magisk module that may fix people's issues. It fixed mine. I'm open to suggestions for improvements as well.

https://xdaforums.com/apps/magisk/module-oneplus-one-bacon-mic-fix-t3503128
[ONE Android Development] sindahouse:
I find that I have to bypass the main mic. Not sure why but it always works. Worked in Lollipop and thanks to 'mikiosmart' it works in CM13 also. I've attached the zip that 'mikiosmart' designed. I really wanted to share this as I feel it's very underratted. Warning. not designed for nougat.

https://app.box.com/s/4u0wixtyrb8pzte37ubo4dh2m36d93l1

I do have one issue though. When I make calls on loud speaker, people can hardly hear me. Can anyone tell me which parameter needs to be looked at here? Anybody who can read code.... your help would be greatly appreacited.

Here is the code from the 'audio_platform_info.xml' file:

<audio_platform_info>

<acdb_ids>

<device name="SND_DEVICE_OUT_HANDSET" acdb_id="7" />

<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15" />

<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="10" />

<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7" />

<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15" />

<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10" />

<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="4" />

<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="42" />

<device name="SND_DEVICE_IN_HEADSET_MIC" acdb_id="8" />

<device name="SND_DEVICE_IN_VOICE_DMIC" acdb_id="41" />

<device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="119" />

<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="35" />

<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" acdb_id="35" />

<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="35" />

<device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" acdb_id="35" />

</acdb_ids>

<backend_names>

<!-- empty -->

</backend_names>

<pcm_ids>

<!-- empty -->

</pcm_ids>

<device_names>

<!-- empty -->

</device_names>

</audio_platform_info>
[ONE Android Development] sindahouse:
This actually worked. Thanks Shadow Samurai. I no longer have to run any patches. I will say this though. When i chat on loud speaker, people still can't hear me very well. Is there any reason why this may be? A setting? Anything...please help
[ONE Android Development] kryshnakishore:
Really? anyone tired this?
[ONE Android Development] Wisiwyg:
Looks like you ran patches in the past. Have you performed a very clean install to remove any of the previous patches? Could the issue be a carryover from prior patching?

---------- Post added at 10:54 AM ---------- Previous post was at 10:52 AM ----------

Pics? Place something on/over the mic to make pressure on it? Or to cover the mic to reduce input? I'll try it, just want to know what it's supposed to do.
[ONE Android Development] zhero_gee:
is there a fix for nougat based roms?
[ONE Android Development] Shadow Samurai:
Just clean install everything. Once the part is replaced. One nougat 7.1.1 tugapower with no issues
[ONE Android Development] omerbagi10:
I have tugapower too but I cant find the file in twrp (it doesnt show the file), I tried downloading it to my phone and tried coping the file from my pc to my phoneand still cant find it.

Can you please help me? (Im using twrp 3.0.2).
[ONE Android Development] Concept211:
I'm on the latest version of Lineage OS (Nougat v7.1.1) and I tried every fix I could find. It previously worked for me on a ROM built on Android 5, but since upgrading to Android 7 I lost my mic again.

What finally helped (not completely solve, but at least increased the call mic gain quite a bit) was to edit the mixer_paths.xml file and change the volume setting from 19 to 95. I tried going higher, but that made the volume even worse.

/system/etc/mixer_paths.xml

<!-- Recording paths -->

<path name="handset-mic">

<path name="main-mic" />

<ctl name="SLIM_0_TX Channels" value="One" />

<ctl name="ADC3 Volume" value="95" />

</path>
[ONE Android Development] Wisiwyg:
Just to confirm, you note above your *speakerphone* is low, but my problem is in-call *mic* volume being low. Are we saying the same thing? I'm not trying to use my speakerphone.

edit: I received my replacement mic (purchased here: http://www.ebay.com/itm/172255734224), installed it, restored a fresh JGCaap LOS 7.1.1 20170316 without any build prop or mixer_path edits and the mic worked during a call! So that seems to have solved my problem. BUT, the speakerphone did not work! Will try the speakerphone fix.

edit 2: Flashed the OPO_SpeakerPhone_Fix_LOS_v1.zip from this thread: https://xdaforums.com/showpost.php?p=71407321&postcount=446 and now my speakerphone works too!
[ONE Android Development] sindahouse:
Hi Wisiwyg. thanks for that. Hopefully it'll work on lineage. WIll test it out and report back

---------- Post added at 02:30 PM ---------- Previous post was at 01:33 PM ----------

ok so that worked. but dammit. it killed my notification sounds. no i get now sound for notifications. even where i try to choose one from the library. the previews have no sound.. can't win.
[ONE Android Development] sindahouse:
OK so i got it working. After flashing the speaherphone fix i wiped dalvik and cache. Notifications now work. So to summarise:

Firstly I replaced the mic in the phone. That stopped me having to flash the bypass mic patch, however people still couldn't hear me very well on speaker phone. So flashed the speakerphone fix and that foxed the speakerphone issue, but muted all my notifications. So then I wiped dalvik and cache and that fixed it. ... Oh and btw if anyone is wondering, I have performed a complete wipe several times, to the point where my phone wouldn't beyind the oneplus logo. I had to use adb sideload to flash roms.

Anyway I thought I share what finally worked for me. I can't for the life of me understand or come up with any logical explanation as to why this was successful but still, I thought I'd share

Cheers
[ONE Android Development] Wisiwyg:
Cool! Glad you got it working. I might be a paranoid type, I always wipe cache and dalvik when booting up from recovery no matter why I went into recovery. With the latest TugaTWRP 3.x it still takes a long time to wipe, but I do it anyway. So I never had the notifications problem show up. My question going forward is whether I'll have to flash the speakerphone fix each time I update the ROM. Time will tell.
[ONE Android Development] Nomelas:
Btw guys, I made a magisk module out of this. It works for for other devices as well, not just the oneplus one. My version is slightly different but it should have the same results:

https://github.com/Magisk-Modules-Repo/bacon-mic-fix
[ONE Android Development] sindahouse:
Hi Wisiwyg. I just updated to the latest LIneageOS nightly & yes I had to flash the fix again, lol. But at least I have something that works. :)
[ONE Android Development] bhavya.ebooks:
did nothing for me

I did as stated and installing was successful but problem still presist.

Sound recorder says,

Internal error, microphone may be in use
[ONE Android Development] Awais Bhatti:
I have facing very low voice when i pick up the call

My device running rr5.8.2 (7.1.1)
[ONE Android Development] rdmay20:
I had the same problem, the Low Mic Call V1_Final didn't work for me.

I found this fix https://xdaforums.com/oneplus-one/development/mod-oneplus-one-stereo-mod-t2967925

I attached the one I used from the list of downloads. Works great, just make sure to flash it every time you update the Rom you're using :)
[ONE Android Development] nrtm:
It may be just a coincidence, but this fix stopped working for me with the last LineageOS update on OnePlus One (14.1-20170403-NIGHTLY-bacon). Worked fine before.
[ONE Android Development] Nomelas:
You need redo it after each update.
[ONE Android Development] nrtm:
I know that. Reflashed it three times alreasy.:(
[ONE Android Development] rony raj:
send me build prop in zip

latest build and old build of rom

both named as

old build.zip

new build.zip
[ONE Android Development] nrtm:
Ive already checked them. No diffs, except version numbers, dates, user, host and some fingerprints stuff. Nothing special.

Began to think it`s my hardware broken, dropped it a couple days before.
[ONE Android Development] rony raj:
flash stock rom and check

i think libs could be issue in latest one
[ONE Android Development] nrtm:
Well, went back to LOS 20170327, problem gone, fix works once again.

(The one with the problem was lineage-14.1-20170403 , I made a mistake in my first post)
[ONE Android Development] rony raj:
use old build is best choice if face bug
[ONE Android Development] rohit83:
After flashing this every sound on rom stops working like ringtone notification music on loudspeaker. Do u face same problem?
[ONE Android Development] rdmay20:
No, everything still works fine. I'm using latest sultan cm13 rom.
[ONE Android Development] mkhcb:
So this version works on LOS.

This is a loudspeaker mic fix:

The loudspeaker mic is amplified and uses the top mic.

The main mic (bottom) is preserved for handset calls.

In theory, the loudspeaker mic should not echo what the other person says, since the echo use to be caused by the main mic picking up the speaker audio.

This fix is for those who have all 3 mics still functional but, had low mic issues with loudspeaker.

Special thanks to [MENTION=4977020]ichigo696[/MENTION] for most of the legwork.
[ONE Android Development] mr_lennsen:
For me the fix isnt working anymore with LOS 2905. Any suggestions? Its really annoing.
[ONE Android Development] stewa2jm:
Agreed. Revived this device with LOS for my girlfriend who is between phones and the handset mic is now useless.
[ONE Android Development] mr_lennsen:
Got it back working with this modification:

https://wordpress.com/read/feeds/23807084/posts/1160309471
[ONE Android Development] TheNerd:
Requires login credentials
[ONE Android Development] mr_lennsen:
Sorry, try this one:

https://vcillusion.wordpress.com/20...n-low-mic-during-call-problem-in-oneplus-one/
[ONE Android Development] Wisiwyg:
To answer my own question, Yes, I've had to flash the speakerphone fix each time. This may be different on another ROM (I'm on JGCaap's Nougat 'cause I like it!), but this has not been an issue.
[ONE Android Development] Jonathanve:
i'm gonna try flashing this on Oneplus 5, hopefully it fixes my snapchat mic
[ONE Android Development] DeadFox-xda:
Umm wouldn't suggest that... This is mainly for Opo if you are going to try it, there might be a chance for damage
[ONE Android Development] Mauri_mza:
hi bro, one question .... this fix my asus zenfone 2 whit RR ... trouble whit only audio's whatsapp????

thanks in advance!!
[ONE Android Development] DeadFox-xda:
Only RR? Try other rom, this forum is for oneplus one, try making a thread for Asus zenfone 2
[ONE Android Development] Mauri_mza:
i did it in z2 foro... but nobody answer...

yes only in RR whit CM13 work fine.

thanks anyway...
[ONE Android Development] lkjsoiuew:
I've set the values as in post #1 with the "BuildProp Editor" app, on xperia z3+ with lineage 14.1, it did not help at all.
[ONE Android Development] firestone9x:
Hey all,

I have a Bluetooth headset and the other person says my voice is unclear and breaks up. I have used the same headset on my Windows PC and there is no issue with the mic but only when I connect it to my phone.

I think there is some noise cancellation feature for the Bluetooth device in the build prop. But I am not sure how to disable it.

Any suggestions?

Thanks
[ONE Android Development] Anupam Mahato:
IS this FIX still works on OREO or Pie based roms?
[ONE Android Development] mathdynn:
Yes it works!!! i had the prob with the pie 9 rom .
[ONE Android Development] Mranzy:
Would this fix work on OnePlus 6? The phone is using noise cancelation mic for apps such as Whatsapp and Snapchat, and it sounds bad.
[ONE Android Development] illmnec:
Changes for LineageOS 16.0

Hello,

This fix doesn't work on LineageOS 16.0, as some of the properties seem to have changed names. A vendor keyword was added. Here are the new entries to make it work:

!persist.vendor.audio.fluence.voicecall

!ro.vendor.audio.sdk.fluencetype

!ro.vendor.audio.sdk.ssr

!persist.vendor.audio.fluence.mode

!persist.vendor.audio.handset.mic

!persist.vendor.audio.voicecall.mic

!persist.vendor.audio.voice.clarity

!persist.vendor.audio.aanc.enable

!persist.vendor.audio.handset_rx_type

!persist.vendor.audio.nsenabled

!persist.vendor.speaker.prot.enable

!persist.vendor.audio.spkcall_2mic

!persist.vendor.audio.fluence.spkcall

!persist.vendor.audio.dualmic.config

!persist.vendor.audio.handset.mic.type

!persist.vendor.audio.fluence.voicerec

!persist.vendor.audio.fluence.speaker

#persist.vendor.audio.dualmic.config=endfire

persist.vendor.audio.fluence.voicecall=true

persist.vendor.audio.fluence.voicerec=false

persist.vendor.audio.fluence.speaker=false
[ONE Android Development] grilopt:
This saved my day!! Many thanks!!!
[ONE Android Development] Prospie:
How do you apply this?
[ONE Android Development] illmnec:
How to apply

You have to replace the contents of the LowMicFix.prop file with the text I posted and the apply the fix as explained in the initial post.
[ONE Android Development] Prospie:
Alright thanks!
[ONE Android Development] antfior93:
when I change the text in prop file , I have this error. What's the problem?
[ONE Android Development] illmnec:
Did you copy the LowMicFix.prop file to the same location as the LowMicFix.zip file? Normally, this is /sdcard.
[ONE Android Development] antfior93:
yes they are in the same folder.
[ONE Android Development] zedoc:
Thanks, do you have the "revert" version with new edit for LineageOS 16.0?
[ONE Android Development] Phator:
You have to delete ALL other versions of the LowMicFix.prop on your phone.

You can see the path it found another one in the console where it says "scanning [...]" - delete this file (I did it with the File Manager in TWRP).

Futhermore, both files (LowMicFix.prop and LowMicFix.zip) have to be in the folder /sdcard for it to work (at least in my case).