Using sequoia-ptpy to enable Canon boot flag, and a few other tests.
This is not garunteed to be safe or not brick your camera -
run at your own risk
git clone https://github.com/petabyt/sequoia-ptpy
cd sequoia-ptpy
pip3 install .
Make sure camera is not mounted. I would recommend removing SD card first, so it doesn't automatically mount.
Run python3 bootdisk.py
.
- 1300D: ~100 stress tests, worked fine
Initial attempt, crashed 70% of the time:
https://github.com/petabyt/sequoia-ptpy/commit/54a4acc3ff5614215a8cc97e02af42fcb6a765af
Fixed crashing by adding extra zeros to string: https://github.com/petabyt/sequoia-ptpy/commit/b5d493b3cb3804e01c40c97213ebc78b63da095d
I wrote a basic PTP decoder for reverse-engineering PTP USB output.
See main.c
, and mess with the filters.
make ptp f=usbdump.bin
This uses an undocumented Canon PTP command (0x9052
) found via
reverse engineering Canon software. This command allows Canon "eventproc"
commands like EnableBootDisk
to be run via USB/PTP rather than UART.
I've written a portable front end UI app for this. I've tested it
on Windows and Linux:
https://github.com/petabyt/mlinstall