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

Failed health checks #17

Closed langhua1duoduo closed 2 years ago

langhua1duoduo commented 2 years ago

Failed health checks

Don't worry, this is normal and can happen due to various reasons, including bugs in the underlaying operating system. The configurator can help you fix these issues. When attempting an automated fix, your device might reboot in the process. In some specific cases you may need to re-root your device after a reboot, before health checks can continue.

j005u commented 2 years ago

@langhua1duoduo are you on our Discord?

If so, I'm Joonas on there. Get in touch, we need to look at what went wrong a little closer.

You could also check the output of the cli command getevent -i -l. If you see KEY_PROG3* in the output, it means your bind button is stuck down and preventing wtfos from booting (because of the included safe mode).

langhua1duoduo commented 2 years ago

@j005u The configuration program prompts me to reinstall WTFOS, but "prestart_dji_system. sh" contains wtfos related content and cannot be install. I want to uninstall WTFOS and reinstall it, but WTFOS does not run successfully, so the configuration program does not allow the uninstallation.

I checked the content of "prestart_dji_system. sh", but I didn't quite understand it. I tried to load/dev/block/xxxx/blackbox into/blackbox/test, and found no WTFOS folder. I think the DJI system restored it to the factory state.

Then I copied the Blackbox folder from my friend's glasses (his glasses are also root and installed WTFOS) to my glasses, and then it worked normally.

langhua1duoduo commented 2 years ago

When this fault occurs, there is no "waiting osd..." on the glasses screen, and all settings (language, low voltage alarm, custom OSD, etc.) are restored to the factory state.

j005u commented 2 years ago

This health check was disabled because it was causing other issues. Please open a new one if you're still having problems.