PRF (Pebble Recovery Firmware) is a special firmware image available for recovery purposes. It allows connecting from a phone to, for example, flash a new firmware image even if the main firmware is broken or unavailable.
Once a project is configured, PRF image can be built by running:
./waf build_prf
The PRF image can be flashed directly into the application area by running:
./waf flash_prf
This is useful when developing PRF features because the watch will boot directly to PRF. To flash it to the external flash, so it can be used regularly, run:
./waf image_recovery
Append --tty
option if needed.
In such case, PRF will need to be copied to the main flash to run.
This can be done by pressing {kbd}BACK
+ {kbd}UP
+ {kbd}MIDDLE
when
booting, or holding {kbd}BACK
for 7-10s while in the main application.
You can interact with PRF console by running:
./waf console_prf