Skip to content

0.5.3 - Get those pending messages through

Pre-release
Pre-release
Compare
Choose a tag to compare
@Biktorgj Biktorgj released this 14 Jan 17:51
· 71 commits to honister since this release
5313b96

CHANGELOG

0.5.3:

  • Allow OpenQTI to write to USB even while suspend when a QMI message from the Voice or Messaging service is waiting
  • When an incoming SMS notification arrived via QMI and USB was suspended, send a ring in pulse to wake the Pinephone up, wait a second, and resend the notification (this should get rid of the issue where sometimes SMS aren't received until reboot -testing!-)
    0.5.2:
  • Fixed a bug where the modem would end up in recovery mode if GPS was left on and the phone suspended
  • Rebuilt rmnet proxy function to be able to discard, pass trhough, or skip certain types of QMI messages
  • Added a function to trigger a new message notification in case it got stuck by ModemManager
  • OpenQTI now can intercept and send SMS messages to the Pinephone!
    • The firmware will listen and intercept messages going to the phone number +1 555 0199 999
    • To start the chat for the first time, you can send the "AT+SIMUSMS" AT command and it'll reply through your chat app with a "Hello world"
    • After that, simply send a message with the command you want to run and it'll reply. You can send "help" to get the list of available commands.
      • The current command list is very limited right now, more functions will be implemented as needed or requested by you! Commands in this release are:
        • name: Dummy, returns the modem name
        • uptime: System uptime
        • load: Current load average
        • version: Current firmware version
        • memory: Free / Used / Shared memory and running processes
        • net stats: Get packet statistics for the RMNET interface (where ModemManager/oFono communicate with the modem)
        • gps stats: Get packet statistics for the GPS function (both usb port and QMI calls)
        • caffeinate: Block USB from entering suspend
        • decaff: Allow USB to suspend
        • enable adb: Turn on ADB and reset the USB port
        • disable adb: Turn off ADB and reset the USB port
        • help: Show the command list

NOTE: This function will only work with an active SIM installed, and unlocked

Compatibility:

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

Known issues

  • SMS Timestamps are wrong (WIP!)
  • You tell me!

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

bfabb1bbb432c2101517755de6f6fb4f38d6074a034be37d9777138d9fce05bed5ceb6cf02f60b92bcf2b4b96aacdd37f8ff2b371c5057e9cc0c59e2ce5426a8 target/package.tar.gz

Inside the compressed tar file there's a file containing the SHA sums for the files in it.

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

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

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

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

Have fun!