This should help resolve the error 1015:

http://iphonerumors.blogspot.com/2010/11/bypassing-itunes-1004-1015-error-when.html