REPRODUCIBILITY: >75% (hard to estimate)
OS VERSION: 4.5.0.24
HARDWARE: Sony Xperia 10 III
UI LANGUAGE: Finnish
REGRESSION: Unknown
DESCRIPTION:
I’ve noticed that after a long-ish uptime (say, two weeks) Android app support doesn’t start again if it is stopped. The support has no issues starting after reboot, and no issues stopping and starting after a short uptime. (I’ll have to double check that later though.)
Edit: The current uptime is just over 29 days currently, and I stopped the app support at around 28 days 10h uptime.
I’m suspecting it’s a buggy driver or service glitching out after some uptime. This may also be not X10III-only, but I can’t tell currently.
PRECONDITIONS:
- Have Android app support installed and running
- Keep the device running for a few week
STEPS TO REPRODUCE:
- Go to Settings
- Stop Alien app support
- Start Alien app support
EXPECTED RESULT:
The service starts
ACTUAL RESULT:
The service doesn’t start, but is stuck at starting, with a spinner shown.
MODIFICATIONS:
- Patchmanager (installed but inactive)
- MicroG
ADDITIONAL INFORMATION:
There doesn’t seem to be any other issues with Android support, it functions without issues otherwise.
One thing I had to do prior to this (that was around a week ago) was restarting pulseaudio because I lost audio after prolonged uptime. Audio has worked fine since, and it may or may not be related to this issue.
I logged the attempt of starting the service when it gets stuck (cleaned up a bit).
Alien app support start attempt
-- Logs begin at Sun 2023-03-05 22:23:05 EET. --
11:46:12 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:13 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:14 lipstick[6598]: unhandled ansi sequence 'l' (2004) "?"
11:46:14 sudo[15201]: defaultuser : TTY=pts/0 ; PWD=/home/defaultuser ; USER=root ; COMMAND=/usr/bin/journalctl -xe
11:46:14 sudo[15201]: pam_systemd(sudo:session): Using 600s D-Bus method call timeout
11:46:14 sudo[15201]: pam_systemd(sudo:session): Cannot create session: Already running in a session
11:46:14 sudo[15201]: pam_unix(sudo:session): session opened for user root by (uid=100000)
11:46:14 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:15 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:16 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:17 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:18 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:19 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:20 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:21 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:22 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:23 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:24 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:25 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:26 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:27 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:28 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:29 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:30 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:31 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:32 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:33 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:34 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:35 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:36 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:37 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:38 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:39 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:40 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:41 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:42 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:43 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:44 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:45 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:46 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:47 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:48 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:49 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:50 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:51 sudo[15201]: pam_unix(sudo:session): session closed for user root
11:46:51 lipstick[6598]: unhandled ansi sequence 'h' (2004) "?"
11:46:51 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:52 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:53 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:54 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:55 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:56 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:57 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:58 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:46:59 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:00 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:01 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:02 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:03 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:04 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:05 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:06 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:07 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:08 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:09 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:10 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:11 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:11 lipstick[6598]: unhandled ansi sequence 'l' (2004) "?"
11:47:11 sudo[18725]: defaultuser : TTY=pts/0 ; PWD=/home/defaultuser ; USER=root ; COMMAND=/usr/bin/journalctl --follow --since -1min
11:47:11 sudo[18725]: pam_systemd(sudo:session): Using 600s D-Bus method call timeout
11:47:11 sudo[18725]: pam_systemd(sudo:session): Cannot create session: Already running in a session
11:47:11 sudo[18725]: pam_unix(sudo:session): session opened for user root by (uid=100000)
11:47:12 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:13 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:14 invoker[7297]: WARNING: An inactive plugin is misbehaving - tried to show a window!
11:47:14 invoker[7297]: WARNING: requestActivate() called for QQuickView(0x3b630370) which has Qt::WindowDoesNotAcceptFocus set.
11:47:14 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:15 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: Starting Alien Dalvik prepare...
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 systemd[1]: selinux: Unknown class service
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET_PATH' from environment variables for template 'env:WAYLAND_SOCKET_PATH'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET' from environment variables for template 'env:WAYLAND_SOCKET'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET_PATH' from environment variables for template 'env:WAYLAND_SOCKET_PATH'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'BINDER_DEV' from environment variables for template 'env:BINDER_DEV'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'HWBINDER_DEV' from environment variables for template 'env:HWBINDER_DEV'
11:47:15 prepare-aliendalvik.sh[19005]: Failed to read 'VNDBINDER_DEV' from environment variables for template 'env:VNDBINDER_DEV'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'persist.multisim.config' from properties for template 'prop:persist.multisim.config'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.hybris.battery.capacity' from properties for template 'prop:ro.hybris.battery.capacity'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.vendor.product.manufacturer' from properties for template 'prop:ro.vendor.product.manufacturer'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.vendor.product.model' from properties for template 'prop:ro.vendor.product.model'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.vendor.product.brand' from properties for template 'prop:ro.vendor.product.brand'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.vendor.product.name' from properties for template 'prop:ro.vendor.product.name'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ro.vendor.product.device' from properties for template 'prop:ro.vendor.product.device'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET_PATH' from environment variables for template 'env:WAYLAND_SOCKET_PATH'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET' from environment variables for template 'env:WAYLAND_SOCKET'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'WAYLAND_SOCKET_PATH' from environment variables for template 'env:WAYLAND_SOCKET_PATH'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'WIDTH' from environment variables for template 'env:WIDTH'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'HEIGHT' from environment variables for template 'env:HEIGHT'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'DEPTH' from environment variables for template 'env:DEPTH'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'DPI_X' from environment variables for template 'env:DPI_X'
11:47:16 prepare-aliendalvik.sh[19005]: Failed to read 'DPI_Y' from environment variables for template 'env:DPI_Y'
11:47:16 systemd[1]: Started Alien Dalvik prepare.
11:47:16 systemd[1]: Starting Alien Dalvik...
11:47:16 kernel: binder: 3388:3388 transaction failed 29189/-22, size 32-0 line 3103
11:47:16 systemd[6379]: selinux: Unknown class service
11:47:16 systemd[1]: selinux: Unknown class service
11:47:16 start-aliendalvik.sh[19152]: lxc-start: aliendalvik: utils.c: lxc_can_use_pidfd: 1772 Kernel does not support pidfds
11:47:16 start-aliendalvik.sh[19152]: lxc-attach: aliendalvik: af_unix.c: lxc_abstract_unix_recv_fds_iov: 318 Invalid argument - Received no file descriptors
11:47:16 start-aliendalvik.sh[19152]: lxc-attach: aliendalvik: commands.c: lxc_cmd_rsp_recv_fds: 129 Failed to receive file descriptors
11:47:16 start-aliendalvik.sh[19152]: lxc-attach: aliendalvik: attach.c: lxc_attach_run_command: 1808 No such file or directory - Failed to exec "/system/bin/getprop"
11:47:16 start-aliendalvik.sh[19152]: Supplementary services waiting for hwservicemanager...
11:47:16 kernel: new mount options do not match the existing superblock, will be ignored
11:47:17 kernel: binder: 19223:19223 transaction failed 29189/-22, size 0-0 line 3103
11:47:17 ofonod[3388]: [gbinder] Service manager /dev/hwpuddlejumper has appeared
11:47:17 start-aliendalvik.sh[19152]: lxc-attach: aliendalvik: af_unix.c: lxc_abstract_unix_recv_fds_iov: 318 Invalid argument - Received no file descriptors
11:47:17 start-aliendalvik.sh[19152]: lxc-attach: aliendalvik: commands.c: lxc_cmd_rsp_recv_fds: 129 Failed to receive file descriptors
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: Started Alien Audio Service.
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: Started Alien Keyboard Service.
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:17 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: Starting Bridge native data to Alien Dalvik...
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 invoker[19413]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:18 invoker[19413]: Failed to read 'BINDER_DEV' from environment variables for template 'env:BINDER_DEV'
11:47:18 invoker[19413]: Failed to read 'HWBINDER_DEV' from environment variables for template 'env:HWBINDER_DEV'
11:47:18 invoker[19413]: Failed to read 'APKD_PACKAGE_BLACKLIST_PATH' from environment variables for template 'env:APKD_PACKAGE_BLACKLIST_PATH'
11:47:18 invoker[19413]: Failed to read 'APKD_NOTIF_BLACKLIST_PATH' from environment variables for template 'env:APKD_NOTIF_BLACKLIST_PATH'
11:47:18 systemd[1]: selinux: Unknown permission status for class system
11:47:18 systemd[1]: selinux: Unknown class service
11:47:18 systemd[1]: selinux: Unknown class service
11:47:18 systemd[6379]: Started Bridge native data to Alien Dalvik.
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: Started Bridge native data to Alien Dalvik.
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:18 systemd[6379]: selinux: Unknown class service
11:47:19 invoker[19456]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:19 invoker[19456]: Failed to read 'BINDER_DEV' from environment variables for template 'env:BINDER_DEV'
11:47:19 invoker[19456]: Failed to read 'HWBINDER_DEV' from environment variables for template 'env:HWBINDER_DEV'
11:47:19 invoker[19456]: Failed to read 'APKD_PACKAGE_BLACKLIST_PATH' from environment variables for template 'env:APKD_PACKAGE_BLACKLIST_PATH'
11:47:19 invoker[19456]: Failed to read 'APKD_NOTIF_BLACKLIST_PATH' from environment variables for template 'env:APKD_NOTIF_BLACKLIST_PATH'
11:47:19 [19417]: [W] unknown:0 - Sensor not supported ( QCompass )
11:47:19 [19417]: [W] unknown:0 - Sensor not supported ( QAmbientLightSensor )
11:47:19 [19417]: [W] unknown:0 - Sensor not supported ( QRotationSensor )
11:47:19 systemd[1]: selinux: Unknown permission status for class system
11:47:19 systemd[1]: selinux: Unknown class service
11:47:19 systemd[1]: selinux: Unknown class service
11:47:19 invoker[19456]: Starting AlienMediaBrowserService
11:47:19 invoker[19456]: Failed to read 'ANDROID_DATA_ROOT' from environment variables for template 'env:ANDROID_DATA_ROOT'
11:47:19 invoker[19456]: Failed to read 'BINDER_DEV' from environment variables for template 'env:BINDER_DEV'
11:47:19 invoker[19456]: Failed to read 'HWBINDER_DEV' from environment variables for template 'env:HWBINDER_DEV'
11:47:19 invoker[19456]: Failed to read 'APKD_PACKAGE_BLACKLIST_PATH' from environment variables for template 'env:APKD_PACKAGE_BLACKLIST_PATH'
11:47:19 invoker[19456]: Failed to read 'APKD_NOTIF_BLACKLIST_PATH' from environment variables for template 'env:APKD_NOTIF_BLACKLIST_PATH'
11:47:19 [19417]: [D] unknown:0 - Starting bridge for "default" ("android.hardware.graphics.allocator@4.0::IAllocator", "android.hardware.graphics.allocator@3.0::IAllocator", "android.hardware.graphics.allocator@2.0::IAllocator") on /dev/hwpuddlejumper from /dev/hwbinder
11:47:19 [19417]: [D] unknown:0 - Starting bridge for "default" ("android.hardware.power@1.0::IPower") on /dev/hwpuddlejumper from /dev/hwbinder
11:47:19 droid-hal-init: Control message: Could not find 'android.hardware.graphics.allocator@2.0::IAllocator/default' for ctl.interface_start from pid: 3253 (/system/bin/hwservicemanager)
11:47:19 [19417]: [D] unknown:0 - Starting bridge for "legacy/0" ("android.hardware.camera.provider@2.4::ICameraProvider") on /dev/hwpuddlejumper from /dev/hwbinder
11:47:19 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=44 --signal=6 --name=android.hardwar disabled
11:47:19 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=42 --signal=6 --name=android.hardwar disabled
11:47:19 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=61 --signal=6 --name=android.hardwar disabled
11:47:23 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=193 --signal=6 --name=android.hardwar disabled
11:47:23 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=192 --signal=6 --name=android.hardwar disabled
11:47:23 kernel: binder: undelivered death notification, b4000075d3525060
11:47:23 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=203 --signal=6 --name=android.hardwar disabled
11:47:23 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=208 --signal=6 --name=android.hardwar disabled
11:47:24 invoker[7297]: WARNING: An inactive plugin is misbehaving - tried to show a window!
11:47:24 invoker[7297]: WARNING: requestActivate() called for QQuickView(0x3b630370) which has Qt::WindowDoesNotAcceptFocus set.
11:47:28 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=304 --signal=6 --name=android.hardwar disabled
11:47:28 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=307 --signal=6 --name=android.hardwar disabled
11:47:28 kernel: binder: undelivered death notification, b400006f27019980
11:47:28 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=311 --signal=6 --name=android.hardwar disabled
11:47:28 kernel: Core dump to |/usr/sbin/rich-core-dumper --pid=321 --signal=6 --name=android.hardwar disabled
11:47:29 toeterm[29016]: [D] unknown:0 - unknown special key: 67108864
I’m noticing a lot of binder
and selinux
errors in the logs, as well as some environment variable errors.
Restarting apkd
or re-restarting pulseaudio
doesn’t help the situation.
I’m currently hanging on to not restarting the device so I can provide extra logs, but because there’s a few banking apps that I will require soon, I will have to restart at some point.