summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-12-27 04:35:41 +0100
committerGravatar Nikias Bassen2019-12-27 04:35:41 +0100
commit8207daaa2ac3cb3a5107aae6aefee8ecbe39b6d4 (patch)
tree97f2ce95b31e31fc0ee467b6767d45aac6fc64f2 /src
parenta2a6ad16d2c3157153aae7e0835e478237b01507 (diff)
downloadidevicerestore-8207daaa2ac3cb3a5107aae6aefee8ecbe39b6d4.tar.gz
idevicerestore-8207daaa2ac3cb3a5107aae6aefee8ecbe39b6d4.tar.bz2
Allow T2 and non-screen devices restore
Diffstat (limited to 'src')
-rw-r--r--src/recovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 88eeab5..79c40ce 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -353,6 +353,10 @@ int recovery_send_applelogo(struct idevicerestore_client_t* client, plist_t buil
const char* component = "RestoreLogo";
irecv_error_t recovery_error = IRECV_E_SUCCESS;
+ if (!build_identity_has_component(build_identity, component)) {
+ return 0;
+ }
+
info("Sending %s...\n", component);
if (client->recovery == NULL) {
if (recovery_client_new(client) < 0) {