A tool to communicate with a Car Thing's bootloader.
This re-implements the partition reading protocol that the official AMLogic update tool uses, but in Python using pyusb.
usage: main.py [-h] [--delay DELAY] [--max_retries MAX_RETRIES]
Car thing bootloader tool
options:
-h, --help show this help message and exit
--delay DELAY Delay in seconds (default: 0)
--max_retries MAX_RETRIES
Max retries (default: 10)
Currently, the tool puts the device into burning mode if necessary, then dumps all the partitions. If dumping a partition fails due to a USB error, then it will be automatically retried.
The delay between each 64K read can be adjusted using --delay
and the max number of retries to read each partition can be adjusted using --max_retries
.