summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2019-09-27tss: Fix Baseband TSS request for iPhone XSGravatar Nikias Bassen1-11/+13
2019-09-26ftab: Add missing stdint.h includeGravatar Nikias Bassen2-0/+3
2019-09-26Make sure ApSupportsImg4 is set for local manifest (stashbag) creationGravatar Nikias Bassen1-0/+1
2019-09-26Add more cancellation points to handle CTRL+CGravatar Nikias Bassen2-3/+31
2019-09-26img4: Add new TBMDigests key for stashbag local manifestGravatar Nikias Bassen1-1/+20
2019-09-26fdr: Use larget buffer for proxy command handlingGravatar Nikias Bassen1-10/+39
2019-09-26restore: Only use timeout error if it is actually definedGravatar Nikias Bassen1-0/+11
2019-09-26Make sure CTRL+C is working at specific stages of the processGravatar Nikias Bassen5-7/+39
2019-09-25normal: Unpair device before entering recovery modeGravatar Nikias Bassen1-0/+6
2019-09-25Use global event handlers for normale/restore and recovery/dfu mode devicesGravatar Nikias Bassen6-167/+199
2019-09-25restore: Update progress messages and handle FUD progressGravatar Nikias Bassen2-4/+44
2019-09-25restore: Add support for Rose and Veridian firmware imagesGravatar Nikias Bassen1-0/+244
2019-09-25restore: Add ICE19 baseband firmware files to support newer devicesGravatar Nikias Bassen1-1/+4
2019-09-25restore: Suppress SE,ChipID warning for new iPhone 11 Pro when handling SE ↵Gravatar Nikias Bassen1-1/+1
firmware
2019-09-25restore: Use new way to handle FUD firmware images (if supported)Gravatar Nikias Bassen1-37/+89
2019-09-25Add support for 'ftab' file formatGravatar Nikias Bassen3-1/+266
2019-09-25Add new Vinyl tags to (preflight) TSS requestGravatar Nikias Bassen1-0/+28
2019-09-25img4: Add component short tags/4cc for new Rose firmware filesGravatar Nikias Bassen1-0/+3
2019-09-25tss: Add support for new Vinyl (eUICC), Rose (Rap), and Veridian (BMU) ↵Gravatar Nikias Bassen2-2/+294
ticket requests
2019-09-25common: Extend _plist_dict_get_uint/bool helper to allow get values from ↵Gravatar Nikias Bassen1-2/+70
data/string/integer nodes
2019-09-21asr: Transfer filesystem data more efficiently with larger buffersGravatar Nikias Bassen1-18/+30
2019-09-11tss: Fix crash due to use-after-free in tss_request_send() if connection failsGravatar 1377349491-3/+4
2019-08-30Prompt user before trying to downgrade a device via Upgrade restore (i.e. ↵Gravatar Nikias Bassen1-0/+57
without erasing user data) Since it might result in a complete data loss, let's warn the user about it and ask for confirmation. This check is not performed when -y command line switch is used.
2019-08-29Add support to "preboard" a device on update restore to prevent 'Attempting ↵Gravatar Nikias Bassen5-3/+343
data recovery'
2019-08-29img4: Add new function img4_create_local_manifest()Gravatar Nikias Bassen2-25/+482
2019-08-29tss: Properly apply RestoreRequestRules which can also be EPRO:false or ↵Gravatar Nikias Bassen1-4/+4
ESEC:false instead of always assuming true
2019-08-29tss: Allow missing ApECID in tss_request_add_common_tags()Gravatar Nikias Bassen1-4/+2
2019-08-29tss: Silence warnings about missing BbChipID and BbSkeyId entriesGravatar Nikias Bassen1-2/+2
2019-08-28Add plist dictionary helperGravatar Nikias Bassen2-0/+25
2019-08-20Reduce code duplication in normal.c with helper functionGravatar Nikias Bassen2-113/+33
2019-06-25fdr: Fix typo in error type that lead to compile errors with older ↵Gravatar Nikias Bassen1-1/+1
libimobiledevice
2019-06-24fdr: Handle new timeout error conditions (introduced in latest libimobiledevice)Gravatar Nikias Bassen1-7/+19
2019-06-18Add warning with confirmation prompt when performing an erase restore in ↵Gravatar Nikias Bassen1-1/+25
interactive mode
2019-03-22Make sure user input can be cancelled properlyGravatar Nikias Bassen2-1/+8
2019-02-14Fix usage output and reorder it by relevanceGravatar Nikias Bassen2-25/+32