summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
AgeCommit message (Collapse)AuthorFilesLines
2026-09-14Add new devices from this fall and missing 2026 Studio DisplaysHEADmasterGravatar ROSeaboyer1-2/+16
2026-08-23Add Lightning Video Adapter modelsGravatar Nick Chan1-0/+3
These devices boot from DFU mode and runs recovery mode via iBSS. Signed-off-by: Nick Chan <towinchenmi@gmail.com>
2026-08-23Replace bzero with memsetGravatar Nikias Bassen1-17/+17
and use 0 instead of '\0' everywhere consistently
2026-08-22fix: IOKit service lifetime during KIS retriesGravatar Peter A.1-1/+1
KIS discovery reused one retained reference across multiple open attempts. A retry could therefore release an invalid Mach port and cause macOS to terminate the process with EXC_GUARD. Retain the service separately for each open attempt while preserving the callback's iterator-owned reference.
2026-08-04Add MacBook Air M5, MacBook Neo, MacBook Pro M5 Pro/MaxGravatar Yureka1-0/+7
Signed-off-by: Yureka <yuka@yuka.dev>
2026-06-20fix dummy usb buildGravatar 1Conan1-0/+4
2026-05-01Add iPad Air M4 modelsGravatar Tahiatul Islam1-0/+4
2026-04-27Add support for iPhone 17e ModelGravatar Tahiatul Islam1-0/+1
2026-04-27Add Private Cloud Compute Research Environment modelGravatar Lakr1-0/+2
2025-11-27Added detection of stalled pipes for IOKIT and added functions for async ↵Gravatar synackuk1-0/+179
requests
2025-10-17Add iPad Pro M5, Apple Vision Pro M5, and MacBook Pro 14 inch M5 modelsGravatar Nikias Bassen1-0/+6
2025-09-25Fix: array initialization compatibility with MSVCGravatar zero1-2/+2
2025-09-09Add iPhone 17 family and Watch 11/SE3/Ultra3 modelsGravatar Nikias Bassen1-0/+13
2025-09-06IOKit: Fix race condition when trying to delete runloop before it even startedGravatar tihmstar1-0/+1
2025-09-06Add iOS 2 supportGravatar tihmstar1-5/+49
2025-09-06Add iOS 1 supportGravatar tihmstar1-3/+197
2025-06-25Use sizeof() instead of hard-coding buffer sizesGravatar Nikias Bassen1-16/+18
2025-03-20Add support for all March 2025 Apple devicesGravatar Daniel VanBritsom1-0/+10
- iPad Air (M3, 11-inch and 13-inch) - iPad (A16) - MacBook Air (M4, 13-inch and 15-inch, 2025) - Mac Studio (M3 Ultra and M4 Max, 2025)
2025-03-06Add support for the iPhone 16eGravatar Daniel VanBritsom1-0/+1
2024-12-02Switch to better initializer strategyGravatar Nikias Bassen1-66/+42
2024-12-02Use _WIN32 instead of WIN32Gravatar Nikias Bassen1-37/+37
2024-11-01Add support for November 2024 MacsGravatar Daniel VanBritsom1-0/+9
2024-11-01Support iPad mini (A17 Pro)Gravatar Daniel VanBritsom1-0/+2
2024-09-25Make sure IRECV_DEVICE_REMOVE event has the mode set the device was inGravatar Nikias Bassen1-1/+1
2024-09-25KIS: Add some retry loops around open/set config/set interface operationsGravatar Nikias Bassen1-5/+26
2024-09-25win32: Fix crash due to access to uninitialized dataGravatar Sami Kortelainen1-0/+5
2024-09-19Support Apple Watch Series 10 and iPhone 16 modelsGravatar Daniel VanBritsom1-0/+8
2024-05-31Add iPad Air (M2) and iPad Pro (M4) modelsGravatar Nikias Bassen1-0/+8
2024-03-22Change irecv_send_buffer to accept an options bitfield instead of just one valueGravatar Nikias Bassen1-13/+20
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-11/+25
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 Bassen1-0/+9
2024-02-14Add support for Apple Vision Pro (RealityDevice14,1)Gravatar Nikias Bassen1-0/+2
2024-01-29Fix IRECV_API definitionsGravatar Nikias Bassen1-0/+12
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-09Fix strncpy sizeGravatar Nikias Bassen1-1/+1
2024-01-04Initialize KIS device in device callbackGravatar Nikias Bassen1-11/+47
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