CF/CG (6BL) Compression and patching algorithm

Discussion in 'Xbox 360 Development' started by acabey, Aug 8, 2017.

  1. acabey

    acabey Rising Member

    Joined:
    Aug 2, 2017
    Messages:
    66
    Likes Received:
    21
    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.
     
  2. zeruel85

    zeruel85 Active Member

    Joined:
    Oct 5, 2015
    Messages:
    35
    Likes Received:
    10
    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
     
    acabey and fate6 like this.
  3. acabey

    acabey Rising Member

    Joined:
    Aug 2, 2017
    Messages:
    66
    Likes Received:
    21
    Thanks for the help, I was really hoping someone had already documented it so not to reinvent the wheel, but I can manage
     
  4. zeruel85

    zeruel85 Active Member

    Joined:
    Oct 5, 2015
    Messages:
    35
    Likes Received:
    10
    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)
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page