If it's not OEM, it's common for the replacement headphone ports/mic to be bad. Just get another replacement, chances are it will be better.
open