QEMU

There’s an experimental QEMU image available that includes:

  • phosh: phone graphical shell
  • Common apps: geary, ephiphany, contacts, calls
  • phone / network services: NetworkManager, ModemManager, ...

Linux Environments

  1. Check the last succesful job on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/

  2. Download:

    wget https://arm01.puri.sm/job/Images/job/Image%20Build/133/artifact/qemu-x86_64.img.xz
    
  3. Decompress it:

    unxz qemu-x86_64.img.xz
    
  4. Run it:

    qemu-system-x86_64 -boot menu=on -drive file=qemu-x86_64.img,format=raw -vga virtio -display sdl,gl=on -m 1G -enable-kvm
    

    If you prefer a GUI:

  5. Use it

QEMU VM running phosh and default apps

Microsoft Windows

  1. Open a browser to check the last succesful job on the CI server: https://arm01.puri.sm/job/Images/job/Image%20Build/

  2. Save the latest version of the builds by right-clicking on the file and choosing “Save As”.

  3. Choose a folder on your computer with 4gb of free space.

  4. After the download is complete, extract the file with 7zip or other untar program.

  5. Open an instance of PowerShell and navigate to the extracted file’s folder.

  6. The following command can be executed in PowerShell after modifying the path to the qemu executable and the path to the downloaded qemu-x86-64.img file.:

    C:\Program Files\qemu\qemu-system-x86_64.exe -drive file=c:\downloads\qemu-x86_64.img,index=0,media=disk,format=raw -vga virtio -display sdl,gl=off -m 2G -L Bios -boot menu=on -rtc base=localtime,clock=host -parallel none -serial none -name PureOS -no-reboot
    
  7. Note: You may also download and modify the following PowerShell script for your environment. The file can executed on the command line, or by right-clicking launch-librem5.ps1 file from file explorer. The script is fully commented to explain the command line variables that are used.

PowerShell script: launch-librem5.ps1