mirror of
https://github.com/tihmstar/futurerestore.git
synced 2025-04-20 14:31:41 +00:00
Update iBEC/iBSS error messages for arm64 users (#70)
This commit includes "Possibly invalid iBEC/iBSS." when attempting to send an invalid iBEC/iBSS to the device to alert arm64 users that it may not be compatible.
This commit is contained in:
parent
1f0c7e1c90
commit
ecc32003b0
|
@ -681,7 +681,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, std::string bootarg
|
|||
|
||||
#if __aarch64__
|
||||
retassure(((_client->mode == MODE_UNKNOWN) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Switch to USB-A to lightning cable (see issue #67)");
|
||||
"Device did not disconnect. Possibly invalid iBEC. If you're using a USB-C to Lightning cable, switch to USB-A to Lightning (see issue #67)");
|
||||
#else
|
||||
retassure(((_client->mode == MODE_UNKNOWN) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Possibly invalid iBEC. Reset device and try again");
|
||||
|
@ -690,7 +690,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, std::string bootarg
|
|||
cond_wait_timeout(&_client->device_event_cond, &_client->device_event_mutex, 10000);
|
||||
#if __aarch64__
|
||||
retassure(((_client->mode == MODE_RECOVERY) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not reconnect. Switch to USB-A to lightning cable (see issue #67)");
|
||||
"Device did not reconnect. Possibly invalid iBEC. If you're using a USB-C to Lightning cable, switch to USB-A to Lightning (see issue #67)");
|
||||
#else
|
||||
retassure(((_client->mode == MODE_RECOVERY) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not reconnect. Possibly invalid iBEC. Reset device and try again");
|
||||
|
@ -707,7 +707,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, std::string bootarg
|
|||
cond_wait_timeout(&_client->device_event_cond, &_client->device_event_mutex, 10000);
|
||||
#if __aarch64__
|
||||
retassure(((_client->mode == MODE_RECOVERY) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not reconnect. Switch to USB-A to lightning cable (see issue #67)");
|
||||
"Device did not reconnect. Possibly invalid iBSS. If you're using a USB-C to Lightning cable, switch to USB-A to Lightning (see issue #67)");
|
||||
#else
|
||||
retassure(((_client->mode == MODE_RECOVERY) || (mutex_unlock(&_client->device_event_mutex), 0)),
|
||||
"Device did not reconnect. Possibly invalid iBSS. Reset device and try again");
|
||||
|
@ -1319,7 +1319,7 @@ void futurerestore::doRestore(const char *ipsw) {
|
|||
cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 10000);
|
||||
#if __aarch64__
|
||||
retassure((client->mode == MODE_UNKNOWN || (mutex_unlock(&client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Switch to USB-A to lightning cable (see issue #67)");
|
||||
"Device did not disconnect. Possibly invalid iBEC. If you're using a USB-C to Lightning cable, switch to USB-A to Lightning (see issue #67)");
|
||||
#else
|
||||
retassure((client->mode == MODE_UNKNOWN || (mutex_unlock(&client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Possibly invalid iBEC. Reset device and try again");
|
||||
|
@ -1331,7 +1331,7 @@ void futurerestore::doRestore(const char *ipsw) {
|
|||
cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 10000);
|
||||
#if __aarch64__
|
||||
retassure((client->mode == MODE_RECOVERY || (mutex_unlock(&client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Switch to USB-A to lightning cable (see issue #67)");
|
||||
"Device did not disconnect. Possibly invalid iBEC. If you're using a USB-C to Lightning cable, switch to USB-A to Lightning (see issue #67)");
|
||||
#else
|
||||
retassure((client->mode == MODE_RECOVERY || (mutex_unlock(&client->device_event_mutex), 0)),
|
||||
"Device did not disconnect. Possibly invalid iBEC. Reset device and try again");
|
||||
|
|
Loading…
Reference in a new issue