Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-07-09 | ipsw: Fix concurrent access to ZIP fileHEADmaster | Nikias Bassen | 2 | -35/+137 | |
With the new AsyncDataRequestMsg we have the problem that multiple threads would access the .ipsw, however we were only using one struct zip* handle for the entire procedure, resulting in read errors when concurrent access occurs. This commit fixes it by opening the zip file for every access separately. | |||||
2024-07-01 | Fix heap buffer overflow in URLAsset handling | Nikias Bassen | 1 | -1/+1 | |
2024-06-29 | Remove debug printf | Nikias Bassen | 1 | -1/+0 | |
2024-06-26 | restore: Always try to use DeviceGeneratedRequest data for TSS requests if ↵ | Nikias Bassen | 1 | -15/+45 | |
present | |||||
2024-06-24 | Add support for iOS 18 restore process | Nikias Bassen | 7 | -131/+750 | |
2024-06-22 | restore: Remove `device` from the parameters of the functions | Nikias Bassen | 2 | -19/+29 | |
2024-06-22 | restore: Remove `build_identity` from the parameters of the functions | Nikias Bassen | 2 | -100/+178 | |
2024-06-16 | Remove OpenSSL dependency in favor of libimobiledevice-glue's hash functions | Nikias Bassen | 9 | -800/+12 | |
This also removes the sha1/sha384 code from this repository since we are using the ones from libimobiledevice-glue now. | |||||
2024-06-12 | Add missing linebreak to log message | Nikias Bassen | 1 | -1/+1 | |
2024-06-05 | Small change to align with updated libtatsu | Nikias Bassen | 1 | -1/+1 | |
2024-05-23 | Link against the new libtatsu and remove tss code | Nikias Bassen | 8 | -1876/+11 | |
2024-05-18 | Add missing cast to silence compiler warning | Nikias Bassen | 1 | -1/+1 | |
2024-05-14 | Require libplist 2.6.0 | Nikias Bassen | 5 | -71/+56 | |
2024-05-05 | Updated to use libplist 2.5.0 API | Nikias Bassen | 8 | -431/+284 | |
2024-04-04 | dfu: A little code optimization | Nikias Bassen | 1 | -15/+5 | |
2024-04-04 | Remove annoying linebreak | Nikias Bassen | 1 | -2/+1 | |
2024-04-03 | Fix restore mode component personalisation | Visual Ehrmanntraut | 1 | -23/+31 | |
2024-03-23 | Add support for Port DFU device restore | Nikias Bassen | 8 | -0/+509 | |
2024-03-23 | tss: Update libauthinstall verison string | Nikias Bassen | 1 | -1/+1 | |
2024-03-23 | Fix some variable types for more consistency | Nikias Bassen | 8 | -24/+24 | |
2024-03-08 | Make sure to extract the build manifest before doing restore mode checks | Nikias Bassen | 1 | -14/+15 | |
Otherwise we could set tss_enabled to 0 but the extraction would re-enable it. | |||||
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 | Change path_get_basename arg to const too | Nikias Bassen | 2 | -2/+2 | |
2023-11-15 | Change path_get_basename()'s return type to const char* | tihmstar | 3 | -6/+5 | |
This makes it clear that the return value is immutable and moreover suggests that the return vale is not allocated and thus should be treated carefully. | |||||
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-15 | asr: Fix sending payload without checksum | tihmstar | 1 | -4/+6 | |
2023-11-09 | Fix update restore by making sure the premanifest is properly generated | Nikias Bassen | 3 | -14/+32 | |
2023-11-09 | Print progress for large components (e.g. Cryptex) | Nikias Bassen | 5 | -13/+41 | |
2023-11-07 | Print device Product and Build Version and IPSW Product and Build Version | Nikias Bassen | 2 | -18/+26 | |
It wasn't entirely clear what "Product Version" and "Product Build" would be so prefixing it with "IPSW" makes it clear it's the version being restored. | |||||
2023-11-02 | Extract OS component when using older ipsw archives | Nikias Bassen | 7 | -11/+143 | |
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-09 | tss: Add USBPortController1,* entries to parameters | Nikias Bassen | 1 | -0/+4 | |
2023-10-07 | Improve debug output by suppressing libimobiledevice and libirecovery debug ↵ | Nikias Bassen | 2 | -3/+7 | |
output by default To get libimobiledevice and libirecovery output, add -d or --debug twice. | |||||
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 | 2 | -4/+11 | |
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-29 | tss: Add Ap,SikaFuse to TSS request as seen for iPhone 14/15 devices | Nikias Bassen | 1 | -0/+8 | |
This is currently implemented as a workaround as the evaluation of when this value should be set is unclear. Right now we set it when UID_MODE is set too. | |||||
2023-09-14 | Refactor ipsw code to transparently stream images directly from ZIP or ↵ | Nikias Bassen | 9 | -355/+272 | |
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-14 | autoconf: Link against libusbmuxd too | Nikias Bassen | 1 | -0/+2 | |
2023-09-14 | tss: Make missing ApNonce non-fatal for IMG3 | Nikias Bassen | 1 | -2/+1 | |
For IMG3 devices, DFU does not provide ApNonce, but a valid SHSH is needed to boot into iBSS (which then does provide ApNonce). Thanks to @tihmstar for providing the fix! | |||||
2023-09-13 | normal: Don't do unpair before entering recovery mode, remove pairing record ↵ | Nikias Bassen | 1 | -6/+4 | |
afterwards instead | |||||
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-09-06 | fdr: Fix a debug log message | Nikias Bassen | 1 | -1/+1 | |
2023-09-06 | tss: Bump auth client version to match iOS 16.5 | Daniel VanBritsom | 1 | -1/+1 | |
Sourced from the iOS 16.5 UpdateBrain.dylib |