How to send MMS messages on the Pinephone with vgmms

NOTE: this guide is still a work in progress and while installing vgmms works, sending MMS does not work yet. (although you can send SMS through vgmms).

open bug report for group messages: #23 open bug report for sending photos: #39


Install Mobian Other operating systems might work but I have only tested mobian. You might find it useful to set up an SSH connection to the phone to make it easier to copy/paste these commands.

Create Swap Space


sudo dd if=/dev/zero of="$f" bs=1M count="$mb" status=progress
sudo chmod 600 "$f"
sudo mkswap "$f"
sudo swapon "$f"

Install Dependencies

sudo apt install git curl make gcc automake libtool-bin autotools-dev libudev-dev libdbus-1-dev libglib2.0-dev libcairo2-dev libjpeg-dev libgif-dev libpango1.0-dev libgdk-pixbuf2.0-dev librust-atk-dev librust-gdk-dev libsqlite3-dev mobile-broadband-provider-info

curl -sSf | sh #install rust

Clone the repos

mkdir mms
cd mms
git clone
git clone
git clone
git clone

Build ofono

Note: requires the ell repo to be in the parent directory. (if you ran the git clone commands as above, it will be.) Also, there is an apt package for ofono, but we need to build it manually for it to work.

cd ~/mms/ofono
#instead of running ./bootstrap-configure, run the configure without the --enable-maintainer-mode which will get rid of -Werror and the extra test modem
test -f config.status && make maintainer-clean
./bootstrap && ./configure \
                --enable-debug \
                --prefix=/usr \
                --mandir=/usr/share/man \
                --sysconfdir=/etc \
                --localstatedir=/var \
                --enable-test \
                --enable-tools \
                --enable-dundee \

make && sudo make install

Build mmsd

cd ~/mms/mmsd
sed -i 's/-Werror //g' Makefile #remove -Werror from the Makefile
make && sudo make install

Build vgmms

cd ~/mms/vgmms
cargo update -p rustdoc-stripper --precise 0.1.14 #temporary fix needed for the latest commit as of 2020-09-30, will not be needed in the future
cargo build --release

If the last command uses too much CPU, you can restrict it to 1 core with this command instead:

cargo build -j 1 --release


sudo reboot

Run vgmms

First start the daemons and enable the modem.

sudo service ofono start



Run vgmms itself. A window will pop up on the phone that you can interact with.