libimobiledevice / idevicerestore

Restore/upgrade firmware of iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v3.0
1.36k stars 397 forks source link

Attempting data recovery #691

Open E3lleyyaa opened 3 weeks ago

E3lleyyaa commented 3 weeks ago
Got status message
Status: Restore Finished

After the firmware update, instead of switching on, the device rebooted and entered a new mode where it shows a different boot screen with the message ‘Attempting data recovery.’ As far as I understand, this process cannot be skipped and installs the firmware a second time, correct?Sorry for image quality(webcam) Photo-2 from 18.0.1 to 18.1 @nikias @doronz88

nikias commented 3 weeks ago

No, this essentially rewrites the encrypted data partition so you don't lose use your data.

E3lleyyaa commented 3 weeks ago

@nikias Is this something new, or has it always been there? It’s the first time I’ve seen it, even though I’ve used it many times. Is there no way to skip it or handle the condition?

nikias commented 3 weeks ago

It has been around for some time. It happens when you restore a device that you manually bring to recovery mode. There is something called "stashbag" which essentially stores a token for the file system encryption, so that when the restore is finished it can re-activate the encrypted filesystems. The correct way to deal with this is to have idevicerestore start in normal mode, so it can handle the preboarding and create the stashbag. Now there is a chance that something changed in this procedure, did you restore from normal mode?

E3lleyyaa commented 3 weeks ago

@nikias Thanks for the information! Yes, that's correct—the device was manually switched to recovery mode. I'll try again from normal mode.