Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How-To install & run WayDroid on Linux (Wayland)
#1
Hey y'all

Today, I will be showing you how to successfully set up WayDroid on XeroLinux the easy-ish way. Just keep in mind that this only works under a Wayland session X11/Xorg is not currently supported nor do I know of any alternative way to get Android on that. You will also need to be on another Kernel as the default one currently does not have the necessary modules to load WayDroid. Recommended one by the devs is Linux-Zen

[Image: jHtPVWg.png]

So without any further delay here's how to get it.

- Install GUI app and its service :

Those are usually only available on the AUR but I have built them so you do not have to and hosted them on my repo. To grab them just do
sudo pacman -S linux-zen linux-zen-headers binder_linux-dkms lzip waydroid waydroid-settings-git

Once that's done you will need to enable the Waydroid-Container service, to do so please run this command ...
sudo systemctl enable --now waydroid-container

- Download the images :

Now, with main steps over, time to download the appropriate images. As of this post latest available ones are from January 30th 2023, a bit old if you ask me but you will be able to upgrade them at a later point. Ok, sow find the GUI app in the AppMenu and launch it.

[Image: eZYr2gX.png]

Now from the drop-down select GAPPS to grab a version with support for GoolePlay Services and wait for it to download, as image is almost 900mb in size. Let it do its thing. After that and BEFORE you run the image you will need to sign device with Google so you are able to sign in and start installing apps, so do that you will have to follow next step.

- Sign your WayDroid image :

I do not know why but for me this was a necessary step so am showing you how to do it, it's a bit technical but easy to grasp, lol. Now here's what you will need to do. I grabbed those steps from This Github. You might an error, just ignore it and do all following steps.

git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
python3 -m venv venv
venv/bin/pip install -r requirements.txt
sudo venv/bin/python3 main.py

Install OpenGapps

Select Android 11 for version, then select the "Install" option after that select what you need, since this is not a "Root" guide just select GApps, SmartLock & Widevine using "space" to toggle choice.

[Image: lGjlwQG.png]

[Image: OdYJ1vO.png]

Get Android ID for device registration

[Image: p457QEW.png]

Re-run the main.py script selecting Abdroid 11, only this time select the Get Google Device ID to Get Certified option then click This Link and enter the resulting code verify captcha and wait between 10 to 20 minutes before starting WayDroid.

Then launch waydroid with:
waydroid show-full-ui

To upgrade image :
sudo waydroid upgrade

And go through the usual Android setup guide and have fun !

- Extra fluff

You can do more with WayDroid-Settings app, like enabling multi-window apps, increase resolution, disable on screen keyboard etc.. here's image...

[Image: snvPw0m.png]

Now if you want to "Root" that instance of WayDroid you can do so with Magisk, but I won't be showing you that here. Instead I will link you to the section of the guide over on Github

Also if you want to sideload some APKs or play with the Android Shell you can do it via
waydroid app install $path_to_apk
waydroid shell

My Setup so far

[Image: 54wMjG0.png]

[Image: KqTCKWK.png]

For more information check the WayDroid ArchWiki
~ XeroLinux Maintainer ~
I do try to help where I can, when I can.
I do this on my own, so I might not have all the answers.
[Image: K7U76Mv.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Video How to install Vanilla Arch with ArchInstall (Jan 2024) DarkXero 4 334 02-26-2024, 05:32 PM
Last Post: DarkXero
  How to install and use yay/paru AUR helpers for Arch Linux DarkXero 2 626 02-15-2024, 01:16 PM
Last Post: DarkXero
  Archfi Install Script + Hyprland Setup Tutorial (sept 2023) ATH-Linux 0 39 02-15-2024, 01:08 AM
Last Post: ATH-Linux
Information How-To install GPU Drivers for best experience DarkXero 0 1,367 01-20-2024, 03:09 PM
Last Post: DarkXero
  Share Window/Screen on KDE Wayland The right way DarkXero 0 777 12-03-2023, 10:44 PM
Last Post: DarkXero
Video vmlinuz-linux not found issue ? How to fix DarkXero 0 2,107 03-29-2022, 11:43 AM
Last Post: DarkXero
Information Convert Virtualbox VMs on KVM In Linux DarkXero 0 965 12-28-2021, 12:40 AM
Last Post: DarkXero
Video [Video] Connect iPhone to Linux with KDE-Connect DarkXero 0 1,105 11-26-2021, 12:36 AM
Last Post: DarkXero
Information How To Downgrade A Package In Arch Linux DarkXero 0 2,456 11-24-2021, 01:54 PM
Last Post: DarkXero
Video [Video] Recover deleted files in Linux hxz 0 1,019 11-23-2021, 10:56 PM
Last Post: hxz

Forum Jump:


Users browsing this thread: 1 Guest(s)