yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] uudruid74:
You shouldn't have to flash the Rom to apply this patch. It's just a simple mod to build.prop. Flashing twrp doesn't erase anything except the stock recovery. A 'clean flash' means that you wipe everything off the phone, including your data and apps. That is only needed when changing from one Rom to another.

I would just replace the speaker, and maybe change your Rom. My favorite for the ONE (until I change it) is https://xdaforums.com/oneplus-one/development/support-primer-jgcaap-s-cm12-1-rom-t3250710
[ONE Android Development] jupsu3:
Hey, could someone add speaker phone fix v3 to this mixerpath? Its from lineageos 14.1.. Flashable if possible because i dont have root because of pokemon go..?

I have problem that my when i use speakerphone, no one can hear me and that speaker phone fix v3 solved that problem when i used cos 12.1. I think one of my mics are broken or something..
[ONE Android Development] ichigo696:
2 posts above your post!
[ONE Android Development] jupsu3:
Okay, thanks. I was wondering that is it the same, i will try.
[ONE Android Development] ichigo696:
I renamed it V1 'cause now we're on LOS. You're welcome!
[ONE Android Development] jupsu3:
Works like a charm! Thanks so much!
[ONE Android Development] ichigo696:
Instead of writing a post to thank me, use the thank button!

It's designed to keep the thread clean. Anyway, like I said before, you're welcome :)
[ONE Android Development] Knox316:
Will this mods work on AOSP roms ?
[ONE Android Development] ichigo696:
I didn't test it on AOSP. Do a backup of your mixer_paths.xml first (it's located in /etc folder), then try it yourself and report here.
[ONE Android Development] dasti555:
Why I can't hear nobody in messenger or whatsapp call? Speakers or Headphones .. they hear me but i them no :/

I guess it's because of this mod.

EDIT: Well, it's not because of this mod.
[ONE Android Development] Mr.Cupola:
I'm running Cyaonogen OS 13.1 rooted, flashed OPO_Main_Mic_Bypass_V3.zip to solve the problem with my mic, but after that ringtones and notification doesn't work, really a sad thing 'cause the mic volume is loud and clear now, any suggestion?

---------- Post added at 03:02 AM ---------- Previous post was at 02:51 AM ----------

Mmm, could you be more specific? Is my case too, unfortunatly
[ONE Android Development] ichigo696:
Use this, it should work on marshmallow too
[ONE Android Development] Mr.Cupola:
Does it apply the main mic bypass too? The fact is that I hear sounds from the speakers, like media, in fact, if I listen to ringtones or notifications, through a media player, I'm able to listen to them....

Do you know how to disable the main mic directly in the mixer_paths.xml? Later I will get a deeper look into the file to figure out something....

My wondering is to get the stereo mod with main mic bypass...

Last night, reading part of the thread I found this zip that seems to get the mic bypass working on CM13, so maybe another piece of the puzzle is here.

