summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27restore: Silence warning about EAN Data progressGravatar Nikias Bassen1-0/+1
2020-10-27restore: Add new baseband firmware file mapping for Mav20 basebands (iPhone 12)Gravatar Nikias Bassen1-0/+2
2020-10-16fix two English typosGravatar Yves-Alexis Perez2-2/+2
2020-10-12restore: Fix NORData request by sending new components (fixes wireless ↵Gravatar Nikias Bassen1-4/+19
charging on newer devices) The NorImageData response didn't include the WCHFirmwareUpdater for newer devices, resulting in wireless charging capability to be broken on iPhone XS, iPhone XR, and newer. Upon further inspection it turned out that the selection for the images to send was only based on `IsFirmwarePayload` property. However, there are additional components with other properties, as the WCHFirmwareUpdater one, that don't have the `IsFirmwarePayload` property but instead `IsSecondaryFirmwarePayload` and `IsLoadedByiBoot` which seem to be the rule for including these images.
2020-09-16restore: Add some more restore progress stepsGravatar Nikias Bassen1-0/+15
2020-07-09Fix 'Unable get path ...' error messages to say 'Unable to get path ...'Gravatar Nikias Bassen2-7/+7
2020-06-24restore: Improve NORData error messageGravatar Nikias Bassen1-1/+1
2020-06-24Print note about usbmuxd when device fails to enter restore modeGravatar Nikias Bassen1-0/+1
2020-06-23restore: Handle new PersonalizedData and EANData requestsGravatar Dany Lisiansky1-28/+52
2020-06-23tss: Fix logical bug in tss_request_add_ap_tags() when selecting 'only ↵Gravatar Nikias Bassen1-2/+6
firmware components'
2020-06-23restore: Add support for SystemImageRootHash and ↵Gravatar Nikias Bassen2-11/+28
SystemImageCanonicalMetadata data requests
2020-06-23img4: Add some new IMG4 component typesGravatar Nikias Bassen1-0/+19
2020-06-15Add hint that using custom firmware files only works with a bootrom exploit1.0.0Gravatar Martin Szulecki1-1/+1
2020-06-08Remove trailing whitespace errors from all filesGravatar Martin Szulecki17-98/+97
2020-06-08Unfold automake flags and sources into multiple lines, fix distcheck targetGravatar Martin Szulecki1-18/+42
2020-06-04Add new "--version" option to output version information and update man pageGravatar Martin Szulecki1-1/+8
2020-06-04Unify usage output with other tools and add project URLsGravatar Martin Szulecki1-34/+38
2020-06-04Reformat indentation of option struct for readabilityGravatar Martin Szulecki1-19/+19
2020-06-02Make OpenSSL dependency optional (used for SHA1)Gravatar Nikias Bassen5-1/+361
Can be disabled with --without-openssl, otherwise auto-detected.
2020-05-21Ignore non-usbmux (i.e. wifi sync) devices in device event callbackGravatar Nikias Bassen1-0/+6
2020-04-21Support stopping at restore modeGravatar Rick Mark2-1/+12
2020-04-20Use uint64_t and appropriate standard PRI* format specifiers everywhereGravatar Nikias Bassen6-20/+16
2020-04-18Use PATH_MAX for file sizesGravatar Rosen Penev2-5/+6
Fixes several -Wformat-truncation warnings. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-12fix newly introduced format errors under 64-bitGravatar Rosen Penev4-6/+4
uint64_t should be used. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-13restore: Fix several format string compiler warningsGravatar Nikias Bassen1-4/+5
2020-04-13fdr: Fix format string compiler warningsGravatar Nikias Bassen1-4/+5
2020-04-13ftab: Fix missing format string argumentGravatar Nikias Bassen1-1/+1
2020-04-13img3: Remove unused format string argumentGravatar Nikias Bassen1-1/+1
2020-04-12Fix missing declaration warningsGravatar Rosen Penev5-16/+19
Allows better compilation by the compiler.
2020-04-12Fix unnecessary double promotionGravatar Rosen Penev2-3/+3
Found with -Wdouble-promotion and -Wfloat-equal
2020-04-12Fix format compiler warningsGravatar Rosen Penev3-3/+7
This also allows the compiler to check these at compile time.
2020-04-12Replace strncpy with memcpyGravatar Rosen Penev2-3/+3
Fixes compiler warnings.
2020-04-12restore: Don't fail when Rap,RestoreRTKitOS entry is missing from build identityGravatar Nikias Bassen1-32/+36
2020-02-18Allow remote side to terminate FDR connections rather than doing it ourselves.Gravatar David Wang1-1/+2
2020-02-18Offer plain progress reports.Gravatar Nikias Bassen1-1/+13
2020-02-18Allow restores that start in Restore mode. Allow specification of custom ↵Gravatar David Wang5-44/+128
APTickets.
2019-12-27Allow T2 and non-screen devices restoreGravatar Nikias Bassen1-0/+4
2019-10-20Error out if sending APTicket fails (older devices)Gravatar Nikias Bassen1-1/+4
2019-10-20Ignore device add events after device entered restore modeGravatar Nikias Bassen2-0/+6
2019-10-20Allow cancelling the 'waiting for trust' loop, and don't spam console in ↵Gravatar Nikias Bassen1-1/+10
debug mode while waiting for it
2019-10-16Fix usage of baseband and potential other components from extracted IPSWGravatar Nikias Bassen1-0/+4
In case realpath fails, the output filename might be not set and thus fopen will fail on it during copy. Setting the resolved output filename to the given output filename in this case fixed the problem.
2019-10-11Don't try to print a NULL udid in device event debug message and use working ↵Gravatar Nikias Bassen2-5/+7
format specifier for win32
2019-10-11win32: Use signal on win32 but make sure user input can be cancelled with ctrl+cGravatar Nikias Bassen2-2/+14
also added ESC key as a fallback cancel method.
2019-10-11Use condition variable instead of active waiting for device event handlingGravatar Nikias Bassen8-18/+157
With some devices and USB hardware the reconnect of a device might actually be faster than the check interval of the active waiting loop. With mutexes and a condition variable we will not miss the moment of reconnect anymore, even if it is really quick (like 7ms, right DanyL?)
2019-10-11dfu: Fix DFU loading of iBSS -> iBEC on newer devicesGravatar Nikias Bassen1-6/+14
2019-10-07Fix log messageGravatar Nikias Bassen1-1/+1
2019-10-07DFU: Properly detect iBSS and iBEC execution (via device reconnect)Gravatar Nikias Bassen2-21/+36
Also prevent sending the iBEC twice which happened due to the changes in device detection logic.
2019-10-07Recovery: Properly detect iBEC execution (via device reconnect)Gravatar Nikias Bassen1-4/+21
2019-10-05img4: Fix non-C99 compliant variable declarationGravatar Nikias Bassen1-1/+2
2019-10-04Select first discovered recovery/dfu device if no ECID is givenGravatar Nikias Bassen1-0/+3