Jump to content

User:Antonroots/pinephone sxmo notes

From postmarketOS Wiki

PP/SXMO configuration

As of 30/09/2024 - build in progress

In short : some notes regarding my SXMO setup on my Pinephone 1.2b (Manjaro Edition)

CPU setup

For testing purpose I used to overclock/undervolt the CPU and disable 2 or 3 cores depending on my usage.

Bluetooth

- Bluetooth keyboards require the hidapi package to be installed.

$ sudo apk add hidapi

- Bluetooth headset / multimedia keys support (volume, next, prev, pause...)

Add this to .config/sxmo/sway

exec 'mpris-proxy &'

Modem firmware

- Check version

$ echo 'AT+QGMR' | sudo atinout - /dev/ttyUSB2 -

- Upgrade your stock firmware

Use https://github.com/Biktorgj/quectel_eg25_recovery

Required before going to custom firmware.

Be sure you are on one of the intermediate release from here :

https://github.com/the-modem-distro/pinephone_modem_sdk/blob/scarthgap/docs/FLASHING.md#adsp-versions

1.0.0.1 still installed on most Pinephone missed a lot of issues.

$ sudo ./qfirehose -f .

- Switch to the custom modem firmware

From https://github.com/the-modem-distro/pinephone_modem_sdk

Great work ! Fixing most of modem hangs & disconnect. Save also a lot of power.

Get latest package from here https://github.com/Biktorgj/pinephone_modem_sdk/releases/latest

I'm using 0.8.0 which is the latest at the moment and the best modem experience I had on Pinephone !

Ensure your battery is FULL and your phone PLUGGED IN before doing anything.

$ sudo apk add android-tools
$ sudo ./flashall

Misc

  • -