From efa46236894bfe1d1eba355755fe7bd4a328485d Mon Sep 17 00:00:00 2001 From: osm0sis Date: Mon, 26 Feb 2018 12:22:58 -0400 Subject: [PATCH] Backend: add custom kernel version display support - place version text in a file named "version" in the root of the zip and it will display after the kernel.string when flashing - useful in conjunction with build scripts, i.e. a generated version file not actually part of the kernel AK2 repo --- META-INF/com/google/android/update-binary | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index dbe7171..f99d330 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -65,6 +65,11 @@ if [ -f /tmp/anykernel/banner ]; then fi; ui_print "$(file_getprop /tmp/anykernel/anykernel.sh kernel.string)"; +if [ -f /tmp/anykernel/version ]; then + ui_print " "; + ui_print "$(cat /tmp/anykernel/version)"; + ui_print " "; +fi; ui_print " "; ui_print "AnyKernel2 by osm0sis @ xda-developers"; ui_print " ";