- install waydroid package
sudo zypper addrepo https://download.opensuse.org/repositories/home:onlyJak0b:Stable:waydroid/openSUSE_Tumbleweed/home:onlyJak0b:Stable:waydroid.repo
sudo zypper refresh
sudo zypper install waydroid
- install the binder module
install the “anbox-kmp-default” package
- to avoid start failure of the “waydroid-container” service, then we need to execute as root :
ln -s /usr/lib/waydroid/dbus/id.waydro.Container.conf /usr/share/dbus-1/system.d/
ln -s /usr/lib/waydroid/dbus/id.waydro.Container.policy /usr/share/polkit-1/actions/
ln -s /usr/lib/waydroid/dbus/id.waydro.Container.service /usr/share/dbus-1/services/
dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
- If waydroid-container start fails with message : dnsmasq cannot open pid file
add in /etc/apparmor.d/local/usr.sbin.dnsmasq
@{run}/waydroid-lxc/ r,
@{run}/waydroid-lxc/* rw,
then run
sudo systemctl restart apparmor
- X11 clipboard
install the xclip package if not
- cross-paltform clipboard pyclip
. first method
sudo pip install pyclip
. second method
sudo zypper addrepo https://download.opensuse.org/repositories/home:sp1rit/openSUSE_Tumbleweed/home:sp1rit.repo
sudo zypper refresh
sudo zypper install pyclip
- wayland clipboard
install wl-clipboard package
- If you get an Intel iGPU et an Nvidia dGPU then you must set waydroid according irt uses the Intel iGPU
Run the script waydroid-choose-gpu.sh to be sure waydroid uses the iGPU intel.
- In case of a network issue and if you use the bridge “waydroid0” installed by waydroid
add the interface waydroid0 in the fire-wall
firewall-cmd --zone=trusted --add-interface=waydroid0
- If you already get a bridge
In /var/lib/waydroid/lxc/waydroid/config
replace
lxc.net.0.link = waydroid0
by
lxc.net.0.link = name_of_your_bridge
- In case of a waydroid session startup, you get the message “binder … not such file”
run
sudo ln -s /dev/binder /dev/anbox-binder
12 In case of a waydroid session startup, you get the message “[gbinder] WARNING: Service manager /dev/binder has died”
Enable PSI by default:
Add “psi=1" boot parameter to the kernel command line of your boot loader.
Launch Yast
then in chapter “system” choose the application “boot loader”
then
in the “kernel settings” tab in the field “kernel boot command”
add psi=1
then
OK
- In case of a waydroid session startup, the GUI window is not displayed
in /var/lib/waydroid/waydroid_base.prop
add
waydroid.active_apps=Waydroid
- Screen size settings
reset to default setting, this will make waydroid fullscreen
waydroid prop set persist.waydroid.width “"
waydroid prop set persist.waydroid.height “"
make portrait orientation on 1600x900 screen, 16:9 aspect ratio
width = 900 / 16 * 9 = 506.25 ~ 506
waydroid prop set persist.waydroid.width 506
to apply that changes you need to restart waydroid-container and waydroid session