diff --git a/source/ios_kernel/source/instant_patches.c b/source/ios_kernel/source/instant_patches.c index 21bf022..20049fb 100644 --- a/source/ios_kernel/source/instant_patches.c +++ b/source/ios_kernel/source/instant_patches.c @@ -69,6 +69,11 @@ void instant_patches_setup(void) { // allow custom bootLogoTex and bootMovie.h264 *(volatile u32 *) (0xE0030D68 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0 *(volatile u32 *) (0xE0030D34 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0 + + // Patch update check + *(volatile u32 *) (0xe22830e0 - 0xe2280000 + 0x13140000) = 0x00000000; + *(volatile u32 *) (0xe22b2a78 - 0xe2280000 + 0x13140000) = 0x00000000; + *(volatile u32 *) (0xe204fb68 - 0xe2000000 + 0x12EC0000) = 0xe3a00000; // allow any region title launch *(volatile u32 *) (0xE0030498 - 0xE0000000 + 0x12900000) = 0xE3A00000; // mov r0, #0 diff --git a/source/ios_kernel/source/kernel_patches.c b/source/ios_kernel/source/kernel_patches.c index 3854fb0..c7712b8 100644 --- a/source/ios_kernel/source/kernel_patches.c +++ b/source/ios_kernel/source/kernel_patches.c @@ -112,6 +112,11 @@ void kernel_run_patches(u32 ios_elf_start) { section_write_word(ios_elf_start, 0x1073994C, 0xe3a07020); section_write_word(ios_elf_start, 0x10739950, 0xea000013); + // update check + section_write_word(ios_elf_start, 0xe22830e0, 0x00000000); + section_write_word(ios_elf_start, 0xe22b2a78, 0x00000000); + section_write_word(ios_elf_start, 0xe204fb68, 0xe3a00000); + section_write_word(ios_elf_start, 0x0812CD2C, ARM_B(0x0812CD2C, kernel_syscall_0x81)); u32 patch_count = (u32) (((u8 *) kernel_patches_table_end) - ((u8 *) kernel_patches_table)) / sizeof(patch_table_t);