summaryrefslogtreecommitdiffstats
path: root/src/asr.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-02Extract OS component when using older ipsw archivesGravatar Nikias Bassen1-8/+10
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-09-14Refactor ipsw code to transparently stream images directly from ZIP or ↵Gravatar Nikias Bassen1-43/+13
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.
2021-05-08asr: Improve reliability over USB3 by avoiding multiple sendGravatar Benjamin BOURGEAIS1-57/+13
Align the size of sent packets on the ASR_PAYLOAD_CHUNK_SIZE.
2020-06-02Make OpenSSL dependency optional (used for SHA1)Gravatar Nikias Bassen1-1/+12
Can be disabled with --without-openssl, otherwise auto-detected.
2019-09-21asr: Transfer filesystem data more efficiently with larger buffersGravatar Nikias Bassen1-18/+30
2019-02-14win32: Workaround for _lseeki64 not seeking as expected...Gravatar Nikias Bassen1-0/+3
NO COMMENT
2019-02-02win32: Use _lseeki64 instead of _fseeki64/_ftelli64 and don't link against ↵Gravatar Nikias Bassen1-7/+5
msvcr100.dll What a mess it is, all these msvcr*.dll - incompatible without limits
2019-01-22win32: Use _fseeki64/_ftelli64 instead of fseeko/ftelloGravatar Nikias Bassen1-1/+17
2015-09-24Fix some file header commentsGravatar Nikias Bassen1-1/+1
2014-10-22asr: Remove two debug messages that are not really helpfulGravatar Martin Szulecki1-4/+0
2014-10-21Fix handling of files larger than 2GB on 32bit systemsGravatar BALATON Zoltan1-16/+17
2014-10-21Supress printing very long plists and too verbose messages in debug outputGravatar BALATON Zoltan1-1/+1
2014-03-22Use "plist_dict_set_item" instead of deprecated "plist_dict_insert_item"Gravatar Martin Szulecki1-9/+9
2013-12-01asr: removed unused variableGravatar Nikias Bassen1-1/+0
2013-10-24Fixed pass-by-reference inconsistency in asr_send().Gravatar Aaron Burghardt1-1/+1
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
2013-10-02asr: supress compiler warnings with proper castGravatar Nikias Bassen1-2/+3
2013-09-23Update AUTHORS and file copyrights accordinglyGravatar Martin Szulecki1-0/+2
2012-11-07libidevicerecovery: implemented progress callback logicGravatar Martin Szulecki1-2/+15
2012-07-17asr: Output byte counts in error message if sending data failsGravatar Martin Szulecki1-1/+1
2012-07-17asr: Fix memory leak in asr_send()Gravatar Martin Szulecki1-4/+2
2012-07-17asr: Add macros for other values of validation requestGravatar Martin Szulecki1-4/+8
2012-07-17asr: implemented checksumming for filesystem uploadGravatar Nikias Bassen1-14/+112
2012-07-17asr: Define payload packet size to make it easier to adjust if neededGravatar Martin Szulecki1-5/+6
2011-04-30Working with iOS versions up to 4.3.2; plus all currently released devicesGravatar boxingsquirrel1-2/+4
2010-07-09Only debug a plist if debugging flag was setGravatar Martin Szulecki1-2/+7
2010-07-09Try five times to retrieve validation plist if it failedGravatar Martin Szulecki1-3/+12
This fixes hanging as the following payload message is not received initially but after polling the second time.
2010-06-21Archived for historical reasonsGravatar Joshua Hill1-1/+1
2010-06-08ooops, should of tested that last commit before pushingGravatar Joshua Hill1-2/+3
2010-06-08Added debug info for recovery.c and a few minor fixes to asr.cGravatar Joshua Hill1-45/+61
2010-06-08forgot to update the asr.c file headerGravatar Joshua Hill1-2/+2
2010-06-08Added a new asr.c file to stick all stuff related to filesystem and abstract ↵Gravatar Joshua Hill1-0/+275
the restore process to allow for easier porting