Created
August 10, 2022 14:59
-
-
Save GaryOderNichts/58f4123d5f02d75997694d4ed81163dd to your computer and use it in GitHub Desktop.
Running MCP recovery on retail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arm.big | |
.open "patches/sections/0x5000000.bin","patches/patched_sections/0x5000000.bin",0x05000000 | |
; patch IOS_CheckDebugMode to always return 0 | |
.org 0x0501fc98 | |
.thumb | |
mov r0, #0 | |
mov r0, #0 | |
; patch IOS_CheckDebugFlag(0x40000000) to return non-zero to load recovery | |
.org 0x0501fca6 | |
.thumb | |
mov r0, #0 | |
mov r0, #1 | |
.Close |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arm.big | |
.open "patches/sections/0x5100000.bin","patches/patched_sections/0x5100000.bin",0x05100000 | |
; patch IOS_CheckDebugMode to always return 0 | |
.org 0x0510ea1c | |
.thumb | |
mov r0, #0 | |
mov r0, #0 | |
.Close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment