Great news! I’ve got it! After lot of hour of studying this issue, i have found that the headphone/jack send a Keycode to the system, like pressing a button on a headset. This keycode corresponding at HEADSETHOOK function that will play and stop youtube videos. I have changed this keycode to another! We must have root access and edit this file located in /system/usr/keylayout/baytrailaudio_Intel_MID_Audio_Jack.kl from key 256 HEADSETHOOK WAKE to key 256 FOCUS With this mod, issue fixed! Next step, for my knowledge and for optimize this solution, is that i want to disable completely the headset recognition, i want to force only the headphone connection, but i don’t know where to start. May be recompile the kernel? how to do it? Thanks!
hi i am unable to find the .kl file. Any idea why?