summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-01-25restore: Move Yonkers component selection code to tss_request_add_yonkers_tags()Gravatar Nikias Bassen3-80/+92
2019-01-24restore: Fix Savage firmware handling for iPhone XR/XS/XS maxGravatar Nikias Bassen3-41/+57
2019-01-23thread: Silence two compiler warningsGravatar Nikias Bassen2-1/+2
2019-01-23Replace tempnam() with mkstemp() and provide reference implementation for ↵Gravatar Nikias Bassen4-6/+188
systems lacking it
2019-01-22win32: Use _fseeki64/_ftelli64 instead of fseeko/ftelloGravatar Nikias Bassen2-1/+21
2019-01-22win32: Add missing include for mkdir()Gravatar Nikias Bassen1-0/+1
2019-01-21win32: Make sure to use binary flag for fopen everywhereGravatar Nikias Bassen1-1/+1
2019-01-21common: Use fstat() instead of fseeko() and ftello()Gravatar Nikias Bassen1-4/+9
2019-01-16restore: Add TZ0RequiredCapacity to restore options to fix iPhone8/8+ boot ↵Gravatar Luis Duran1-0/+14
loop issue
2019-01-16restore/tss: Add support for Yonkers firmware data and TSS requestGravatar Rudolf Tammekivi3-1/+237
2019-01-16restore: Add fallback SE,* component selection for unknown SE,ChipIDsGravatar Nikias Bassen1-2/+10
2019-01-16restore: Add support for newer SEP firmware (Chip ID 0x64)Gravatar Nikias Bassen2-19/+12
2019-01-16recovery: Add support for IsLoadedByiBoot:true componentsGravatar Rudolf Tammekivi2-0/+53
2019-01-16main: Allow passing ECID in hex or decimalGravatar Nikias Bassen1-4/+4
2019-01-16restore: Avoid using get_component_name() when getting manifest from build ↵Gravatar Nikias Bassen1-18/+30
identity
2019-01-16Add lowpowermode aka LowPowerWallet0 component to get_component_name()Gravatar Nikias Bassen1-0/+2
2019-01-16img4: Add personalization tag for RestoreTrustCacheGravatar Rudolf Tammekivi1-0/+2
2019-01-16img4: Fix component name for rlgoGravatar Rudolf Tammekivi2-2/+2
2018-08-28restore: Add personalization tag for AppleLogoGravatar Rudolf Tammekivi1-0/+2
2018-08-28restore: Find personalization tag offset dynamicallyGravatar Rudolf Tammekivi1-9/+69
2018-06-01Add explicit zlib dependencyGravatar Nikias Bassen1-0/+2
2018-05-19restore: Send ReceivedFinalStatusMsg when restore succeeds as restored is ↵Gravatar Nikias Bassen1-0/+4
expecting it This prevents a delay of about 10 seconds at the final stage of the restore process.
2018-04-27tss: Warn about unsupported SE,ChipID value and prevent passing NULL key to ↵Gravatar Nikias Bassen1-1/+3
plist_dict_get_item()
2018-04-27Decide what to do when updating SE firmware based on chip IDGravatar BALATON Zoltan2-9/+24
This should be more accurate than guessing based on what is in the build identity and avoid doing unexpected things for unknown hardware.
2018-04-27restore: Remove unused variablesGravatar BALATON Zoltan1-2/+0
2017-12-12AppleTV: Only wait for older AppleTV models to enter recovery mode after restoreGravatar Nikias Bassen1-2/+2
2017-12-10restore: Only print info about other detected devices in debug modeGravatar Nikias Bassen1-1/+1
2017-11-13Define a constant for user agent string instead of duplicate stringsGravatar BALATON Zoltan3-3/+5
2017-11-13Remove a comma from array initialiser which some compilers don't likeGravatar BALATON Zoltan1-1/+1
2017-11-13Change check_hardware_model() to get_irecv_device()Gravatar BALATON Zoltan8-30/+20
The check_hardware_model() function has a misleading name. It returns a string with the hardware model but this is not used. Instead, this function is only called for its side effect to initialise an irecv device in the passed client struct which it creates from the hardware model name returned by mode specific implementations. But these mode specific implementations already create an irecv device to get the hardware model name so instead of going through this unnecessary complication just return the irecv device directly and rename the function accordingly to make this clear. (This may also prevent leaking an irecv device in the mode specific functions.)
2017-11-14Fix Savage firmware updating for FaceID (iPhone X)Gravatar Nikias Bassen1-0/+13
While the restore was succeeding, FaceID wasn't available on the device. It turned out that the Savage Firmware data sent to the device requires a simple header that we didn't send along.
2017-11-06Add support for Savage firmware updating (found in iPhone X)Gravatar Nikias Bassen3-7/+269
2017-11-05restore: Prevent crash in fdr_disconnect() when exiting unexpectedlyGravatar Nikias Bassen1-4/+4
2017-11-05thread: Add 'thread_alive' helperGravatar Nikias Bassen2-0/+12
2017-10-17Move extraction of filesystem before requesting SHSH blobsGravatar Nikias Bassen1-90/+93
2017-09-29restore: Fix restore of iPhone 8/8+ SE firmwareGravatar Nikias Bassen1-1/+10
2017-09-28Invert return value of build_identity_has_component()Gravatar Nikias Bassen2-5/+5
2017-06-08restore: Add previously missing DeviceTree data request handlingGravatar Nikias Bassen1-0/+7
2017-06-08restore: Move restore_send_kernelcache() to a generic restore_send_component()Gravatar Nikias Bassen2-14/+16
2017-06-08ipsw: Suppress (misleading) error message when a requested file is not found ↵Gravatar Nikias Bassen1-1/+1
in archive
2017-04-07restore: Fix a use-after-freeGravatar Nikias Bassen1-2/+3
Also fixing the string length of the affected strncmp. Credit to Mällon Lobjakas
2017-03-05Add '-k' as short option for '--keep-pers' as advertised in usage infoGravatar Nikias Bassen1-1/+1
2017-02-24common: Add strsep() implementation for platforms lacking itGravatar Nikias Bassen2-0/+25
2017-02-21restore: Add support for 10.3+ firmware images (ipsw)Gravatar Nikias Bassen1-14/+73
Starting with iOS 10.3 the ipsw files don't contain any 'manifest' file anymore which we used to determine the files required for the reply to the 'NorData' request. Since this info is also included in the BuildManifest we us that instead, unless a 'manifest' file is present.
2017-02-07Remove some unneded variables and conditionals and plug some potential ↵Gravatar BALATON Zoltan5-121/+79
memory leaks
2017-02-07Added missing includes to fix build errorGravatar BALATON Zoltan2-0/+2
2017-02-07Do not save personalized components with debug, add a new option for itGravatar BALATON Zoltan1-3/+11
2017-02-07Use udid as temp file name prefix to make it more unique and avoid race ↵Gravatar BALATON Zoltan1-1/+1
conditions when tempnam generated name is not random enough.
2016-09-30restore: Add support for FirmwareUpdaterData request used for Secure Element ↵Gravatar Nikias Bassen1-0/+167
firmware
2016-09-30tss: Add helper function to create Secure Element TSS requestGravatar Nikias Bassen2-0/+107