Install Plasma Mobile

Note

These instructions are subject to change. Use them at your own risk. If you encounter problems, please check for existing issues and file new ones in the issue tracker.

To install Plasma Mobile on the development board, follow the steps outlined below.

  1. Flash the latest PureOS image.

  2. Resize the root filing system by logging in to the development board and executing the following commands as the root user:

    parted /dev/mmcblk0 resizepart 2 100%
    resize2fs /dev/mmcblk0p2
    reboot ; exit
    
  3. Install the GNU Privacy Guard and fetch the public key that is used to verify the installation packages:

    apt install gnupg2
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CF319275556E40EC
    
  4. Add the following line to the /etc/apt/sources.list file:

    deb https://repo.kaidan.im/debpm/ buster main devkit
    
  5. Update the package database:

    apt update
    
  6. Stop or disable phosh.service with a command like this:

    systemctl stop phosh
    
  7. Install the base packages:

    apt install kwin-wayland kwin-wayland-backend-drm plasma-phone-components plasma-settings plasma-phone-settings simplelogin
    
  8. Add the following line to /etc/profile.d/etnaviv.sh:

    export ETNA_MESA_DEBUG=no_supertile
    
  9. Enable the simple login service:

    systemctl enable simplelogin
    
  10. Modify the simple login service to use the purism user instead of phablet by editing the /lib/systemd/system/simplelogin.service file.

  11. Reboot.