Share your experience!
Settings-apps-all-smart connect,clear data.Check again.
It should not activate speakerphone when you remove your headset. Does this also happen in safe mode?
Could it be smart key app?
It sounds like you have a downloaded app that's causing this in that case. An old version of Google Chrome could cause this for example.
Try swiping running apps from recent apps and see if you can find the app causing it.