<feed xmlns='http://www.w3.org/2005/Atom'>
<title>idevicerestore/src, branch master</title>
<subtitle>Restore/upgrade firmware of iOS devices</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/'/>
<entry>
<title>Remove the global bar when the restore ends (success or failure)</title>
<updated>2026-11-09T18:11:29+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-09T18:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=6cead6bce881ce7bcc6878852f292de8050e20e6'/>
<id>6cead6bce881ce7bcc6878852f292de8050e20e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add multi-row progress display with a global progress bar</title>
<updated>2026-11-03T11:22:03+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-03T11:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=ae8cfb4aa919000b283a0fe7db96b1a321a010d3'/>
<id>ae8cfb4aa919000b283a0fe7db96b1a321a010d3</id>
<content type='text'>
Replace the single-line progress bar with a terminal renderer that
shows one row per active progress tag. The overall restore step
(Uploading/Verifying filesystem, Flashing firmware) is a reserved
"global" bar that is always drawn first. Per-component bars (e.g.
SEP, RestoreRamDisk) appear below it and disappear when finalized.

- Redraw in place with ANSI cursor movement; clamp line width to the
  terminal width (ioctl on Unix, console API on Windows, with virtual
  terminal mode enabled)
- Erase and redraw the bars around logger() output so log lines no
  longer corrupt the display
- Remove the global bar once a different restore step starts
- When stdout is not a TTY, skip escape codes and print only the
  changed bar, once per 1% step
- Fix progress throttling: lastprog was an int and was compared after
  being overwritten, so granularity was never applied
- RESTORE_STEP_UPLOAD_IMG no longer drives the global bar; it already
  has per-component bars
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace the single-line progress bar with a terminal renderer that
shows one row per active progress tag. The overall restore step
(Uploading/Verifying filesystem, Flashing firmware) is a reserved
"global" bar that is always drawn first. Per-component bars (e.g.
SEP, RestoreRamDisk) appear below it and disappear when finalized.

- Redraw in place with ANSI cursor movement; clamp line width to the
  terminal width (ioctl on Unix, console API on Windows, with virtual
  terminal mode enabled)
- Erase and redraw the bars around logger() output so log lines no
  longer corrupt the display
- Remove the global bar once a different restore step starts
- When stdout is not a TTY, skip escape codes and print only the
  changed bar, once per 1% step
- Fix progress throttling: lastprog was an int and was compared after
  being overwritten, so granularity was never applied
- RESTORE_STEP_UPLOAD_IMG no longer drives the global bar; it already
  has per-component bars
</pre>
</div>
</content>
</entry>
<entry>
<title>Only add vinyl TSS tags if device reports EUICCChipID</title>
<updated>2026-11-03T11:13:17+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-03T11:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=8f209f9635e20b84b6eb41ce2e4ed5c0e59b38f9'/>
<id>8f209f9635e20b84b6eb41ce2e4ed5c0e59b38f9</id>
<content type='text'>
If the device does not report an EUICCChipID in its firmware preflight
info, plist_dict_copy_uint() leaves the eUICC,ChipID value from the
BuildManifest in place. The subsequent "&gt;= 5" check would then still
pass and tss_request_add_vinyl_tags() was called without the required
eUICC,EID, eUICC,RootKeyIdentifier and Gold/Main nonce values, causing
the TSS server to respond with STATUS=168.

Only copy the eUICC parameters and add the vinyl tags if the device
actually provided an EUICCChipID.

Fixes #812
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the device does not report an EUICCChipID in its firmware preflight
info, plist_dict_copy_uint() leaves the eUICC,ChipID value from the
BuildManifest in place. The subsequent "&gt;= 5" check would then still
pass and tss_request_add_vinyl_tags() was called without the required
eUICC,EID, eUICC,RootKeyIdentifier and Gold/Main nonce values, causing
the TSS server to respond with STATUS=168.

Only copy the eUICC parameters and add the vinyl tags if the device
actually provided an EUICCChipID.

