diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 75479b6..5aa9030 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -38,6 +38,7 @@ find_slot() { [ "$slot" ] || slot=$($BB grep -o 'androidboot.slot=.*$' /proc/cmdline | $BB cut -d\ -f1 | $BB cut -d= -f2); [ "$slot" ] && slot=_$slot; fi; + [ "$slot" == "normal" ] && unset slot; [ "$slot" ] && echo "$slot"; } setup_mountpoint() { diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index 43d173e..15c8c13 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -765,6 +765,7 @@ setup_ak() { [ "$slot" ] || slot=$(grep -o 'androidboot.slot=.*$' /proc/cmdline | cut -d\ -f1 | cut -d= -f2); [ "$slot" ] && slot=_$slot; fi; + [ "$slot" == "normal" ] && unset slot; if [ "$slot" ]; then if [ -d /postinstall/tmp -a ! "$slot_select" ]; then slot_select=inactive;