update the mod for v1.6.03.09261 boot.img

This commit is contained in:
HappyZ 2019-11-23 20:59:45 -08:00
parent 3b144d2997
commit f8f80741ab
20 changed files with 6 additions and 6 deletions

View File

@ -14,9 +14,9 @@ sleep 2
# flash customized boot img # flash customized boot img
echo "[updater.sh] writing boot.img.." >> $LOG_FP echo "[updater.sh] writing boot.img.." >> $LOG_FP
if [ -f ${UPDATER_BASE}/boot-1.6.02.06240-mod-190730-115824.img ] ; if [ -f ${UPDATER_BASE}/boot-1.6.03.09261-mod-191123-200948.img ] ;
then then
dd if=${UPDATER_BASE}/boot-1.6.02.06240-mod-190730-115824.img of=/dev/mmcblk0p8 bs=4M dd if=${UPDATER_BASE}/boot-1.6.03.09261-mod-191123-200948.img of=/dev/mmcblk0p8 bs=4M
sync sync
else else
echo "[updater.sh] desired boot.img not exit; nothing did to boot partition" >> $LOG_FP echo "[updater.sh] desired boot.img not exit; nothing did to boot partition" >> $LOG_FP

View File

@ -5,11 +5,11 @@ echo 3 > /proc/sys/vm/drop_caches
LOG_FP=$2 LOG_FP=$2
BOOT_IMG_SIZE=`stat -c%s $1/boot-1.6.02.06240-mod-190730-115824.img` BOOT_IMG_SIZE=`stat -c%s $1/boot-1.6.03.09261-mod-191123-200948.img`
BLK8_MD5=`dd if=/dev/mmcblk0p8 bs=$BOOT_IMG_SIZE count=1 | md5sum | cut -d " " -f1` BLK8_MD5=`dd if=/dev/mmcblk0p8 bs=$BOOT_IMG_SIZE count=1 | md5sum | cut -d " " -f1`
BOOT_MD5=`cat $1/boot-1.6.02.06240-mod-190730-115824.img.md5` BOOT_MD5=`cat $1/boot-1.6.03.09261-mod-191123-200948.img.md5`
echo "BLK08=$BLK8_MD5" >> $LOG_FP echo "BLK08=$BLK8_MD5" >> $LOG_FP
echo " BOOT=$BOOT_MD5" >> $LOG_FP echo " BOOT=$BOOT_MD5" >> $LOG_FP