This video will show you how to fix iTunes 1015 error.
1. Download iReb here.
2. Right click iReb and set compatibility to windows XP (service pack 2) if you are on Windows 7 or Windows Vista and run as administrator.
3. Make sure that your iDevice is plugged into the computer.
5. Wait for it to finish.
6. After it is finished, your iDevice should now be booted up and ready to use.