Browse Source

feat(anykernel): add user prompt for flash mode selection with detailed instructions

TheWildJames 3 months ago
parent
commit
95df8c0b1a
1 changed files with 6 additions and 16 deletions
  1. 6 16
      .github/actions/build-kernel/patches/bypass.patch

+ 6 - 16
.github/actions/build-kernel/patches/bypass.patch

@@ -1,12 +1,11 @@
 diff --git a/anykernel.sh b/anykernel.sh
-index 719de4c..3f71202 100755
+index 35b6e59..3f7ad84 100755
 --- a/anykernel.sh
 +++ b/anykernel.sh
-@@ -46,6 +46,64 @@ esac
- 
- ui_print "  -> Wild Kernels Supported: $ksu_supported"
+@@ -45,6 +45,63 @@ esac
+ ui_print " " "  -> Wild Kernels Supported: $ksu_supported"
  $ksu_supported || abort "  -> Non-GKI device, abort."
-+
+ 
 +choose_flash_mode() {
 +    ui_print " "
 +    ui_print "  -> Have a clean backup of your boot.img before proceeding!"
@@ -64,15 +63,6 @@ index 719de4c..3f71202 100755
 +# Ask user which mode to use
 +choose_flash_mode     
 +
- ui_print " -> Flashing Now... "
- 
  # boot install
-@@ -77,3 +135,8 @@ ui_print "Samsung_KernelSU_SUSFS GitHub Repository:"
- ui_print "https://github.com/WildKernels/Samsung_KernelSU_SUSFS"
- ui_print "Samsung kernels with KernelSU and SUSFS."
- ui_print " "
-+ui_print " "
-+ui_print " "
-+ui_print "Thanks for using Wild Kernels!"
-+ui_print "Please consider donating if you want to support development!"
-+ui_print "Have a great day! - TheWildJames"
+ split_boot
+