HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

waydroid — A container-based approach to boot a full Android system on a regular Linux system like Ubuntu. More

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfullapproachwaydroidbootclibasedcontainer
linux

Problem

How to use the waydroid command: A container-based approach to boot a full Android system on a regular Linux system like Ubuntu. More information: <https://docs.waydro.id/usage/waydroid-command-line-options>.

Solution

waydroid — A container-based approach to boot a full Android system on a regular Linux system like Ubuntu. More information: <https://docs.waydro.id/usage/waydroid-command-line-options>.

Start Waydroid:
waydroid show-full-ui


Initialize Waydroid (required on first run or after reinstalling Android):
sudo waydroid init


Install a new Android app from a file:
waydroid app install {{path/to/file}}.apk


Launch an Android app by its package name:
waydroid app launch {{com.example.app}}


Start or stop the Waydroid session:
waydroid session {{start|stop}}


Manage the Waydroid container:
sudo waydroid container {{start|stop|restart|freeze|unfreeze}}


Open Waydroid shell:
sudo waydroid shell


Adjust Waydroid window dimensions:
waydroid prop set persist.waydroid.{{width|height}} {{number}}

Code Snippets

Start Waydroid

waydroid show-full-ui

Initialize Waydroid (required on first run or after reinstalling Android)

sudo waydroid init

Install a new Android app from a file

waydroid app install {{path/to/file}}.apk

Launch an Android app by its package name

waydroid app launch {{com.example.app}}

Start or stop the Waydroid session

waydroid session {{start|stop}}

Context

tldr-pages: linux/waydroid

Revisions (0)

No revisions yet.