Reset iphone without itunes
Is it possible to reset to factory settings without itunes and going onto the actual phone and going into settings? I have an iphone 5c that I do not have the password to, and my charging cord wont connect to itunes. I bought the phone off a friend but he forgot the passcode.
iPhone 5c, iOS 7