Last time I worked with any code was probably at least 2 years ago. Dont remember much anymore. Ive tried the toothpick but whatever. i found a workaround by just making a bluetooth call. Once I do that it somehow stops sensing the piece in the jack.