fastboot flash bootloader boot.img
ping 127.0.0.1 -n 2 >NULL
fastboot flash kernel kernel.img
ping 127.0.0.1 -n 2 >NULL
fastboot flash ramdisk ramdisk.img
ping 127.0.0.1 -n 2 >NULL
fastboot erase userdata
ping 127.0.0.1 -n 2 >NULL
fastboot erase cache
ping 127.0.0.1 -n 2 >NULL
fastboot erase fat
ping 127.0.0.1 -n 2 >NULL
fastboot flash system system.img
ping 127.0.0.1 -n 2 >NULL
fastboot reboot
pause
ping 127.0.0.1 -n 2 >NULL
fastboot flash kernel kernel.img
ping 127.0.0.1 -n 2 >NULL
fastboot flash ramdisk ramdisk.img
ping 127.0.0.1 -n 2 >NULL
fastboot erase userdata
ping 127.0.0.1 -n 2 >NULL
fastboot erase cache
ping 127.0.0.1 -n 2 >NULL
fastboot erase fat
ping 127.0.0.1 -n 2 >NULL
fastboot flash system system.img
ping 127.0.0.1 -n 2 >NULL
fastboot reboot
pause