<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libirecovery/src/libirecovery.c, branch 1.4.0</title>
<subtitle>Library and utility to talk to iBoot/iBSS via USB on Linux, OS X and Windows</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/'/>
<entry>
<title>Drop redundant IRECV_API on definitions, fix unused function warning</title>
<updated>2026-11-16T13:39:39+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-16T13:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=86098068226b0b536308a660faa429bc9a590349'/>
<id>86098068226b0b536308a660faa429bc9a590349</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move device database to data/devices.txt with user-extensible device files</title>
<updated>2026-11-16T00:12:04+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-16T00:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=8adca7cd8986f6d984d0b2c514fba33ac02b4cfa'/>
<id>8adca7cd8986f6d984d0b2c514fba33ac02b4cfa</id>
<content type='text'>
The device table is now maintained in data/devices.txt (one device per
line, "#!format 1" header) and the built-in table src/devices.c is
generated from it at build time by data/gen-devices.sh.

At runtime the built-in table is merged with, in order,
&lt;pkgdatadir&gt;/devices.txt and ~/.libirecovery/devices.txt
(%APPDATA%\libirecovery on Windows, or $LIBIRECOVERY_DEVICE_DB). Entries
are matched by hardware_model; later files override earlier ones. User
files must be owned by the user (or root) and not world-writable.

Add irecv_devices_add() which appends an entry to the user device file
so applications can register new models without rebuilding the library.
If no display name is given, an existing entry keeps its name and a new
one is named "&lt;product_type&gt; (&lt;hardware_model&gt;)". Adding is refused if
another hardware_model already uses the same chip and board ID.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The device table is now maintained in data/devices.txt (one device per
line, "#!format 1" header) and the built-in table src/devices.c is
generated from it at build time by data/gen-devices.sh.

At runtime the built-in table is merged with, in order,
&lt;pkgdatadir&gt;/devices.txt and ~/.libirecovery/devices.txt
(%APPDATA%\libirecovery on Windows, or $LIBIRECOVERY_DEVICE_DB). Entries
are matched by hardware_model; later files override earlier ones. User
files must be owned by the user (or root) and not world-writable.

Add irecv_devices_add() which appends an entry to the user device file
so applications can register new models without rebuilding the library.
If no display name is given, an existing entry keeps its name and a new
one is named "&lt;product_type&gt; (&lt;hardware_model&gt;)". Adding is refused if
another hardware_model already uses the same chip and board ID.
</pre>
</div>
</content>
</entry>
<entry>
<title>Propagate recovery command failures</title>
<updated>2026-11-15T22:22:07+00:00</updated>
<author>
<name>Furby Haxx furbyhaxx@gmail.com</name>
</author>
<published>2026-09-19T11:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=beef3dfa74e8b7a489aea5e212087bc18e57bb64'/>
<id>beef3dfa74e8b7a489aea5e212087bc18e57bb64</id>
<content type='text'>
Co-authored-by: Nikias Bassen &lt;nikias@gmx.li&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Nikias Bassen &lt;nikias@gmx.li&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: Only clear halted USB endpoints</title>
<updated>2026-11-15T22:21:57+00:00</updated>
<author>
<name>Furby Haxx furbyhaxx@gmail.com</name>
</author>
<published>2026-09-19T09:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=bfad7145785525b9e0c1e1490f3d39ef364b6b18'/>
<id>bfad7145785525b9e0c1e1490f3d39ef364b6b18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the iSerialNumber string read robust to slow or failing devices</title>
<updated>2026-11-06T14:42:35+00:00</updated>
<author>
<name>Nicolás Nistal</name>
</author>
<published>2026-09-15T18:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=3301fe7d834a485b368cd7edf20f7535d6d598b4'/>
<id>3301fe7d834a485b368cd7edf20f7535d6d598b4</id>
<content type='text'>
libusb_get_string_descriptor_ascii() uses a fixed 1 s timeout for the
control transfer. The Apple T1 (iBridge1,1) in recovery mode answers the
iSerialNumber read only intermittently and often later than that, so the
read returns LIBUSB_ERROR_TIMEOUT. Losing it costs the device identity and
the AP and SEP nonces, and in the hotplug add handler it meant giving up on
the device: IRECV_DEVICE_ADD was never emitted and callers concluded that
nothing was attached.

- When the libusb helper fails, retry the descriptor read a few times with
  libirecovery's own USB_TIMEOUT.
