Default USB Port Issue?

I'm running CM11 and lately I haven't been able to charge my phone unless it's off. If i plug in the usb while the phone is on, the phone goes into car mode and does not charge. also, i was making a phonecall and speakerphone would randomly turn on and off. It sounds very similar to the issue outlined here :

I've tried cleaning it but the problem still persists. Any ideas?