I restored my iPhone 5 with iOS 7 without knowing that iCloud account will be asked. I already forgot what email and password I set on that phone.
Now, after the phone was restored and unlocked but no application can be used. I don't know what to do. When I connect it to iTunes, it keeps on asking for the iCloud email and password.
Since you can not bypass the activation lock itself, you need to contact Apple and get control of that account. If you are the original purchaser of that hardware, you might also be able to get them to reset the lock with proof of purchase and identity.
The website https://appleid.apple.com has instructions on resetting your iCloud password if you do not remember it.
You can retrieve the email by erasing the iPhone from iTunes when the device is in normal recovery mode and you will be prompted to enter the password for the email account. Also, if the device is not locked, go to the settings app and look in iCloud for the AppleID that has locked that device for firer activations.
I've got a rather peculiar problem. My wife's iPhone got stolen and we bought a new one from the insurance money. When trying to restore the backup file to her new phone, iTunes asks for the password:
Enter the password to unlock your iPhone backup file.
The problem is, that she removed the password a long time ago. Hence she can not remember it. All we know is that it must be a number between 1111 and 9999.
Is there any way to brute force this? Other than by hand?
The password used to encrypt the backup file might have been saved to the user's keychain.
I don't think windows has an equivalent store for saving the password. If not, you will have to try brute forcing it in iTunes - just me methodical - write down all sorts of passwords that may have been used - brainstorm a bit. Then try them one by one. Hopefully with the pressure off a bit you will stumble upon the pass phrase that was used.
On my Mac when this happened to me unexpectedly, I simply entered the password for the machine I synced the phone with and it worked. So the password is likely to be the password for the user account you sync your phone to.
I think you will find it is the password that you use for your Apple ID.
You can simply use this tool to unlock or decrypt iPhone backup files.
It's 1234 - I never set this password I am quite sure, and someone on the Apple discussion board suggested it and it works. Crazy, but it works.