Skip to content

Releases: the-modem-distro/pinephone_modem_sdk

Follow-up on A/B

18 Sep 06:09
Compare
Choose a tag to compare
Follow-up on A/B Pre-release
Pre-release

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

CHANGELOG

  • Stop the DTR monitor thread from modifying current_dtr status. Current sensing works 100% of the time while DTR is slow to respond
  • [DEBUG]: Show all activity related to tracking DTR status, check if already busy when attempting to write to SMD, retry if it failed before etc.

SHA512 Sums of the files in this release:

Package:

Version 0.3.9c:
d67daca4c420277bf644d7c1ea29200465e2fd9ed7927aedede1378d762144d60c6433f90a5ca25d0c4161b0851cfe1135f5a7d37a11ccaa50322fc52071282c target/package.tar.gz

Version 0.3.9d:
c43722996c48e28a2ffc0d943327695f94e55fd78e0a71d7c6d270578596587c20fd267e4961d37976787c21eed278daaabe6a8424c7137519e7fcd64d33a4ac package_d.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!

A/B Testing

16 Sep 04:16
Compare
Choose a tag to compare
A/B Testing Pre-release
Pre-release

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

CHANGELOG

  • This build directly removes the dirty re-register code. We weren't hitting that previously and things were working fine most of the time
  • 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
  • This release contains two different flashable images, one with DTR triggered by two events, and the other one with DTR only triggered by one. I think sometimes DTR might be setting twice or ends up sending the wrong state to the ADSP from some of the logs.
    • Image A keeps the same behaviour as older releases following what the manufacturer did
    • Image B reduces DTR notifications to only when there's pending data in either channel

SHA512 Sums of the files in this release:

Package:

06750d7d5400c4571ba548bd55ea0a12fb383d42702a1f126b56204d3a73eec44b7d5ecbdfa5b66417c8e5d359f3a07ce258ed4eedaca408fe709f3d6afb06de package_a.tar.gz

36568306ad41166d1845e7968dd4bea1e5693c3f21337026cbf4387642035c1dbfd166f7febe5d3b4d0ad89c1facbb752c564bb65c0610a40f26da5acdf6ae30 package_b.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!

[Test] Bugfix over 0.3.7

15 Sep 15:56
Compare
Choose a tag to compare
Pre-release

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

CHANGES FROM PREVIOUS RELEASE

  • This is a fix over 0.3.7 which had a nasty bug (dirty re-register not triggering reset). I pulled it to avoid potential issues
  • Includes delay on resume in openqti
  • Support for muting the microphone via AT+CMUT when incall (kills the mixer control)
  • Cleanup over 0.3.6

SHA512 Sums of the files in this release:

Package:

345fe41619ff2940db7d6ae680fffa9ce5fac3049b6ba8b8e1fa6d7be52c49f6b5f18c8e0de5737fc9b46f11978a191bb669eaffbe79d7a5257441bb9e95d150 package.tar.gz

Flashable package contents:

14acadcc5a886804057088611715271507e7d453b1d1037d0995bc12550e6a4cd8b9c3c1b22df4beb5ea324989cf2f61c049cd54947175e8dd66e7cbee267bf5 appsboot.mbn
47648a26f124cc457d2c1b9e052a94a3463bffd677e9f0213890accbabd0daed78f9a4287e9387103d30af512d262324c804aba5b7a8cc6bc900e2f38007b75f boot-mdm9607.img
8c8b18a9540489a77578eaec96c4c75fba2a18d3410b9e3280debc5a18cb5360e19db193430cb38f8a1321c54f769f995c90c900af084727785f7aa234483a7a recoveryfs.ubi
47648a26f124cc457d2c1b9e052a94a3463bffd677e9f0213890accbabd0daed78f9a4287e9387103d30af512d262324c804aba5b7a8cc6bc900e2f38007b75f recovery.img
d2129b0b03f5aef8eebc080640b9997c4c8142916b2eb406a48485f4623b940f33252732259a4e8f96bad5735dce89e1af0a80ad392db5181de82437169bc4f5 rootfs-mdm9607.ubi

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!

Small cleanup, faster boot

09 Sep 14:04
Compare
Choose a tag to compare

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

CHANGES FROM PREVIOUS RELEASE

  • Disable serial console output, only useful for debugging, was wasting 2 seconds on boot. Now USB is ready in 13.8 secs
  • Less debug messages in kernel and OpenQTI

