How do I do a factory reset with a pin code?

how do I factory reset with a pin code

I want to factory reset my iPhone 5 but I don't know the pin code
Re: how do I factory reset with a pin code

I'm not sure you can. Not OTA, for sure, but I think even connecting to iTunes will ask you to unlock it first.

Was this a phone given to you or yiu just forgot? An Apple Store may be able to help you if you forgot, not sure.
Re: how do I factory reset with a pin code

If you are the original owner you can go into your settings app and under reset you can reset the entire device or tether to itunes and set up as new, This will put your phone back to the way you bought it right out of the box - again if you are the original owner.

Original thread: https://forums.imore.com/threads/how-do-i-do-a-factory-reset-with-a-pin-code.304478/