Hello, first of all, I’m very happy with the whole SailfishOS experience and maturity of the project.
I’m a first-time user and installed it on an old Xperia 10iii with great results.
During installation and flashing, I very much ran into trouble with the install scripts unfortunately. They didn’t work properly so I ended up flashing the device by hand, using the scripts as a guideline what to flash (especially flash-config.sh for the Xperia 10iii).
I did ran the scripts on NixOS, not Ubuntu, in a nix shell with adb and fastboot installed. adb version 1.0.41 and fastboot (android-tools) version 34.0.1. I did put in some redirects for the different executable paths (there’s an option for that) and it wasn’t the main problem why it didn’t work.
Eventually the problem was that with holding volume down while connecting USB cable, the device gets into recovery mode (blue led) but you need fastboot mode (fastbootd started) to flash.
I managed to do this by running fastboot reboot fastbootafter booting in recovery mode, and then flashing all the images on the boot- and dtbo partitions by hand.
After that burning the userdata Sailfish image and the oem_a partition and it all worked beautifully.
I have previous experience with installing LineageOS which made this an easy excercise for me, so it was fine and not even that difficult.
The fact that the scripts aren’t working perfectly is not the question, as I’m using NixOS which is not the recommended OS to do this, so thats my problem to solve.
But why is the flash.sh not rebooting the device in fastbootd mode?