How to deactivate headphone's buttons I think my headphone or phone jack broke, and if I move the jack a bit, somehow the headphones activate the google assistant or pause the music, so this is from the button.

Can I deactivate it on a non rooted Huawei P8Lite (Android 6.0)
Software wise: HeadsetBlocker &amp; Wizdroid both attempt to block headphone buttons. However both are very outdated. Can install and try.

https://play.google.com/store/apps/details?id=com.idunnolol.headsetblocker&amp;hl=en
https://play.google.com/store/apps/details?id=com.yifandroid.wizdroids&amp;hl=en

Hardware wise: You can try a 4 pole to 3 pole adapter to remove the microphone (I am not positive this will work)

https://www.amazon.com/LEMENG-Female-Headset-Extension-Cable-2Pack/dp/B01LRWO9GU/ref=sr_1_6?ie=UTF8&amp;qid=1510759624&amp;sr=8-6&amp;keywords=3+pole+adapter