Libimobiledevice: Difference between revisions
imported>Onny Add section on how to perform factory reset |
imported>Onny No edit summary |
||
Line 45: | Line 45: | ||
]; | ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Shutdown your iDevice and put it into DFU/recovery mode. How to achieve this depends on your iDevice model. See [https://www.theiphonewiki.com/wiki/DFU_Mode DFU Mode on the iPhone Wiki] for more details. | |||
Once your iDevice is in recovery mode, run following command to reset your device. You will get asked which firmware to install and a final confirmation that everything will be erased. | |||
{{Warning|The following command will reset your iPhone. All user data will be lost. Be sure to backup everything before proceeding.}} | |||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
Line 65: | Line 71: | ||
This restore will erase your device data. | This restore will erase your device data. | ||
################################ [ WARNING ] ################################# | ################################ [ WARNING ] ################################# | ||
# You are about to perform an *ERASE* restore. ALL DATA on the target device | # You are about to perform an *ERASE* restore. ALL DATA on the target device | ||
# will be IRREVERSIBLY DESTROYED. If you want to update your device without | # will be IRREVERSIBLY DESTROYED. If you want to update your device without | ||
# erasing the user data, hit CTRL+C now and restart without -e or --erase | # erasing the user data, hit CTRL+C now and restart without -e or --erase | ||
# command line switch. | # command line switch. | ||
# If you want to continue with the ERASE, please type YES and press ENTER. | # If you want to continue with the ERASE, please type YES and press ENTER. | ||
############################################################################# | ############################################################################# | ||
> YES | > YES |