[General Topics] Elements1984:
Hello rk2612,

I don't think changing the the country settings in build.prop is going to change anything since the rom doesn't have the files that might have the bug fixed, I would suggest ideally that you look at a ROM with a different size than yours, this would be a sign that it contains modified elements. The rom doesn't have to be necessarily bigger, smaller will also be worth a try.

Additionally, I believe you own an LG G3 d858hk which is the chinese version with dual sim, maybe you can try downloading a rom for the european or US version and extract it on your computer to take the XML mixer file from it. Try this file with your phone and see if it fixes the bluetooth problem with the Sim 1. If this is fixed, then let me know and you can be sure that I can edit the file that it gets your sim 2 working too. If the problem is not fixed using the xml file of the european or US version, then we can conclude that the bug is in another file in the rom and not in the mixer_paths.xml

As I mentioned to you, I was playing some nights ago with the sound settings on my S4 mini running a Resurrection Remix Marshmallow ROM, which is based on CM, I found a file which contained some settings for the sound and I wanted to share this info with you with the hope that we can import some settings to the stock rom you have.

The file is named snd_soc_msm_2x and is situated in : system/etc/snd_soc_msm

Could you check if you have this file on your CM ROM and on the stock ROM?

Also, an idea which will save you a lot of time would be to:

Flash the CM Rom, make a Nandroid backup and save it to your computer, Flash the Stock ROM, make a Nandroid backup of the stock rom installed. Now, everytime you need something from the CM Rom, you can just use 7Zip to unzip the nandroid backup on your computer, then copy the files you need and put them on your phone which has the stock Rom. And if you screw something, just flash the stock nandroid backup.

I would also suggest that you throw a message in the CM official forum related to the LG G3 and ask them to explain you what file would be related to the microphone settings, perhaps the person in charge of the CM development for this device will provide a clear answer that would help up know where to start from. To me, it doesn't look like it's a problem with the mixer_path file settings, it's more of a bug somewhere with the I/O settings or a conflict with another software.

Let me know if you find the file I mentioned, I am here to help mate ;)

Also feel free to share any response you get on the CM forum, then we can try to do something with the new information.

Looking forward to your reply.

Edit : Try using "system app remover (root)" available on the playstore and use it to uninstall the app called "google", this is the one responsible for the option called "ok google everywhere", you can also try to use another launcher like Nova Launcher to avoid the GoogleNow launcher and prevent the microphone from functioning all the time, this will reduce the risks of having a conflict which may be what is causing your problem.

And don't forget to hit the thank you button if you want to show some appreciation ;)