Fixes #812
</pre>
</div>
</content>
</entry>
<entry>
<title>restore: Correctly pass the YonkersIR2,DeviceInfo data to generic firmware handler</title>
<updated>2026-11-02T07:50:43+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-11-02T07:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=0313795a84ac15248bc109850b5e2ea660609a23'/>
<id>0313795a84ac15248bc109850b5e2ea660609a23</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>restore: Add support for YonkersIR2,DeviceInfo to support iPhone Duo restore</title>
<updated>2026-10-30T09:50:36+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-10-30T09:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=f61b7f27a046c3180fe8369d30cc95240664ac15'/>
<id>f61b7f27a046c3180fe8369d30cc95240664ac15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Crash fix: Added one-time initialization to all three progress functions</title>
<updated>2026-10-27T22:34:51+00:00</updated>
<author>
<name>Sami Kortelainen</name>
</author>
<published>2026-10-05T12:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=7dd5eba9f871a90ebcc3c62c6beef5d96e5e39f6'/>
<id>7dd5eba9f871a90ebcc3c62c6beef5d96e5e39f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed memory handling. Fixed to release mutex on error. Fixed use-after-free on ipsw zip.</title>
<updated>2026-10-27T22:34:51+00:00</updated>
<author>
<name>Sami Kortelainen</name>
</author>
<published>2026-09-29T11:54:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=708ac9f76da507751dd6d80e240e47b74fe9a1b8'/>
<id>708ac9f76da507751dd6d80e240e47b74fe9a1b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>restore: Fix commit 68e5dc90 by correctly calling the generic fw handler for YonkersIR1</title>
<updated>2026-10-05T14:40:45+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-10-05T14:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=4b3e847e1d9a1210049a9e3f1d1caa38650c6617'/>
<id>4b3e847e1d9a1210049a9e3f1d1caa38650c6617</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>restore: Use generic firmware updater path for YonkersIR1</title>
<updated>2026-10-03T01:01:12+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-10-03T01:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=68e5dc907efcbca70747f9ce2cc5975f8ae8b72d'/>
<id>68e5dc907efcbca70747f9ce2cc5975f8ae8b72d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>macOS: Avoid deviceinterfaced races during DFU reconnect</title>
<updated>2026-09-06T23:46:30+00:00</updated>
<author>
<name>Peter A</name>
</author>
<published>2026-08-22T15:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/idevicerestore.git/commit/?id=35dee10f82711101a7d30d03f0ec781ac23221e9'/>
<id>35dee10f82711101a7d30d03f0ec781ac23221e9</id>
<content type='text'>
During Port DFU-to-DFU re-enumeration, macOS deviceinterfaced daemon can
acquire the USB interface first, making idevicerestore time out waiting
for DFU reconnection.

Add experimental flag: --exclusive-usb that keeps deviceinterfaced from
claiming the USB device for the duration of the restore, by booting it
out or repeatedly terminating it when bootout is denied (SIP on), then
reloading and starting it again on exit.

idevicerestore itself does not need to run as root for this. Only the
launchctl subcommands that manage the system-domain deviceinterfaced
daemon (bootout, bootstrap, kickstart, kill) are elevated individually
via sudo, which may prompt for a password on the controlling terminal.
Read-only queries (print) are run unprivileged. Document how to allow
these specific commands via a scoped sudoers(5) NOPASSWD rule for
unattended use.

Co-authored-by: Nikias Bassen &lt;nikias@gmx.li&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During Port DFU-to-DFU re-enumeration, macOS deviceinterfaced daemon can
acquire the USB interface first, making idevicerestore time out waiting
for DFU reconnection.

Add experimental flag: --exclusive-usb that keeps deviceinterfaced from
claiming the USB device for the duration of the restore, by booting it
out or repeatedly terminating it when bootout is denied (SIP on), then
reloading and starting it again on exit.

idevicerestore itself does not need to run as root for this. Only the
launchctl subcommands that manage the system-domain deviceinterfaced
daemon (bootout, bootstrap, kickstart, kill) are elevated individually
via sudo, which may prompt for a password on the controlling terminal.
Read-only queries (print) are run unprivileged. Document how to allow
these specific commands via a scoped sudoers(5) NOPASSWD rule for
unattended use.

Co-authored-by: Nikias Bassen &lt;nikias@gmx.li&gt;
</pre>
</div>
</content>
</entry>
</feed>
