summaryrefslogtreecommitdiffstats
path: root/src/ipsw.c
AgeCommit message (Collapse)AuthorFilesLines
2020-04-18Use PATH_MAX for file sizesGravatar Rosen Penev1-2/+2
Fixes several -Wformat-truncation warnings. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-12Replace strncpy with memcpyGravatar Rosen Penev1-2/+2
Fixes compiler warnings.
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-09-26Make sure CTRL+C is working at specific stages of the processGravatar Nikias Bassen1-0/+18
2019-02-14Use uint64_t instead of off_t for win32/MinGW compatibilityGravatar Nikias Bassen1-2/+2
2019-02-14Allow .ipsw files or extracted IPSW as sourceGravatar Nikias Bassen1-118/+312
2019-02-02Use ipsw.me API to allow selection and download of any signed firmware ↵Gravatar Nikias Bassen1-14/+91
version when using --latest
2017-06-08ipsw: Suppress (misleading) error message when a requested file is not found ↵Gravatar Nikias Bassen1-1/+1
in archive
2016-06-26ipsw: Add ipsw_extract_to_file_with_progress() and remove progress bar from ↵Gravatar Nikias Bassen1-3/+11
ipsw_extract_to_file()
2014-10-21Fix handling of files larger than 2GB on 32bit systemsGravatar BALATON Zoltan1-13/+13
2013-12-02respect --cache-path when using --latestGravatar Nikias Bassen1-1/+5
2013-10-02ipsw: change buffers to use type unsigned char*Gravatar Nikias Bassen1-9/+12
2013-10-02silence implicit declaration compiler warningsGravatar Nikias Bassen1-0/+1
2013-09-27ipsw: also check product type in ipsw_get_latest_fw to get largest major versionGravatar Nikias Bassen1-3/+6
2013-09-27ipsw: remove obsolete major version increase in ipsw_get_latest_fwGravatar Nikias Bassen1-8/+2
2013-09-27ipsw: fix version data parsingGravatar Nikias Bassen1-41/+9
2013-09-23ipsw: Add a temporary workaround to support iOS 7 firmware lookupsGravatar Martin Szulecki1-0/+5
It appears that iTunes does no longer parse the version XML structure as currently implemented in idevicerestore. We'll need to modify the lookup for the latest firmware in the future, this will do for a while.
2013-09-23Update AUTHORS and file copyrights accordinglyGravatar Martin Szulecki1-1/+3
2012-11-07libidevicerecovery: implemented progress callback logicGravatar Martin Szulecki1-0/+1
2012-07-17ipsw: add function ipsw_get_file_size() to get uncompressed file sizeGravatar Nikias Bassen1-0/+26
2012-07-17ipsw: Prevent error about BuildManifesto.plist by checking if it exists firstGravatar Martin Szulecki1-3/+23
2012-07-17Limit when downloading should show progress and when notGravatar Martin Szulecki1-1/+1
2012-07-17ipsw: Use different error codes in ipsw_download_latest_fw() for handlingGravatar Martin Szulecki1-4/+4
2012-07-17ipsw: Remove downloaded file if checksum verification failedGravatar Martin Szulecki1-0/+4
This prevents restore attempts with corrupt firmware IPSW files.
2012-07-17ipsw: allow passing NULL as sha1buf to ipsw_get_latest_fwGravatar Nikias Bassen1-14/+18
2012-07-17ipsw: change get_latest_fw to ipsw_get_latest_fw and make it publicGravatar Nikias Bassen1-2/+2
2012-07-17ipsw: add workaround for iPhone1,1 version parsingGravatar Nikias Bassen1-2/+8
2012-07-16ipsw: implemented file locking for on-demand downloadingGravatar Nikias Bassen1-0/+15
2012-07-16move ipsw on-demand download to ipsw.cGravatar Nikias Bassen1-0/+235
2012-02-02ipsw: add ipsw_extract_restore_plistGravatar Nikias Bassen1-0/+12
2012-02-02ipsw: add 0-termination to buffer returned by ipsw_extract_to_memoryGravatar Nikias Bassen1-1/+3
2010-07-14Refactor tss request requirements to work with iPhone 3G and iOS 4Gravatar Martin Szulecki1-1/+4
This gets rid of the device model checking code and allows devices like the iPhone 3G to get shsh blobs as required by iOS 4. The requirement if the components need to be signed is determined by which kind of manifest filename is within the IPSW.
2010-07-09Refactor manifest extractionGravatar Martin Szulecki1-0/+22
2010-06-21Archived for historical reasonsGravatar Joshua Hill1-1/+1
2010-06-08Added a new asr.c file to stick all stuff related to filesystem and abstract ↵Gravatar Joshua Hill1-1/+1
the restore process to allow for easier porting
2010-06-07I really need to put more descriptive messages here, but im doing stuff all ↵Gravatar Joshua Hill1-2/+6
over the place
2010-06-04Even more major cleanups and refactoring, this branch is still broken but ↵Gravatar Joshua Hill1-1/+2
starting to mature really well
2010-05-26Implemented NOR data request, it's ugly but it works! Successfully restored ↵Gravatar Joshua Hill1-4/+6
4.0b4 to my device
2010-05-25Filesystem is now restoring, need to add in kernelcache restore and nor ↵Gravatar Joshua Hill1-43/+90
restore and everything should be good. Note: The latest HEAD from marcan's usbmuxd is required for this program to work. Linux kernel drivers do some wacky stuff with iPod audio interfaces
2010-05-24Have it sending DeviceTree now and started on ramdisk. Started to clean up a ↵Gravatar Joshua Hill1-1/+10
little bit, but not everything yet.
2010-05-22Started implementation of img3 file and tss_stitcherGravatar Joshua Hill1-4/+2
2010-05-21Added ECID detectionGravatar Joshua Hill1-0/+4
2010-05-20Initial commitGravatar Joshua Hill1-0/+117