Fedora

Install Waydroid on Fedora 45 to Run Android Apps

Waydroid installs on Fedora 45 with one dnf command. The stock kernel already carries the binder driver Android needs, so you do not have to build a module or add a COPR. What trips people up comes after the install: Fedora’s package ships with no image download channels set, a virtual machine or an unsupported GPU gives you a black window, and a firewall reload quietly breaks DNS inside Android.

Original content from computingforgeeks.com - post 201365

Below, I cover all of it on a fresh Fedora 45 Workstation. You’ll check binder, install from the Fedora repos, pick between the Google Play image and a Google-free one, and fix each “session failed” error from the real message it prints. I went through every step again on Fedora 45 in December 2026 with Waydroid 1.6.3, the 7.3.6 kernel and the LineageOS 20 GAPPS image, and they still hold.

Check what Waydroid needs before you start

Waydroid isn’t an emulator. It runs a full Android system in an LXC container that shares your kernel, and it draws Android’s windows straight onto your Wayland compositor. That design is why it’s fast, and it’s also why it has a few hard requirements that a normal app doesn’t:

  • You need to be logged in to a Wayland session, which every Fedora 45 Workstation login already is because GNOME no longer ships an X11 session.
  • You need binder support in the kernel, which Fedora’s stock kernel provides, so you only have to check it once.
  • You should plan for about 3.5 GB of disk: the system and vendor images took 3.0 GB under /var/lib/waydroid and Android’s own data used another 345 MB in the home directory.
  • You’ll get the smoothest result on Intel or AMD graphics, while a VM or NVIDIA’s proprietary driver needs the software rendering fix covered further down.

You can confirm the Wayland part in one line with echo $XDG_SESSION_TYPE from a terminal on the desktop. It should print wayland. If you set Fedora up with a different spin, such as an X11 window manager, the troubleshooting section shows what to do instead.

Confirm binder support in the Fedora kernel

Android’s processes talk to each other over binder, so Waydroid refuses to start a container without it. On Ubuntu and some other distros you install a DKMS module for this. On Fedora you don’t, and it’s worth seeing why before you trust it:

uname -r
grep -E "BINDER|BINDERFS" /boot/config-$(uname -r)
grep binder /proc/filesystems

On the current Fedora 45 kernel the output looks like this:

7.3.6-300.fc45.x86_64
# CONFIG_ANDROID_BINDER_IPC is not set
CONFIG_ANDROID_BINDER_IPC_RUST=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
nodev	binder

Do not let the “is not set” line worry you. Fedora switched from the old C binder driver to the Rust rewrite with the 7.3 kernel line. The fresh install in this lab booted the 7.2 kernel first, where CONFIG_ANDROID_BINDER_IPC=y and CONFIG_ANDROID_BINDERFS=y did the job, and after the first update it came up on the Rust driver instead. Both are built in, not modules, and both register the binder filesystem. That last line is the one that matters: if nodev binder shows up, Waydroid has what it needs.

Terminal on Fedora 45 showing kernel 7.3.6 with the Rust binder driver built in and binderfs mounted

You won’t find the /dev/binderfs directory from that screenshot until the package is installed, because Waydroid brings the systemd mount unit that creates it. If you run ls /dev/binderfs now and get “No such file or directory”, that’s normal.

Install Waydroid from the Fedora repos

Waydroid lives in the main fedora repository, so there’s no third-party repo to add. If you haven’t refreshed the system since installing it, our Fedora 45 post-install checklist covers the update and the other first steps. Then install the package:

sudo dnf install -y waydroid

Expect a small transaction. It pulls in LXC, the gbinder libraries and an SELinux policy module, nine packages and about 6 MiB in all:

Package           Arch   Version         Repository      Size
Installing:
 waydroid         noarch 0:1.6.3-2.fc45  fedora     694.2 KiB
Installing dependencies:
 libgbinder       x86_64 0:1.1.47-2.fc45 fedora     164.4 KiB
 libglibutil      x86_64 0:1.0.82-2.fc45 fedora      86.3 KiB
 lxc              x86_64 0:7.0.0-1.fc45  fedora       1.3 MiB
 lxc-libs         x86_64 0:7.0.0-1.fc45  fedora       2.5 MiB
 lxc-templates    x86_64 0:7.0.0-1.fc45  fedora      47.8 KiB
 lxcfs            x86_64 0:7.0.0-1.fc45  fedora     200.2 KiB
 python3-gbinder  x86_64 0:1.3.0-5.fc45  fedora     475.5 KiB
 waydroid-selinux noarch 0:1.6.3-2.fc45  fedora     145.6 KiB

