using board config

This commit is contained in:
tihmstar 2017-01-02 02:05:35 +01:00
parent f20e7a5463
commit bdc7cc1542
2 changed files with 4 additions and 4 deletions

2
external/tsschecker vendored

@ -1 +1 @@
Subproject commit 2cc9ebf622c68fd5d0f8a4301d6b8d4c78f0c654
Subproject commit 4950c14b79b74ee50aa758c5f1c0b26bab837632

View file

@ -298,13 +298,13 @@ int futurerestore::doRestore(const char *ipsw, bool noerase){
plist_dict_remove_item(client->tss, "BBTicket");
plist_dict_remove_item(client->tss, "BasebandFirmware");
if (!(build_identity = getBuildidentity(buildmanifest, client->device->product_type, noerase)))
if (!(build_identity = getBuildidentityWithBoardconfig(buildmanifest, client->device->hardware_model, noerase)))
reterror(-5,"ERROR: Unable to find any build identities for IPSW\n");
if (!(sep_build_identity = getBuildidentity(_sepbuildmanifest, client->device->product_type, noerase)))
if (!(sep_build_identity = getBuildidentityWithBoardconfig(_sepbuildmanifest, client->device->hardware_model, noerase)))
reterror(-5,"ERROR: Unable to find any build identities for SEP\n");
if (!(bb_build_identity = getBuildidentity(_basebandbuildmanifest, client->device->product_type, noerase)))
if (!(bb_build_identity = getBuildidentityWithBoardconfig(_basebandbuildmanifest, client->device->hardware_model, noerase)))
reterror(-5,"ERROR: Unable to find any build identities for Baseband\n");