Guide: Setup Latest Waydroid for Hardware Acceleration and/or Development
#1
TL;DR: Click the link to get Waydroid with hardware acceleration or if you're interested in building an image from source for development purposes.

Guide lives here: Waydroid for PinePhone Pro

Waydroid is a popular Android emulation environment for Linux that uses a lightweight container to run apps. Though a release based on LineageOS 17.1 is available on many package repositories, it doesn't meet everyone's needs. The official 17.1 release doesn't support graphics hardware acceleration on the RK3399 (i.e. PinePhone Pro), which is important for usability. Additionally, the official instructions do not provide everything developers need to build a working daily-driver-ready image from the latest sources, which they may want in order to test features and fixes that they plan to upstream on their personal phones. This guide attempts to help users who want hardware acceleration but don't have it on 17.1 (e.g., PinePhone Pro users) and developers who want to test new features and fixes on their daily drivers.
  Reply
#2
(09-18-2022, 06:32 PM)nroth Wrote: TL;DR: Click the link to get Waydroid with hardware acceleration or if you're interested in building an image from source for development purposes.

Guide lives here: Waydroid for PinePhone Pro

Waydroid is a popular Android emulation environment for Linux that uses a lightweight container to run apps. Though a release based on LineageOS 17.1 is available on many package repositories, it doesn't meet everyone's needs. The official 17.1 release doesn't support graphics hardware acceleration on the RK3399 (i.e. PinePhone Pro), which is important for usability. Additionally, the official instructions do not provide everything developers need to build a working daily-driver-ready image from the latest sources, which they may want in order to test features and fixes that they plan to upstream on their personal phones. This guide attempts to help users who want hardware acceleration but don't have it on 17.1 (e.g., PinePhone Pro users) and developers who want to test new features and fixes on their daily drivers.

Thanks. This works. Sadly, it ends with a Gapps-enabled image, which I didn't want. So I went through the "compile-your-own" version right on the same guide. I have to be honest, for a first attempt, the instructions were rather straightforward. And just after 280GB of storage and about 6 hours of CPU time on my old Core i7, I got a working image without Gapps, that does indeed work with waydroid!
  Reply
#3
(11-11-2022, 04:44 AM)timonoj Wrote:
(09-18-2022, 06:32 PM)nroth Wrote: TL;DR: Click the link to get Waydroid with hardware acceleration or if you're interested in building an image from source for development purposes.

Guide lives here: Waydroid for PinePhone Pro

Waydroid is a popular Android emulation environment for Linux that uses a lightweight container to run apps. Though a release based on LineageOS 17.1 is available on many package repositories, it doesn't meet everyone's needs. The official 17.1 release doesn't support graphics hardware acceleration on the RK3399 (i.e. PinePhone Pro), which is important for usability. Additionally, the official instructions do not provide everything developers need to build a working daily-driver-ready image from the latest sources, which they may want in order to test features and fixes that they plan to upstream on their personal phones. This guide attempts to help users who want hardware acceleration but don't have it on 17.1 (e.g., PinePhone Pro users) and developers who want to test new features and fixes on their daily drivers.

Thanks. This works. Sadly, it ends with a Gapps-enabled image, which I didn't want. So I went through the "compile-your-own" version right on the same guide. I have to be honest, for a first attempt, the instructions were rather straightforward. And just after 280GB of storage and about 6 hours of CPU time on my old Core i7, I got a working image without Gapps, that does indeed work with waydroid!

I'm so glad to see this works for you! If there's anything that could be made clearer, feel free to leave comments on the doc while your experience is fresh and I'll make sure to incorporate them.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't get to usable. Hardware issue? chootsmagoots 2 384 09-05-2022, 10:24 AM
Last Post: chootsmagoots
  Setup My Pinebook 64 and Lost Password jersdayoff 5 3,855 05-01-2021, 10:29 PM
Last Post: wdt
  First time setup of pro glennngiere 2 3,541 06-07-2020, 04:52 PM
Last Post: xmixahlx
  PineA64 Getting Started Guide khgoh 12 21,759 03-04-2017, 08:53 PM
Last Post: Doryan
  Startup Guide (READ THIS FIRST) ScorpionTNT 3 5,049 07-18-2016, 10:33 AM
Last Post: Luke
  Youtube video on PineA64 Development Board khgoh 0 3,562 03-30-2016, 11:25 PM
Last Post: khgoh

Forum Jump:


Users browsing this thread: 1 Guest(s)