Chosen Solution

My playstation control has gone through some damage. I tried cleaning the golden connectors to the buttons but that doesnt work. My controller charges fine and all other buttons except the ps/power and square button work. Any ideas on how i can fix that.

You could try to change the conductive film. I did it in this video if you need to know how to do it : https://youtu.be/p6FBE-WPYUo In my case it was the up, left and right button not working but a damage conductive film could cause X or the PS button to not work.