If you ever find yourself locked out of your iPhone 5 and don’t have the original iCloud password, there is a way to factory reset it without having to go through the Apple support process. Here’s how:

  1. Open up the Settings app on your iPhone 5.
  2. Tap on General and then Reset.
  3. Enter your Apple ID password if prompted and then tap on Reset Password.
  4. If you don’t have an Apple ID, enter your current phone number into the Email Address field and then tap on Next.
  5. Tap on Erase All Content and Settings and then tap on Reset Phone. ..