@Faisal A
I'm not that experienced with electronics and not sure on how to ground the headphone jack. Could you send me a link or any information on how I could do it?
I created a smal album with pictures on how the front PCB looks https://imgur.com/a/9JORq3D, I removed the PCB with the metal shield from the PC case and noticed that the noise got louder and that if i touched the metal shield with the case, the noise got much quieter, but as before, even when the metals where touching I still heard the noise through my headphones when in a game and I had to push a little on the headphone cable and that made the noise disappear completely.