Thanks for now
[ONE Android Development] ichigo696:
The zip i posted actually bipasses main mic, it's only the name that it's different. Cm14 and cm13 mixer_paths.xml are almost identical
[ONE Android Development] pafaf:
i have tried several mic fixes, but with no luck, then a inoticed that the low vol problem was with some GSM/4g frequencys / channels ( dont remember what channel) so i ran a ito a qualcomm software to change directly in radio stack, but it was a long time a go, i dont think i have that info anymore :(
[ONE Android Development] Mr.Cupola:
I know that RX1 is the headset and RX3 are the speakers, but what about RX2-3-4-5?

ADC4 is the back mic and ADC3 the main one? I'm a little bit confused, where can I some more information? I didn't found these details in the thread.

Thanks
[ONE Android Development] Elder Lyons:
I tried to flash this on LineageOS 14.1, it gives me a bootloop.

Does anyone know what exactly I have to edit manually on LineageOS 14.1 so that I can have my main mic bypass back?

I'm desperate and need to make calls properly again.
[ONE Android Development] ichigo696:
I'm on tugapower N27 and it works flawlessly. I picked mixer_paths.xml from official LOS and i made changes based on V3 zip from this thread
[ONE Android Development] Elder Lyons:
Which values should I be editing then in the mixer_path file?
[ONE Android Development] Elder Lyons:
Just tried your instructions... still doesn't work.

I've tried both the V3 version and "CM13" versions. Both fixes don't work by manually copying them in there and setting the right permissions, my mic is still silent and it doesn't seem to be using the loudspeaker mic at all. I'm on the verge of giving up.. I've tried everything including disabling Fluency, looking up and down all around the internet trying anything and everything. Olbatar.. you're my only hope.

I'm on LoS 14.1 by the way.
[ONE Android Development] ichigo696:
I fear you have to replace your mic, it's weird that it's not working, even though you're on LOS.
[ONE Android Development] Gautham0123:
Do these work on Nitrogen OS (NOS) 7.1.1 based on Lineage OS?
[ONE Android Development] Elder Lyons:
I know it's broken, I used the bypass before to actually redirect it to the secondary mic.

So after fiddling for a while, I've found the solution.

So for anyone on any version of Nougat (Android 7-7.1) looking to bypass their main mic with the loudspeaker mic, in case your main mic is broken, this is the fix:

Open up mixer_paths.xml in System/etc, go to the "main-mic" entry under "Analog input devices", change all values from "ADC3" to "ADC5". Then, change all instances of "DEC4" to "DEC2" then go to "Recording paths" (it's practically right underneath it) and edit the "handset-mic" entry. Change "ADC3 Volume" to "ADC5 Volume". After that, head to /system/build.prop, change "ro.qc.sdk.audio.fluencetype=fluence" to "ro.qc.sdk.audio.fluencetype=none".

That's all there's to it, now you can make regular calls again. (Albeit with your loudspeaker mic instead of your main mic, in case it's broken.)

I hope someone will find this useful.
[ONE Android Development] elrichal:
I have this problem on my OPO running on Lineage OS Nougat (Android 7.1.1). I will try this afternoon and then I will tell you how it works.
[ONE Android Development] elrichal:
Well,

My broken main mic OPO is running on LineageOS 14.1 [Nougat 7.1.1]. Even calls and records sounds very noisy. I've edited bulid.prop and mixer_paths.xml as you post. After reboot, I notice speakers work well (bottom) but mic doesn't work correctly. I can record voice messages on whatsapp, but with a very low volume. Although, the mic doesn't work in calls.

By other hand, with OPO_Main_Mic_Bypass_V3.zip mod, the mic works correctly, but made speakers dont work. Will I try to modify ADC3 or ADC5 volume values?
[ONE Android Development] elrichal:
Dear all,

Finally, I've tried to mix the mixer_paths.xml file from OPO_Main_Mic_Bypass_V3 and the original one from lineage-14.1-20170327-nightly-bacon-signed.zip. And It works on my OPO!.

I modifiy the abhi08638 file to add the mixed file. Hope it works on your devices.

Regards.
[ONE Android Development] rohit83:
Did all these edition, after this do u mean i will be able to make calls while on loudspeaker?
[ONE Android Development] azdekavir:
please fix this insue mic oneplus

hi friend i the example record a concerte and audio very bad check this video and help me a fix insue please. Greats

h##s://###.youtube.com/watch?time_continue=17&v=Oy6vpkTEKPc
[ONE Android Development] abbassbhai:
Hie there

Can someone point me where i can find the maxx audio mod the one which is used in color os not the one in cyanogen os

I want to use it on both Los14.1 and cm13

Thanks in advance.
[ONE Android Development] PlayersHeaders:
what is with CM14? Does it work?
[ONE Android Development] Elder Lyons:
You'll be able to make calls with the secondary microphone instead of the primary one, whilst making a regular call.

The microphone will still function whilst on a "loudspeaker" call as well.
[ONE Android Development] mr_lennsen:
Thanks, works like a charm.
[ONE Android Development] apolloscreed2000:
Will this trigger Safetynet? Anyone? My guess would be yes
[ONE Android Development] riahc3:
No. It shouldnt.

OP should be added if this works in CM13. It should but just in case...
[ONE Android Development] Mehul695:
Does we have to directly flash the zip OR we have to do anything before that???

Can anyone say full process of installing this ??
[ONE Android Development] zevozki:
Hi,

My main mic (bottom) works fine on normal call, recording whatsapp voice message, sound recorder and video recorder. However when im on call on loud speaker the bottom main mic is not working at all but the secondary mic upper is working fine. I believe the main mic bottom is not broken but the problem in the system files. How i can restore that settings back (make bottom mic working during loud speaker calls) , i dont have backup of mixer-path nor build.prop?

Im on opo1, 7.1.2, lineage 14.1 nightly
[ONE Android Development] balavigneshs:
Echo during calls in One plus one [8.1.0_r1] AOSP Oreo for OnePlus One ROM

Hi,

I am using [8.1.0_r1] AOSP Oreo for OnePlus One ROM. I have an issue during calls. the person in other end hears an echo of what they speak. I tried to make changes to build.prop and mixer_paths.xml but couldn't fix the issue. I observed this issue is not present in unofficial Lineage 15.0 rom. Also, I have noticed too much of background noise when called to this mobile. Even it picks up the noise when the phone is on mute as well. I guess either the noise cancellation is not working or the secondary mic is picking up voice when it is not expected to do.

Can you help me fix this issue?
[ONE Android Development] NewtoneMr:
I have a request to the creator of fashion or to someone who would know something.

It's about entering or changing in the mixer_paths.xml file for converting the main microphone to the top (next to the camera),

someone on xda wrote that he used to change something like that in another rom.

The microphone of my buddy fell and I will be looking for something, maybe a dialer change on what can switch microphones in a conversation.

Generally tests on galaxy s5 (kitkat 4.4.2 deodex)
[ONE Android Development] redlag:
Hello,

I used to be on Sultan 6.0.1 and the attached file used to work for me for main mic bypass. Now I have updated to tugapower (8.1.0) and sadly it causes a bootloop now. I tried the other file mentioned in the thread but it does not work. Can anyone update the attached file to 8.1.0??

Thanks
[ONE Android Development] the_gixo:
Hi!

I was wondering if this file only effects mixer_paths.xml or it will make some changes to other file too?
[ONE Android Development] Rick0x7:
Mic bypass for those with broken main microphones.

THIS IS ONLY FOR THOSE WITH A BROKEN MAIN MIC THAT NEED A BYPASS TO USE THE OTHER MIC AS MAIN.

As this post is nearly four years old; i'd like to inform you that I rewrote the mixer_paths.xml to work with the current-gen roms (Android 8+).

Nowadays the mixer_paths.xml file can be found in /vendor/etc/.

When you replace the mixer_paths.xml make sure you give read permissions on the file, -rw-r-r would whats its supposed to be.

You may use any tool but I use the root explorer app to give permissions.

file attached.
[ONE Android Development] elwood_:
I can't remember the last time my speakerphone mic worked. Then recently I think the mic used for voice calls got ruined by sweat. I decided to replace it and the speakerphone mic still didn't work.

Until I used this mod! My only question; do you have a triple mono with speaker fix?
[ONE Android Development] Manholas:
Good morning, I have a little problem that I try to solve and I can not find the solution. I have the Opo to almost 5 years and I love this phone. Everything is working fine only the top micro is giving problems. It will be of old age. I would like to ask for your help and assistance in resolving the problem, if you can and have availability.

When I make a "hands-free" call, people hardly hear me. For example, in whatsapp I can not make a video communication, the other side do not hear me, just screaming at the top of the phone, even then, in poor condition. After some research on XDA, I made some changes to the /system/etc/mixer_paths.xml/ folder. In phone calls everything is fine, only the problem persists in the superior micro. I know programming it is possible to override the top microphone and keep the remaining two working, but I do not know how to do that. I assume it is in the /mixer_paths.XML/ folder that the configuration is done. I've tried to mix the mixer_paths.xml file from OPO_Main_Mic_Bypass_V3 reverses the microphones, only that people listened to me in "hands free", but the phone, when receiving a call, stopped playing. Did not work.

how can I cancel the top micro?
[ONE Android Development] jupsu3:
Could someone please make this fix work with los 15.1? OPO_SpeakerPhone_Fix_V3.zip

This fix is only one that works with my speaker problem.

Btw. Does anyone know which exact speaker is faulty, on my phone so i could fix it?
[ONE Android Development] abhi08638:
Its not true stereo, just basically another speaker that faces towards you instead of downward

sent from my amazingly awesome OnePlus One with Stereo Mod

http://xdaforums.com/showthread.php?t=2967925

Don't forget to hit thanks!
[ONE Android Development] abhi08638:
Would you mind trying this one? I increased the Headset gain only
[ONE Android Development] CounterC:
I'm really afraid of damaging the speaker. is this speaker the same type as the bottom speakers? what value did you set this time?
[ONE Android Development] abhi08638:
I didn't change the value, just increased the gain by 2 and decreased the bottom by 5. It's safe because that's what I'm using right now

sent from my amazingly awesome OnePlus One with Stereo Mod

http://xdaforums.com/showthread.php?t=2967925

Don't forget to hit thanks!
[ONE Android Development] apatal:
In running stock CM11s and just wanted to confirm that the mod works, i.e. sounds are now coming out of the call speaker grill as well as the main speaker. That being said, I reverted almost to stock behavior almost immediately as the front speakers are just too tinny sounding to for my taste. It degraded the overall sound coming out of the phone. Still, I see some people wanting this mod so thanks for sharing. :)
[ONE Android Development] OmegaBlaze:
Please reupload.. Download keeps failing.
[ONE Android Development] abhi08638:
https://www.dropbox.com/s/5bxfy3sbbfb57jr/OPO-StereoHigher.zip?dl=0

sent from my amazingly awesome OnePlus One with Stereo Mod

http://xdaforums.com/showthread.php?t=2967925

Don't forget to hit thanks!
[ONE Android Development] OmegaBlaze:
Higher zip working great!

No distortion or anything... However, depending on the song you play, the top speaker will rumble due to the bass of a song. (You have to put the speaker to your ear to hear the rumble.)

This rumbling is due to the subwoofer bass in a song. To eliminate the rumble of the speaker & any potential of blowing of the speaker:

Open up DPS or Viper4Android > Speaker> Select Equalizer> Click the Equalizer Graph> Take the first line all the way down.

abhi you should be able to get a little more volume out of the top speaker without harm using these settings. Let me know :good:
[ONE Android Development] CounterC:
wil this mod revert by dirty flashing new ROM?
[ONE Android Development] miguepereira77:
Yes as the mixerpath will be replaced with the Rom's one

Enviado desde mi A0001
[ONE Android Development] Flypants101010:
Working

Cm11s latest with AK kernel working!
[ONE Android Development] asratxda:
Hi abhi, Can you explain me what is the difference between Stereo and Mono. Since OPO has 2 speakers (Somewhere in the specs on amazon.in I remember that I had read; OPO has 2 Mono speakers), I thought it has stereo speakers. My understanding of stereo is "If there are 2 speakers then that is called stereo." Am I correct? .

.. ...

I also have Nvidia Tegra Note 7 which also has 2 speakers and on Nvidia's website they have written that speakers are stereo.

... ... ...

I purchased OPO from amazon.in 3 days ago and I am very satisfied with the phone, specially it's bright display!! Can you Msg me some link which shows what different things can be done with CM as an OS, without rooting. I was using CM on my LG optimus one but that was 2 years ago.
[ONE Android Development] rpsgrayfox:
They are called dual-mono speakers because both transmit the same stereo (left & right) audio each, in your case with the Tegra Note 7 each speaker transmits it's corresponding audio signal (one for right side and one for left) even if this were the case with the OpO having both speakers at the bottom makes it impossible to have stereo immersion because sound comes from the same place and will mix right and left audio making it indistinguishable.
[ONE Android Development] fgaurano:
I'd just like to ask, does this damage the earpiecr speaker after some use?
[ONE Android Development] asratxda:
Does this mean that SOC Snapdragon 801 can not output stereo sound? Or there is some different audio processing chip inside OPO? ... Thanks for your quick reply and it was easy to understand the difference between stereo and mono. :)
[ONE Android Development] rpsgrayfox:
no problem, we're here to help out :) No, by no means is the 801 incapable of outputting stereo it's just a technical decision made by OnePlus, it makes sense to me because what's the point of having stereo on two speakers that are an inch apart? Each speaker on the bottom output both left and right audio, (making for more powerful sound in my opinion) but whatever else you connect to the phone can be stereo normally like headphones, Bluetooth speakers etc.
[ONE Android Development] scott62185:
Noob here (I apologize in advance), when you say flashable zip, do you mean in recovery? Thanks :)
[ONE Android Development] geokilla:
Wait since when did our phone have rear speakers? I thought it was just the bottom left and right mono speakers as well as the ear piece?

