• Welcome to the all-new iMore Forums! - We're still moving some things around, so you may see a few quirks here and there, but we're working on getting things fully completed as soon as possible. For now, take a look around, and if you run into any major issues, please let us know in this thread!

How to erase the security code number in the Iphone 4


iMore Question

After an upgrade, ask for a 4 numbers code, and got bloked.


Oct 2, 2013
Welcome to iMore! If it asked for a passcode, then one had previously been set up. If it asks to set one up, then do so.
If it only asked for the code and you don't know it, the only option is to restore the phone via iTunes. You will need to connect to iTunes via computer and put it in DFU mode. You will lose all your data, including photos and will still need your Apple ID and password to set up. If you don't have that, you're out of luck.

Honey Beagle

Well-known member
Aug 27, 2014
True. I purchased a iPhone on eBay and there is a icloud lock password on the phone. On ituhe's I am asked for the user name anh password for that phone. Since I do not know that iTunes will not do anything with the phone.