These are the steps I used to install and test on Manjaro
This image of Manjaro was used:
Manjaro-ARM-phosh-pinephone-dev-20210110.img
1. ssh into phone and update all packages
Code:
sudo pacman -Syu
reboot
sudo pacman -S automake autoconf gcc pkg-config make
reboot
2. Download ModemManager (Read the README to install and more info)
Code:
wget https://source.puri.sm/kop316/mmsd/-/archive/ModemManager/mmsd-ModemManager.tar.gz
tar zxvf mmsd-ModemManager.tar.gz
cd mmsd-ModemManager
autoupdate
./bootstrap-configure --enable-debug --enable-maintainer-mode
make
./src/mmsd -n -d 'src/*'
ctrl-c
cd ../
By running the mmsd once it creates our config file
3. Download purple-mm-sms
Code:
wget https://source.puri.sm/kop316/purple-mm-sms/-/archive/mmsd/purple-mm-sms-mmsd.tar.gz
tar zxvf purple-mm-sms-mmsd.tar.gz
cd purple-mm-sms-mmsd/
make
sudo make install
cd ../
4. Edit the ModemManager file for your carriers info
Code:
cd mmsd-ModemManager
vi ../.mms/modemmanager/ModemManagerSettings
5. Start ModemManager in debug mode
Code:
./src/mmsd -n -d 'src/*'
A few good 'mmcli' commands to help you check the modem:
mmcli --scan-modems (May not give results just errors out)
mmcli --list-modems <-- This will give a dbus path and the number at the end is your modem
i.e. /org/freedesktop/ModemManager1/Modem/
4 <----
mmcli --modem=4 <--At the bottom of tthis command will give you your bearer number
i.e. dbus path: /org/freedesktop/ModemManager1/Bearer/
4
mmcli --modem=4 --bearer=4
Hope that helps the next person and thank you
kop316 for all of the work you put in to further the cause