detect and save total phone unlock