pinephone oses and qemu emulation
#1
hi guys

Since i dont own pinephone (im waiting for it) I would like to start coding/compiling some stuff that ill use later on phone in my free time on my laptop. Do we have some information / Howto / tutors how to setup proper environment in qemu to run pinephone oses in virtualisation?

Btw im using ubuntu/debian as my os of choice.

Thank for all pro tips In this topic

Wysłane z mojego CLT-L29 przy użyciu Tapatalka
  Reply
#2
You can use pmbootstrap to generate a postmarketOS chroot. During pmbootstrap init tell it to use Qemu as the target device (if you pick an arch that matches the host arch you can probably use kvm so it will run at the speed of your host, running it in an interpreter/JIT feels a little closer to the real pinephone speed on my Ryzen 5 sans the complete lack of hardware graphics acceleration.)

After pmbootstrap install just run pmbootstrap qemu --display=gtk to start the VM.

The reality is though that you can develop your app just like you would for any other Linux based OS. The only thing you have to do is keep in mind that phosh users tend to scale it by 2x and don't like multiple windows.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 32 23,331 03-21-2024, 04:27 PM
Last Post: donchurch
Wink PINEPHONE not booting Touchwood 2 278 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,156 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 22,933 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,708 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 99,928 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 11,750 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 814 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 1,836 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,108 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:


Users browsing this thread: 1 Guest(s)