summaryrefslogtreecommitdiffstats
path: root/src/dfu.h
AgeCommit message (Collapse)AuthorFilesLines
2022-06-20Remove more serial number checks, and get ECID early on in all modesGravatar Nikias Bassen1-1/+0
Some devices seem to not have a serial number, usually in restore mode, which will cause the restore operation to fail since we specifically check for it. An earlier commit already removed the actual comparison in favor of comparing the ECID, but some checks would still result in restore failures as it can't retrieve the serial number on said devices at all. This commit also makes sure to get the ECID in all modes as early as possible and removes all the helper functions for it since they are not needed anymore.
2021-06-29Remove unused functionsGravatar Nikias Bassen1-1/+0
2017-11-13Change check_hardware_model() to get_irecv_device()Gravatar BALATON Zoltan1-1/+1
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.)
2015-10-09Use hardware model instead of product type to identify device correctlyGravatar Nikias Bassen1-2/+2
2015-09-24Fix some file header commentsGravatar Nikias Bassen1-1/+1
2013-11-20dfu: Implement dfu_get_ecid() to fix connectivity issues from DFU modeGravatar Martin Szulecki1-0/+1
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen1-0/+1
2013-11-18Split nonce retrieval into ApNonce and SepNonce for DFU and Recovery modesGravatar Martin Szulecki1-1/+2
2013-10-02dfu: make sure buffers are of type unsigned char*Gravatar Nikias Bassen1-1/+1
2013-09-27Require libirecovery >= 0.2.0 and port code to it's new APIGravatar Martin Szulecki1-1/+1
2013-09-23Update AUTHORS and file copyrights accordinglyGravatar Martin Szulecki1-0/+2
2013-01-09dfu: Implement dfu_check_device() helperGravatar Martin Szulecki1-0/+1
2012-02-09add support for targeting a device by ECIDGravatar Nikias Bassen1-1/+1
2012-02-05add support for 0x1222 wtf modeGravatar Nikias Bassen1-0/+5
2012-02-02dfu: implement dfu_check_mode() and fix dfu_enter_recovery()Gravatar Nikias Bassen1-1/+1
2010-07-09Implement handling of devices which do not require a tss requestGravatar Martin Szulecki1-1/+1
This introduces passing around the "selected" build identity and fixes code logic issues to make idevicerestore work again.
2010-06-21Archived for historical reasonsGravatar Joshua Hill1-4/+20
2010-06-04Even more major cleanups and refactoring, this branch is still broken but ↵Gravatar Joshua Hill1-3/+2
starting to mature really well
2010-06-01Began major refactoring, not quite finished yet, this branch is probably brokeGravatar Joshua Hill1-2/+5
2010-06-01Began refactoring of code to simplify and seperate device state logicGravatar Joshua Hill1-0/+29