Yocto 3.4 Honister: Fixes to Pinephone Pro audio
This release is a flashable package based on the following repos:
- Unlocked Bootloader (LK): https://github.com/Biktorgj/quectel_lk/releases
- Linux 3.18.140 Kernel: https://github.com/Biktorgj/quectel_eg25_kernel
- Forked meta-qcom layer: https://github.com/Biktorgj/meta-qcom/
- Yocto 3.4 based rootfs and recovery (https://www.yoctoproject.org/)
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:
- Open a root terminal and run:
echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
to enter fastboot mode - 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"
- In
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:
- Get required tools: you need adb and fastboot
- Grab a copy of the firmware, and, optionally, a recovery firmware (https://github.com/Biktorgj/quectel_eg25_recovery)
- Run the
flashall
script bundled in the package as root. If something fails, flash manually - 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!