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 the Windows Subsystem for Linux (aka WSL).
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 …
… 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 …
… You should see
modem.sh (the script file) here now with an
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 …
… 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.
… 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