SkillAgentSearch skills...

DualBootKernelPatcher

Dual Boot Kernel Patcher based on SurfaceDuoDualBootKernelPatcher.

Install / Use

/learn @Project-Aloha/DualBootKernelPatcher
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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/Project-Aloha/DualBootKernelPatcher
    
  • 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 website to get more infomation about the Dual Boot Patcher.

License

MIT License.

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated6d ago
Forks10

Languages

C

Security Score

90/100

Audited on Mar 26, 2026

No findings