Error 1015 means the phone was previously hacked to jailbreak, unlock, or downgrade the iOS. The phone may be permanently bricked, but you can Google error 1015 for suggestions. No further help can be given here for hacked phones.
Suggestion: When you buy an iPhone on ebay, there's less that 5% chance the phone will be as described...
Message was edited by: modular747