summaryrefslogtreecommitdiffstats
path: root/src/recovery.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-05Improved command sequence and use SystemPartitionPadding from buildGravatar BALATON Zoltan1-6/+9
identity to make sure we use correct values.
2015-05-05Clean up free() usage and plug some potential memory leaksGravatar BALATON Zoltan1-23/+15
2013-12-01recovery: remove unused variablesGravatar Nikias Bassen1-11/+1
2013-11-20refactor component personalization and add support for Image4 stitchingGravatar Nikias Bassen1-7/+24
2013-11-19tss: Refactor TSS handlers for Image4 support and flexibilityGravatar Martin Szulecki1-2/+2
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen1-0/+16
2013-11-19removed unused get_cpid/get_bdid and adapted for latest libirecovery changesGravatar Nikias Bassen1-38/+22
2013-11-18Split nonce retrieval into ApNonce and SepNonce for DFU and Recovery modesGravatar Martin Szulecki1-2/+19
2013-10-03AppleTV: set auto-boot to true again after restoreGravatar Nikias Bassen1-1/+1
Apparently AppleTV units don't boot up in normal mode after restore but switch into recovery mode so we set auto-boot to true to make them boot up in normal mode.
2013-10-02silence implicit declaration compiler warningsGravatar Nikias Bassen1-2/+3
2013-09-27Require libirecovery >= 0.2.0 and port code to it's new APIGravatar Martin Szulecki1-5/+8
2013-09-24recovery: fix possible segfault and plug some small memory leaksGravatar Nikias Bassen1-4/+20
2013-09-23Update AUTHORS and file copyrights accordinglyGravatar Martin Szulecki1-0/+2
2012-11-07Fix grammar of a few commentsGravatar Martin Szulecki1-1/+2
2012-11-07Do not report that we do signing if we don't know yetGravatar Martin Szulecki1-3/+0
2012-11-07client: Fix build number parsing for iOS 6Gravatar Martin Szulecki1-2/+2
2012-11-07change info(), error(), and debug() into functions and allow redirecting the ↵Gravatar Martin Szulecki1-9/+9
output
2012-11-07recovery: disable progress bar for libirecovery uploadsGravatar Nikias Bassen1-1/+1
2012-11-07Move flags into idevicerestore.hGravatar Martin Szulecki1-2/+1
2012-07-17recovery: Send "preventive" ZLP directly after sending kernelcache componentGravatar Martin Szulecki1-2/+2
2012-07-17recovery: Make sure a connection is available before sending iBEC, tooGravatar Martin Szulecki1-0/+6
The code path without TSS request did not initialize the recovery client in order for it to be used to send iBEC. Now the client is always initialized.
2012-07-17USB: Send a ZLP after mode switches to hopefully increase stabilityGravatar Martin Szulecki1-0/+3
Sometimes devices do not switch modes, sending a zero length packet appears to fix this situation and prevents failures during restore.
2012-07-17recovery: Increase recovery connection attempts to 20Gravatar Martin Szulecki1-1/+1
2012-07-17recovery: Actually print environment variables which are readGravatar Martin Szulecki1-3/+14
2012-02-09add support for targeting a device by ECIDGravatar Nikias Bassen1-3/+3
2012-02-07recovery: store device serial number upon connectGravatar Nikias Bassen1-0/+10
2012-02-05add support for 0x1222 wtf modeGravatar Nikias Bassen1-1/+1
2012-02-05restore: Set autoboot before using getenv calls to fix iPhone 4S restoreGravatar Martin Szulecki1-4/+4
2012-02-02recovery: add recovery_send_reset functionGravatar Nikias Bassen1-0/+7
2012-02-02recovery: send APTicket for iOS >= 5 in recovery_enter_restoreGravatar Nikias Bassen1-0/+39
2012-02-02recovery: fix/update recovery_enter_restoreGravatar Nikias Bassen1-30/+20
2012-02-02recovery: add recovery_get_nonce() functionGravatar Nikias Bassen1-0/+17
2012-02-02recovery: add missing string.h include and a cast to silence gccGravatar Nikias Bassen1-1/+2
2012-02-02recovery: improve recovery_send_kernelcacheGravatar Nikias Bassen1-2/+11
2012-02-02recovery: improve recovery_send_ramdiskGravatar Nikias Bassen1-0/+4
2012-02-02recovery: fix recovery_send_applelogoGravatar Nikias Bassen1-3/+5
2012-02-02recovery: fix recovery_send_componentGravatar Nikias Bassen1-7/+4
2012-02-02ipsw_get_component_by_path: add 'component' parameterGravatar Nikias Bassen1-1/+1
2012-02-02recovery: merge recovery_open_with_timeout into recovery_client_newGravatar Nikias Bassen1-30/+13
2011-04-30Working with iOS versions up to 4.3.2; plus all currently released devicesGravatar boxingsquirrel1-3/+8
2010-07-14Do not reset the usb connection twice after uploading the ramdiskGravatar Martin Szulecki1-3/+0
2010-07-14Refactor tss request requirements to work with iPhone 3G and iOS 4Gravatar Martin Szulecki1-0/+3
This gets rid of the device model checking code and allows devices like the iPhone 3G to get shsh blobs as required by iOS 4. The requirement if the components need to be signed is determined by which kind of manifest filename is within the IPSW.
2010-07-14Add and improve some comments for restore processGravatar Martin Szulecki1-0/+4
2010-07-14Take setup for autoboot out of the ibec sending codeGravatar Martin Szulecki1-23/+24
2010-07-14Extend sleep timeouts to allow the device to loadGravatar Martin Szulecki1-2/+5
2010-07-09Implement handling of devices which do not require a tss requestGravatar Martin Szulecki1-48/+73
This introduces passing around the "selected" build identity and fixes code logic issues to make idevicerestore work again.
2010-07-08Do not attempt to open another recovery session if one existsGravatar Martin Szulecki1-4/+8
2010-06-22Small change to make the program use irecovery command functions rather then ↵Gravatar Joshua Hill1-1/+2
duplicating them
2010-06-22Added info for iPhone4 and fixed a few runtime errorsGravatar Joshua Hill1-0/+9
2010-06-21Finally fixed the out of control problemGravatar Joshua Hill1-120/+77