Skip to content

Dual Boot Kernel Patcher based on SurfaceDuoDualBootKernelPatcher.

License

Notifications You must be signed in to change notification settings

Project-Aloha/DualBootKernelPatcher

Folders and files

NameName
Last commit message
Last commit date
Aug 21, 2024
Jan 5, 2025
Jan 5, 2025
Feb 6, 2024
Jul 1, 2024
Jan 2, 2025
Jun 22, 2024
Jul 17, 2024
Jul 1, 2024
Jul 1, 2024
Jul 1, 2024

Repository files navigation

Dual Boot Kernel Patcher

Based On SurfaceDuoDualBootKernelImagePatcher

Build

  • Preparation
    • A computer with Windows or Linux
    • Clang or GCC as host compiler
    • aarch64 GNU Assembler
    • Git
    • CMake
  • Clone this repo
    git clone https://github.com/woa-msmnile/DualBootKernelPacther
    
  • Setup CMake.
    cd DualBootKernelPacther
    cmake -B output -S .
    
  • Build !
    cmake --build output -j 12
    

Usage

  • Common usage.
    DualBootKernelPatcher <Kernel Image to Patch> <UEFI FD Image> <Patched Kernel Image Destination> <Config> <ShellCodeBinary>
    
  • Example
    DualBootKernelPatcher kernel SM8150_EFI.fd PacthedKernel DualBoot.Sm8150.cfg ShellCode.Hotdog.bin
    
  • Notice
    • Shell Code binaries can be find under output/ShellCode/

See More

  • You can go to our document page to get more infomation about the Dual Boot Patcher.

License

MIT License.