This bug is mostly related to the "Ok Google" voice detection, it's known since over 2 years. I played around long time ago, because i noticed that my Galaxy S4 ( LOS 14.1, LOS 15.1 ) never had problems with this feature enabled. I replaced the values in build.prop for my Z3C and the microphone doesn't mute anymore during calls.
Changes i made:
for enabled "Ok Google" voice detection without
microphone bugs during calls
# Audio config
# Audio config
for a certified device with the correct fingerprint
for enabled Google Assistant
I provide you my modified build.prop, backup your original build.prop, reboot to TWRP, mount system, and replace the file. Don't forget to set permissions to 0644. Remember, this build.prop is only for the latest release of .:B:.'s ROM, 07/12/2018 i believe.
You must do this in TWRP, advanced - file manager when you use Magisk root solution - replacing the file with a root explorer doesn't have an effect, because the system is mirrored trough Magisk. When you use addonsu ( LOS root solution ) you can replace the file directly with an root explorer.
The same changes can be done on any custom ROM ( Nougat and higher ) for the Z2, tested.
The time has come, i switched to the official LOS 16.0 for our sweet little Z3C.
I just want to say thanks to you, for sharing your knowledge, your time, and your enthusiasm with bringing Android Nougat to our device. I wish you the best for your future and your real life, and i'm proud to be a part of this great community.
Where did you hear that it's awful
Battery life is great in official LOS 16.0 - on all my devices with CFWs. Doesn't matter if it's a Sony, a Samsung or whatever device, and it was in LOS 14.1 and LOS 15, all CMs since Android 2.3.7 too. I never, really never understood what a lot of people are doing with their mobiles. In my opinion in 99,9% is a "bad battery life" the user's fault.
Use naptime or leandroid or whatever to shut down WiFi, mobile data and location when your phone isn't in use, use diagnostic apps like better battery stats or gsam battery monitor to find and eliminate potential power suckers. That's all. And your battery will be your friend.
I charge my device during night, going to work, some calls, some WhatsApp, Maps, HotSpot for my navigation device ( SGS4 LOS 16 ), GApps Super installed, 170 apps, Magisk with fbind. During this time - maybe 12 hours - i lose about 30% akku. I'd come 3 days with one charging cycle, but at home i play around with the device, so i must charge at night.
Finally - battery life in official LOS 16 for our Z3C is good as stock. Nothing more to say. :angel:
/* * Your warranty is now void. * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you. * */
7/10/17 - October security patches - Test netmgrd from Bacon 21/8/17 - Kernel upstreamed 3.4.0 -> 3.4.113 - Updated sdcardfs - Upstream LineageOS changes 8/8/17 - Merge android-7.1.2_r29 with August security patch (excl. kernel patches) - Fix mixer_paths (stuck on boot issue) 5/8/17 - 3am reboot fixed thanks to Diewi - Sync with whatever changed in LineageOS 21/7/17 - Moved to stock RIL blobs - Fix audioserver crashes - Disabled fluence to workaround mic quality issue - Fix camera not working on first boot - Merge 70+ Security patches in kernel - Fix bluetooth calls for some users 7/7/17 - Merged Android 7.1.2 r24 - July Security patches - Disabled NFC-F HCE (May fix terminal payments) - Updated widevine blobs from kipper (may help with DRM videos) - Return to MPDecision hotplugging and interactive tunings inline with other msm8974 devices - Return to QCOM PowerHAL - Kernel built with -O2 flag - Revert round icon support (on the road to official) 23/6/17 - ambient display support (can disable in settings) - tuned cpu hotplugging (won't wildly jump during idle anymore) - cleaned up GPS/location related settings - charging LED for <90% now actually orange - aptX codec support - Assertive display enabled - changes to USB current control - call microphone quality improvements 7/6/17 - More aggressive CPU tunings - Bluetooth calls fixed?? - June security patches - Merged Android 7.1.2_r17 25/5/17 - Misc Kernel security patches merged - Back to CPUQuiet, with powerHAL by Kholk - flags for Acoustic Echo Cancellation and Noise Suppression for voice pre processing - Audio cleanups 12/5/17 - May Security Patch - Android 7.1.2_r8 merged - NFC changes (maybe better) - Audio "improvements" (blame xkeita) - Thermal settings closer to stock 21/4/17 - Adaptive brightness tuning (thanks to [user=4550727]@xkeita[/user]) - USB OTG path fixed - Change back to MPDecision hotplugging temporarily - Android 7.1.2_r2 merged - April Security Patch - Charging while phone turned off now turns screen off 13/4/17 - Change to CPUQuiet hotplugging - MHL drivers included - Time services added for RTC things - Vibration intensity interface works now - WIFI MAC Address randomisation issue fixed - SELinux set to enforcing - Switch to sdcardfs, superseding fuse - WIFI hotspot possibly fixed - 23/3/17 - Initial release
12/5/17 - May Security Patch - Android 7.1.2_r8 merged - NFC changes (maybe better) - Audio "improvements" (blame xkeita) :P - Thermal settings closer to stock
- ambient display support (can disable in settings) - tuned cpu hotplugging (won't wildly jump during idle anymore) - cleaned up GPS/location related settings - charging LED for <90% now actually orange - aptX codec support - Assertive display enabled - changes to USB current control - lineageos latest changes - call microphone quality improvements