summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-19img3: hide low level img3 code and provide simpler img3_stitch_component() ↵Gravatar Nikias Bassen1-26/+6
function
2013-11-19add get_sep_nonce helper functionGravatar Nikias Bassen1-0/+43
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen1-0/+24
2013-11-19removed unused get_cpid/get_bdid and adapted for latest libirecovery changesGravatar Nikias Bassen1-50/+0
2013-11-18Split nonce retrieval into ApNonce and SepNonce for DFU and Recovery modesGravatar Martin Szulecki1-2/+2
2013-11-18idevicerestore: Remove obsolete arguments from get_shsh_blobs()Gravatar Martin Szulecki1-4/+4
2013-11-18normal: Split normal_get_nonce() into ApNonce and SEPNonce gettersGravatar Martin Szulecki1-5/+5
2013-10-24Added warning about missing ‘SupportedProductTypes’ key in iPhoneOS 2.x ↵Gravatar Aaron Burghardt1-0/+2
IPSWs. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-24Prefer the WTF file in the restore IPSW, fallback to downloading the WTF IPSW.Gravatar Aaron Burghardt1-36/+44
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-24Added test for limera1n compatibility before attempting to inject it.Gravatar Aaron Burghardt1-1/+1
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-24Return ‘DeviceTree’ instead of ‘RestoreDeviceTree’ from ↵Gravatar Aaron Burghardt1-1/+1
get_component_name(). Returning ‘RestoreDeviceTree’ is inconsistent with other component names, and the caller apparently handles the need for it. Also, the API doc for plist_dictionary_insert_item states that it asserts if the key to be inserted already exists. if plist_dictionary_insert_item actually does assert as described, the caller of get_component_name triggers that assertion if ‘RestoreDeviceTree’ is returned. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-24Fall back to ‘RestoreKernelCaches’ if ‘KernelCachesByTarget’ not in ↵Gravatar Aaron Burghardt1-12/+16
Restore.plist. Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-03AppleTV: set auto-boot to true again after restoreGravatar Nikias Bassen1-0/+14
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-02ipsw: change buffers to use type unsigned char*Gravatar Nikias Bassen1-4/+4
2013-10-02img3: make buffers and sizes unsignedGravatar Nikias Bassen1-4/+4
2013-10-02use dynamically allocated buffer when reading cached SHSH filesGravatar Nikias Bassen1-3/+24
2013-10-02silence implicit declaration compiler warningsGravatar Nikias Bassen1-0/+1
2013-10-02custom fw: fall back to User ram disk if Update ramdisk is not foundGravatar Nikias Bassen1-7/+14
This is a fix for AppleTV firmwares since they don't have an Update ram disk but only a User ram disk. When restoring a custom firmware idevicerestore fails if -e parameter is not given. This fix will automatically set erase mode enabled if no update ram disk is found.
2013-09-27Require libirecovery >= 0.2.0 and port code to it's new APIGravatar Martin Szulecki1-26/+18
2013-09-23idevicerestore: Update usage output to use a more common standardGravatar Martin Szulecki1-21/+21
2013-09-23Update AUTHORS and file copyrights accordinglyGravatar Martin Szulecki1-0/+2
2013-04-24limera1n: verify device mode after sending exploit to check for failureGravatar Nikias Bassen1-2/+2
2013-04-24main: updated version URLGravatar Nikias Bassen1-1/+1
2013-01-11idevicerestore: removed unused cpid/bdid variablesGravatar Nikias Bassen1-2/+0
2013-01-11idevicrestore: don't use info as variable name (collides with info() function)Gravatar Nikias Bassen1-24/+23
2013-01-09idevicerestore: Improve maintenance of recovery/dfu mode device compatibilityGravatar Martin Szulecki1-193/+5
Instead of maintaining a large switch() monster which replicates the exact same logic that was already used in libirecovery, using the dfu_check_device() helper to quickly determine the device automatically is a better approach.
2012-11-08idevicerestore: Fix compilation due to typoGravatar Martin Szulecki1-3/+3
2012-11-08Add basic support for iPad3,4 and iPad2,5 (untested)Gravatar Martin Szulecki1-0/+21
2012-11-07idevicerestore: Show build major version number, tooGravatar Martin Szulecki1-1/+1
2012-11-07idevicerestore: Make first nonce request not mandatory to support "old" iOS ↵Gravatar Martin Szulecki1-2/+2
builds Devices running iOS 4.x and older do not use or supply a nonce before an actual iBEC of the target firmware version is loaded which does so. This caused older devices to fail to restore.
2012-11-07idevicerestore: Move nonce reporting into get_nonce() to avoid code duplicationGravatar Martin Szulecki1-15/+14
2012-11-07Added support for iPhone5,1 and iPhone5,2 (including baseband update)Gravatar Nikias Bassen1-0/+18
2012-11-07idevicerestore: Only sign components if we have a blob and don't treat it as ↵Gravatar Martin Szulecki1-27/+38
error Since iOS 6 some blobs are not provided in the TSS response. However, that is not fatal as the missing blobs are presigned already on iOS 6.
2012-11-07idevicerestore: Attempt to get nonce from device early onGravatar Martin Szulecki1-1/+29
2012-11-07idevicerestore: Enable getting nonce from device in normal modeGravatar Martin Szulecki1-2/+4
2012-11-07idevicerestore: Send ApTicket if applicable before iBECGravatar Martin Szulecki1-0/+7
2012-11-07Fix grammar of a few commentsGravatar Martin Szulecki1-1/+1
2012-11-07client: Fix build number parsing for iOS 6Gravatar Martin Szulecki1-8/+10
2012-11-07fix debug mode for libidevicerestoreGravatar Nikias Bassen1-1/+1
2012-11-07idevicerestore: add function to set cache pathGravatar Martin Szulecki1-0/+13
2012-11-07libidevicerecovery: implemented progress callback logicGravatar Martin Szulecki1-0/+25
2012-11-07main: fix crash when using -l optionGravatar Nikias Bassen1-1/+3
2012-07-29move main() code after option parsing to separate functionGravatar Nikias Bassen1-104/+220
2012-07-28main: use client flag instead of local variable for --latest optionGravatar Nikias Bassen1-5/+4
2012-07-28main: use client flag instead of local variable for --shsh optionGravatar Nikias Bassen1-4/+2
2012-07-28main: use cache_dir/shsh instead of ./shsh if a cache dir was givenGravatar Nikias Bassen1-5/+15
2012-07-28tss: remove global use_apple_server symbol and use parameter insteadGravatar Nikias Bassen1-5/+2
2012-07-17tss: Don't crash on errors like failed connection attempts and be more verboseGravatar Martin Szulecki1-2/+1
2012-07-17main: use correct filename after extracting into cache dirGravatar Nikias Bassen1-0/+2
2012-07-17main: implement dynamic filesystem extraction (into cache dir)Gravatar Nikias Bassen1-5/+36