Got it working. I followed the instructions and got stuck with error 1015.
I had to do two things.
1. Switch of your iPhone and put it in DFU mode with following instructions
- Click the Home + Power On button for 10 seconds exactly
- Release the power button and continue to click on Home