Skip to content

Releases: the-modem-distro/pinephone_modem_sdk

Yocto 3.4: Bugfixes

01 Jan 09:35
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

COMPATIBILITY:

  • Pinephone
  • Pinephone Pro
  • Quectel EG25 based MiniPCIe cards (make sure you enable USB audio if you want to make a call)

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Bugfix on custom alert tones, when the alerting indication comes more than once per call it would try to spawn a new thread while the previous was running, triggering a crash when trying to open the same PCM device more than once
  • Support for commands AT+DMESG (dump kernel log via serial) and AT+OQLOG (dump Openqti log via serial)

NOTES:

  • When using a Pinephone Pro, make sure you enable USB persist:
    • In /usr/lib/udev/rules.d/80-modem-eg25.rules
    • ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/persist}="1"

SHA512 Sum of the package file

01d67fe786cadb9a4e89a2b004eee3c9c294e1f60759a989fc5e93da7208f5f073a6cd5e563750e184b6abbc275a66053bf9e4988efa21d423001ff14d31eca8 target/package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Something went wrong?

Feel free to check the troubleshooting section. If you don't manage to fix it, feel free to open an issue and I'll do my best to help you out

Have fun!

Yocto 3.4 Honister: Custom Alert Tones

27 Dec 08:53
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

COMPATIBILITY:

  • Pinephone
  • Pinephone Pro
  • Quectel EG25 based MiniPCIe cards (make sure you enable USB audio if you want to make a call)

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Local / Custom alert tone support. If your carrier doesn't send a dialing indication tone in VoLTE you can enable this setting to have a tone generated for you (you can also customize it, instructions here
  • Cleaned up AT Command server, and added initial support for extended replies

NOTES:

  • When using a Pinephone Pro, make sure you enable USB persist:
    • In /usr/lib/udev/rules.d/80-modem-eg25.rules
    • ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/persist}="1"

SHA512 Sum of the package file

b15630d6ed8125225e0360515b2d3098e2d4e3b91d992b72345c39a0fd615a0a8f0d2a567e457b01b5e8845ec91e5089c3026c752fa96c24816846f43c3c2d19 package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Something went wrong?

Feel free to check the troubleshooting section. If you don't manage to fix it, feel free to open an issue and I'll do my best to help you out

Have fun!

Yocto 3.4 Honister: Fixes to Pinephone Pro audio

14 Dec 05:58
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

COMPATIBILITY:

  • Pinephone
  • Pinephone Pro
  • Quectel EG25 based MiniPCIe cards (make sure you enable USB audio if you want to make a call)

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Pinephone Pro: Fixed bug where external codec's PLL would always be set to 2048000 Hz instead of whatever was needed for the desired sampling rate. This removes the metallic sound when using rates > 8K
  • Pinephone Pro: Allow runtime sampling rate changing without distortion
  • Pinephone Pro modem codec support. If the external codec is detected, the firmware will autoconfigure it and set audio sampling rate to 48KHz, so VoLTE HD calls get the audio quality they deserve.
    NOTES:
  • When using a Pinephone Pro, make sure you enable USB persist:
    • In /usr/lib/udev/rules.d/80-modem-eg25.rules
    • ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/persist}="1"

SHA512 Sum of the package file

56627d73b066e3eff0e9196ea088fdb8cf1030c27be8fb8b05d23276ea858ddb1cb54c3a72fe1035c7bc3e705f16fff26b64de53b7d1611edd191f2a7721176f package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Something went wrong?

Feel free to check the troubleshooting section. If you don't manage to fix it, feel free to open an issue and I'll do my best to help you out

Have fun!

[Testing] Welcome Pinephone Pro!

13 Dec 06:52
Compare
Choose a tag to compare
Pre-release

This release is a flashable package based on the following repos:

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Pinephone Pro modem codec support. If the external codec is detected, the firmware will autoconfigure it and set audio sampling rate to 48KHz, so VoLTE HD calls get the audio quality they deserve.
    NOTES:
  • This might break USB audio when the external codec is detected (needs more testing)
  • When using a Pinephone Pro, make sure you enable USB persist:
    • In /usr/lib/udev/rules.d/80-modem-eg25.rules
    • ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ATTR{power/persist}="1"

SHA512 Sum of the package file

7429b7e73d826ada2e0f5794fc5848eabde9bfde941ae529f5e48093349786310cc17c99b6f2da2fae893c2f9190f92ff237a1635b7c01a87460af9376d9c2ea package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Something went wrong?

Feel free to check the troubleshooting section. If you don't manage to fix it, feel free to open an issue and I'll do my best to help you out

Have fun!

[Testing] Fix for conference calls

28 Nov 04:00
fc383d0
Compare
Choose a tag to compare
Pre-release

This release is a flashable package based on the following repos:

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Testing: Conference audio fixes, audio shouldn't stop when hanging the first call in a conference call

SHA512 Sum of the package file