Transaction Summary:
 Installing:         9 packages

You don’t need to enable anything by hand afterwards. The package preset turns on waydroid-container.service and mounts binderfs straight away, and SELinux stays in enforcing mode the whole time thanks to waydroid-selinux. A quick check proves both:

systemctl is-active waydroid-container
ls /dev/binderfs
waydroid status

Read the three answers in order. You should see:

  • The service reports active, so the container manager is running.
  • The binderfs listing includes binder, hwbinder and vndbinder.
  • The status line tells you to run waydroid init, which is the next step.

On the lab machine the output was:

active
binder  binder-control  features  hwbinder  vndbinder
Waydroid is not initialized, run "waydroid init"

On Fedora Silverblue, Kinoite or another atomic variant, layer the package with rpm-ostree install waydroid and reboot instead. If you’re still choosing between those, our comparison of Bluefin, Aurora and Bazzite covers how each handles layered packages.

Choose the GApps, vanilla or microG route

You pick the Android image at init time, and switching later means reinitializing and downloading again, so it is worth deciding now. Waydroid’s -s flag picks it, and two image types actually have downloads behind them:

  • Choose GAPPS if you want the Google Play Store and apps that need Google Play services, such as most banking, messaging and game apps.
  • Choose VANILLA, the default, if you only want plain LineageOS and plan to install apps from APK files or an open source store like F-Droid.

Waydroid does not publish an official microG image. If you want apps that expect Google services without Google’s own code, you start from VANILLA and add microG with the community waydroid_script, which also installs ARM translation layers and Widevine. The script targets Android 13 by default, which matches the current LineageOS 20 images. The flag also accepts FOSS, but the official channel publishes no FOSS build right now, so init fails with “No images found” if you pick it. I went with GAPPS here, because the Play Store is what most people install Waydroid for, and it comes with a registration step you’ll want to know about.

Initialize Waydroid with the OTA channels

Here’s the first place a Fedora install differs from the upstream docs. Upstream Waydroid defaults its system and vendor channels to ota.waydro.id, but Fedora’s build leaves both empty, so the command every other guide shows fails on the spot:

sudo waydroid init -s GAPPS

Within a fraction of a second, it stops with this error:

[18:42:35] ERROR: You must provide 'System OTA' and 'Vendor OTA' URLs.

Give it the two channel URLs with -c and -v. Don’t paste these into a browser to test them first, because the bare URLs return a 404 there. Waydroid appends the image type and architecture itself:

sudo waydroid init -s GAPPS -c https://ota.waydro.id/system -v https://ota.waydro.id/vendor

Expect the system image to be about 1.2 GB and the vendor image about 190 MB, both pulled from SourceForge. On a decent connection the whole init took just under two minutes, and the log names the exact builds it fetched:

waydroid init failing without OTA URLs on Fedora 45, then downloading the GAPPS system and vendor images

Waydroid saves the resolved channel URLs into /var/lib/waydroid/waydroid.cfg, so you won’t need to pass them again for sudo waydroid upgrade. If you picked the wrong image type, rerun the same command with -f and the new -s value to overwrite the images. Android’s user data in ~/.local/share/waydroid stays, so remove that directory too if you want a clean start.

Launch Android from the GNOME desktop

Start Waydroid the way you’d start any app, from your normal desktop session rather than a root shell. Press the Super key, type waydroid into the Search field, and click the Waydroid launcher that appears:

GNOME Activities search on Fedora 45 with waydroid typed and the Waydroid launcher in the results
  1. 1Search field
  2. 2Waydroid launcher

Behind the icon, the launcher runs plain waydroid, which defaults to first-launch. That starts your user session, waits for the container and opens the full Android UI in one window. The terminal equivalent is waydroid session start in one tab and waydroid show-full-ui in another. The first boot takes a while because Android builds its caches, so give it a minute before you decide it’s stuck. When the graphics work, you land on the LineageOS home screen. This one is from the lab VM after the software rendering fix below:

LineageOS 20 Android home screen running in Waydroid full UI on a Fedora 45 GNOME desktop

If you see a black window instead, jump to the black screen fix below before you go any further. Once Android is up, every app inside it also gets a desktop entry under ~/.local/share/applications, so Android apps show up in GNOME search next to your Fedora apps. Search for store and the Google Play Store sits beside GNOME Software:

