Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pmaports pmaports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 512
    • Issues 512
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 60
    • Merge requests 60
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • postmarketOSpostmarketOS
  • pmaportspmaports
  • Issues
  • #1173
Closed
Open
Created Jul 27, 2021 by Caleb Connolly@calebccff🐧Maintainer2 of 7 checklist items completed2/7 checklist items

WayDroid: lets package it for postmarketOS

With WayDroid now in a somewhat usable state, it would be good to get it packaged in edge so more people can test it out and report bugs.

Unlike the old anbox, waydroid offers near-native performance, on the OnePlus 6 this means full speed Android, the ability to run games pretty much all the applications you might want. Although the device gets a fair bit warmer than when doing this on downstream Android.

  • Adapt install scripts to APKBUILD
  • Automate the config file generation as a post-install step
  • Decide if it's best to have the large Android images be part of the package or fetched in *-install (part of the package seems best to me).
  • Create new Kconfig check for waydroid (mostly just depends on BINDER stuff, as well as CONFIG_PSI and perhaps some things for networking).
  • Deal with the dnsmasq dependency which will be needed to initialise networking in WayDroid.
  • Come up with a solution for the bidirectional sharing data between the host user and the container without needing root to copy files.
  • Find a way to handle non-integer scaling in phosh causing the Android window to not fill the screen. And a way to deal with padding needed to avoid the Android navigation bar being obscured by the Phosh one (anbox.display_height_padding=100 <- this depends on scaling).

With regards to the binder stuff, currently the lxc config files expect ANDROID_BINDER to be a module which gets probed when you first start the container and configured to create the 3 binder interfaces with specific names (prepended with anbox-), is this a good solution?

Erfanoabdi says he'll be replacing the install scripts with some kind of Python tool. Could/should we make use of this?

Edited Apr 13, 2022 by Newbyte
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking