diff --git a/LICENSE b/LICENSE index 2ab1007cf191..20a447ebe28b 100644 --- a/LICENSE +++ b/LICENSE @@ -239,5 +239,5 @@ rkcrc: BSD 2-Clause License ## Additional Build Scripts for Listed Binaries (where used): osm0sis' Odds and Ends Thread - Knowledge Base: -https://forum.xda-developers.com/showthread.php?p=53554719 +https://forum.xda-developers.com/t/tools-zips-scripts-osm0sis-odds-and-ends-multiple-devices-platforms.2239421/#post-53554719 diff --git a/META-INF/com/google/android/updater-script b/META-INF/com/google/android/updater-script index 2ae84f093e9d..b870ab3e03cc 100644 --- a/META-INF/com/google/android/updater-script +++ b/META-INF/com/google/android/updater-script @@ -3,4 +3,4 @@ # Dummy file; update-binary is a shell script (DO NOT CHANGE) # # -# AK_BASE_VERSION=20230526 +# AK_BASE_VERSION=20230605 diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index dbd235f644e2..90d89e10477a 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -384,7 +384,7 @@ flash_boot() { *recovery*|*SOS*) avbtype=recovery;; *) avbtype=boot;; esac; - if [ "$(/system/bin/dalvikvm -Xnoimage-dex2oat -cp $bin/boot_signer-dexed.jar com.android.verity.BootSignature -verify boot.img 2>&1 | grep VALID)" ]; then + if [ -f /system/bin/dalvikvm ] && [ "$(/system/bin/dalvikvm -Xnoimage-dex2oat -cp $bin/boot_signer-dexed.jar com.android.verity.BootSignature -verify boot.img 2>&1 | grep VALID)" ]; then echo "Signing with AVBv1..." >&2; /system/bin/dalvikvm -Xnoimage-dex2oat -cp $bin/boot_signer-dexed.jar com.android.verity.BootSignature /$avbtype boot-new.img $pk8 $cert boot-new-signed.img; fi;