Stuck on 'Attempting Data Recovery' screen
So my partner recently got a iPhone 7. He forgot his passcode. We have tried to factory reset it via iTunes. We get one error message of 0xE800015. When we finally get to the correct screen on iTunes. It says to update the software. So we did as it wouldn't let you factory reset it. Since doing this it has been stuck on a white screen saying 'Attempting Data Recovery' once that is gone it says it has failed and comes back saying press home button to restore.
Does anyone have any ideas on how to solve this?
Thanks in advance