I believe that this is a galaxy tab 4. I have encountered a bug where my tablet will recognize that headphones are plugged in, EXCEPT when audio starts playing. for example I could be on my home screen, and the tablet recognizes there are headphones. I go to youtube to watch a video, and the tablet struggles to understand if headphones are plugged in or not. The headphones icon in the top left corner of my screen will appear and disappear if audio is playing. The tablet has no problems with playing audio out of its built in speaker. I can elaborate if needed, help please!