Hi George,
I use this script update sys_config file only. Maybe It can help you.
sys_config()
{
printf "update sys_config ....\n"
PACK_DIR=${CUR_DIR}/lichee/tools/pack
cd $PACK_DIR/out/
cd $PACK_DIR/chips/sun4i/configs/crane/${1}
$PACK_DIR/pctools/linux/mod_update/script sys_config.fex
$PACK_DIR/pctools/linux/mod_update/script sys_config1.fex
#ls
#adb shell mount -o remount,rw /system
#adb shell mount -o remount,rw /
adb shell mkdir /mnt/sdcard/kernel
adb shell mount -t vfat /dev/block/nanda /mnt/sdcard/kernel
adb push sys_config.bin /mnt/sdcard/kernel/script0.bin
adb push sys_config1.bin /mnt/sdcard/kernel/script.bin
adb shell sync
#read -p "wait reboot..."
adb shell reboot
cd $CUR_DIR
}
--
Kaspter Ju