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
  openSUSE for Pinephone Alefnode 73 74,390 11-26-2022, 12:07 PM
Last Post: Eugo
Lightbulb Article: Experiments for super low PinePhone power consumption with Genode Surehand53 0 129 11-19-2022, 02:43 PM
Last Post: Surehand53
  Fedora + Phosh for PinePhone njha 73 91,132 11-18-2022, 09:12 PM
Last Post: Alho
  Article: NuttX RTOS for PinePhone: Render Graphics in Zig lupyuen 0 117 11-15-2022, 04:16 AM
Last Post: lupyuen
Tongue Android Auto on Pinephone via Waydroid: a pipe dream? slondr 1 206 11-06-2022, 01:46 PM
Last Post: wibble
  Article: Rendering PinePhone's Display (DE and TCON0) lupyuen 0 211 10-29-2022, 06:09 PM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: Display Driver in Zig lupyuen 0 247 10-17-2022, 07:02 PM
Last Post: lupyuen
Question Proprietary apps for PinePhone/PineTab Benoit 10 8,984 10-14-2022, 12:29 AM
Last Post: groomsb31
  Amazfish on Pinephone pagesix1536 11 7,255 10-10-2022, 08:01 PM
Last Post: thomzane
  Article: Understanding PinePhone's Display (MIPI DSI) lupyuen 2 440 10-01-2022, 05:52 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)