- On Linux, when the read still yields no iBoot string, fall back to the
  serial string the kernel already cached for the same bus and device
  number under /sys/bus/usb/devices. Used both when opening a device and in
  the hotplug add handler; never fatal, and a no-op on other platforms.
- Only assume the legacy CPID 0x8900 when the iBoot string is non-empty but
  carries no CPID field. An empty string means the read failed, and
  claiming 0x8900 there mis-identifies every modern part.

Behaviour for devices that answer the first read promptly is unchanged.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libusb_get_string_descriptor_ascii() uses a fixed 1 s timeout for the
control transfer. The Apple T1 (iBridge1,1) in recovery mode answers the
iSerialNumber read only intermittently and often later than that, so the
read returns LIBUSB_ERROR_TIMEOUT. Losing it costs the device identity and
the AP and SEP nonces, and in the hotplug add handler it meant giving up on
the device: IRECV_DEVICE_ADD was never emitted and callers concluded that
nothing was attached.

- When the libusb helper fails, retry the descriptor read a few times with
  libirecovery's own USB_TIMEOUT.
- On Linux, when the read still yields no iBoot string, fall back to the
  serial string the kernel already cached for the same bus and device
  number under /sys/bus/usb/devices. Used both when opening a device and in
  the hotplug add handler; never fatal, and a no-op on other platforms.
- Only assume the legacy CPID 0x8900 when the iBoot string is non-empty but
  carries no CPID field. An empty string means the read failed, and
  claiming 0x8900 there mis-identifies every modern part.

Behaviour for devices that answer the first read promptly is unchanged.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Apple T1 coprocessor (iBridge1,1 / x619ap) to the device table</title>
<updated>2026-11-06T14:42:35+00:00</updated>
<author>
<name>Nicolás Nistal</name>
</author>
<published>2026-09-15T18:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=42f2c26463da466f42d207b9c0094df0d351d47a'/>
<id>42f2c26463da466f42d207b9c0094df0d351d47a</id>
<content type='text'>
The T1 in the 2016 and 2017 Touch Bar MacBook Pros (MacBookPro13,2, 13,3,
14,2 and 14,3) runs its own EmbeddedOS and enumerates over the host's
internal USB as 05ac:8600, or as 05ac:1281 in recovery mode when it has
nothing to boot. It identifies as iBridge1,1 / x619ap with CPID 0x8002 and
BDID 0x12; all four machines share that one identity.

Without a device table entry the part stays unidentified, and tools built
on libirecovery cannot address it.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The T1 in the 2016 and 2017 Touch Bar MacBook Pros (MacBookPro13,2, 13,3,
14,2 and 14,3) runs its own EmbeddedOS and enumerates over the host's
internal USB as 05ac:8600, or as 05ac:1281 in recovery mode when it has
nothing to boot. It identifies as iBridge1,1 / x619ap with CPID 0x8002 and
BDID 0x12; all four machines share that one identity.

Without a device table entry the part stays unidentified, and tools built
on libirecovery cannot address it.

Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add November 2026 MacBook Pro and iMac models</title>
<updated>2026-11-06T14:17:51+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-06T14:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=3b724b26970d21ea75ba400752071494fb6b75bc'/>
<id>3b724b26970d21ea75ba400752071494fb6b75bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add iPad mini (A20) models</title>
<updated>2026-11-06T14:14:58+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-06T14:14:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=ae08fec99bd313dfca81d1504e777ba28bf5ef45'/>
<id>ae08fec99bd313dfca81d1504e777ba28bf5ef45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for iPhone Duo</title>
<updated>2026-11-03T11:18:39+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-03T11:18:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=046344f7fe4413e42e71046a34230850be3f758a'/>
<id>046344f7fe4413e42e71046a34230850be3f758a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix chip ID for Mac18,5 Mac mini (M6, 2026)</title>
<updated>2026-10-27T20:11:57+00:00</updated>
<author>
<name>Alan H.L. Li</name>
</author>
<published>2026-09-29T04:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libirecovery.git/commit/?id=dc2e4c2628284b1f0cd1cebdd09b1b6c0738a1db'/>
<id>dc2e4c2628284b1f0cd1cebdd09b1b6c0738a1db</id>
<content type='text'>
Based on chip ID in macOS 27.0 IPSW file, M6 Mac mini's chip ID
should be 0x8152 instead of 0x6050

Signed-off-by: Alan H.L. Li &lt;mainreturnzero@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on chip ID in macOS 27.0 IPSW file, M6 Mac mini's chip ID
should be 0x8152 instead of 0x6050

Signed-off-by: Alan H.L. Li &lt;mainreturnzero@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
