Updating iphone jailbroken

This step is crucial as the i Tunes application is continually updated with the latest security features, but it also brings numerous functions suitable for recovery methods.If your i Tunes installation is not up to date, do update it before moving forward.You then need to press the Restore button and wait until the process is completed.Keep in mind that the phone will restart, so don't panic if you see that happen, as it's perfectly normal.Step 4: It is very easy for you to exit recovery mode. button and "Power" button at the same time until the LOGO "white apple" appeared on the screen. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).Would you like to answer one of these unanswered questions instead?

Restoring it in i Tunes didn't work and errors would always pop up. I also tried downloading an ipsw file but that doesn't seem to work either.

Do I just need to buy a new phone or is there a way of fixing it?