This is a small repository that aims to document some fun kernel patches I have come up with while reverse engineering the kernel. They're meant to be useful for debugging various things.
You can easily apply those patches by getting the appropriate Kernel.bin
, and applying them in a hex editor. The format is: offset origvalue => newvalue offset
. They are made with radiff2
. (If anyone knows of a better way to create binary patches, I'd love to hear it). Another way to test those patches is to use Hekate, which recently got kernel patching support (https://github.com/nwert/hekate/blob/master/ipl/pkg1.c#L71, thanks @CTCaer ^^)
I try to document what each patch does. If something is missing or wrong, feel free to leave a comment!
Have fun!