I took a punt on a 128GB IP7 which turns on and shows the connect to iTunes screen. iTunes detects the phone and attempts to restore but hangs on the 'waiting for iPhone' for 5 minutes before giving unknown error 4005. I came across one post saying 4005 is related to memory errors; is there anything else this error could be related to? The same error happens when I try to restore in DFU mode. I have tried this on a Mac and W10, both with latest OS and iTunes. I have also tried different USB ports and cables. With other software, I used ReiBoot to force out of restore mode and the attached panic error message came. Flashing with 3uTools gave error -2 at 19%. Dr Fone aborted at 60% with no specific error code or message. Unfortunately I don't know how to interpret the panic output, so would appreciate any advice.