Mainline Linux Phones
Supported Devices
The 2 supported devices are the
PinePhone Pro and the
Librem 5. The original
Pinephone can likely use the same Debian package as the Pinephone Pro,
but its outdated chipset is not powerful enough for a decent user
experience.
Running Capyloon
Full images are not yet available, but a Debian package is available to install and run Capyloon on top of a Mobian image.
Follow this steps to test it:
- Download the debian package for your device: PinePhone Pro or Librem 5
-
Install the package with
sudo dpkg -i <path-to-file>
- Stop Phosh with
sudo systemctl stop phosh
-
Start Capyloon with
sudo systemctl start b2gos
If you wish to directly boot into
Capyloon, you need to disable Phosh:
sudo systemctl disable phosh && sudo systemctl enable b2gos
.
Status
Several APIs needed for a full phone experience are not yet implemented on mainline Linux, and some have partial implementations:
- Audio channel management.
- Wifi (partial).
- Telephony (calls, data, sms, mms).
- Bluetooth.
- GPS.
- Other sensors (orientation, proximity, etc.).
Rebuilding a debian package after making UI changes is possible with the
jackady
tool from the
Nutria repository:
-
Fetch the linux aarch64 prebuilts:
./jackady update-prebuilts --target=aarch64-unknown-linux-gnu
-
Rebuild the deb:
./jackady deb --device=pinephone|librem5
To make it easier to update the UI, several
jackady
commands
will be updated
to support Linux mainline devices in addition to the Gonk ones.