4852395b54c432e8ac13c7e909909eb20c28dcaa310d675b94f7a805c4cc7626df2f2b4c9548c58fdcd6fa272d32d8c8fbb5c73a3a6259f3a2e4bd644fc677b2 package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Something went wrong?

Feel free to check the troubleshooting section. If you don't manage to fix it, feel free to open an issue and I'll do my best to help you out

Have fun!

Yocto 3.4 Honister (fixed debug)

21 Nov 19:32
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Removed the debug message flooding openqti.log while suspended
  • I' ve spent 3 months chasing bugs everywhere to reduce the number of resets. While not perfect, static tests got me up to 700 suspend-resume cycles without getting a USB reset (then Phosh crashed forcing me to reboot), so definitely an upgrade over both stock and previous versions
  • Updated Yocto to version 3.4

SHA512 Sum of the package file

49530d9ce6bcd06ffb32a8e271066584d1d433ed5a60b93d4e2a3a4f502748a2fb997130d7b60f9eb5b36b090acdb19470d73746d6d675aaca4d7b450c82fa46 package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Have fun!

Yocto 3.4 Honister (do not use)

21 Nov 09:29
Compare
Choose a tag to compare
Pre-release

This release is a flashable package based on the following repos:

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • I' ve spent 3 months chasing bugs everywhere to reduce the number of resets. While not perfect, static tests got me up to 700 suspend-resume cycles without getting a USB reset (then Phosh crashed forcing me to reboot), so definitely an upgrade over both stock and previous versions
  • Updated Yocto to version 3.4

SHA512 Sum of the package file

1c4400fcd1329ad6839172da278124794dc24e953ecf1315a0f0a741f11620795c292a8049d6e07ee634f617a787783b5c70f40381aa258223a4b94790085654 target/package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package as root. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Have fun!

[Stable/Yocto 3.3.2] Tiny fix

01 Oct 05:24
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

ADSP Firmware:

Depending on your carrier, some firmware versions will work better than others. You can check your current ADSP firmware version by sending the "AT+QGMR" AT command. If in doubt, version 01.002.01.002 is the default if you used the recovery repo. I've been using version 003 for months without issues (and improvements in data handling) but some users have reported problems making VoLTE calls with it, so pick whatever works best for you (or don't change it at all if it worked fine before)

Flashing it:

  1. Open a root terminal and run: echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2 to enter fastboot mode
  2. Run fastboot flash modem NON-HLOS.ubi && fastboot reboot

CHANGELOG

  • Better handling of GPS port reopening when it's suddenly closed

SHA512 Sum of the package file

8d4f7cb0945e95d583bb3e41d4764d73736ec81655f45d5b018b011a536fd7d7b4795802a3b4811efe1abeddb1e33380790c772d8cb7c0f91b05622cdc29a54c package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files included inside.

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package. If something fails, flash manually
  4. After you flashed everything, the modem should come back automatically after 14-18 seconds

Have fun!

[Stable/Yocto 3.3.2] A few fixes can make all the difference

24 Sep 04:52
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

Make sure you also:

CHANGELOG

  • EG25-Manager kills the modem when the serial AT interface doesn't respond in time. That seems like the missing puzzle piece to make the modem rock solid
  • Dirty re-register code has been added back, but now it doesn't trigger a port reset, it just silently closes the orphaned client connections and allows the host to proceed again. This brings reconnection times down from about 30 seconds to about 10.

SHA512 Sums of the files in this release:

Package:

174f89108457d2c16227520dce7086e138116b2fdf512bd5fa650f0b7946051b3afabb7f20dfa04f4be86b55265dec0caa75a2d5b6096c73abad0da03f4bb396 package.tar.gz

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package. If something fails, flash manually
  4. After you flashed everything, you can run 'fastboot reboot' and wait for it to come back.

Have fun!

[Stable] Yocto 3.3.2 with fixes from previous tests

19 Sep 03:45
Compare
Choose a tag to compare

This release is a flashable package based on the following repos:

Make sure you also:

CHANGELOG

This updated is a cleaned up version of 0.3.9 with all the fixes derived from the 0.3.9 a/b/c/d tests

  • Removed dirty re-register code from tracking
  • Max active clients set to 18. This allows ModemManager to be registered twice without being rejected by the modem. Enough to not cause too many problems, and should cut soft resets to half
  • Removed DTR monitor and rely only on current provided by the pinephone when deciding if transfers are available. This is much more reliable than any other tested methods
  • Remove LPM notifications to SMD
  • Removed some more LPM logging messages in the kernel that weren't needed

SHA512 Sums of the files in this release:

Package:

e018cd78e6607c7eb671b99a4fefd4516f816e4db436d678e10fc55da11049c1995730dcba50fe27845b238c15e7cecb77239e62ba1b3980f2ad07a3857dbe06 package.tar.gz

Installation instructions:

  1. Get required tools: you need adb and fastboot
  2. Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
  3. Run the flashall script bundled in the package. If something fails, flash manually
  4. After you flashed everything, you can run 'fastboot reboot' and wait for it to come back.

Have fun!