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
  Latest firmware for PinePhone modem! Subsentient 105 157,546 02-02-2025, 08:47 PM
Last Post: bacydentir85
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 36,269 12-28-2024, 12:19 AM
Last Post: mara
  Office applications for the Pinephone Peter Gamma 2 742 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 38,979 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 1,464 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 6,601 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 757 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 687 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 25,769 05-03-2024, 02:19 AM
Last Post: dragonhospital
Wink PINEPHONE not booting Touchwood 2 1,429 02-23-2024, 07:27 AM
Last Post: Touchwood

Forum Jump:


Users browsing this thread: 1 Guest(s)