GNOME search on Fedora 45 listing the Google Play Store from Waydroid next to GNOME Software

Launching an Android app this way opens it in its own window instead of the full Android UI. For APK files you downloaded yourself, Waydroid’s command line docs list waydroid app install followed by the path to the file. You don’t have to use the GApps image for that, which is the usual route for F-Droid. If you are here because you develop Android apps, Android Studio on Fedora with its own emulator is the better tool, since Waydroid doesn’t emulate phone hardware.

Register the device so Play Store sign-in works

Out of the box, the GAPPS image boots into a Play Store that looks ready, but Google treats a fresh Waydroid install as an uncertified device. If you click Sign in right away, Google may block the account or refuse to show apps, so register the device first:

Google Play Store sign-in screen running inside Waydroid on Fedora 45

With Android still running, read the Google Services Framework ID out of its database. This is the query from Waydroid’s Play certification FAQ, changed to select * so you can see the field name, run in a terminal on the desktop:

sudo waydroid shell -- sh -c "sqlite3 /data/data/*/*/gservices.db 'select * from main where name = \"android_id\";'"

You get one line with a 19-digit number. Yours will differ; I’ve masked most of mine:

android_id|4232xxxxxxxxxxxx468

Copy the number after the pipe, open https://www.google.com/android/uncertified in Firefox on Fedora, sign in with the Google account you’ll use in Android, and paste it into the form. The FAQ says to give Google’s services a few minutes to pick up the change, so wait before you stop the session with waydroid session stop, start Waydroid again from the launcher, and only then sign in to the Play Store.

Fix the black screen in a VM or on NVIDIA

By far the most common “it doesn’t work” report is a full screen black window. The lab for this guide was a Fedora 45 VM on Proxmox with a plain virtio GPU, and that’s exactly what it showed: the GNOME top bar, then nothing:

Waydroid showing a black full screen window on Fedora 45 because the GPU cannot allocate Android buffers

waydroid status still says the session and container are RUNNING, which is what makes this confusing. The real cause is in Android’s log, which you can read with sudo waydroid logcat. The graphics allocator can’t get buffers from the GPU, so Android has nothing to draw and the window stays black:

E [minigbm:gbm_mesa_internals.cpp(366)]: Failed to allocate for scanout, trying non-scanout
E [minigbm:gbm_mesa_internals.cpp(372)]: Failed to allocate buffer
E [email protected]_gbm_mesa: Failed to create bo.

NVIDIA’s proprietary driver isn’t supported for hardware rendering either, and Waydroid’s docs apply the same fix to it. The fix from Waydroid’s VM guide switches Android to software rendering. Stop the session, then open the config file:

waydroid session stop
sudo vim /var/lib/waydroid/waydroid.cfg

Add these two lines under the existing [properties] heading at the end of the file:

ro.hardware.gralloc=default
ro.hardware.egl=swiftshader

Waydroid only reads that file when it regenerates its properties, so apply the change and restart the container:

sudo waydroid upgrade -o
sudo systemctl restart waydroid-container
sudo tail -3 /var/lib/waydroid/waydroid.cfg

The -o flag means offline, so the upgrade rewrites Android’s property file from the config without downloading anything. The tail should end with your two new lines:


ro.hardware.gralloc=default
ro.hardware.egl=swiftshader

Launch Waydroid again and the LineageOS boot animation appears, followed by the home screen you saw earlier. SwiftShader renders on the CPU, so scrolling and app launches are slower and 3D games won’t be playable. Use it to get a VM or an NVIDIA laptop working, and if you have both an NVIDIA and an Intel GPU, point Waydroid at the Intel one instead. Waydroid’s known issues page links a waydroid-choose-gpu.sh script for dual GPU machines.

Fix the common “waydroid session failed” errors

Most session failures come from starting Waydroid from the wrong place rather than from a broken install. Each of these came up while building the lab, and the message tells you which one you’ve hit.

Wayland socket doesn’t exist; are you running a Wayland compositor?

Waydroid looks for the socket named in WAYLAND_DISPLAY inside your runtime directory, and if that variable is empty it guesses wayland-0 and prints a warning. When the socket isn’t there, the session gives up:

waydroid session start errors on Fedora: missing Wayland socket and the D-Bus autolaunch error under sudo

