Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

How to recover encrypted data on iPhone with incorrect passcode?

hello, so today something strange happened i entered my corect passcode and locked my iphone for 1 min. at first i thought it was just a mistake yk it happens but after that i tried multiple times with multiple combinations and still wrong i have a simple code and i tried every combination possible. fast forward i reseted my iphone logged in back in the icloud but to recover my passwords end to end encrypted data it asks for my old passcode which it seems its still wrong any help or idea?


[Re-Titled by Moderator]

Original Title: passcode corect still wrong

8 replies

sway74 wrote:
wait i didnt reset with pc i selected forgot passcode and restarted my iphone without any pc you telling me if i have done it with a pc i wouldnt need the old passcode? worth trying again?

Nope. The data is encrypted with the Passcode that was used when it was synced and resetting the Passcode is not going to give you access to it whether you used a computer or not. If that was the case anyone would have access to your encrypted iCloud data with your Apple Account Password alone and that defeats the purpose of encrypting it in the first place. Some data is accessible with your Apple Account Password, but not the encrypted data.


The only option without that Passcode is to erase the encrypted data in iCloud so you can continue syncing any new data from Messages, Passwords, Health, etc that will then be encrypted in iCloud using your new Passcode. When I did it, I had to enter the incorrect Passcode 3 times before seeing the prompt to erase the encrypted iCloud data, but I have seen recent posts from users that said it too 5 times for them to see the prompt to erase the iCloud data. Until that is done, you will see a warning in Settings that says some iCloud data could not be synced.

Did you follow the directions in this link --> Use a computer to reset your iPhone and your passcode - Apple Support


In terms of encrypted backup, are you referring to an encrypted backup on your computer? If yes, you can guess the passcode as many times as you want, but until you enter the correct encrypted passcode, your encrypted backup won't be accessible to you. And Apple, nor anyone on this user to user only forum can help you access an encrypted backup in any way.

Regarding your data…

  1. If you have an iCloud or iTunes latest backup, then there is nothing to worry about. Just restore from it, else...
  2. If You have synced your data to iCloud, then what you will get back is what you have synced to iCloud and uploaded to iCloud Drive; 
    1. The information that is synced and stored in iCloud, like Contacts, Calendars, Bookmarks, Mail*, Notes, Voice Memos, Messages*, shared photos, iCloud Photos*, Health data*, call history*, and files* you store in iCloud Drive.
    2. *-If you had turned on Messages in iCloud, iCloud Photos, Mail, Health data, call history under iCloud, and files you store in iCloud Drive your content is automatically stored in iCloud and is available on all devices that use the same Apple ID
  3. You have imported your Photos & Videos to Mac/PC then they are safely residing there on Mac/PC
  4. You have uploaded some of it to Cloud Drives using the Files app (iCloud Drive, Google Drive, OneDrive, DropBox, Flickr, box, AmazonDrive, Adobe Creative Cloud etc). The data remains there.
  5. If you have not backed up or do not have the latest backup, nor imported nor you have synced or uploaded your data to cloud drives prior to the situation that you are in, then I am sorry, all your data is lost.


If the passcode is not accepted by your iPhone, it is possible that the passcode you are entering, although correct in your memory, might belong to a different device. Passcodes are device-specific and cannot be used interchangeably across different devices. For example, if you have multiple devices and each has its own unique passcode, entering the passcode of one device on another will not work. Always ensure you are using the correct passcode associated with the specific device in question.



Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)


The steps given in this link will help you reset the passcode -> If you forgot the passcode for your iPhone, iPad, or iPod touch, or your ...



Passcode


Your data is not lost if you have a backup either on iCloud or iTunes.



If you see an iPhone or iPad unavailable message or a "Security Lockout" screen


If you forgot your passcode, you can use your Apple ID and password to erase and reset your device without a computer.


Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)



iPhone is disabled.


Following this process is the only way out if your iPhone is disabled. The steps given in this link will help you reset the passcode -> If you forgot the passcode for your iPhone, iPad, or iPod touch, or your ...



Regarding your data…

  1. If you have an iCloud or iTunes latest backup, then there is nothing to worry about. If not read more...
  2. You have synced your data to iCloud, then what you will get back is what you have synced to iCloud and uploaded to iCloud Drive; the information that is synced and stored in iCloud are, Contacts, Calendars, Bookmarks, Mail, Notes, Voice Memos, shared photos, iCloud Photos*, Health data, call history, and files you store in iCloud Drive. (*-If you have turned on iCloud Photos, your content is automatically stored in iCloud.)
  3. You have imported your Photos and videos to Mac/PC then they are safely residing there on Mac/PC
  4. You have uploaded some of it to Cloud Drives using the Files app (iCloud Drive, Google Drive, OneDrive, DropBox, Flickr, box, AmazonDrive, Adobe Creative Cloud, etc). The data remains there.
  5. If you have not backed up or do not have the latest backup, nor imported nor you have synced or uploaded your data to cloud drives prior to the situation that you are in, then I am sorry, all your data is lost.


sway74 wrote:
yeah i did the thing is the passcode is still incorrect

There should be no passcode, and no contents.


Which means an issue somewhere within the reset sequence, or a problem with the iPhone itself.


Or if you did a restore of a backup after the reset, the restore will also restore the passcode.

yeah i did the thing is the passcode is still incorrect

wait i didnt reset with pc i selected forgot passcode and restarted my iphone without any pc you telling me if i have done it with a pc i wouldnt need the old passcode? worth trying again?

to be honest thats the best thing i could do, thanks a lot man