summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.h
AgeCommit message (Collapse)AuthorFilesLines
2022-04-10Fix build identity selection for beta (developer) firmwareGravatar Nikias Bassen1-2/+2
2021-11-27Use macros for the different restore variant stringsGravatar Nikias Bassen1-0/+4
2021-11-17idevicerestore: Identify build identity by Variant (Monterey)Gravatar Hector Martin1-6/+1
Monterey got rid of VariantSupportsGlobalSigning. Identify builds based on the Variant field (which seems to always have consistent values) instead of using RestoreBehavior and VariantSupportsGlobalSigning. Signed-off-by: Hector Martin <marcan@marcan.st>
2021-10-26Add command line option to continue despite certain errors (e.g. baseband ↵Gravatar Nikias Bassen1-0/+1
update failure)
2021-06-29Remove unused functionsGravatar Nikias Bassen1-1/+0
2021-05-28Add SHA384 (and SHA512) implementation for use when compiling without OpenSSLGravatar Nikias Bassen1-1/+0
2021-05-26Remove libuuid dependencyGravatar Nikias Bassen1-1/+0
2021-05-08tss: Add new callsGravatar Benjamin BOURGEAIS1-0/+14
- Local policy (non persistent) - recoveryOS - recoveryOS Local policy (persistent) The local policy TSS request differs slightly between the one for the restore process and the recoveryOS. The one for the restore process is meant to be used only once, and the one for the recovery os is meant to be loaded from disk, and thus has a different request. See the Ap,LocalBoot parameter.
2021-05-08Add an embedded empty local policy fileGravatar Benjamin BOURGEAIS1-0/+5
This file will be needed later by the stage 1 boot process.
2020-04-21Support stopping at restore modeGravatar Rick Mark1-0/+1
2020-04-20Use uint64_t and appropriate standard PRI* format specifiers everywhereGravatar Nikias Bassen1-1/+1
2020-02-18Allow restores that start in Restore mode. Allow specification of custom ↵Gravatar David Wang1-0/+1
APTickets.
2019-09-25restore: Update progress messages and handle FUD progressGravatar Nikias Bassen1-0/+1
2019-08-29Add support to "preboard" a device on update restore to prevent 'Attempting ↵Gravatar Nikias Bassen1-0/+1
data recovery'
2019-02-14Fix usage output and reorder it by relevanceGravatar Nikias Bassen1-1/+0
2019-02-14Allow .ipsw files or extracted IPSW as sourceGravatar Nikias Bassen1-1/+2
2019-02-02Remove unused function build_manifest_get_build_identity()Gravatar Nikias Bassen1-1/+0
2019-02-02Use ipsw.me API to allow selection and download of any signed firmware ↵Gravatar Nikias Bassen1-8/+9
version when using --latest
2017-11-13Change check_hardware_model() to get_irecv_device()Gravatar BALATON Zoltan1-1/+2
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.)
2017-02-07Added missing includes to fix build errorGravatar BALATON Zoltan1-0/+1
2016-06-26restore: Fix restore mode status/progress messagesGravatar Nikias Bassen1-1/+1
2015-10-09Select build identity based on hardware model instead of first or last ↵Gravatar Nikias Bassen1-0/+2
identity in manifest While this might have worked in the past it didn't work anymore with the iPhone 6S (plus) since it comes with two different CPUs (Samsung & TSMC A9). Therefore the BuildManifest.plist has multiple build identities and for a successful restore the correct build identity has to be selected for the actual hardware model of the corresponding device.
2015-10-09Use hardware model instead of product type to identify device correctlyGravatar Nikias Bassen1-2/+2
2015-09-24Replace () with (void) for proper function prototypesGravatar Martin Szulecki1-2/+2
2014-10-28Rename restore step to indicate flashing of firmware instead of NORGravatar Martin Szulecki1-1/+1
2014-05-16Add build_identity_has_component() helperGravatar Martin Szulecki1-0/+1
2013-11-20refactor component personalization and add support for Image4 stitchingGravatar Nikias Bassen1-1/+3
2013-11-19tss: Refactor TSS handlers for Image4 support and flexibilityGravatar Martin Szulecki1-1/+1
2013-11-19add get_sep_nonce 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-3/+1
2013-11-18idevicerestore: Remove obsolete arguments from get_shsh_blobs()Gravatar Martin Szulecki1-1/+1
2013-10-02ipsw: change buffers to use type unsigned char*Gravatar Nikias Bassen1-1/+1
2013-10-02silence implicit declaration compiler warningsGravatar Nikias Bassen1-0/+3
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-07client: Fix build number parsing for iOS 6Gravatar Martin Szulecki1-1/+1
2012-11-07Added baseband flash restore step for progress outputGravatar Martin Szulecki1-0/+1
2012-11-07idevicerestore: add function to set cache pathGravatar Martin Szulecki1-1/+1
2012-11-07Add error buffer and getter function to get the last error messageGravatar Martin Szulecki1-0/+1
2012-11-07change info(), error(), and debug() into functions and allow redirecting the ↵Gravatar Martin Szulecki1-0/+3
output
2012-11-07libidevicerecovery: implemented progress callback logicGravatar Martin Szulecki1-2/+13
2012-11-07Move flags into idevicerestore.hGravatar Martin Szulecki1-0/+10
2012-07-29move main() code after option parsing to separate functionGravatar Nikias Bassen1-0/+12
2012-02-02idevicerestore: add get_component_name helper functionGravatar Nikias Bassen1-0/+1
2012-02-02ipsw_get_component_by_path: add 'component' parameterGravatar Nikias Bassen1-1/+1
2012-02-02main: add fixup_tss function to put TSS plist data in a usable stateGravatar Nikias Bassen1-0/+1
2012-02-02added nonce and nonce_size parameters to get_shsh_blobs functionGravatar Nikias Bassen1-1/+1
2012-02-02main: store product version & build in client struct for later checksGravatar Nikias Bassen1-1/+1
2010-07-09Rename some variables and functions to fit thier contextGravatar Martin Szulecki1-3/+3