summaryrefslogtreecommitdiffstats
path: root/src/common.h
AgeCommit message (Collapse)AuthorFilesLines
2023-10-07Improve debug output by suppressing libimobiledevice and libirecovery debug ↵Gravatar Nikias Bassen1-0/+1
output by default To get libimobiledevice and libirecovery output, add -d or --debug twice.
2023-09-14Refactor ipsw code to transparently stream images directly from ZIP or ↵Gravatar Nikias Bassen1-2/+4
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.
2022-06-27Add --variant command line switch to specify build identity to useGravatar Nikias Bassen1-0/+1
2022-04-12Use proper detection for macOS restore path (instead of version number ↵Gravatar Nikias Bassen1-0/+1
comparison)
2022-04-07tss/restore: Improve code readability with plist helpers and removal of ↵Gravatar Nikias Bassen1-0/+5
unneeded comments
2021-11-26Cache build manifest in client structGravatar Nikias Bassen1-0/+1
2021-11-19Fix compilation on WindowsGravatar Nikias Bassen1-0/+7
2021-09-01Remove common code in favor of libimobiledevice-glueGravatar Nikias Bassen1-1/+1
2021-06-29Make device mode specific code more consistentGravatar Nikias Bassen1-6/+13
2021-05-08tss: Add new callsGravatar Benjamin BOURGEAIS1-0/+2
- 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.
2020-04-20Use uint64_t and appropriate standard PRI* format specifiers everywhereGravatar Nikias Bassen1-4/+0
2020-04-12fix newly introduced format errors under 64-bitGravatar Rosen Penev1-1/+2
uint64_t should be used. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-12Fix format compiler warningsGravatar Rosen Penev1-0/+3
This also allows the compiler to check these at compile time.
2020-02-18Allow restores that start in Restore mode. Allow specification of custom ↵Gravatar David Wang1-0/+2
APTickets.
2019-10-20Ignore device add events after device entered restore modeGravatar Nikias Bassen1-0/+1
2019-10-11Don't try to print a NULL udid in device event debug message and use working ↵Gravatar Nikias Bassen1-0/+2
format specifier for win32
2019-10-11Use condition variable instead of active waiting for device event handlingGravatar Nikias Bassen1-4/+3
With some devices and USB hardware the reconnect of a device might actually be faster than the check interval of the active waiting loop. With mutexes and a condition variable we will not miss the moment of reconnect anymore, even if it is really quick (like 7ms, right DanyL?)
2019-09-25Use global event handlers for normale/restore and recovery/dfu mode devicesGravatar Nikias Bassen1-1/+10
2019-08-28Add plist dictionary helperGravatar Nikias Bassen1-0/+3
2019-02-14Allow .ipsw files or extracted IPSW as sourceGravatar Nikias Bassen1-1/+5
2019-02-02Use ipsw.me API to allow selection and download of any signed firmware ↵Gravatar Nikias Bassen1-0/+2
version when using --latest
2019-01-23Replace tempnam() with mkstemp() and provide reference implementation for ↵Gravatar Nikias Bassen1-0/+2
systems lacking it
2019-01-22win32: Add missing include for mkdir()Gravatar Nikias Bassen1-0/+1
2017-11-13Define a constant for user agent string instead of duplicate stringsGravatar BALATON Zoltan1-0/+2
2017-02-24common: Add strsep() implementation for platforms lacking itGravatar Nikias Bassen1-0/+8
2015-09-24common: Remove plist_dict_merge() as it's already provided by libplistGravatar Nikias Bassen1-2/+0
Also, set libplist requirement to 1.12
2015-09-24Replace () with (void) for proper function prototypesGravatar Martin Szulecki1-1/+1
2015-05-05Fix some warningsGravatar BALATON Zoltan1-8/+1
2013-11-20get baseband ticket in normal mode and pass preflight info to StartRestore ↵Gravatar Nikias Bassen1-0/+1
request
2013-11-19common: Add plist_dict_merge() helper to merge dictionariesGravatar Martin Szulecki1-0/+2
2013-11-19Add helper function to check if device supports image4 formatGravatar Nikias Bassen1-0/+8
2013-10-02common: supress more compiler warningsGravatar Nikias Bassen1-0/+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
2012-11-07client: Fix build number parsing for iOS 6Gravatar Martin Szulecki1-0/+1
2012-11-07change info(), error(), and debug() into functions and allow redirecting the ↵Gravatar Martin Szulecki1-4/+4
output
2012-11-07libidevicerecovery: implemented progress callback logicGravatar Martin Szulecki1-0/+6
2012-11-07Move flags into idevicerestore.hGravatar Martin Szulecki1-8/+0
2012-07-29move main() code after option parsing to separate functionGravatar Nikias Bassen1-3/+1
2012-07-28main: use client flag instead of local variable for --latest optionGravatar Nikias Bassen1-0/+1
2012-07-28main: use client flag instead of local variable for --shsh optionGravatar Nikias Bassen1-0/+1
2012-07-28tss: remove global use_apple_server symbol and use parameter insteadGravatar Nikias Bassen1-2/+1
2012-07-17main: add --cache-path parameter and use it for version.xml and wtf imageGravatar Nikias Bassen1-0/+3
2012-07-17common: Fix typo in struct definitionsGravatar Martin Szulecki1-1/+1
2012-07-17remove src/libirecovery.* and use external shared library insteadGravatar Nikias Bassen1-2/+1
2012-07-16add --no-action parameter to exit after device detectionGravatar Nikias Bassen1-0/+1
2012-07-16mass replace uuid->udid and raise libimobiledevice requirement to >= 1.1.4Gravatar Nikias Bassen1-1/+1
2012-02-14remove duplicate CPID/BDID and devices structsGravatar Nikias Bassen1-79/+3
and use the ones from libirecovery.h instead
2012-02-12win32: use #ifndef to prevent warning about sleep being already definedGravatar Nikias Bassen1-0/+2
2012-02-12use format string defines since win32 doesn't like %quGravatar Nikias Bassen1-0/+4