summaryrefslogtreecommitdiffstats
path: root/src/img4.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-09-21 03:15:23 +0200
committerGravatar Nikias Bassen2024-09-21 03:15:23 +0200
commit48350d676e9d817c8c8f1af2cd1e0006e1ad9c3b (patch)
tree26f8b5613da98df1a46ea0101da051f51024e602 /src/img4.c
parentd2e1c4f2ab81c419d2cbb8d921fa385a0bf0433b (diff)
downloadidevicerestore-48350d676e9d817c8c8f1af2cd1e0006e1ad9c3b.tar.gz
idevicerestore-48350d676e9d817c8c8f1af2cd1e0006e1ad9c3b.tar.bz2
Initial support for iPhone 16 restore
Diffstat (limited to 'src/img4.c')
-rw-r--r--src/img4.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/img4.c b/src/img4.c
index dc21e56..c010ce4 100644
--- a/src/img4.c
+++ b/src/img4.c
@@ -441,6 +441,14 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo
memcpy((void*)tag, "rcio", 4);
} else if (strcmp(component_name, "Ap,DCP2") == 0) {
memcpy((void*)tag, "dcp2", 4);
+ } else if (strcmp(component_name, "Ap,RestoreSecureM3Firmware") == 0) {
+ memcpy((void*)tag, "rsm3", 4);
+ } else if (strcmp(component_name, "Ap,RestoreSecurePageTableMonitor") == 0) {
+ memcpy((void*)tag, "rspt", 4);
+ } else if (strcmp(component_name, "Ap,RestoreTrustedExecutionMonitor") == 0) {
+ memcpy((void*)tag, "rtrx", 4);
+ } else if (strcmp(component_name, "Ap,RestorecL4") == 0) {
+ memcpy((void*)tag, "rxcl", 4);
}
}