summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-11-20tss: Split img3 tag add helpers into common, img3 and img4Gravatar Martin Szulecki2-1/+11
2013-11-20tss: Fix Image4 ticket getter which used the wrong key nameGravatar Martin Szulecki1-1/+1
2013-11-20tss: Fix check on ApSecurityMode which is a booleanGravatar Martin Szulecki1-1/+1
2013-11-20refactor component personalization and add support for Image4 stitchingGravatar Nikias Bassen10-64/+318
2013-11-20get_tss_response: set required parameters for Image4 TSS requestGravatar Nikias Bassen1-7/+28
2013-11-20add sep-firmware -> RestoreSEP matching to get_component_name()Gravatar Nikias Bassen1-0/+2
2013-11-19tss: only add EPRO/ESEC if we are sending an Image4 requestGravatar Nikias Bassen1-3/+4
2013-11-19tss: Check for ApSecurityDomain as uint instead of string correctlyGravatar Martin Szulecki1-2/+2
2013-11-19tss: Fix typos in Ap keys which caused faulty require errorsGravatar Martin Szulecki1-6/+6
2013-11-19restore: Fix baseband request creation order for proper error checkingGravatar Martin Szulecki1-4/+5
2013-11-19tss: Fix check on ApECID as uint instead of stringGravatar Martin Szulecki1-1/+1
2013-11-19tss: Fix comment around skipping of OS and Diags componentsGravatar Martin Szulecki1-2/+2
2013-11-19tss: Add debug output for TSS request on sendingGravatar Martin Szulecki1-0/+4
2013-11-19tss: Make ApNonce parameter optional to fix restore on iPhone 3GS and olderGravatar Martin Szulecki2-6/+10
2013-11-19restore: Fix typo in error messageGravatar Martin Szulecki1-1/+2
2013-11-19silence some clang compiler warningsGravatar Nikias Bassen2-3/+3
2013-11-19tss: add missing return type to tss_response_get_data_by_key()Gravatar Nikias Bassen1-1/+1
2013-11-19tss: Refactor TSS handlers for Image4 support and flexibilityGravatar Martin Szulecki7-215/+403
2013-11-19common: Add plist_dict_merge() helper to merge dictionariesGravatar Martin Szulecki2-0/+28
2013-11-19img3: hide low level img3 code and provide simpler img3_stitch_component() ↵Gravatar Nikias Bassen3-39/+63
function
2013-11-19add get_sep_nonce helper functionGravatar Nikias Bassen2-0/+44
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen9-1/+113
2013-11-19removed unused get_cpid/get_bdid and adapted for latest libirecovery changesGravatar Nikias Bassen7-109/+50
2013-11-19normal: fix missing return typeGravatar Nikias Bassen1-1/+1
2013-11-18Split nonce retrieval into ApNonce and SepNonce for DFU and Recovery modesGravatar Martin Szulecki5-10/+46
2013-11-18tss: Do not include "OS" component in TSS requestGravatar Martin Szulecki1-1/+1
2013-11-18idevicerestore: Remove obsolete arguments from get_shsh_blobs()Gravatar Martin Szulecki3-6/+6
2013-11-18normal: Split normal_get_nonce() into ApNonce and SEPNonce gettersGravatar Martin Szulecki3-10/+20
2013-11-18normal: always try a non-handshake connection if handshake failsGravatar Nikias Bassen1-11/+1
2013-10-24Update limera1n_is_supported() for changes to libirecovery project.Gravatar Aaron Burghardt1-3/+11
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
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 Burghardt3-1/+9
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-24Fixed misuse of free() instead of plist_free().Gravatar Aaron Burghardt1-1/+1
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-24Fixed pass-by-reference inconsistency in asr_send().Gravatar Aaron Burghardt2-2/+2
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-03AppleTV: set auto-boot to true again after restoreGravatar Nikias Bassen3-1/+16
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 Bassen5-23/+26
2013-10-02dfu: make sure buffers are of type unsigned char*Gravatar Nikias Bassen2-7/+7
2013-10-02tss: make sure buffers are of type unsigned char*Gravatar Nikias Bassen3-21/+21
2013-10-02img3: make buffers and sizes unsignedGravatar Nikias Bassen3-16/+16
2013-10-02use dynamically allocated buffer when reading cached SHSH filesGravatar Nikias Bassen1-3/+24
2013-10-02silence implicit declaration compiler warningsGravatar Nikias Bassen9-2/+17
2013-10-02common: supress more compiler warningsGravatar Nikias Bassen2-1/+3
2013-10-02asr: supress compiler warnings with proper castGravatar Nikias Bassen1-2/+3
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 Szulecki11-89/+121
2013-09-27ipsw: also check product type in ipsw_get_latest_fw to get largest major versionGravatar Nikias Bassen1-3/+6
2013-09-27ipsw: remove obsolete major version increase in ipsw_get_latest_fwGravatar Nikias Bassen1-8/+2