summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2024-03-22Change irecv_send_buffer to accept an options bitfield instead of just one valueGravatar Nikias Bassen1-1/+1
This allows to specify different options. To not break existing behavior, a value of 1 or (1 << 0) means IRECV_SEND_OPT_DFU_NOTIFY_FINISH which is used extensively in e.g. idevicerestore. Other options are IRECV_SEND_OPT_DFU_FORCE_ZLP which I don't remember what it was added for, and a new option IRECV_SEND_OPT_DFU_SMALL_PKT which needed for upload in port DFU mode, as it won't accept packets with more than 64 bytes data and also doesn't like a CRC attached to it.
2024-03-21Add support for Port DFUGravatar Nikias Bassen1-0/+3
Note: This does not allow restoring devices in Port DFU mode, this is handled in idevicerestore.
2024-01-09irecovery: Print a message for unsupported commands in Debug USB (KIS) modeGravatar Nikias Bassen1-1/+22
2024-01-04Initialize KIS device in device callbackGravatar Nikias Bassen1-4/+16
Also, print the detailed mode in irecovery -q and -m output.
2023-11-03Allow building --without-toolsGravatar Daniel VanBritsom1-0/+2
2023-05-13Coding style changesGravatar Nikias Bassen1-23/+38
2022-10-11irecovery: Make sure to send certain commands with bRequest set to 1Gravatar Nikias Bassen1-2/+20
2021-06-13irecovery: Output product, model and marketing name for device informationGravatar Martin Szulecki1-0/+8
2021-06-13irecovery: Add new "--devices" option to list internal device dataGravatar Martin Szulecki1-2/+22
Let's get rid of all the copy/paste out there...
2020-07-06Fix compiler warning about format string specifiers by using uint64_t ↵Gravatar Nikias Bassen1-1/+1
instead of unsinged long long
2020-06-14irecovery: Add new "--version" option to output version informationGravatar Martin Szulecki1-1/+9
2020-06-14irecovery: Add long argument name variantsGravatar Martin Szulecki1-13/+29
2020-06-14irecovery: Return an error if no action option was usedGravatar Martin Szulecki1-1/+8
2020-06-14Add API version to library and pkgconfig file for proper linkingGravatar Martin Szulecki1-1/+1
2020-06-04Unify irecovery usage output with other tools and add bugreport URLGravatar Martin Szulecki1-3/+6
2020-01-14Use PRI* and SCN* (inttypes.h) format string macros instead of self-defined onesGravatar Nikias Bassen1-11/+9
... also print all values in irecovery as hex with 0x prefix to make it clear they are hex
2019-12-04tools: Parse and print PWND string in irecovery device info output if presentGravatar Nikias Bassen1-0/+8
2019-10-04irecovery: Print SRTG in device info output if availableGravatar Nikias Bassen1-0/+1
2019-09-04Add device add/remove event subscription APIGravatar Nikias Bassen1-3/+1
2019-01-27irecovery: Allow passing ECID in hex or decimalGravatar Nikias Bassen1-2/+2
2018-09-17Add configuration option to allow compiling without USB driverGravatar Nikias Bassen1-1/+7
Using --with-dummy, libirecovery can be compiled in a way that it will not require any USB driver at all. This is only useful if you just want to query libirecovery's device database by product type or hardware model, namely using: irecv_devices_get_device_by_product_type(); irecv_devices_get_device_by_hardware_model(); All other function are either no-op or return IRECV_E_UNSUPPORTED if the library is compiled this way.
2018-01-03Remove some unnecessary null pointer checksGravatar Nikias Bassen1-2/+1
2017-07-03Updated copyright notices in source file headersGravatar Nikias Bassen1-0/+1
2017-01-06irecovery: Add new -q command line switch to print device infoGravatar Nikias Bassen1-38/+52
2017-01-06irecovery: Make /deviceinfo print ApNonce (NONC) and SEPNonce (SNON) if ↵Gravatar Nikias Bassen1-0/+22
available
2015-10-06Show project URL in usage outputGravatar Martin Szulecki1-1/+6
2014-10-02Don't call libusb_exit() in irecv_open_with_ecid() on errorGravatar Martin Szulecki1-0/+1
The helper might be used multiple times and the library should not cause deinitialization of libusb before the user calls irecv_exit().
2014-10-02irecovery: Improve printing of hex values for /deviceinfo commandGravatar Martin Szulecki1-6/+6
2014-04-26tools: Fix distcheck and out-of-tree buildGravatar Martin Szulecki1-1/+1
2013-12-02irecovery: print a message if an unsupported command is entered in ↵Gravatar Nikias Bassen1-1/+3
interactive mode
2013-11-19remove irecv_get_* functions and provide general irecv_get_device_info()Gravatar Nikias Bassen1-27/+14
2013-10-02irecovery: use macro for %lld so we can use %I64d for win32Gravatar Nikias Bassen1-1/+4
2013-10-02irecovery: add windows.h include for win32 buildGravatar Nikias Bassen1-0/+1
2013-09-30irecovery: Fix typo for "limera1in", correct term is "limera1n"Gravatar Martin Szulecki1-4/+4
2013-09-27irecovery: Rename /exploit into more accurate /limera1in commandGravatar Martin Szulecki1-3/+3
2013-09-27irecovery: Fix formatting style for shell usage and improve usage summary textGravatar Martin Szulecki1-7/+6
2013-09-27irecovery: Show mode on /ideviceinfo command and add mode_to_str() helperGravatar Martin Szulecki1-18/+28
2013-09-27irecovery: fix /execute command and add error checking when reading filesGravatar Nikias Bassen1-35/+47
2013-09-27irecovery: Update code style, add "show mode" and "normal mode reboot" commandsGravatar Martin Szulecki1-95/+191
2013-09-27Fix whitespace errors and update code styleGravatar Martin Szulecki1-3/+17
2013-09-26Rename device struct fields and provide device database getters for themGravatar Martin Szulecki1-1/+1
2013-09-26Reorder public interface logically and rename irecv_get_device()Gravatar Martin Szulecki1-1/+1
2013-09-26Rename irecv_send_exploit() to more accurate irecv_trigger_limera1n_exploit()Gravatar Martin Szulecki1-2/+2
2013-09-26irecovery: Remove "Executing command foo" message for less clutterGravatar Martin Szulecki1-1/+1
2013-09-26irecovery: Fix code style for if-else in argument parsing codeGravatar Martin Szulecki1-21/+10
2013-09-26Put each item of command enum in a separate lineGravatar Martin Szulecki1-1/+6
2013-09-26irecovery: Define sleep() for WIN32Gravatar Martin Szulecki1-0/+6
2013-09-26Use more accurate names for "open device" methods which use the ecidGravatar Martin Szulecki1-1/+1
2013-09-26Convert spaces to tabs were neededGravatar Martin Szulecki1-10/+8
2013-09-26Fix header comment syntaxGravatar Martin Szulecki1-1/+2