The above thread links to other threads for device-specific solutions. FP2 is a Snapdragon device. Splash format seems to be RAW RGB24 from your ffmpeg output, 1080x1920 pixels resolution.
BTW, splash.img is located inside the firmware-update folder on (every?) OTA update ZIP. For example, it resides in fp2-sibon-17.06.4-ota-userdebug/firmware-update for the latest FP Open update.
We can maybe look for the actual script used for FP2 in the https://code.fairphone.com sources Edit: I couldn’t find anything, logo_gen.py script doesn’t exist in device/qcom/common, and splash.img is included as a binary on the device tree already,
I must say that Halium project (with @z3ntu being a part of them) is doing more for an “open community phone” than me with my little hack in python, but thank you anyway,
Booting a Sailfish OS phone with a “powered by Android” splash sounds terrible,
Glad I was able to help you,
Thanks for your asnwers and your help @Johannes and @Roboe ! What happens is this : I flash the image (the one which is 1080x1920). Nothing says there was an error :
fastboot flash splash lineage_fairphone.img
target reported max download size of 536870912 bytes
sending 'splash' (6075 KB)...
OKAY [ 0.193s]
writing 'splash'...
OKAY [ 0.161s]
finished. total time: 0.354s
But then, when I type fastboot reboot and it reboots, the image doesn’t show up, instead it looks like :
So it shows your working splash screen, with a little grey bar at the top (as if it was telling “I am trying to show spartid’s image here, but I can’t”), and then boot normally. I reflash your image afterwards, and it boots showing your working image. I thought I could ask you to transform my PNG files into splash screens, and I think they would have worked then, but it’s a little frustrating not being able to make them myself