New answers tagged headphones
First off, you require root. Then Install Xposed Framework and Install an app ( forgot the name but do a quick google search for it and you will find it ) which lets you override your deafult actions when certain things happen like plugging in the headphone. Then you can set that action to anything you want.
Top 50 recent answers are included