From 184b44e82ec2e8958ab96ea40607a8ba5572cfe4 Mon Sep 17 00:00:00 2001 From: tihmstar Date: Fri, 13 Nov 2026 14:00:02 +0900 Subject: [PATCH] ignore SHSH personalization issues if we're on iOS 5 or newer --- futurerestore/futurerestore.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/futurerestore/futurerestore.cpp b/futurerestore/futurerestore.cpp index d04923cc..f88fc45a 100644 --- a/futurerestore/futurerestore.cpp +++ b/futurerestore/futurerestore.cpp @@ -856,7 +856,13 @@ void futurerestore::doRestore(const char *ipswpath){ signedComponent = *unsigned_component; }else{ retassure(_this->_client->tss, "We're asked to personalize '%s', but we don't have a ticket!!",name); - signedComponent = img3tool::signIMG3WithSHSH(unsigned_component->data(), unsigned_component->size(), _this->_client->tss); + try { + signedComponent = img3tool::signIMG3WithSHSH(unsigned_component->data(), unsigned_component->size(), _this->_client->tss); + } catch (tihmstar::exception &e) { + warning("Failed to personalize component '%s'",name); + if (atoi(_this->_client->version) < 5) throw; + signedComponent = *unsigned_component; + } } if (dataSize) *dataSize = (unsigned int)signedComponent.size(); if (data) {