Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-27 | restore: Only print progress bar for images larger than 16 MB | Nikias Bassen | 1 | -1/+1 | |
2023-11-21 | Update libzip API usage to use non-deprecated functions | Nikias Bassen | 1 | -11/+12 | |
2023-11-15 | restore: Fix UaF | tihmstar | 1 | -2/+2 | |
`fsname_base` points inside the dynamically allocated `path` which is freed before `fsname_base` is used, creating a use-after-free condition. This commits makes sure to free `path` only after it is no longer needed. | |||||
2023-11-09 | Print progress for large components (e.g. Cryptex) | Nikias Bassen | 1 | -7/+34 | |
2023-11-02 | Extract OS component when using older ipsw archives | Nikias Bassen | 1 | -1/+16 | |
Older ipsw archives have the root filesystem stored in compressed format rather than just "stored". The "Verifying Filesystem" step would then fail as compressed files are not seekable in ZIP files. This commit introduces a detection for this and has the filesystem extracted should it be required. If not using a cache path, the temp file used for extraction will be deleted after the procedure is completed. | |||||
2023-10-06 | restore: Also print checkpoint warning messages | Nikias Bassen | 1 | -0/+4 | |
2023-10-06 | restore: Add Ace3 as known updater name to suppress error message | Nikias Bassen | 1 | -0/+6 | |
2023-10-06 | restore: Skip adding FirmwareData to FirmwareResponseData for Rose | Nikias Bassen | 1 | -0/+6 | |
2023-10-04 | restore: Improve checkpoint log output again, make sure to always check for ↵ | Nikias Bassen | 1 | -5/+8 | |
errors Turns out even with a CHECKPOINT_RESULT of 0 we can still have a CHECKPOINT_ERROR string. | |||||
2023-10-04 | restore: Refine checkpoint log output | Nikias Bassen | 1 | -6/+15 | |
2023-10-04 | restore/tss: Prefer DeviceGeneratedRequest for Rose TSS request, and add ↵ | Nikias Bassen | 1 | -4/+10 | |
missing tag | |||||
2023-10-02 | restore: Add new SE,ChipID 0x36 to list of known values | Nikias Bassen | 1 | -1/+1 | |
2023-10-02 | restore: Attributed status code 50 with SEP load failure | Nikias Bassen | 1 | -0/+1 | |
2023-10-02 | restore: Handle SepStage1 (SEPPatchImageData) in NORImageData | Nikias Bassen | 1 | -0/+25 | |
2023-09-14 | Refactor ipsw code to transparently stream images directly from ZIP or ↵ | Nikias Bassen | 1 | -9/+26 | |
extracted ipsw This allows flashing directly from IPSW archive without having to extract it first, and ultimately removes the "Extracting filesystem from IPSW" part. Restoring from extracted IPSW is also supported, just pass the path to the directory that has all the files from a given IPSW. | |||||
2023-09-13 | restore: Remove plist debug print for non-existent UniqueBuildID | Nikias Bassen | 1 | -1/+4 | |
and print it in a better format if it does exist | |||||
2023-07-25 | Add generic TSS request generator | Clément Decoodt | 1 | -2/+67 | |
This uses the DeviceGeneratedRequest and DeviceGeneratedTags to generate the full TSS request. This allows to have a more future-proof approach to new firmware names they add. | |||||
2023-07-25 | Add SE,ChipID 0x2C | Clément Decoodt | 1 | -1/+1 | |
2023-05-23 | Use DeviceGeneratedRequest plist for SE TSS requests | Clément Decoodt | 1 | -6/+17 | |
2022-10-19 | restore: Fix compilation error due to wrong variable name | Nikias Bassen | 1 | -2/+2 | |
2022-10-19 | restore: Only print boot object v3/v4 plist in debug mode | Nikias Bassen | 1 | -2/+8 | |
2022-10-02 | Reduce memory usage for SourceBootObjectV4 images | Nikias Bassen | 1 | -90/+57 | |
2022-09-16 | Fix Cryptex1 and Cryptex1LocalPolicy TSS request handling | Nikias Bassen | 1 | -15/+35 | |
2022-08-29 | restore: Add support for Cryptex1LocalPolicy firmware updater | Nikias Bassen | 1 | -10/+23 | |
2022-08-29 | restore: use an appropriate ticket for Cryptex1 global manifest | Munehisa Kamata | 1 | -7/+24 | |
macOS 13 introduced a new global manifest for Cryptex1 and it requires tickets found in Firmware/Manifests/restore/cryptex1/macOS Customer/ inside an IPSW, but we currently do not use the tickets and end up unexpected behavior on a Mac device after restoring, e.g. bputil fails to downgrade security mode due to "Cryptex1 manifest verification failed". This adds a proper handling to use the appropriate tickets. Signed-off-by: Munehisa Kamata <kamatam@amazon.com> | |||||
2022-06-28 | restore: Don't print 'Attempting to continue after critical error' warning ↵ | Nikias Bassen | 1 | -1/+1 | |
when no error was detected This only occurred when using --ignore-errors command line option. | |||||
2022-06-28 | Make sure to exactly match the passed variant when using --variant | Nikias Bassen | 1 | -1/+1 | |
2022-06-23 | Support iOS 16.0 Beta 2 (#506) | Emma Lethaltail | 1 | -0/+1 | |
2022-06-20 | Remove more serial number checks, and get ECID early on in all modes | Nikias Bassen | 1 | -15/+9 | |
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-20 | Add support for FirmwareUpdaterPreflight message | Clément Decoodt | 1 | -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-17 | restore: Fix memory corruption in restore_get_timer_firmware_data | Doron Zarhi | 1 | -1/+1 | |
2022-06-17 | Add support for iOS 16 | Doron Zarhi | 1 | -8/+122 | |
2022-04-12 | More code improvements using _plist_dict_copy_* helper | Nikias Bassen | 1 | -5/+1 | |
2022-04-12 | Use proper detection for macOS restore path (instead of version number ↵ | Nikias Bassen | 1 | -8/+4 | |
comparison) | |||||
2022-04-10 | Fix build identity selection for beta (developer) firmware | Nikias Bassen | 1 | -2/+2 | |
2022-04-10 | restore: Fixed a problem that nobody even knew existed | Nikias Bassen | 1 | -6/+10 | |
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-07 | tss/restore: Improve code readability with plist helpers and removal of ↵ | Nikias Bassen | 1 | -33/+8 | |
unneeded comments | |||||
2022-04-06 | Add support for Timer,* components and TSS found in iPad Air 5th gen firmware | Nikias Bassen | 1 | -0/+204 | |
2022-03-07 | restore: Use ECID instead of serial number in restore_is_current_device() to ↵ | Nikias Bassen | 1 | -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-27 | Use macros for the different restore variant strings | Nikias Bassen | 1 | -3/+3 | |
2021-11-26 | Cache build manifest in client struct | Nikias Bassen | 1 | -8/+2 | |
2021-11-24 | restore: Use new reverse proxy implementation from latest libimobiledevice | Nikias Bassen | 1 | -0/+52 | |
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-19 | Fix compilation on Windows | Nikias Bassen | 1 | -2/+2 | |
2021-11-17 | restore: Add missing newlines to info messages | Hector Martin | 1 | -2/+2 | |
Signed-off-by: Hector Martin <marcan@marcan.st> | |||||
2021-11-17 | restore: Support sending BootabilityBundle (Monterey) | Hector Martin | 1 | -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-17 | idevicerestore: Identify build identity by Variant (Monterey) | Hector Martin | 1 | -3/+10 | |
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-26 | Add command line option to continue despite certain errors (e.g. baseband ↵ | Nikias Bassen | 1 | -0/+4 | |
update failure) | |||||
2021-10-01 | restore: Fix CheckpointMsg parsing for older firmware versions | Nikias Bassen | 1 | -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-27 | restore: Add support for updating AppleTCON | Hector Martin | 1 | -0/+80 | |
Closes: #442 Co-authored-by: Nikias Bassen <nikias@gmx.li> Signed-off-by: Hector Martin <marcan@marcan.st> | |||||
2021-09-01 | Remove common code in favor of libimobiledevice-glue | Nikias Bassen | 1 | -2/+2 | |