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
  Pinephone Apps Unified Dev Hub biketool 0 30 Today, 01:02 AM
Last Post: biketool
  Fedora + Phosh for PinePhone njha 68 39,495 07-26-2021, 04:57 AM
Last Post: wizmart
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 12 3,569 07-04-2021, 08:12 AM
Last Post: jfenn2199
  PureOS on Pinephone dukla2000 86 57,702 06-24-2021, 01:05 AM
Last Post: ssilvi
  Easiest way to use Android applications on Pinephone esud 4 2,244 06-21-2021, 04:52 AM
Last Post: vanja
  Amazfish on Pinephone pagesix1536 6 1,469 06-04-2021, 11:05 AM
Last Post: pagesix1536
Brick VR apps for the Pinephone (Google Cardboard) MirceaKitsune 0 293 05-30-2021, 10:45 AM
Last Post: MirceaKitsune
  Pine Phone Desktop Mode or "Standard" Gnome Desktop on PinePhone? 4920441 4 1,073 05-11-2021, 02:42 AM
Last Post: wizmart
  Adafruit Pyloton Open Source Bike computer on the PinePhone? Peter Gamma 0 468 04-02-2021, 06:37 PM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 68 35,779 03-21-2021, 11:43 AM
Last Post: andresbs

Forum Jump:


Users browsing this thread: 1 Guest(s)