I have the Samsung S4 and started having the issue when I placed a call the called heard static and I could not hear anything. Speaker would not work, only thing that worked was the bluetooth.
I cleared the cache and it seems to be working. Below are the instructions. Hope this helps someone...