Skip to content

Commit

Permalink
Fixed bootargs
Browse files Browse the repository at this point in the history
  • Loading branch information
synackuk committed Jun 13, 2020
1 parent f3e2fa9 commit cb83d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patchers/iboot/ibootpatcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ int patch_iboot(char* address) {
return -1;
}
if(has_ticket_check(&iboot_in)) {
ret = patch_boot_args(&iboot_in, "-v rd=md0 amfi=0xff cs_enforcement_disable=1 serial=3");
ret = patch_boot_args(&iboot_in, "-v rd=md0 amfi=0xff cs_enforcement_disable=1");
if(ret != 0) {
return -1;
}
patch_ticket_check(&iboot_in); // No return check as loader may not have a ticket check (if old enough.)
}
else {
ret = patch_boot_args(&iboot_in, "-v amfi=0xff cs_enforcement_disable=1 serial=3");
ret = patch_boot_args(&iboot_in, "-v amfi=0xff cs_enforcement_disable=1");
if(ret != 0) {
return -1;
}
Expand Down

0 comments on commit cb83d16

Please sign in to comment.