Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions anykernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@
### AnyKernel setup
# global properties
properties() { '
kernel.string=ESK Kernel for xaga by bachnxuan @ esk-project
kernel.string=ALC Kernel for plato by alcint
do.devicecheck=1
do.modules=0
do.systemless=0
do.cleanup=1
do.cleanuponabort=0
device.name1=xaga
device.name2=xagain
device.name3=xagapro
device.name4=xagaproin
device.name1=plato
supported.versions=
supported.vendorpatchlevels=
'; } # end properties
Expand All @@ -37,10 +34,6 @@ reset_dir() {
mkdir -p "$1" || abort "[!] Failed to create $1"
}

if [ -f /system/framework/MiuiBooster.jar ]; then
abort "[!] HyperOS detected, please use the generic package."
fi

ui_print " " "- [+] Starting kernel image flashing..."
ui_print "- [*] Checking kernel image..."
"$BIN/busybox" sha256sum -cs Image.zst.sha256 || abort "[!] SHA256 mismatch"
Expand Down