S31: Understanding Your Phone's Rugged Credentials