adb.exe devices

adb.exe shell mkdir -p /sdcard/ota
adb.exe push update.zip /sdcard/ota/update.zip
adb.exe shell unzip /sdcard/ota/update.zip -o -d /sdcard/ota
adb.exe shell "update_engine_client --payload=file:///sdcard/ota/payload.bin --update --follow --headers=\"$(cat /sdcard/ota/payload_properties.txt)\""

adb.exe shell rm -rf /sdcard/ota/
pause