Hi Tom,
It is possible that the camera has become defective. After all, it is technology that can fail.
Is the front camera still recording properly?
Check if the camera itself shows any damage. Are all connectors still intact, clean, and dry? Check if the rubber ring is still present in the connector; this prevents moisture from entering. Also check if the camera cable is still intact and not pulled too tight.
Is the rubber seal behind the SD card slot cover also still present?
Did you not experience any issues with low battery voltage? Low battery voltage can cause the firmware to malfunction. This is easy to fix by re-flashing the firmware.