Skip to content

Commit

Permalink
apply baseband patch without sealing patch
Browse files Browse the repository at this point in the history
  • Loading branch information
iSuns9 committed Aug 24, 2022
1 parent d6c051f commit 2fb6dff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions restored_external64_patcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ xref64(const uint8_t *buf, addr_t start, addr_t end, addr_t what)

int get_skip_sealing_patch(void *restored_external, size_t len) {

printf("len: %zu\n", len);

printf("getting %s()\n", __FUNCTION__);

void *skipping_sealing = memmem(restored_external,len,"Skipping sealing system volume", strlen("Skipping sealing system volume"));
Expand Down Expand Up @@ -245,10 +243,10 @@ int main(int argc, char* argv[]) {

printf("file size: %lu\n", len);

get_skip_sealing_patch(restored_external,len);

if (skip_bbupdate)
get_skip_baseband_update_patch(restored_external,len);
else
get_skip_sealing_patch(restored_external,len);


printf("[*] Writing out patched file to %s\n", out);
Expand Down

0 comments on commit 2fb6dff

Please sign in to comment.