diff options
author | osm0sis <osm0sis@outlook.com> | 2020-02-14 14:05:09 -0400 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2020-02-14 14:05:09 -0400 |
commit | 3f6d11247201ef98483dbc9f36c1dc59820c8979 (patch) | |
tree | 16faf79c6cca6bc3adfc1af42c66bda27ecb3c3e | |
parent | 273384db045b310faa5916d38df6d7be4729083e (diff) |
AK3+Backend: fix truncated recovery.log with FlashAfterUpdate
-rwxr-xr-x | META-INF/com/google/android/update-binary | 4 | ||||
-rwxr-xr-x | tools/ak3-core.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 55d7625..ad1cb8e 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -17,7 +17,7 @@ test "$ANDROID_ROOT" || ANDROID_ROOT=/system; ui_print() { until [ ! "$1" ]; do echo "ui_print $1 - ui_print" > $OUTFD; + ui_print" >> $OUTFD; shift; done; } @@ -26,7 +26,7 @@ ui_printfile() { ui_print "$line"; done < $1; } -show_progress() { echo "progress $1 $2" > $OUTFD; } +show_progress() { echo "progress $1 $2" >> $OUTFD; } file_getprop() { $BB grep "^$2=" "$1" | $BB cut -d= -f2-; } setup_mountpoint() { test -L $1 && $BB mv -f $1 ${1}_link; diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index 6d60158..0806a8a 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -16,7 +16,7 @@ split_img=$home/split_img; ui_print() { until [ ! "$1" ]; do echo -e "ui_print $1 - ui_print" > /proc/self/fd/$OUTFD; + ui_print" >> /proc/self/fd/$OUTFD; shift; done; } |