English

✏ FP2 modem firmware

zip
wearefairphone
staff
modemfiles
wiki
firmware
Tags: #<Tag:0x00007fefbaf64210> #<Tag:0x00007fefbaf640d0> #<Tag:0x00007fefbc2d7f68> #<Tag:0x00007fefbc2d7e28> #<Tag:0x00007fefbc2d7cc0> #<Tag:0x00007fefbc2d7b80>

#1

The Fairphone 2 modem firmware

This #wiki post summarizes all information regarding the modem firmware for the Fairphone 2 and the community provided, flashable modem.zip file.

You can quickly link to this article via the unique-tag #modemfiles.

:file_folder: Download the latest modem.zip here.

:inbox_tray: Latest version: 19.02.1 (includes baseband version 4437.1-FP2-0-08)
:clock1030: All previous versions can be found here and here. Checksums for the later are here.


FAQ

If you have any question regarding the modem.zip file that is not answered by the following FAQ, please ask your question in a separate thread and link it here. We’re happy to answer you any question! :slight_smile:

What is the modem.zip file and why should I flash it?
The modem.zip file contains the latest version of the proprietary components of the Qualcomm chipset on your phone. You should flash the latest version of the modem.zip file to get the latest security and bug fixes for these proprietary components.

Is it necessary to flash the modem.zip file?
No, it is not necessary, but it is recommended to get the latest security fixes on custom ROMs and third party operating systems such as Lineage OS, Ubuntu Touch or B2G (formerly Firefox OS). If you run a custom operating system and don’t update your modem firmware, your device might be vulnerable to attacks.

I’m using Fairphone OS or Fairphone Open OS, do I need the modem.zip file?
No! Please don’t flash the modem.zip file as your phone gets regular updates for the modem firmware via official Fairphone OS/Fairphone Open OS updates.

Should I flash the modem.zip before or after installing LineageOS?
As the modem firmware is completely independent from the operating system (e.g. does not touch the /system partition), it does not matter at all in which order your flash it.

What components are part of the modem.zip file?
Besides the baseband firmware, the modem.zip file contains multiple proprietary components for the Qualcomm chipset. Namely the splash screen (ok that one isn’t proprietary), the bootloader and the trust zone firmware.

Why is the modem.zip file not provided by Fairphone?
Fairphone does not provide a modem.zip file yet as they update the proprietary components via the Fairphone OS and Fairphone Open OS update process. As these are the only official operating systems for the Fairphone 2, there is no need for Fairphone to provide a separate modem.zip. The community, though, would be grateful if Fairphone could provide such a modem.zip file in the future.
For further discussion on this question please continue here.

How does the community build the modem.zip file, is it trustworthy?
We extract the proprietary files from the official Fairphone OS binary image, that can be found on the Fairphone OS downloads website. We provided a shell script that extracts the official Fairphone OS image, strips the unnecessary parts and repacks it into a reproducible modem.zip file. So you can roll your own, and verify our work, if you don’t trust us.


Build your own modem.zip file

You can build your own modem.zip file by using our script that is available on GitHub.

In general, simply clone the repository and follow the simple instructions in the README.md file.

On Windows 10, you might use the Windows Subsystem for Linux to run the script (example for Windows 10 1809 and Ubuntu 16.04):

  1. Install the Windows Subsystem for Linux (aka WSL).

  2. Install Ubuntu 16.04 from the Microsoft Store.

  3. Once set up enter the following commands …
    sudo apt update
    sudo apt upgrade
    sudo apt install zip
    sudo apt install make

  4. wget https://github.com/WeAreFairphone/modem_zip_generator/archive/master.zip

  5. unzip master.zip

  6. cd modem_zip_generator-master

  7. At this point, perhaps Makefile 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 …
    nano Makefile
    … 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.

  8. make build
    … creates the new directory “build”, and the new modem.zip file in it.

  9. 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 ./build/modem.zip /mnt/c/Users/yourwindowsusername/Desktop

Note for developers

The NON-HLOS.bin image was provided for some now obsolete versions of the modem.zip by @z3ntu with a version history on GitHub.


Can we hope for a modem.zip file provided by Fairphone?
Updating LineageOS 14.1 via TWRP + feature test
Special Update post-18.02.0
Updating LineageOS 14.1 via TWRP + feature test
Battery drain from proximity sensor still not solved!
Relationship between modem.zip version and baseband version
Battery drain from proximity sensor still not solved!
Relationship between modem.zip version and baseband version
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Random reboots (also with 15.1)
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Cannot reinstall Fairphone OS or Fairphone Open OS - only Lineage
Updating LineageOS 15.1 for microG via TWRP + feature test
Display replacement, now phone won't boot
Updating LineageOS 15.1 for microG via TWRP + feature test
Upgrading from *official* 14.1 to 15.1 (feedback/issues)
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Upgrading LOS for microG to 15.1 (feedback/issues)
:fr: Installation Fairphone Open ou Lineage OS impossible
Updating LineageOS 15.1 for microG via TWRP + feature test
Oooh. Ohhh. Lineage 15.1 (testing)
Oooh. Ohhh. Lineage 15.1 (testing)
Oooh. Ohhh. Lineage 15.1 (testing)
Oooh. Ohhh. Lineage 15.1 (testing)
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Oooh. Ohhh. Lineage 15.1 (testing)
Oooh. Ohhh. Lineage 15.1 (testing)
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Rearranging Categories (again)
Index of Flashable ZIPs by the WeAreFairphone Community
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
How to track which CVEs got patched in LineageOS?
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
How to verify that the modem update worked?
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 14.1 via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Can we hope for a modem.zip file provided by Fairphone?
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test
Updating LineageOS 15.1 for microG via TWRP + feature test