Hello,
I bought a xz2c, and I tried to install waydroid, but it doesn’t start, the logfile shows this:
[waydroid-sensors-daemon] Got plugin_string pressuresensor
[waydroid-sensors-daemon] Got plugin_interface local.PressureSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/pressuresensor
(007027) [07:32:31] % mount -o bind /vendor/lib/egl /var/lib/waydroid/rootfs/vendor/lib/egl
(007027) [07:32:31] % mount -o bind /vendor/lib64/egl /var/lib/waydroid/rootfs/vendor/lib64/egl
[waydroid-sensors-daemon] Got new plugin for proximitysensor with pid 8307 and session 26
[waydroid-sensors-daemon] Got plugin_string proximitysensor
[waydroid-sensors-daemon] Got plugin_interface local.ProximitySensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/proximitysensor
(007027) [07:32:31] % mount -o bind /odm /var/lib/waydroid/rootfs/odm_extra
[waydroid-sensors-daemon] Got new plugin for stepcountersensor with pid 8307 and session 27
[waydroid-sensors-daemon] Got plugin_string stepcountersensor
[waydroid-sensors-daemon] Got plugin_interface local.StepCounterSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/stepcountersensor
(007027) [07:32:31] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(007027) [07:32:31] % umount -l /sys/fs/cgroup/schedtune
[waydroid-sensors-daemon] Failed to create SensorfwTemperatureSensor: Could not create sensorfw backend
umount: /sys/fs/cgroup/schedtune: no mount point specified.
(007027) [07:32:31] % chmod 777 -R /dev/ashmem
(007027) [07:32:31] % chmod 777 -R /sys/kernel/debug/sync/sw_sync
(007027) [07:32:31] % chmod 777 -R /dev/dri
(007027) [07:32:31] % chmod 777 -R /dev/ion
(007027) [07:32:31] % chmod 777 -R /dev/video
(007027) [07:32:31] % chmod 777 -R /dev/video2
(007027) [07:32:31] % chmod 777 -R /dev/video1
(007027) [07:32:31] % chmod 777 -R /dev/video33
(007027) [07:32:31] % chmod 777 -R /dev/video32
(007027) [07:32:31] % chmod 777 -R /dev/video0
(007027) [07:32:31] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(007027) [07:32:31] New background process: pid=8361, 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 "vethfk7s7n" 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
(007027) [07:32:31] waiting 10 seconds for container to start...
(008118) [07:32:31] waiting 9 seconds for container to start...
(007027) [07:32:32] waiting 9 seconds for container to start...
(008118) [07:32:32] waiting 8 seconds for container to start...
(007027) [07:32:33] waiting 8 seconds for container to start...
(008118) [07:32:33] waiting 7 seconds for container to start...
(007027) [07:32:34] waiting 7 seconds for container to start...
(008118) [07:32:34] waiting 6 seconds for container to start...
(007027) [07:32:35] waiting 6 seconds for container to start...
(008118) [07:32:35] waiting 5 seconds for container to start...
(007027) [07:32:36] waiting 5 seconds for container to start...
(008118) [07:32:36] waiting 4 seconds for container to start...
(007027) [07:32:37] waiting 4 seconds for container to start...
(008118) [07:32:37] waiting 3 seconds for container to start...
(007027) [07:32:38] waiting 3 seconds for container to start...
(008118) [07:32:38] waiting 2 seconds for container to start...
(007027) [07:32:39] waiting 2 seconds for container to start...
(008118) [07:32:39] waiting 1 seconds for container to start...
(007027) [07:32:40] waiting 1 seconds for container to start...
(008400) [07:32:40] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(008400) [07:32:40] *** output passed to waydroid stdout, not to this log ***
(008118) [07:32:40] ERROR: container failed to start
(008118) [07:32:40] See also: <https://github.com/waydroid>
(008118) [07:32:40] Traceback (most recent call last):
File "/opt/waydroid/tools/__init__.py", line 69, in main
actions.container_manager.start(args)
File "/opt/waydroid/tools/actions/container_manager.py", line 163, in start
raise OSError("container failed to start")
OSError: container failed to start
(007027) [07:32:41] ERROR: container failed to start
(007027) [07:32:41] See also: <https://github.com/waydroid>
(007027) [07:32:41] Traceback (most recent call last):
File "/opt/waydroid/tools/__init__.py", line 69, in main
actions.container_manager.start(args)
File "/opt/waydroid/tools/actions/container_manager.py", line 163, in start
raise OSError("container failed to start")
OSError: container failed to start
If I go to the configuration (/var/lib/waydroid/lxc/waydroid/config) and comment the network bridge I’ve the lxc shows this error, but android does something, with logcat I’ve got that is tring to launch lineagelauncher but is complaining video screen width is 0,
Waydroid log is the following:
(010035) [07:37:44] % chmod 666 -R /dev/puddlejumper
(010035) [07:37:44] % chmod 666 -R /dev/vndpuddlejumper
(010035) [07:37:44] % chmod 666 -R /dev/hwpuddlejumper
(010035) [07:37:44] Container manager is waiting for session to load
(010035) [07:37:44] % /opt/waydroid/data/scripts/waydroid-net.sh start
dnsmasq: failed to create listening socket for 192.168.250.1: Address already in use
Failed to setup waydroid-net.
Failed to setup waydroid-net.
(010035) [07:37:44] % waydroid-sensord /dev/hwpuddlejumper
(010035) [07:37:44] New background process: pid=10089, output=background
(010035) [07:37:44] % umount /home/waydroid/rootfs/vendor/waydroid.prop
(010035) [07:37:44] % umount /home/waydroid/rootfs/vendor/lib64/egl
(010035) [07:37:44] % umount /home/waydroid/rootfs/vendor/lib/egl
[waydroid-sensors-daemon] Got new plugin for accelerometersensor with pid 10089 and session 28
[waydroid-sensors-daemon] Got plugin_string accelerometersensor
[waydroid-sensors-daemon] Got plugin_interface local.AccelerometerSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/accelerometersensor
(010035) [07:37:44] % umount /home/waydroid/rootfs/vendor
[waydroid-sensors-daemon] Got new plugin for gyroscopesensor with pid 10089 and session 29
[waydroid-sensors-daemon] Got plugin_string gyroscopesensor
[waydroid-sensors-daemon] Got plugin_interface local.GyroscopeSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/gyroscopesensor
(010035) [07:37:44] % umount /home/waydroid/rootfs/odm_extra
[waydroid-sensors-daemon] Failed to create SensorfwHumiditySensor: Could not create sensorfw backend
(010035) [07:37:44] % umount /home/waydroid/rootfs
(010035) [07:37:44] % mount /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
[waydroid-sensors-daemon] Got new plugin for alssensor with pid 10089 and session 30
[waydroid-sensors-daemon] Got plugin_string alssensor
[waydroid-sensors-daemon] Got plugin_interface local.ALSSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/alssensor
[waydroid-sensors-daemon] Got new plugin for magnetometersensor with pid 10089 and session 31
[waydroid-sensors-daemon] Got plugin_string magnetometersensor
[waydroid-sensors-daemon] Got plugin_interface local.MagnetometerSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/magnetometersensor
[waydroid-sensors-daemon] Got new plugin for orientationsensor with pid 10089 and session 32
[waydroid-sensors-daemon] Got plugin_string orientationsensor
[waydroid-sensors-daemon] Got plugin_interface local.OrientationSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/orientationsensor
(010035) [07:37:45] % mount -o remount,ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
[waydroid-sensors-daemon] Got new plugin for pressuresensor with pid 10089 and session 33
[waydroid-sensors-daemon] Got plugin_string pressuresensor
[waydroid-sensors-daemon] Got plugin_interface local.PressureSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/pressuresensor
(010035) [07:37:45] % mount /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
[waydroid-sensors-daemon] Got new plugin for proximitysensor with pid 10089 and session 34
[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] Got new plugin for stepcountersensor with pid 10089 and session 35
[waydroid-sensors-daemon] Got plugin_string stepcountersensor
[waydroid-sensors-daemon] Got plugin_interface local.StepCounterSensor
[waydroid-sensors-daemon] Got plugin_path /SensorManager/stepcountersensor
(010035) [07:37:45] % mount -o remount,ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
[waydroid-sensors-daemon] Failed to create SensorfwTemperatureSensor: Could not create sensorfw backend
(010035) [07:37:45] % mount -o bind /vendor/lib/egl /var/lib/waydroid/rootfs/vendor/lib/egl
(010035) [07:37:45] % mount -o bind /vendor/lib64/egl /var/lib/waydroid/rootfs/vendor/lib64/egl
(010035) [07:37:45] % mount -o bind /odm /var/lib/waydroid/rootfs/odm_extra
(010035) [07:37:45] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(010035) [07:37:45] % umount -l /sys/fs/cgroup/schedtune
umount: /sys/fs/cgroup/schedtune: no mount point specified.
(010035) [07:37:45] % chmod 777 -R /dev/ashmem
(010035) [07:37:45] % chmod 777 -R /sys/kernel/debug/sync/sw_sync
(010035) [07:37:45] % chmod 777 -R /dev/dri
(010035) [07:37:45] % chmod 777 -R /dev/ion
(010035) [07:37:45] % chmod 777 -R /dev/video
(010035) [07:37:45] % chmod 777 -R /dev/video2
(010035) [07:37:45] % chmod 777 -R /dev/video1
(010035) [07:37:45] % chmod 777 -R /dev/video33
(010035) [07:37:45] % chmod 777 -R /dev/video32
(010035) [07:37:45] % chmod 777 -R /dev/video0
(010035) [07:37:45] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(010035) [07:37:45] New background process: pid=10142, output=background
lxc-start: waydroid: utils.c: lxc_can_use_pidfd: 1772 Kernel does not support pidfds
lxc-start: waydroid: utils.c: safe_mount: 1198 Not a directory - Failed to mount "/dev/video" onto "/usr/lib64/lxc/rootfs/dev/video"
lxc-start: waydroid: utils.c: open_without_symlink: 1062 Too many levels of symbolic links - vibrator in /usr/lib64/lxc/rootfs/sys/class/leds/vibrator was a symbolic link!
(010035) [07:37:45] Save session config: /var/lib/waydroid/session.cfg
(008136) [07:37:46] Failed to start Clipboard manager service, check logs
[gbinder] Service manager /dev/hwpuddlejumper has appeared
[waydroid-sensors-daemon] Waydroid Sensors HAL service ready.
[gbinder] Service manager /dev/hwpuddlejumper has appeared
[waydroid-sensors-daemon] Waydroid Sensors HAL service ready.
[waydroid-sensors-daemon] ERROR: Sensor humidity Not found!
[waydroid-sensors-daemon] ERROR: Sensor temperature Not found!
[waydroid-sensors-daemon] orientationsensor Eventloop started
and waydroid logcat is (repetition to infinite of this one):
08-24 05:39:47.923 8051 8051 I Process : Sending signal. PID: 8051 SIG: 9
08-24 05:39:47.952 217 234 I ActivityManager: Process com.android.launcher3 (pid 8051) has died: fore TOP
08-24 05:39:47.953 56 56 I Zygote : Process 8051 exited due to signal 9 (Killed)
08-24 05:39:47.955 217 247 I libprocessgroup: Successfully killed process cgroup uid 10094 pid 8051 in 0ms
08-24 05:39:47.961 217 234 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=com.android.launcher3/.lineage.LineageLauncher} from uid 0
08-24 05:39:47.978 217 239 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{46bbe27 u0 com.android.launcher3/.lineage.LineageLauncher t-1 f}
08-24 05:39:48.021 56 56 D Zygote : Forked child process 8079
08-24 05:39:48.023 217 246 I ActivityManager: Start proc 8079:com.android.launcher3/u0a94 for top-activity {com.android.launcher3/com.android.launcher3.lineage.LineageLauncher}
08-24 05:39:48.024 8079 8079 E libprocessgroup: Failed to make and chown /acct/uid_10094: Read-only file system
08-24 05:39:48.024 8079 8079 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
08-24 05:39:48.042 217 234 W OomAdjuster: Fallback pre-set sched group to default: not expected top priority
08-24 05:39:48.061 8079 8079 I droid.launcher: The ClassLoaderContext is a special shared library.
08-24 05:39:48.080 8079 8100 I droid.launcher: Starting a blocking GC Alloc
08-24 05:39:48.080 8079 8100 I droid.launcher: Starting a blocking GC Alloc
08-24 05:39:48.145 8079 8079 D Tonal : Tonal Palette - index: 7. Main color: ff5ac2c1
08-24 05:39:48.145 8079 8079 D Tonal : Colors: ff051414, ff0a2828, ff0e3d3a, ff145652, ff1c746b, ff239392, ff2ab2b1, ff5ac2c1, ff68d4db, ff81d9e1, ff9edee8, ffc7ebf2, ffe4f6f8
08-24 05:39:48.145 8079 8079 D Tonal : Gradients:
08-24 05:39:48.145 8079 8079 D Tonal : Normal GradientColors(ff5ac2c1, ff5ac2c1)
08-24 05:39:48.145 8079 8079 D Tonal : Dark GradientColors(ff145652, ff145652)
08-24 05:39:48.145 8079 8079 D Tonal : Extra dark: GradientColors(ff0e3d3a, ff0e3d3a)
08-24 05:39:48.146 8079 8079 V Launcher: LauncherAppState initiated
08-24 05:39:48.161 8079 8079 D AndroidRuntime: Shutting down VM
08-24 05:39:48.162 8079 8079 E AndroidRuntime: FATAL EXCEPTION: main
08-24 05:39:48.162 8079 8079 E AndroidRuntime: Process: com.android.launcher3, PID: 8079
08-24 05:39:48.162 8079 8079 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.launcher3/com.android.launcher3.lineage.LineageLauncher}: java.lang.IllegalArgumentException: width and height must be > 0
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: width and height must be > 0
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.graphics.Bitmap.createBitmap(Bitmap.java:1113)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.graphics.Bitmap.createBitmap(Bitmap.java:1080)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.graphics.Bitmap.createBitmap(Bitmap.java:1030)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.graphics.Bitmap.createBitmap(Bitmap.java:991)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.icons.ShadowGenerator$Builder.createPill(ShadowGenerator.java:138)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.icons.ShadowGenerator$Builder.createPill(ShadowGenerator.java:125)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.icons.DotRenderer.<init>(DotRenderer.java:57)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.DeviceProfile.<init>(DeviceProfile.java:260)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.InvariantDeviceProfile.initGrid(InvariantDeviceProfile.java:253)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.InvariantDeviceProfile.<init>(InvariantDeviceProfile.java:175)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.InvariantDeviceProfile.lambda$2ne4gU8MrKko0odxr9TWY6PNL2M(Unknown Source:2)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.-$$Lambda$InvariantDeviceProfile$2ne4gU8MrKko0odxr9TWY6PNL2M.get(Unknown Source:0)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.util.MainThreadInitializedObject.get(MainThreadInitializedObject.java:44)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.LauncherAppState.<init>(LauncherAppState.java:78)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.LauncherAppState.lambda$JvMBmz-RrjZ6p3vjqeYRe_QxTIU(Unknown Source:2)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.-$$Lambda$LauncherAppState$JvMBmz-RrjZ6p3vjqeYRe_QxTIU.get(Unknown Source:0)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.util.MainThreadInitializedObject.get(MainThreadInitializedObject.java:44)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.LauncherAppState.getInstance(LauncherAppState.java:58)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at com.android.launcher3.Launcher.onCreate(Launcher.java:320)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7834)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7823)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
08-24 05:39:48.162 8079 8079 E AndroidRuntime: ... 11 more
08-24 05:39:48.165 217 573 W ActivityTaskManager: Force finishing activity com.android.launcher3/.lineage.LineageLauncher
Somebody has any idea?
Thanks!
Jaume.