Skip to content

0.5.5 - System updates and fixes

Compare
Choose a tag to compare
@Biktorgj Biktorgj released this 27 Jan 06:56
· 68 commits to honister since this release

CHANGELOG

0.5.5: Click to show / hide

0.5.5:

  • Update Yocto to 3.4.1
  • Fixed a bug that would make openqti use 95% of the available CPU doing nothing
  • Better handling of outgoing SMS, now it doesn't block the usb interface while sending them to the phone
  • SMS queue: Allow pushing up to 100 messages at one, so you can request things like getting logs and it will split the contents across different messages
  • More fixes on handling messages sent from the Pinephone to the modem. There's probably some case still where the contents are not correctly decoded (please open an issue if you still get a "command not found" when sending something
  • More detailed help command
  • Allow to 'get log' and 'get dmesg' to get Openqti's log or kernel log via SMS

0.5.4: [Test release unpublished]
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 will be wrong if the modem can't manage to sync the date from the carrier. If this happens all messages will have a date of 2022-01-01 (+- timezone offset)
  • 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

25d79c105fad27b26e4bb8360b04792793a08d6b0955968a351c19413fdc0619f2d3423735debd85ffa986f07374d0b89a59ec312819c20c4c39b294c8e84288 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!