2021-05-17 12:19:19 +03:00
|
|
|
#!/bin/sh
|
|
|
|
export ARCH=arm64
|
|
|
|
export SUBARCH=arm64
|
|
|
|
|
2022-02-18 15:43:02 +02:00
|
|
|
if [ -f /work/kernel/android_kernel_oneplus_sm8250/out/arch/arm64/boot/Image ]; then
|
|
|
|
cp /work/kernel/android_kernel_oneplus_sm8250/out/arch/arm64/boot/Image /work/kernel/AIK-Linux/split_img/boot.img-kernel
|
|
|
|
cd /work/kernel/AIK-Linux/
|
|
|
|
sh /work/kernel/AIK-Linux/repackimg.sh
|
|
|
|
mv /work/kernel/AIK-Linux/image-new.img /work/release/handelinkernel_vxx_nomagisk.img
|
2022-02-13 22:16:43 +02:00
|
|
|
# Anykernel
|
2022-02-18 15:43:02 +02:00
|
|
|
cp /work/kernel/android_kernel_oneplus_sm8250/out/arch/arm64/boot/Image /work/kernel/AnyKernel3/Image
|
|
|
|
cd /work/kernel/AnyKernel3/
|
2022-02-13 22:16:43 +02:00
|
|
|
zip -r9 handelinkernel_vxx_anykernel.zip * -x .git README.md *placeholder
|
2022-02-18 15:43:02 +02:00
|
|
|
mv handelinkernel_vxx_anykernel.zip /work/release/handelinkernel_vxx_anykernel.zip
|
2021-05-17 12:19:19 +03:00
|
|
|
echo "Image created and released."
|
|
|
|
else
|
|
|
|
echo "No kernel image in output folder. Build first."
|
|
|
|
fi
|