Stock Pie modem causes audio issues in Custom ROMs
Just tested AEX 5.8 and Lineage OS 15.1
̶F̶o̶r̶ ̶w̶h̶a̶t̶e̶v̶e̶r̶ ̶r̶e̶a̶s̶o̶n̶ ̶t̶h̶e̶ ̶a̶u̶d̶i̶o̶ ̶f̶r̶o̶m̶ ̶t̶h̶e̶ ̶s̶p̶e̶a̶k̶e̶r̶s̶ ̶s̶o̶u̶n̶d̶s̶ ̶c̶r̶a̶c̶k̶e̶d̶ ̶a̶n̶d̶ ̶d̶i̶s̶t̶o̶r̶t̶e̶d̶ ̶e̶v̶e̶n̶ ̶a̶t̶ ̶l̶o̶w̶ ̶v̶o̶l̶u̶m̶e̶ ̶l̶e̶v̶e̶l̶s̶ ̶w̶h̶e̶n̶e̶v̶e̶r̶ ̶t̶h̶e̶r̶e̶ ̶i̶s̶ ̶a̶ ̶c̶a̶l̶l̶.̶ ̶I̶t̶ ̶m̶i̶g̶h̶t̶ ̶b̶e̶ ̶a̶ ̶g̶e̶n̶e̶r̶a̶l̶ ̶b̶u̶g̶ ̶p̶r̶e̶s̶e̶n̶t̶ ̶i̶n̶ ̶t̶h̶e̶s̶e̶ ̶b̶o̶t̶h̶ ̶c̶u̶s̶t̶o̶m̶ ̶r̶o̶m̶s̶?̶ I come from using Stock Oreo and Stock Pie and I hadn't experienced this issue before.
Edit: This is a bug caused by the modem file from Stock Pie. To fix it simply reflash the modem from Stock Oreo again.
http://www.mediafire.com/file/q8nbpybxc8mjyew/NON-HLOS-Z2P-STOCK-8-OREO.7z/file
I'd like to ask here if there is any way to disable the proximity sensor, since mine is broken, also my phone's touchscreen has suffered several cracks but my only problem with my phone is within the proximity sensor itself that stopped working at some point, you see, whenever I start a call, attend a incoming call, or replay a voicenote in Whatsapp, Telegram or Facebook the screen goes black until the call or the voicenote finishes, I tested with a proximity sensor tester apk and the sensor is always triggered even when nothing is pushing the sensor, and absolutely nothing isn't even remotely close to the phone, and when I push with my finger the touchscreen near the sensor, the phone, ironically deactivates the sensor, I must do the latter because with the proximity sensor always triggered I can't do the Moto Actions like shake twice to turn on the flashlight and sometimes it messes with my fingerprint unlock.