Phone setup

Mobile network settings

In Phosh: Settings / Mobile Network / Access Point Names

Name: T-Mobile

APN: fast.t-mobile.com

Messaging settings

In Phosh: Chats / Preferences / SMS and MMS Settings

MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

APN: fast.t-mobile.com

Additional info

Short Message Service (SMS)

SMS Email: 10digitmobile@tmomail.net

SMS center: 1-206-313-0004

Email center: 500

Voicemail: 1-805-637-7243 (1-805-MESSAGE)


T-Mobile BYOD

Upgrade modem firmware

Get latest firmware (package.tar.gz) release from GitHub
wget <link to package.tar.gz>
tar xzvf package.tar.gz
sudo ./flashall

I ran the automatic script several months ago, but updated to newest release manually (see source link), just to be sure.

Upgrade ADSP

According to some people on Pine64 forums, T-Mobile requires ADSP 01.003

Run as root:

wget https://github.com/Biktorgj/quectel_eg25_recovery/raw/EG25GGBR07A08M2G_01.003.01.003/update/NON-HLOS.ubi
echo -ne "AT+QFASTBOOT\r" > /dev/ttyUSB2
fastboot flash modem NON-HLOS.ubi
fastboot reboot

After properly updating ADSP, my modem stays connected and seems to connect to both 4G and 2G.


Flashing instructions
PinePhone modem repo on GitHub
LinMob article
Mention of correct ADSP for T-Mobile

Software setup

Proton Mail

Install Geary:

sudo apk add geary

Build and install Proton Bridge, utility that locally encrypts and decrypts Proton Mail:

sudo apk add make git go gcc libsecret-dev libc-dev
git clone https://github.com/ProtonMail/proton-bridge
cd proton-bridge
make build-nogui

Move executables to directory under $PATH:

cp bridge ~/.local/bin/
cp proton-bridge ~/.local/bin/

Configure via CLI interface:

Proton bridge CLI guide
proton-bridge --cli


Get and save the IMAP/SMTP info:

>>> info
Configuration for antonyak@pm.me
IMAP Settings
IMAP port: 1143
Username:  username@proton.me
Password:  a1b2c3d4e5f6g7h8i9j0k1
Security:  STARTTLS

SMTP Settings
SMTP port: 1025
Username:  username@proton.me
Password:  a1b2c3d4e5f6g7h8i9j0k1
Security:  STARTTLS

Run Geary.

Enter username and password from info above.

In my case, Geary automatically connected to localhost, which is correct.

For me, Geary was very slow, and some emails were missing. Proton Bridge claims to take up to half of all RAM. At this point, creating a service would be a drain on resources. I could write a script to start Proton Bridge

Exit the Proton Bridge CLI

>>> exit

Create a service:

sudo touch /etc/init.d/proton-bridge
sudo chmod +x /etc/init.d/proton-bridge
sudo $EDITOR /etc/init.d/proton-bridge

description="Proton Bridge"
OpenRC service script guide


Reddit post


Fractal on Flathub
sudo apk add flatpak
sudo apk add gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Fractal

Reboot for path changes and such to take effect