Sent from my OnePlus One
[ONE Android Development] aldyu:
Yes, where else can you flash a zip? ;)
[ONE Android Development] scott62185:
Okay, thanks. And I don't have to do anything else before or after? Wipe cache and dalvik?
[ONE Android Development] playya:
man stop asking crazy questions and hit thanks for the guy who answered you. Flash away and enjoy. Remember all the info is in the OP so just do what it tells you to do and stop over thinking it...... :D

It works nicely.... Thanks OP
[ONE Android Development] abhi08638:
Just wanted to say thanks to all those who answered questions in my absence. Its good to see you all playing nicely:p

Some clarification about the different zip files has to be done. Both the zip files in the OP have the same level of output for the headset speaker. The only difference between balanced and high is that balanced reduces the bottom speakers so it doesn't over power the headset. The High zip keeps the stock bottom speaker value.

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] Schrotty35:
Push
[ONE Android Development] scott62185:
Actually, the info in the OP pertains to manually changing the file, not flashing the zip. I'm used to flashing roms and kernels but not mods so wasn't sure if I need to back something up first or something else. But thanks for your input. :)
[ONE Android Development] playya:
You dont ever need anyone to tell you too back something up. You either nandroid or back up file. That's on anything that you do. Also I believe he has a revert file which I hope you download as well. A lot if this stuff is commons sense so just take a sec and think it out prior to doing anything.

