I managed to fix mine!
Problem was that I snapped the ribbon cable when changing the screen so I had to buy another one and replace it. I kept the same home button. The pin code was tried too many times so I had to restore the phone but got error 53.
So it seems the ribbon cable effects this too.
FIX:
1. Unplug the ribbon cable connector and home connector (i.e both ends).
2. Try to restore through Itunes.
3. You will probably get the error 53 so switch off the iphone and unplug from PC.
4. Reinsert the home button and ribbon on both ends.
5. Switch on again and attempt itunes restore.
It sounds simple and illogical but it worked for me. Definitely worth a try.
Remember my home button is original so I don't know if it works for that but for unoriginal ribbons it did.
TIP TO SAVE TIME:
When you have downloaded the restore firmware once, you don't have to do it again.
On the next attempt, just hold SHIFT and click the RESTORE button.
Then find the firmware file in the following folder:
C:\Users\[username]\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates