summaryrefslogtreecommitdiffstats
path: root/src/normal.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-23Fix some variable types for more consistencyGravatar Nikias Bassen1-2/+2
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.
2019-09-25Use global event handlers for normale/restore and recovery/dfu mode devicesGravatar Nikias Bassen1-11/+0
2019-08-29Add support to "preboard" a device on update restore to prevent 'Attempting ↵Gravatar Nikias Bassen1-1/+3
data recovery'
2019-08-20Reduce code duplication in normal.c with helper functionGravatar Nikias Bassen1-0/+1
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
2013-11-20normal: add normal_get_preflight_info helper functionGravatar Nikias Bassen1-0/+1
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen1-0/+1
2013-11-19removed unused get_cpid/get_bdid and adapted for latest libirecovery changesGravatar Nikias Bassen1-2/+0
2013-11-18normal: Split normal_get_nonce() into ApNonce and SEPNonce gettersGravatar Martin Szulecki1-1/+2
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
2012-11-07normal: Implement normal_get_nonce()Gravatar Martin Szulecki1-0/+1
2012-02-09add support for targeting a device by ECIDGravatar Nikias Bassen1-5/+5
2010-06-21Fixed a few more compile errors, everything should compile fine now, but i'm ↵Gravatar Joshua Hill1-1/+1
not sure if it will run yet
2010-06-21Finally fixed the out of control problemGravatar Joshua Hill1-0/+4
2010-06-21Archived for historical reasonsGravatar Joshua Hill1-0/+17
2010-06-04Even more major cleanups and refactoring, this branch is still broken but ↵Gravatar Joshua Hill1-1/+1
starting to mature really well
2010-06-01Began major refactoring, not quite finished yet, this branch is probably brokeGravatar Joshua Hill1-3/+8
2010-06-01Began refactoring of code to simplify and seperate device state logicGravatar Joshua Hill1-0/+29