Skip to content

Instantly share code, notes, and snippets.

@TuxSH
Last active January 5, 2017 14:03
Show Gist options
  • Save TuxSH/9fdbdb62c5ee557ea0f94bba53c43592 to your computer and use it in GitHub Desktop.
Save TuxSH/9fdbdb62c5ee557ea0f94bba53c43592 to your computer and use it in GitHub Desktop.
mcu sysmodule patches
http://pasteboard.co/iqqVeR2x1.png
02 01 10 E2 00 F0 20 E3 7B 00 00 4A =>
u32 *instr = (u32 *)memsearch(...);
instr -= 1;
// Make the version check always fail (fw up to date, skip flashing)
*instr = 0xE3E00000; // make an error code (r0 = 0xffffffff)
// Makes it always succeed
*instr = 0xE5C14000; // sets 0 to major
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment