summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-22Change irecv_send_buffer to accept an options bitfield instead of just one valueGravatar Nikias Bassen3-16/+30
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 Bassen3-12/+30
Note: This does not allow restoring devices in Port DFU mode, this is handled in idevicerestore.
2024-03-11win32: Skip ecid check for KIS mode device in win32_open_with_ecidGravatar Nikias Bassen1-1/+1
2024-03-09Remove broken ecid check for KIS mode in iokit_open_with_ecidGravatar Nikias Bassen1-7/+0
2024-03-07Add March 2024 MacBook Air modelsGravatar Nikias Bassen1-0/+2
2024-03-07Add irecv_version() function to interfaceGravatar Nikias Bassen2-0/+11
2024-02-14Add support for Apple Vision Pro (RealityDevice14,1)Gravatar Nikias Bassen1-0/+2
2024-01-31autoconf: Remove unused check for -fvisibilityGravatar Nikias Bassen1-5/+0
2024-01-29Fix IRECV_API definitionsGravatar Nikias Bassen3-10/+21
2024-01-12win32: Implement support for Debug USB (KIS) modeGravatar Nikias Bassen1-61/+151
This requires and up-to-date AppleMobileDeviceSupport64.msi package installed that contains the AppleKIS driver.
2024-01-09irecv_open_with_ecid: Print correct ECID for KIS devicesGravatar Nikias Bassen1-1/+1
2024-01-09irecovery: Print a message for unsupported commands in Debug USB (KIS) modeGravatar Nikias Bassen1-1/+22
2024-01-09Fix strncpy sizeGravatar Nikias Bassen1-1/+1
2024-01-04Initialize KIS device in device callbackGravatar Nikias Bassen3-15/+64
Also, print the detailed mode in irecovery -q and -m output.
2024-01-04win32: Make sure to free device list at the right placeGravatar Nikias Bassen1-5/+4
2023-12-30Make it compile again when building --with-dummyGravatar Nikias Bassen1-7/+3
2023-12-21win32: Improve irecv_event_handler to make sure events get delivered properlyGravatar Sami Kortelainen1-7/+43
2023-12-21win32: Simplify code, and make sure to only use devices in correct modeGravatar Nikias Bassen1-164/+45
Devices in DFU mode should only be selected for the DFU driver interface, and respectively, iBoot mode devices should only be selected for the iBoot driver interface.
2023-12-08win32: Only try to set alt interface for interface 1Gravatar Nikias Bassen1-2/+4
This is the same as we do for the other platforms, so I assume this is OK
2023-11-18win32: Rename and reorder internal functionsGravatar Nikias Bassen1-61/+57
2023-11-18IOKit: Silence some compiler warnings about unused variablesGravatar Nikias Bassen1-4/+18
2023-11-18Mark irecv_kis_send_buffer static and silence a compiler warningGravatar Nikias Bassen1-2/+2
2023-11-17Reduce code duplicationGravatar Nikias Bassen1-112/+57
2023-11-14Add KIS support to libusb backendGravatar tihmstar1-77/+124
2023-11-14Add KIS support (IOKit backend)Gravatar Linus Henze1-58/+500
This commit adds support for communicating with devices in KIS DFU (A16+ in DFU). KIS DFU devices are treated like normal DFU devices, therefore clients of libirecovery will be able to communicate with these devices without any changes. Currently, only the IOKit backend supports KIS DFU.
2023-11-03Allow building --without-toolsGravatar Daniel VanBritsom2-5/+15
2023-11-03Add November 2023 iMac and MacBook Pro modelsGravatar Daniel VanBritsom1-0/+9
iMac (24-inch, 2023) MacBook Pro (14-inch, Nov 2023) MacBook Pro (16-inch, Nov 2023)
2023-09-20Add Apple Watch Series 9 and Ultra 2 (device lookup)Gravatar Daniel VanBritsom1-0/+5
2023-09-20Add support for iPhone 15 modelsGravatar Daniel VanBritsom1-0/+4
2023-09-20 Add support for WWDC23 MacsGravatar Eva Luna1-0/+4
- Mac14,8, or Mac Pro (2023) - Mac14,13, or Mac Studio (M2 Max, 2023) - Mac14,14, or Mac Studio (M2 Ultra, 2023) - Mac14,15, or MacBook Air (M2, 15-inch, 2023)
2023-05-13[github actions] Updated actions to newer versionsGravatar Nikias Bassen1-6/+6
2023-05-13Updated NEWS1.1.0Gravatar Nikias Bassen1-0/+41
2023-05-13Update SO version for release1.0.1Gravatar Nikias Bassen1-1/+1
2023-05-13Coding style changesGravatar Nikias Bassen2-116/+174
2023-05-08win32: Use ANSI versions for SetupDI and CreateFile API to prevent errors ↵Gravatar Josef Micka1-19/+19
when compiling with unicode support
2023-05-08Send a ZLP in recovery mode if the buffer size is a multiple of 512Gravatar Nikias Bassen1-0/+6
2023-05-07Make sure DEVICE_ADD events are sent to additional event listenersGravatar Nikias Bassen1-1/+15
Thanks to @parov0z for the suggestion.
2023-05-07Fix dllexport/dllimport and visibility definitionsGravatar Nikias Bassen1-8/+14
2023-05-05move IRECV_API into the headersGravatar Rosen Penev2-88/+88
clang + lld + ucrt on Windows seems to require that the dllimport attribute be applied to the first declaration. Fixes -Wdll-attribute-on-declaration error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-05-01Return error instead of truncating command buffer if command is too longGravatar Nikias Bassen1-2/+2
2023-05-01Fix a few buffer sizes and their initializationGravatar Nikias Bassen1-6/+7
2023-04-30autoconf: Automatically derive version number from latest git tagGravatar Nikias Bassen3-2/+26
2023-04-22Update README.mdGravatar Nikias Bassen1-1/+2
2023-04-12Add January 2023 Macs and 2nd generation HomePod modelsGravatar Daniel VanBritsom1-2/+9
2022-10-20Add mew iPad models and Apple TV 4K to device listGravatar Nikias Bassen1-0/+7
2022-10-20Fix typo in device listGravatar Nikias Bassen1-7/+7
2022-10-11irecovery: Make sure to send certain commands with bRequest set to 1Gravatar Nikias Bassen1-2/+20
2022-09-16Add Apple Watch SE 2, Series 8 and Ultra familyGravatar Nikias Bassen1-0/+9
2022-09-16Add iPhone 14 familyGravatar Nikias Bassen1-0/+4
2022-08-30Add M2 MacBook modelsGravatar Nikias Bassen1-1/+3