Good luck and I hope it worked out for you [emoji106]
[ONE Android Development] abhi08638:
Only if the headset is set too high. My zips set it at what I consider the safest maximum.

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] joaofsantosj:
I was very happy with this mod, until when i receive the first call and found out that also the sound of the call was distributeb by both loudspeakers.

So this seems to be a good idea, but with bad concretization, because demands a high price to have it, the privacy during phone calls.
[ONE Android Development] abhi08638:
Didn't have that on my end. Will try to fix

What rom are you on?

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] joaofsantosj:
I'm using CM11s 44s, last version of the stock rom.
[ONE Android Development] abhi08638:
Can you get me the stock mixer_paths.xml file? Its located in /system/etc. If you don't have a backup I'll just get it myself

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] Schrotty35:
What is better, balanced or high? I think balanced is safer for the speaker?
[ONE Android Development] napacastro:
I just flashed this on stock 44s I made a phone call and I have no problem with the speakers I have privacy mode working just fine.

Stock 44S

Stock Kernel
[ONE Android Development] abhi08638:
There's no difference for the headset, only the bottom speakers are reduced for balanced and are kept the stock value for high

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] abhi08638:
Well now im just plain confused :confused:

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] joaofsantosj:
Here is the link to Mixed Paths.xml form CM11s 44s

