In that case, format the disk, then restore the original software from Itune and then send iphone to repair to fix it or exchange. it is hard to tell. :D
Speaking of unlocked Iphone, it's risk as well and that because unlocked Iphone void the warranty. Correct me if I am wrong.
EDIT: I forgot...