Skip to main content
This doc relates to the below revision of hardware
Mecha Logo

Comet (rev5)

For Pilot users

The all new Mecha Comet

Better in all ways, the next revision of Mecha Comet, coming soon.

Android (via Waydroid)

Introductions

A container-based approach to boot a full Android system on comet running Wayland based desktop environments.

This tutorial focuses on bringing Waydroid support to the Mecha Comet, it ensures compatibility, performance, and hardware acceleration, allowing users to run Android applications alongside their Linux workflow.

The Waydroid environment includes a minimal, customized Android system image based on LineageOS, currently using Android 11.

The purpose of this setup is to install and configure Waydroid for Android System.

Prerequisites

  • You need sudo privileges to execute the commands.
  • Ensure Mecha Comet is connected to wireless and have internet access.
1

Kernel flags modifications

CONFIG_PSI=y 
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_KMEM=y
2

Install pre-requisites and Add the official repository

sudo apt install curl ca-certificates -y
curl -s https://repo.waydro.id | sudo bash

If the script fails to detect your distribution while adding repository, you can provide a valid option by appending -s bookworm

3

Install Waydroid

sudo apt install waydroid -y

Then start Waydroid from the applications menu. 🎉

4

Manually Starting Waydroid🗝

Start the container first:

sudo waydroid container start
5

And in a new terminal tab, start the waydroid session (without sudo ):

waydroid session start

After that starts and you see "Android with user 0 is ready", it is safe to launch an app from the applications menu, or Launch Waydroid In Full-Screen Mode:

(This can be run while Waydroid is running, or used to start it in full-screen mode)

6

Launch Waydroid In Full-Screen Mode

waydroid show-full-ui
7

Install and Run Android Applications

You can install Android applications with:

waydroid app install xyz.apk

This completes the setup for running Waydroid on Mecha Comet.