write_flash: convert the bash srcipt to python
Due to the limitions of the fastboot protocol in uuu any command that takes more than 2 seconds to run will time out the USB bus. This re-write breaks the erase, write, read, verify into 2S chunks.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
Due to the limitions of the fastboot protocol in uuu any command that takes more than 2 seconds to run will time out the USB bus. This re-write breaks the erase, write, read, verify into 2S chunks.