Just wanted to let you know i found a solution for my WiFi problem with my HTC one X.
Only try this if you are sure its a hardware problem, click =>this link<= to make sure!
I take no credits for this, just sharing the video
My warranty was void due an unlocked bootloader so i tried it and it worked for me!
At your own risk of course.