On Fedora Workstation you’ll see this from a TTY login, an SSH session without your desktop running, or an X11 window manager. Start Waydroid from a terminal inside your GNOME or KDE session instead. Running it from a TTY while you are still logged in to GNOME doesn’t always print this error: in the lab it printed WAYLAND_DISPLAY is not set, defaulting to "wayland-0" and then hung, so treat that warning as the same problem. The screenshot forces the error with a wrong WAYLAND_DISPLAY value to show the message. If you want Waydroid as its own login session, Waydroid’s docs build one around the cage kiosk compositor, which is in the Fedora repos.

Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

You’ll get the second error in the screenshot above when you run sudo waydroid session start. Root has no desktop session bus, so Waydroid cannot register its session service. The container itself runs as root through the systemd service, but the session must belong to your user. Run waydroid session start without sudo, and keep sudo for init, upgrade, shell and logcat.

Android can’t resolve hostnames after a firewall-cmd reload

Only Fedora users hit this one, and it’s sneaky because networking works at first. Fedora patches Waydroid’s network script to put the waydroid0 bridge into firewalld’s trusted zone, but only at runtime. The first time you reload firewalld, for example after opening a port, the bridge drops out of the zone and Android can’t resolve names anymore:

firewall-cmd reload dropping waydroid0 from the trusted zone and the permanent fix restoring DNS in Android

In the lab, f-droid.org still answered from a cached lookup right after the reload while www.kernel.org failed with unknown host, which is why this looks like a flaky app rather than a firewall issue. Waydroid’s networking page gives the permanent fix, which survives reloads and reboots:

sudo firewall-cmd --permanent --zone=trusted --add-interface=waydroid0
sudo firewall-cmd --reload
sudo firewall-cmd --get-zone-of-interface=waydroid0

Once the reload finishes, the last command should print trusted. Our firewalld on Fedora guide explains why runtime and permanent rules split like this, which is handy if you manage other zones by hand.

[Errno 13] Permission denied: 1 after waydroid shell

If you pipe sudo waydroid shell output into grep, or run it over ssh host 'command' without a terminal, every command ends with this error and exit code 1. The Android command still ran and its output is printed above the error. Waydroid tries to restore permissions on your standard output when the shell exits, and that fails on a pipe. In a normal terminal it doesn’t happen, so you can ignore it in scripts.

WARNING: Service manager /dev/binder has died

Waydroid’s troubleshooting page ties this to kernels without pressure stall information and tells you to boot with psi=1. Fedora’s kernel already has PSI on, and the lab VM had /proc/pressure/cpu from the first boot. If you see this on Fedora, look at a custom kernel or boot parameters you added yourself before blaming Waydroid.

Decide whether Waydroid earns its place on your desktop

Waydroid is worth keeping if you have one or two Android apps with no Linux version, such as a banking app, a smart home controller or a mobile game, and you run Fedora on Intel or AMD graphics. The images take about 3.5 GB of disk, and when the session is stopped it costs you nothing in memory, so it’s cheap to leave installed and start only when you need it. It is a weaker fit on NVIDIA laptops, where software rendering makes anything graphical slow, and for apps that check Play Integrity strictly, which may still refuse to run even after you register the device.

If gaming was the reason you came here, native Linux games and Steam’s Proton layer will serve you far better than Android builds, and our guide to gaming on Fedora 45 covers that setup. For desktop apps that simply aren’t in the Fedora repos, check Flathub before reaching for an Android build. Our older Waydroid overview covers the same tool on other distributions if you’re setting it up somewhere other than Fedora.

Keep reading

How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Fedora How to Upgrade Fedora 44 to Fedora 45 (GUI, CLI and Rollback) Things to Do After Installing Fedora 45 Workstation Fedora Things to Do After Installing Fedora 45 Workstation Install NVIDIA Drivers on Fedora 45/44 (Secure Boot, Legacy GPUs) Fedora Install NVIDIA Drivers on Fedora 45/44 (Secure Boot, Legacy GPUs) Encapsule on Fedora 45: Isolated Dev Containers vs Toolbx Containers Encapsule on Fedora 45: Isolated Dev Containers vs Toolbx Join Fedora 45 / 44 to FreeIPA: ipa-client-install, SSSD, sudo Fedora Join Fedora 45 / 44 to FreeIPA: ipa-client-install, SSSD, sudo Fedora 45 kmscon Console: Fonts, Keymaps and Reverting to fbcon Fedora Fedora 45 kmscon Console: Fonts, Keymaps and Reverting to fbcon

Leave a Comment

Press ESC to close