Updates the mod for v1.6.50.14130 boot.img

This commit is contained in:
HappyZ 2020-04-06 00:00:08 -07:00
parent 5edf6b254d
commit 6a5c0e582e
20 changed files with 6 additions and 6 deletions

View File

@ -14,9 +14,9 @@ sleep 2
# flash customized boot img
echo "[updater.sh] writing boot.img.." >> $LOG_FP
if [ -f ${UPDATER_BASE}/boot-1.6.03.09261-mod-191123-200948.img ] ;
if [ -f ${UPDATER_BASE}/boot-1.6.50.14130-mod-200405-233932.img ] ;
then
dd if=${UPDATER_BASE}/boot-1.6.03.09261-mod-191123-200948.img of=/dev/mmcblk0p8 bs=4M
dd if=${UPDATER_BASE}/boot-1.6.50.14130-mod-200405-233932.img of=/dev/mmcblk0p8 bs=4M
sync
else
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
BOOT_IMG_SIZE=`stat -c%s $1/boot-1.6.03.09261-mod-191123-200948.img`
BOOT_IMG_SIZE=`stat -c%s $1/boot-1.6.50.14130-mod-200405-233932.img`
BLK8_MD5=`dd if=/dev/mmcblk0p8 bs=$BOOT_IMG_SIZE count=1 | md5sum | cut -d " " -f1`
BOOT_MD5=`cat $1/boot-1.6.03.09261-mod-191123-200948.img.md5`
BOOT_MD5=`cat $1/boot-1.6.50.14130-mod-200405-233932.img.md5`
echo "BLK08=$BLK8_MD5" >> $LOG_FP
echo " BOOT=$BOOT_MD5" >> $LOG_FP