For those having headset/headphone mic not working try the following:
- using a root file explorer (like the included CM file explorer or ES File Explorer), open the /system/build.prop file
- look for the following line: "persist.audio.handset.mic=digital" and change it to "persist.audio.handset.mic=analog" (change the bits in red)
It should work. Reason: for whatever cause, when an AOSP ROM is built, this line is included in build.prop. While this may work on majority of the phones, for Ville it seems not. The behavior if this is set to digital is distorted voice heard by other party or no sound at all, interruptions and so on. I had this issue on all AOSP ROMs so now I edit this line "by default" on any ROM after flashing (or you can edit the file in the ROM zip before flashing). It is valid for KK and LP as well
For the low volume issue there are some tweaks made by Darknites and others by me (they are in several threads like the CM12 thread or Candy5 thread). They're made for LP basically but I think the files are the same between KK and LP. Make a backup of the original file anyway.
All is about altering some values in a file called snd_soc_msm_2x located at /system/etc/snd_soc_msm. You cand extract this file from the phone and edit it on your PC with a txt editor like Notepad+. Look for some entries in the "Device section"(s), do not touch other sections. There are some headset, voice, headpone and so on device entries and each has it's own volume set, usually somewhere between 60-70. You can SLIGHTLY (and I MEAN SLIGHTLY) increase these values (try with 1 to 5 maximum) so if something is 60 make it 65. DO NOT increase these values too much as it can damage your headset or bring distorted sound if they cannot handle the volume.
NOTE: volume heard during Viber, Skype and similar calls it's set by altering the entries containing "VOIP" (Voice Over IP). Adjust them same way
Good luck...
THANK YOU!!!
I made the edit to the file you pointed out from digital to analog. I've made 4 calls today and every single one was flawless. The volume for me is not an issue (its loud enough plus I've already got tinnitus), so I'll leave that be for now. I'll try to post in a few days again with further results to see that the change sticks (4 calls could have been flukes, but it looks like its working great so far).
Thanks again