1) Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode, put it into Recovery Mode.
2) Restore and wait for the error.
3) When prompted than click OK.
4) Close and reopen iTunes while the device remains connected.
5) Now the device should be...