If you're having trouble getting into your iPhone, you'll need your old passcode or Apple Account password.

getting'iphoneunavailable'message?here'syou're