About Waydroid:
Is this still necessary for the GS5?
Also, on the Waydroid Github page, it is advised to install waydroid-gbinder-config-hybris
or waydroid-gbinder-config-mainline
.
Which one is the good one for the GS5, please?
I tried the way described bo @Seven.of.nine, the way described on the Github page, modified /etc/gbinder.d
or not, I can’t get WD to start. (Really tried and read for some hours)
Here is my log:
[waydroid-sensors-daemon] Got plugin_interface local.OrientationSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/orientationsensor
[waydroid-sensors-daemon] Got new plugin for pressuresensor with pid 4473 and session 12
[waydroid-sensors-daemon] Got plugin_string pressuresensor
[waydroid-sensors-daemon] Got plugin_interface local.PressureSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/pressuresensor
[waydroid-sensors-daemon] Got new plugin for proximitysensor with pid 4473 and session 13
[waydroid-sensors-daemon] Got plugin_string proximitysensor
[waydroid-sensors-daemon] Got plugin_interface local.ProximitySensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/proximitysensor
[waydroid-sensors-daemon] Failed to create SensorfwStepcounterSensor: Could not create sensorfw backend
[waydroid-sensors-daemon] Failed to create SensorfwTemperatureSensor: Could not create sensorfw backend
(004272) [18:37:59] % mount -o remount,ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(004272) [18:37:59] % mount -o bind /vendor/lib/egl /var/lib/waydroid/rootfs/vendor/lib/egl
(004272) [18:37:59] % mount -o bind /vendor/lib64/egl /var/lib/waydroid/rootfs/vendor/lib64/egl
(004272) [18:37:59] % mount -o bind /vendor/odm /var/lib/waydroid/rootfs/odm_extra
(004272) [18:37:59] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(004272) [18:37:59] Save config: /var/lib/waydroid/waydroid.cfg
(004272) [18:37:59] % mount -o bind /home/defaultuser/.local/share/waydroid/data /var/lib/waydroid/data
(004272) [18:37:59] % chmod 777 -R /dev/ashmem
(004272) [18:37:59] % chmod 777 -R /dev/MTK_SMI
(004272) [18:37:59] % chmod 777 -R /dev/mdp_sync
(004272) [18:37:59] % chmod 777 -R /dev/mtk_cmdq
(004272) [18:37:59] % chmod 777 -R /dev/graphics
(004272) [18:37:59] % chmod 777 -R /dev/ion
(004272) [18:37:59] % chmod 777 -R /dev/fb0
(004272) [18:37:59] % chmod 777 -R /dev/video1
(004272) [18:37:59] % chmod 777 -R /dev/video0
(004272) [18:37:59] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid – /init
(004272) [18:37:59] New background process: pid=4525, output=background
lxc-start: waydroid: utils.c: lxc_can_use_pidfd: 1772 Kernel does not support pidfds
lxc-start: waydroid: network.c: netdev_configure_server_veth: 708 No such file or directory - Failed to attach “vethdHSzBl” to bridge “waydroid0”, bridge interface doesn’t exist
lxc-start: waydroid: network.c: lxc_create_network_priv: 3419 No such file or directory - Failed to create network device
lxc-start: waydroid: start.c: lxc_spawn: 1826 Failed to create the network
lxc-start: waydroid: start.c: __lxc_start: 2053 Failed to spawn container “waydroid”
lxc-start: waydroid: conf.c: run_buffer: 323 Script exited with status 126
lxc-start: waydroid: start.c: lxc_end: 996 Failed to run lxc.hook.post-stop for container “waydroid”
lxc-start: waydroid: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: waydroid: tools/lxc_start.c: main: 314 Additional information can be obtained by setting the --logfile and --logpriority options
(004272) [18:37:59] waiting 10 seconds for container to start…
(004272) [18:38:00] waiting 9 seconds for container to start…
(004272) [18:38:01] waiting 8 seconds for container to start…
(004272) [18:38:02] waiting 7 seconds for container to start…
(004272) [18:38:03] waiting 6 seconds for container to start…
(004272) [18:38:04] waiting 5 seconds for container to start…
(004272) [18:38:05] waiting 4 seconds for container to start…
(004272) [18:38:06] waiting 3 seconds for container to start…
(004272) [18:38:07] waiting 2 seconds for container to start…
(004272) [18:38:08] waiting 1 seconds for container to start…
(004272) [18:38:09] ERROR: container failed to start
(004272) [18:38:09] See also: https://github.com/waydroid
(004272) [18:38:09] Traceback (most recent call last):
File “/opt/waydroid/tools/init.py”, line 68, in main
actions.container_manager.start(args)
File “/opt/waydroid/tools/actions/container_manager.py”, line 131, in start
raise OSError(“container failed to start”)
OSError: container failed to start
(004801) [18:40:22] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(004801) [18:40:22] *** output passed to waydroid stdout, not to this log ***
Mainly, from the log, I’d say I see:
[waydroid-sensors-daemon] Failed to create SensorfwStepcounterSensor: Could not create sensorfw backend
[waydroid-sensors-daemon] Failed to create SensorfwTemperatureSensor: Could not create sensorfw backend
and
lxc-start: waydroid: utils.c: lxc_can_use_pidfd: 1772 Kernel does not support pidfds
But… well, I’m drying a bit.