I already reinstaled it, and have only the speaker working when listening media, but the problem persist during phone calls.

https://www.dropbox.com/s/igk95yxfmnwqo3k/mixer_paths.xml?dl=0
[ONE Android Development] abhi08638:
If the problems persists with the stock mixer file then the problem is with your ROM. Someone else on 44s has it working perfectly fine. Can't help with that, sorry

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] suhas2000:
It's working great on my oneplus one! Can I use it on my Note3 as well? thanks
[ONE Android Development] abhi08638:
Refer to this thread for all other phones. His second post should have one for your model but if there isn't one you can make a request.

http://xdaforums.com/showthread.php?t=2955648

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] izzet3838:
Works awesome the sound sounds much rounder like this
[ONE Android Development] suhas2000:
Thank you! It's working on my TMO Note3 as well ?:)
[ONE Android Development] linezero:
so surround high is stock value for bottom speakers and surround balanced is a bit of a reduced value compared to stock value for bottom speakers right? if headset speaker volume is untouched they are safe right? :)
[ONE Android Development] gd6noob:
Tried this and my speakers stopped all together.. lol

too bad really wanted to try this mod...
[ONE Android Development] abhi08638:
Correct

ROM?

sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] mynNeyl:
Give this a try on lg g2 running cm12. Front earpiece speaker work well but i lose sound on my main speaker. Can somebody mod it?. I would be very thankful. :D
[ONE Android Development] abhi08638:
Send me your original mixer_paths.xml file and I'll try to mod it
[ONE Android Development] abhi08638:
sent from my amazingly awesome OnePlus One with Stereo Mod

Don't forget to hit thanks!
[ONE Android Development] gd6noob:
[ROM][Bacon][5.0.1]Temasek's UNOFFICIAL Build
[ONE Android Development] abhi08638:
Which zip did you flash? Send me your stock mixer file and ill take a look at it
[ONE Android Development] gd6noob:
I didnt use flash files, I just followed your guide and manually added the needed lines in the mixer_path.xml file
[ONE Android Development] gd6noob:
here is the file