SHA512 Sums of the files in this release:

Package:

c12d03b1c7094f1caac781bcfae218e5e429da8074bfaaa9bdcc474a2cb51a1043902bd82af63c8d646ae7409f1bf251a3d6341ae1f75776e695bdaab1ff4445 package.tar.gz

Flashable package contents:

14acadcc5a886804057088611715271507e7d453b1d1037d0995bc12550e6a4cd8b9c3c1b22df4beb5ea324989cf2f61c049cd54947175e8dd66e7cbee267bf5 appsboot.mbn
47648a26f124cc457d2c1b9e052a94a3463bffd677e9f0213890accbabd0daed78f9a4287e9387103d30af512d262324c804aba5b7a8cc6bc900e2f38007b75f boot-mdm9607.img
e9641b9185ae6bbbd0c8c6bbfcb7b8fa0f102bbac3e7c2f1fbb7ff7eea97a510f1fcaf9cb05f3b52d09db8ada1ecf4a1d98f7da8cf092a8d49811fd3212222f2 flashall
9801ac9c2edfd7e66f02ea502e21669553c2d74c149090fcd4f207061bb25a1021bf07c2412215d38b191bc557050653dcd10c4ddbe801f0e19f3908932d93c0 recoveryfs.ubi
47648a26f124cc457d2c1b9e052a94a3463bffd677e9f0213890accbabd0daed78f9a4287e9387103d30af512d262324c804aba5b7a8cc6bc900e2f38007b75f recovery.img
eb84e0fcfa5e2bc94597b84984e0060d0d20b12f1a4ec3b74e6ef511cda2badc2004f58f085bf8952f3bf8c9a59b5515f09bd8b12af7ae440ec7f4e6a8b471c1 rootfs-mdm9607.ubi

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!

[TESTING] More sleep, less bugs!

08 Sep 10:53
cc0a6a3
Compare
Choose a tag to compare

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

CHANGES FROM PREVIOUS RELEASE

  • Poll DTR GPIO for changes, but also keep track of the power supply current reporting. Sometimes DTR does not get triggered on suspend depending on distro/userspace, so double check to know when the modem is allowed to speak
  • Kernel: Patch u_smd kernel driver so it bypasses the remote wakeup function. It seems this was the cause for the "Bad cable" message that appeared some times

Thanks a lot to all the people that have helped debugging this issue

SHA512 Sums of the files in this release:

Package:

915c176a9d42ce18d7a643ab48767fd7802213f816443528647368b5c4fa7edc095c149296ad3cd79e97bb477569a67f1214b2c1d64fc14b6a40dc20fa5bf559 package.tar.gz

Flashable package contents:

14acadcc5a886804057088611715271507e7d453b1d1037d0995bc12550e6a4cd8b9c3c1b22df4beb5ea324989cf2f61c049cd54947175e8dd66e7cbee267bf5 appsboot.mbn
815fabab68aa748de87e8e6e91a60136eb4bf318acd5256b436fd93b123f66f656cfd2142119300254c47a0753819e679e1dace6bf43f088345c9735dafda57a boot-mdm9607.img
e9641b9185ae6bbbd0c8c6bbfcb7b8fa0f102bbac3e7c2f1fbb7ff7eea97a510f1fcaf9cb05f3b52d09db8ada1ecf4a1d98f7da8cf092a8d49811fd3212222f2 flashall
e1594eaf24e3beb03104a24e942b0a16f62f8d80480e90540381c0fb49982fe24967e449c14d3a7c6a105e12852c53aff4bca453d8bb6c5716187e384d0de1ec recoveryfs.ubi
815fabab68aa748de87e8e6e91a60136eb4bf318acd5256b436fd93b123f66f656cfd2142119300254c47a0753819e679e1dace6bf43f088345c9735dafda57a recovery.img
a0980ba4fb9d5bca86b68aabe36faced4207905953fd1d014b8629bbc2663b8097e42b0061125f3ff0ab88c1746e5af0f55a44ed0e94769327113ad87fc1c320 rootfs-mdm9607.ubi

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!

[Test build] DTR checking / SMD Data3 triggers

25 Aug 08:06
9162cab
Compare
Choose a tag to compare

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

