Waydroid in Chum-AppStore doesn´t start Session

I installed Waydroid and Waydroid Runner with the Chum-AppStore.

When starting it by Icon it says “Android session finished”.
After pressing the “Start Waydroid Session” it shows “Starting Android session” for 5 seconds and fall back to “Android session finished”.

I want to try this because the Aliendalvik-Support for my X Compact is limited to Android 4.4.4.
The installer of Waydroid says its an minimal Lineage-Installation based on Android 10.

I think you need to open a terminal and type waydroid init or something like that which will download the minimal lineage installation …

[root@XperiaXCompact defaultuser]# waydroid init
[16:01:08] Failed to load binder driver
[16:01:08] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/3.10.84
[16:01:08] ERROR: Binder node “vndbinder” for waydroid not found
[16:01:08] See also: https://github.com/waydroid
Run ‘waydroid log’ for details.
[root@XperiaXCompact defaultuser]# waydroid log
(010800) [16:01:08] % modprobe binder_linux devices=“anbox-vndbinder,anbox-hwbinder”
modprobe: FATAL: Module binder_linux not found in directory /lib/modules/3.10.84
(010800) [16:01:08] Failed to load binder driver
(010800) [16:01:08] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/3.10.84
(010800) [16:01:08] ERROR: Binder node “vndbinder” for waydroid not found
(010800) [16:01:08] See also: https://github.com/waydroid
(010800) [16:01:08] Traceback (most recent call last):
File “/opt/waydroid/tools/init.py”, line 54, in main
actions.init(args)
File “/opt/waydroid/tools/actions/initializer.py”, line 85, in init
setup_config(args)
File “/opt/waydroid/tools/actions/initializer.py”, line 77, in setup_config
helpers.drivers.setupBinderNodes(args)
File “/opt/waydroid/tools/helpers/drivers.py”, line 144, in setupBinderNodes
raise OSError(‘Binder node “vndbinder” for waydroid not found’)
OSError: Binder node “vndbinder” for waydroid not found

(010809) [16:01:24] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(010809) [16:01:24] *** output passed to waydroid stdout, not to this log ***

AFAIK waydroid doesn’t work on xperia x variants, the android version is too old.

But how to uninstall it? It just goes on circles, complaining: cannot remove due to dependent package gbinderconfigmainline. if i remove it, the gbinderconfighybrid gets installed and waydroid keeps complaining about that. And vice-versa.

In Chum, that is.

It’s true that Waydroid may not/probably doesn’t work on X/Xc, but I haven’t heard of anyone confirming yet, (I did confirm that the kernel is not able to handle lxc, but not sure if it’s the same) - would be great if you try and report …

As far as the install problem, did you try this

From here - https://github.com/sailfishos-open/waydroid ?

1 Like

Just now I installed Waydroid on a Volla phone, following the instructions provided here:
Volla Phone/X SailfishOS Manual Installation | piggz.co.uk at bottom of the page.

Everything worked as expected, after the reboot Waydroid was present on the app grid. But it doesn’t start, eternally spinnung circle. After the try, WLAN network is still connected to access point but browser can’t load any webpages. Even after several reboots still the same.

After a reboot and then without trying to launch Waydroid, network OK again.

@Levone1 : Has it a chance to try what you suggested above in this case?

Check log - if that’s the error, that’s the problem…

1 Like

You have dnsmasq running with incompatible settings.

Check the Waydroid instructions. Disable dnsmasq if you don’t need it.

1 Like

Now I did what you wrote in your post #6 , forgot to restart the services but restarted the device. After this, Waydroid started !
:smiley: :smiley: :smiley:
Many many thanks!!!

edit: @Ahtisilli I have no idea if i need dnsmasq. To avoid crashing/malfunction of other apps i followed option #2 in post #6 . anyway many thanks!

Waydroid starts, shows some icons, built in browser also works (and leads immediately to G**gle homepage), but not full functional.

The logfile shows several missing services:

(007339) [18:54:33] XDG Session is not “wayland”
(007339) [18:54:33] Save session config: /var/lib/waydroid/session.cfg
(007339) [18:54:33] UserMonitor service is not even started
(007339) [18:54:33] Clipboard service is not even started
(007339) [18:54:35] Failed to start Clipboard manager service, check logs
(007530) [18:54:50] Failed to get service waydroidplatform, trying again…
Line 6 - 17 is identical…
(007530) [18:54:51] Failed to get service waydroidplatform, trying again…
(008939) [18:55:15] UserMonitor service is not even started
(008939) [18:55:15] Clipboard service is not even started
(007339) [18:55:15] UserMonitor service is not even started
(007339) [18:55:15] Clipboard service is not even started

The file ‘/var/lib/waydroid/session.cfg’ doesn’t exist. Do I have to create one?

How can I start UserMonitor service and Clipboard service?

What can I do now?

What’s not full functional?

I can’t find a way to install any apps or install apk’s I have already downloaded and stored locally.
The few preinstalled apps work.

edit: logfile still reports ‘failed to start UserMonitor service’ and ‘Clipboard service’.
Then, ‘Failed to start Clipboard manager service, check logs’, and,
8 lines ‘failed to get service waydroidplatform, trying again…’

edit: There’s another thing, too:
Since Waydroid is installed first time (yesterday), the stock browser reports ‘Server not found’ on all requests, despite internet is surely working on the Volla phone (the 2 stores, Chum + AllRadio working).

edit: I tried:
[root@VollaPhone defaultuser]# systemctl start UserMonitor
Failed to start UserMonitor.service: Unit UserMonitor.service not found.
[root@VollaPhone defaultuser]# systemctl start UserMonitor.service
Failed to start UserMonitor.service: Unit UserMonitor.service not found.
[root@VollaPhone defaultuser]# systemctl start Clipboard
Failed to start Clipboard.service: Unit Clipboard.service not found.
[root@VollaPhone defaultuser]#

but it failed.