fpv-wtf / wtfos

A framework for modifying the firmware of DJI FPV Goggles and Air Units
https://fpv.wtf
MIT License
266 stars 12 forks source link

Ensure a bad copy of system.img doesn't stick around #14

Open j005u opened 2 years ago

j005u commented 2 years ago

This can happen because system_1 is corrupt i n subtle ways or hypothetically if something goes wrong (a la bitflip) during copying the partition.

1) needs more robust methods of detecting problems. e2fs check? straight up checksum of the partition? 2) need to review install/uninstall scripts to be robust against previously errored states