Before you begin

Please, take a minute to get a copy of the stock firmware here (https://github.com/Biktorgj/quectel_eg25_recovery), and carefully read the README. If you don't know understand what it says, or don't know how to recover the firmware in case something goes wrong, avoid touching your modem

CHANGES FROM PREVIOUS RELEASE

  • Check DTR state in rmnet proxy and set bits to smd8/DATA3 like Quectel's lpm driver does

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!

Yocto 3.3.2 update + USB Audio support

23 Aug 05:44
Compare
Choose a tag to compare

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

Before you begin

Please, take a minute to get a copy of the stock firmware here (https://github.com/Biktorgj/quectel_eg25_recovery), and carefully read the README. If you don't know understand what it says, or don't know how to recover the firmware in case something goes wrong, avoid touching your modem

CHANGES FROM PREVIOUS RELEASE

  • Yocto updated to 3.3.2
  • Persistent USB Audio support (thanks @gregvish!)
  • USB init scripts now waits for alsa to be fully ready (so it doesn't crash on boot with USB audio persist flag set because it wasn't yet ready)
  • Flashing script now doesn't require two reboots to finish (thanks @kkeijzer!)
  • Debug UART is available again (for those with external modems or access to the debug pins (ubports revision or earlier)

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!

Our greatest glory is not in never falling but in rising every time we fall

13 Aug 05:28
c2ef810
Compare
Choose a tag to compare

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

Before you begin

Please, take a minute to get a copy of the stock firmware here (https://github.com/Biktorgj/quectel_eg25_recovery), and carefully read the README. If you don't know understand what it says, or don't know how to recover the firmware in case something goes wrong, avoid touching your modem

CHANGES FROM PREVIOUS RELEASE

  • Reworked the tracking function. We now track which host app is used, and handle various different fault scenarios, both from the host and the modem itself where communications between ADSP and the rest of the world would end up cut off, stuck, or otherwise in an unstable state. You might see more "usb resets" coming with this builds, there's a variety of reasons for this:
    • If one of the communication channel fails between the ADSP and the userspace, openqti will close and reopen them automatically, and trigger a USB reset to let ModemManager / oFono there has been a disconnect. This ensures external apps know the new state of the modem and avoid them getting stuck in the middle of a transaction
    • If There's multiple client registration attempts due to a host side app dying in the middle of doing something, or when an unexpected suspend came from the host, openqti will kick it out and reset USB state, forcing the host app to restart its registration process.
    • If openQTI dies while doing something (we've got bugs too), it will automatically respawn and restart so you don't loose access to the modem. Since the ADSP will still be alive, it should recover to a running state in about 3 seconds

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' (you might have to do that twice) and wait for it to come back.

Have fun!

[Test build] oFono fixes

07 Aug 05:27
c2ef810
Compare
Choose a tag to compare

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

Before you begin

Please, take a minute to get a copy of the stock firmware here (https://github.com/Biktorgj/quectel_eg25_recovery), and carefully read the README. If you don't know understand what it says, or don't know how to recover the firmware in case something goes wrong, avoid touching your modem

CHANGES FROM PREVIOUS RELEASE

  • Stop killing oFono when it just registered itself

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' (you might have to do that twice) and wait for it to come back.

Have fun!

[Test build] Use UAC2 instead of UAC2, eat client release responses

28 Jul 05:38
Compare
Choose a tag to compare

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

Before you begin

Please, take a minute to get a copy of the stock firmware here (https://github.com/Biktorgj/quectel_eg25_recovery), and carefully read the README. If you don't know understand what it says, or don't know how to recover the firmware in case something goes wrong, avoid touching your modem

CHANGES FROM PREVIOUS RELEASE

  • When releasing all clients, drain the responses from the ADSP so they don't reach ModemManager and confuse it
  • If testing this firmware, you might want to use latest ADSP firmware: https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_01.003.01.003/update/NON-HLOS.ubi
    • Flash it with fastboot flash modem NON-HLOS.ubi
  • Use UAC2 instead of UAC1 for USB Audio driver
  • This firmware is a bit larger because it includes alsa-utils (arecord, aplayer etc.) to help with USB audio passtrough development
  • Track service 0x1a to guess if ModemManager died instead of controlling timings

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' (you might have to do that twice) and wait for it to come back.

Have fun!