# create a folder to hold source code
mkdir pe-pancake
cd pe-pancake
# clone scripts
git clone https://github.com/pe-pancake/pancake.git
# run initialization script
pancake/initThe build script requires Bash as execution environment. To add the build script to your environment, source setup file.
source pancake/envsetup.bashAfter that you will have access to the pk command.
pk buildregenerateorrβ Regenerate kernel defconfig.buildorbβ Build ROM.build-kernelorbkβ Build kernel + DTBO (bootimage).syncorsβ Update source codes from remote repositories and apply patches.