summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstaller/hikey960/flash-all.sh1
-rwxr-xr-xinstaller/hikey960/uefi-flash-all.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index 2828089a..a2c97a0c 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -26,4 +26,5 @@ fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img
fastboot flash super "${ANDROID_PRODUCT_OUT}"/super.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
+fastboot format cache
fastboot reboot
diff --git a/installer/hikey960/uefi-flash-all.sh b/installer/hikey960/uefi-flash-all.sh
index 9c7301dc..c2f06aff 100755
--- a/installer/hikey960/uefi-flash-all.sh
+++ b/installer/hikey960/uefi-flash-all.sh
@@ -46,6 +46,7 @@ function flashing_atf_uefi () {
fastboot flash boot "${ANDROID_PRODUCT_OUT}"/boot.img
fastboot flash super "${ANDROID_PRODUCT_OUT}"/super.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
+ fastboot format cache
}
function upgrading_ptable_1mb_aligned () {