From 28b7ee05148579cccf1d0ec27c5ce437d5dc8979 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sat, 22 Oct 2016 12:08:12 +0200 Subject: [PATCH 1/2] scripts/image: Wipe (format) data and cache partitions for clean NAND installs on Amlogic-based devices --- scripts/image | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/image b/scripts/image index 28cffb476e..8aead342c9 100755 --- a/scripts/image +++ b/scripts/image @@ -399,6 +399,8 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ] echo "Creating Amlogic ZIP auto-install package" pushd sign > /dev/null echo --update_package=/sdcard/$IMAGE_NAME-update.zip > factory_update_param.aml + echo --wipe_data >> factory_update_param.aml + echo --wipe_cache >> factory_update_param.aml if [ -f "$INSTALL_SRC_DIR/files/recovery.img" ]; then cp $INSTALL_SRC_DIR/files/recovery.img . fi From c5d29e9ba75d556812274068ae0a3363c60460c9 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sat, 22 Oct 2016 12:14:25 +0200 Subject: [PATCH 2/2] projects/WeTek_Play: Remove aml_autoscript - it erases bootloader and there is a danger to brick the device --- projects/WeTek_Play/install/files/aml_autoscript | Bin 138 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 projects/WeTek_Play/install/files/aml_autoscript diff --git a/projects/WeTek_Play/install/files/aml_autoscript b/projects/WeTek_Play/install/files/aml_autoscript deleted file mode 100644 index 951dd192db0fc08f1e5bc1e7cdbf0d8742fb28fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 138 zcmY#ql?=P4yW>(QgX@0=1_m!627{=0RvA_%HW(Kl?F5p{OUz4AD9X=`FDS|{Nlh+M q$WKe-0t==VB^IYDlxO7Uq;eIfDFEe@QWcCqOo)tuf{6hTZ~*`;v>XQj