im thinking about buying a used iphone using version 1.1.1 so i can hack it for tmobile, but is there a way for me to restore the phone back to the way it came out of the box and then hack it?