How to make your own modem.zip on Windows 10 1709 .
As you can make your own modem.zip with a Linux shell script, here’s how to do it with Windows 10 1709 (Fall Creators Update) … and of course I’m lazy and didn’t translate the script to Windows PowerShell or something equally demanding, since Microsoft already did something really useful regarding Linux stuff … although some familiarity with Unix or Linux command line (aka Terminal) basics can’t hurt …
Install Ubuntu from the Windows Store.
(Ok, you can choose between some other Linux distributions, too. I chose Ubuntu because it’s closest to the Linux Mint I have on dual boot for playing around, and you can easily find lots and lots of helping resources for Ubuntu online).
Once set up enter the following commands … sudo apt update
… I don’t know whether that’s actually necessary for this limited purpose here, but updating the package list can’t hurt. sudo apt upgrade
… I don’t know whether that’s actually necessary for this limited purpose here either, but getting this Ubuntu installation up to date can’t hurt. sudo apt install zip
… else the modem.zip creator script would complain, and I use unzip from this package further below …
wget https://github.com/WeAreFairphone/modem_zip_generator/archive/master.zip
… Since the script is on GitHub, you could of course employ git to clone it, but I’m not too familiar with that yet, hence the oldschool downloading and the following …
unzip master.zip
cd modem_zip_generator-master
… You should see modem.sh (the script file) here now with an ls or ls -la for more info or even dir if you like.
At this point, perhaps modem.sh may not be up to date, so you could edit in the latest OS version number, download links and checksums at the start of the script … without continuing the editor war if possible, so for convenience’s sake … nano modem.sh
… Right clicking pastes something into the Linux terminal, so you can transfer the links and checksums over from the Fairphone Open OS download page (which is usually faster in publishing new versions compared to the Fairphone OS pages), and don’t forget to change the OS version number in the script,
and Control+O saves the file.
sudo ./modem.sh
… This should say “Fairphone modem.zip generator” now and create your new modem.zip in a few minutes.
Transfer the created modem.zip over to Windows … C: is mounted on the Linux side as /mnt/c … so you can copy it to somewhere the currently logged in user of the Windows side would have write permissions, e.g. … sudo cp modem-18.04.1.zip /mnt/c/Users/yourwindowsusername/Desktop
By the way … The Fairphone Open OS 18.04.1 modem blobs are the same as the 18.03.1 ones (says WinMerge), so probably there will be no new modem.zip over here.
Interestingly I found rebooting after the last update to be much faster than before. While it usually took more than five minutes it’s now down to normal, just as if you’d reboot casually.
LineageOS building seems to fire on less cylinders than usual, so the new build for the Fairphone 2 is nowhere near it seems.
I don’t know yet whether I’ll still get to it when it’s there or just sit this one out.
Updater getting updates before they are built … what a time to be alive .
Other possibilities: OS is not on the current build? Updater is malfunctioning?
Hmmm … building seems to progress fairly fast despite there being only two instances building things, usually there were three instances in the past and a build took hours when I had a look … server upgrades perhaps? At this pace, there should be a build tomorrow afterall .