Chosen Solution
I had previously fixed this by having something inserted in the headphone jack, but it seems that doesnt work anymore. When the phone was working bluetooth and wifi didnt work except on one reboot they did. The apple store also doesnt work except on that one time where the wifi and bluetooth also worked. I was dumb enough to try and update to 12.5.6 and now im back in the same situation of the restore progress bar being stuck at 99% (being 0.5cm away from complete) This seems to be because wifi doesnt work, so is there any way to force it to complete?
There is no way to force it that I know of. You would have to resolve whatever the underlying issue is. It could definitely be that the WiFi and Bluetooth being faulty is causing issues, I don’t recall whether or not those are necessary for update, but I suspect they will be. If you really want to dig into what’s going on, I would recommend checking the iTunes logs. That might give you a clue as to what it’s actually stuck doing. On Windows, those logs would be stored in your user folder in the AppData folder (which is hidden by default, but can be unhidden by ticking the Hidden Items box on the View tab in File Explorer). The full path would be (assuming C is your Windows drive) C:\Users<your user account name>\AppData\Roaming\Apple Computer\iTunes\iPhone Updater Logs. You’ll want to scroll all the way to the end and just have a look at what it is says it’s trying to do. Screen cap it and attach to your original question if you want some additional input.
I guess I am not sure how you are attempting to restore the device but Apple has a guide that you can use. You download the version of the OS you need onto your computer and connect your device VIA USB. You won’t need the onboard wifi that way. https://support.apple.com/en-us/HT201263 Alternatively, when I do system resets or restores I use a third-party software called Dr. Fone. It works great and fixes most all software issues I have had in the shop. I am not sure what an individual account costs, but my shop’s account is pretty expensive. You could check that out or try to find an alternative.