summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-06-27Don't print an error message when RestoreBehavior is missingGravatar Nikias Bassen1-13/+6
2022-06-27ipsw: Improve error message when fwrite failsGravatar Nikias Bassen1-2/+2
2022-06-23Support iOS 16.0 Beta 2 (#506)Gravatar Emma Lethaltail1-0/+1
2022-06-20Remove more serial number checks, and get ECID early on in all modesGravatar Nikias Bassen8-135/+31
Some devices seem to not have a serial number, usually in restore mode, which will cause the restore operation to fail since we specifically check for it. An earlier commit already removed the actual comparison in favor of comparing the ECID, but some checks would still result in restore failures as it can't retrieve the serial number on said devices at all. This commit also makes sure to get the ECID in all modes as early as possible and removes all the helper functions for it since they are not needed anymore.
2022-06-20Add support for FirmwareUpdaterPreflight messageGravatar Clément Decoodt1-0/+31
This message seems mandatory on the new versions of MacOS (12+), but it seems an empty response is what's expected.
2022-06-17Use more elegant way to match file name to component nameGravatar Nikias Bassen1-37/+33
2022-06-17restore: Fix memory corruption in restore_get_timer_firmware_dataGravatar Doron Zarhi1-1/+1
2022-06-17Add support for iOS 16Gravatar Doron Zarhi4-21/+157
2022-05-23ipsw: Update to reflect color macro name change in libimobiledevice-glueGravatar Nikias Bassen1-7/+7
2022-04-27Fix restore for devices that don't have eUICCGravatar Nikias Bassen1-1/+1
Because of a default value of (uint64_t)-1LL returned when _plist_dict_get_uint doesn't find the dictionary entry for the given key, a later comparison of that unsigned value against something like >= 5 will result in the condition being true even though it was not supposed to. _plist_dict_get_uint will now return a default value of 0 if the key is not found. Code paths that deal with actual values of 0 vs. non-existent values need to test the existence of the key deal with that; I am currently not aware of anything that would be affected.
2022-04-25Increase recovery mode disconnect and re-connect timeout from 10 to 60 secondsGravatar Rodrigo Arias1-2/+2
2022-04-15configure: Only check for pthread if really requiredGravatar Nikias Bassen2-524/+6
2022-04-14configure: Make sure the plist_from_json worksGravatar Nikias Bassen1-0/+1
2022-04-13Print version string upon executionGravatar Nikias Bassen1-0/+2
2022-04-13autoconf: Automatically derive version number from latest git tagGravatar Nikias Bassen2-19/+51
with a fallback to get the version string from a .tarball-version file
2022-04-12More code improvements using _plist_dict_copy_* helperGravatar Nikias Bassen3-52/+13
2022-04-12Use proper detection for macOS restore path (instead of version number ↵Gravatar Nikias Bassen5-17/+21
comparison)
2022-04-10Fix build identity selection for beta (developer) firmwareGravatar Nikias Bassen3-17/+14
2022-04-10restore: Fixed a problem that nobody even knew existedGravatar Nikias Bassen2-7/+11
At least this has been going unnoticed until recently. For quite some time we have been sending NorImageData as array to the device, but it turned out that this was only expected for iOS < 7.0 and from then on it was supposed to be a dictionary with the components. Now we should correctly handle it.
2022-04-08normal: Skip fetching FirmwarePreflightInfo for non-baseband devicesGravatar Nikias Bassen1-6/+17
This will prevent the otherwise confusing (but harmless) error messages ERROR: Unable to get (null)-FirmwarePreflightInfo from lockdownd ERROR: Unable to get FirmwarePreflightInfo during restore.
2022-04-07tss: Fix img4 tag for TSS requestGravatar Nikias Bassen1-1/+1
2022-04-07tss/restore: Improve code readability with plist helpers and removal of ↵Gravatar Nikias Bassen4-810/+243
unneeded comments
2022-04-06Add support for Timer,* components and TSS found in iPad Air 5th gen firmwareGravatar Nikias Bassen3-0/+353
2022-04-05ipsw: Use libplist's new plist_from_json APIGravatar Nikias Bassen6-639/+3
2022-04-04Updated README with pkg-config requirementGravatar Nikias Bassen1-1/+2
2022-03-07[github-actions] Use windows-2019 instead of windows-latest for nowGravatar Nikias Bassen1-1/+1
2022-03-07restore: Use ECID instead of serial number in restore_is_current_device() to ↵Gravatar Nikias Bassen1-14/+16
match device Some devices seem to not provide serial number information in recovery or restore mode so we use ECID instead to make sure we deal with the same device.
2021-11-27Use macros for the different restore variant stringsGravatar Nikias Bassen3-6/+10
2021-11-26Cache build manifest in client structGravatar Nikias Bassen3-31/+20
2021-11-24Update TSS Client versionGravatar Daniel VanBritsom1-1/+7
Updates the "TSS_CLIENT_VERSION_STRING" to match that of iTunes 12.12.0.6 on Windows and Finder on the latest macOS.
2021-11-24restore: Use new reverse proxy implementation from latest libimobiledeviceGravatar Nikias Bassen2-2/+66
with fallback to the legacy code with a compile time warning. The legacy code will be removed in the future once a newer libimobiledevice has been officially released.
2021-11-20Update deprecated autoconf macros and update ax_pthread.m4Gravatar Nikias Bassen2-121/+159
2021-11-19Fix compilation on WindowsGravatar Nikias Bassen3-5/+24
2021-11-17configure: Bump libzip requirement to 1.0Gravatar Nikias Bassen1-1/+1
2021-11-17restore: Add missing newlines to info messagesGravatar Hector Martin1-2/+2
Signed-off-by: Hector Martin <marcan@marcan.st>
2021-11-17restore: Support sending BootabilityBundle (Monterey)Gravatar Hector Martin1-0/+155
This is used on macOS 12+ (Monterey and later) to allow older OSes to perform the bless2/bootability process for newer OSes, by putting a shared library in the Preboot partition that contains the specific logic required to make a given macOS install bootable. Closes: #441 Signed-off-by: Hector Martin <marcan@marcan.st>
2021-11-17ipsw: Support extracting symlinks as their target name (Monterey)Gravatar Hector Martin1-17/+27
This already works for zip files, but we need to do a readlink dance for unpacked archives. Signed-off-by: Hector Martin <marcan@marcan.st>
2021-11-17ipsw: Add a function to list the archive contents (Monterey)Gravatar Hector Martin2-0/+124
This is required to enumerate the BootabilityBundle contents. Signed-off-by: Hector Martin <marcan@marcan.st>
2021-11-17idevicerestore: Identify build identity by Variant (Monterey)Gravatar Hector Martin3-91/+20
Monterey got rid of VariantSupportsGlobalSigning. Identify builds based on the Variant field (which seems to always have consistent values) instead of using RestoreBehavior and VariantSupportsGlobalSigning. Signed-off-by: Hector Martin <marcan@marcan.st>
2021-10-26Add command line option to continue despite certain errors (e.g. baseband ↵Gravatar Nikias Bassen3-0/+14
update failure)
2021-10-25ipsw: Migrate to ipsw.me v4 APIGravatar Nikias Bassen1-6/+13
2021-10-11tss: Fix incorrect comments for veridian and tcon ticketsGravatar Nikias Bassen1-2/+2
2021-10-01restore: Fix CheckpointMsg parsing for older firmware versionsGravatar Nikias Bassen1-5/+3
Older firmware versions don't seem to always include CHECKPOINT_COMPLETE so we assume that state is false instead of aborting with an error.
2021-09-27Remove files obsoleted by libimobiledevice-glueGravatar Nikias Bassen4-704/+0
2021-09-27fdr: Fix socket receive timeout handling logicGravatar Hector Martin1-6/+8
This fixes flaky restores / activation not proceeding if you're more than 100ms away from Apple's servers. Signed-off-by: Hector Martin <marcan@marcan.st>
2021-09-27restore: Add support for updating AppleTCONGravatar Hector Martin3-0/+186
Closes: #442 Co-authored-by: Nikias Bassen <nikias@gmx.li> Signed-off-by: Hector Martin <marcan@marcan.st>
2021-09-24img4: Add MtpFirmware component tagGravatar Nikias Bassen1-0/+1
2021-09-24Prevent unnecessary delay on inital device detectionGravatar Nikias Bassen1-5/+7
2021-09-19[github-actions] Add build workflowGravatar Nikias Bassen2-0/+290
2021-09-01Add new --ipsw-info command line switch to show information about build ↵Gravatar Nikias Bassen4-2/+247
identities etc.