I'm looking for any information on the algorithm in the CF bootloader used to patch the base kernel from the update slots. I've heard of a tool ("Oscar's tool") that can do this, but source code or just information would be ideal.
Hard way: load CF into IDA and reverse the algo. Easy way: decompile RGBuild (RGLoader) with .NET Reflector/ILSpy. I't's not packed/obfuscated/etc
Thanks for the help, I was really hoping someone had already documented it so not to reinvent the wheel, but I can manage
I'm not aware of any existing doc about the procedure. All I know is that it uses an LZX delta compression. As far as I remember you can find another example of decompression/patching in 360 Flash Tool source code (C++, open source)