Some more development information needed on how to use the flash-scripts in the installer
Summary
I want to add Fairphone 3 support to the installer but find it hard to figure out how to do it.
The problem
I’ve started to create the two necessary files for the FP3. But I’m already somewhat stuck at the first step.
Which branch of flash-scripts to use
In the flash-scripts repo I see that there were recent changes with message “Add FP3 scripts” (does that mean someone at /e/ is already working at FP3 support and my efforts are wasted?) on master. When I checkout the installer recursively incl. sub-modules, it seems like the "folder_per_platform" branch is used.
I'm a little confused how to handle this situation. For the moment I copied the new FP3 scripts over to the installer repo using the folders per platform (I'm also interested in working on Windows support later).
But is that a good way forward?
How to use/understand the flash-scripts
Looking at the existing samsung YAML files, they first wait for download mode, so I assume I’d have to start with wait for fastboot mode for my FP3. But I don’t understand what the DEVICE_LOCKED_PATH device lock file (typically ${DEVICES_LOCKED_PATH}/${DEVICE})
parameter is supposed to mean.
I could do with a little more guidance than reverse-engineering from devices I don’t have and that use a quite different way of flashing than my FP3.