Cannot add FP2 support to easy installer (related to TWRP hosting)
The easy installer expects the source files to be downloaded to have an additional
.sha256sum checksum file which e.g. may not be present when /e/ does not host TWRP images for certain devices and TWRP needs to be downloaded from the official page (they use
.sha256 as file extension).
I'm in the process of adding support for the FP2. The "FP2_fs.yml" config file starts with
sources: rom: url: https://images.ecloud.global/dev/FP2/e-0.10-p-2020080666687-dev-FP2.zip filePath: e-0.10-p-2020080666687-dev-FP2.zip twrp: url: https://dl.twrp.me/FP2/twrp-3.4.0-0-FP2.img filePath: twrp-3.4.0-0-FP2.img
What is the current behavior?
Running the installer then fails (because it cannot download
What is the expected correct behavior?
The checksum file can be downloaded properly for the installer to continue with the flashing.
I could imagine two possibilities
- the config file allows to (optionally?) specify the file extension for the checksum file
- /e/ hosts TWRP themselves to ensure consistent naming