HA Companion app not working in Android 8.1 (Dahua VTH5341G-W)

Hello all,

I am trying to use the minimal version to connect to my HA locally. There is no https configured (I am just using internally) and after a long search in the forum, I am not able to find the right way to set up. From the Chrome app, I am able to connect to HA with no problems.

When I open the app, I can add the address for the server, even log in (I checked that is correctly because if I add an incorrect user/pass it tells me). Just right after the log in, it tells me that there is a problem connecting with HA.

Adding also the log, in case anyone can help me!

(I can’t attach the full log because of body character limitation, hope this is useful)

Thanks!


--------- beginning of main
01-26 11:36:08.074  1631  1631 D WM-WrkMgrInitializer: Initializing WorkManager with default configuration.
01-26 11:36:09.072  1631  1636 I zygote64: Do partial code cache collection, code=15KB, data=28KB
01-26 11:36:09.072  1631  1636 I zygote64: After code cache collection, code=15KB, data=28KB
01-26 11:36:09.072  1631  1636 I zygote64: Increasing code cache capacity to 128KB
01-26 11:36:09.352  1631  1636 I zygote64: Compiler allocated 4MB to compile void kotlin.reflect.jvm.internal.impl.metadata.ProtoBuf$Class.<init>(kotlin.reflect.jvm.internal.impl.protobuf.CodedInputStream, kotlin.reflect.jvm.internal.impl.protobuf.ExtensionRegistryLite)
01-26 11:36:09.443  1631  1636 I zygote64: Do partial code cache collection, code=60KB, data=57KB
01-26 11:36:09.444  1631  1636 I zygote64: After code cache collection, code=60KB, data=57KB
01-26 11:36:09.444  1631  1636 I zygote64: Increasing code cache capacity to 256KB
01-26 11:36:09.937  1631  1636 I zygote64: Do full code cache collection, code=125KB, data=93KB
01-26 11:36:09.938  1631  1636 I zygote64: After code cache collection, code=120KB, data=64KB
01-26 11:36:09.956  1631  1636 I zygote64: Do partial code cache collection, code=120KB, data=67KB
01-26 11:36:09.957  1631  1636 I zygote64: After code cache collection, code=120KB, data=67KB
01-26 11:36:09.957  1631  1636 I zygote64: Increasing code cache capacity to 512KB
01-26 11:36:09.967  1631  1631 I zygote64: Deoptimizing java.lang.Appendable kotlin.collections.CollectionsKt___CollectionsKt.joinTo(java.lang.Iterable, java.lang.Appendable, java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence, int, java.lang.CharSequence, kotlin.jvm.functions.Function1) due to JIT inline cache
01-26 11:36:10.040  1631  1631 I WebViewFactory: Loading com.android.webview version 61.0.3163.98 (code 316409850)
01-26 11:36:10.124  1631  1631 I cr_LibraryLoader: Time to load native libraries: 5 ms (timestamps 6359-6364)
01-26 11:36:10.169  1631  1631 I chromium: [INFO:library_loader_hooks.cc(136)] Chromium logging enabled: level = 0, default verbosity = 0
01-26 11:36:10.169  1631  1631 I cr_LibraryLoader: Expected native library version number "61.0.3163.98", actual native library version number "61.0.3163.98"
01-26 11:36:10.171  1631  1631 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
01-26 11:36:10.297  1631  1662 D OpenGLRenderer: HWUI GL Pipeline
01-26 11:36:10.305  1631  1631 I Choreographer: Skipped 134 frames!  The application may be doing too much work on its main thread.
01-26 11:36:10.720  1631  1662 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 1095; [Func] : base_context_deal_with_version_affairs_rk_ext;
01-26 11:36:10.720  1631  1662 I mali_so : arm_release_ver of this mali_so is 'r12p0-01rel0', rk_so_ver is '3@0 '.
01-26 11:36:10.720  1631  1662 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 1111; [Func] : base_context_deal_with_version_affairs_rk_ext;
01-26 11:36:10.720  1631  1662 I mali_so : arm_release_vers are match. to set the full mali_ver 'r12p0-01rel0-x-3@0' as value of 'sys.gmali.version'.
01-26 11:36:10.720  1631  1631 I RenderThread: type=1400 audit(0.0:1482): avc: denied { write } for name="property_service" dev="tmpfs" ino=8370 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1
01-26 11:36:10.720  1631  1631 I RenderThread: type=1400 audit(0.0:1483): avc: denied { connectto } for path="/dev/socket/property_service" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1
01-26 11:36:10.728  1631  1662 I mali_so : [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/cmem/src/mali_cmem_hoard.c; [Line] : 559; [Func] : should_current_process_not_to_use_hoard;
01-26 11:36:10.728  1631  1662 I mali_so : WOULD use hoard.
01-26 11:36:10.740  1631  1662 I io.homeassistant.companion.android.minimal: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
01-26 11:36:10.740  1631  1662 I OpenGLRenderer: Initialized EGL, version 1.4
01-26 11:36:10.741  1631  1662 D OpenGLRenderer: Swap behavior 2
01-26 11:36:10.765  1631  1662 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
01-26 11:36:10.768  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:10.836  1631  1631 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
01-26 11:36:10.840  1631  1631 D SensorReceiver: Received intent: android.net.wifi.WIFI_STATE_CHANGED
01-26 11:36:10.842  1631  1650 W SensorReceiver: Device not registered, skipping sensor update/registration
01-26 11:36:10.842  1631  1631 D SensorReceiver: Sensor wifi_state corresponding to received event android.net.wifi.WIFI_STATE_CHANGED is disabled, skipping sensors update
01-26 11:36:10.842  1631  1631 D SensorReceiver: Received intent: android.media.RINGER_MODE_CHANGED
01-26 11:36:10.844  1631  1631 D SensorReceiver: Sensor audio_sensor corresponding to received event android.media.RINGER_MODE_CHANGED is disabled, skipping sensors update
01-26 11:36:10.884  1631  1631 I Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
01-26 11:36:10.947  1631  1662 I [Gralloc]: Got handle 1 for fd 73
01-26 11:36:10.947  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:10.947  1631  1662 I [Gralloc]: leave: prime_fd=73,share_attr_fd=74
01-26 11:36:11.194  1631  1662 I [Gralloc]: Got handle 2 for fd 78
01-26 11:36:11.194  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:11.194  1631  1662 I [Gralloc]: leave: prime_fd=78,share_attr_fd=79
01-26 11:36:11.510  1631  1631 W zygote64: Class androidx.compose.runtime.snapshots.SnapshotStateList failed lock verification and will run slower.
01-26 11:36:11.510  1631  1631 W zygote64: Common causes for lock verification issues are non-optimized dex code
01-26 11:36:11.510  1631  1631 W zygote64: and incorrect proguard optimizations.
01-26 11:36:11.948  1631  1642 I zygote64: Background concurrent copying GC freed 29873(2MB) AllocSpace objects, 3(124KB) LOS objects, 50% free, 4MB/9MB, paused 252us total 109.074ms
01-26 11:36:12.063  1631  1631 I zygote64: Deoptimizing void androidx.compose.runtime.snapshots.StateRecord.<init>() due to JIT same target
01-26 11:36:12.173  1631  1662 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
01-26 11:36:12.230  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:12.241  1631  1662 W libEGL  : EGLNativeWindowType 0x74d9d4b010 disconnect failed
01-26 11:36:12.276  1631  1648 D UrlRepository: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
01-26 11:36:12.296  1631  1631 I Choreographer: Skipped 45 frames!  The application may be doing too much work on its main thread.
01-26 11:36:12.336  1631  1673 I WM-Processor: Moving WorkSpec (fec4a107-95f4-41a2-85e5-1f045f554581) to the foreground
01-26 11:36:12.354  1631  1648 D WebSockManager: Starting to listen to Websocket
01-26 11:36:12.370  1631  1650 D UrlRepository: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
01-26 11:36:12.371  1631  1650 D UrlRepository: Using external URL
01-26 11:36:12.371  1631  1650 W WebSocketRepository: No url to connect websocket too.
01-26 11:36:12.375  1631  1650 E WebSocketRepository: Unable to send message WebSocketRequest(message={type=mobile_app/push_notification_channel, webhook_id=null, support_confirm=true}, timeout=30000, eventFlow=kotlinx.coroutines.flow.ReadonlySharedFlow@641e155, eventTimeout=0, onEvent=ArrayChannel@973076a{EmptyQueue}(buffer:capacity=64,size=0), onResponse=null)
01-26 11:36:12.376  1631  1650 E WebSocketRepository: Unable to subscribe to mobile_app/push_notification_channel with data {webhook_id=null, support_confirm=true}
01-26 11:36:12.434  1631  1662 I [Gralloc]: Got handle 1 for fd 78
01-26 11:36:12.434  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:12.434  1631  1662 I [Gralloc]: leave: prime_fd=78,share_attr_fd=79
01-26 11:36:12.716  1631  1636 I zygote64: Do full code cache collection, code=252KB, data=160KB
01-26 11:36:12.718  1631  1636 I zygote64: After code cache collection, code=209KB, data=115KB
01-26 11:36:12.722  1631  1662 I [Gralloc]: Got handle 2 for fd 81
01-26 11:36:12.722  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:12.722  1631  1662 I [Gralloc]: leave: prime_fd=81,share_attr_fd=82
01-26 11:36:12.738  1631  1631 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android.minimal/androidx.work.impl.foreground.SystemForegroundService (has extras) }
01-26 11:36:14.481  1631  1662 I [Gralloc]: Got handle 3 for fd 84
01-26 11:36:14.481  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:14.481  1631  1662 I [Gralloc]: leave: prime_fd=84,share_attr_fd=85
01-26 11:36:14.636  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.readable(androidx.compose.runtime.snapshots.StateRecord, androidx.compose.runtime.snapshots.StateObject) due to JIT inline cache
01-26 11:36:14.762  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:14.763  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:14.764  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:14.764  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:14.765  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:14.766  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:14.768  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:14.837  1631  1681 D HomeAssistantSearcher: Service discovery started
01-26 11:36:14.933  1631  1636 I zygote64: Do partial code cache collection, code=248KB, data=169KB
01-26 11:36:14.933  1631  1636 I zygote64: After code cache collection, code=244KB, data=167KB
01-26 11:36:14.934  1631  1636 I zygote64: Increasing code cache capacity to 1024KB
01-26 11:36:15.015  1631  1681 I HomeAssistantSearcher: Service discovery found HA: name: Home, type: _home-assistant._tcp., host: null, port: 0, txtRecord: 
01-26 11:36:15.034  1631  1662 I [Gralloc]: Got handle 4 for fd 87
01-26 11:36:15.034  1631  1662 I [Gralloc]: leave, w : 1024, h : 600, format : 0x1,internal_format : 0x1, usage : 0xb00. size=2457600,pixel_stride=1024,byte_stride=4096
01-26 11:36:15.034  1631  1662 I [Gralloc]: leave: prime_fd=87,share_attr_fd=88
01-26 11:36:15.049  1631  1681 I HomeAssistantSearcher: Service resolved: name: Home, type: ._home-assistant._tcp, host: /192.168.0.30, port: 8123, txtRecord: location_name=Home!base_url=http://192.168.1.26:8123
external_url=%internal_url=http://192.168.1.26:8123%uuid=bbe41baa40d447539b286d43e46fab5eversion=2023.1.7requires_api_password=True
01-26 11:36:15.052  1631  1681 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.Snapshot androidx.compose.runtime.snapshots.Snapshot$Companion.getCurrent() due to JIT inline cache
01-26 11:36:15.053  1631  1681 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.current(androidx.compose.runtime.snapshots.StateRecord) due to JIT inline cache
01-26 11:36:15.055  1631  1681 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.Snapshot androidx.compose.runtime.snapshots.SnapshotKt.currentSnapshot() due to JIT inline cache
01-26 11:36:15.056  1631  1681 I zygote64: Deoptimizing java.lang.Object androidx.compose.runtime.SnapshotThreadLocal.get() due to JIT inline cache
01-26 11:36:15.121  1631  1681 I HomeAssistantSearcher: Service discovery found HA: name: Home, type: _home-assistant._tcp., host: null, port: 0, txtRecord: 
01-26 11:36:15.148  1631  1681 I HomeAssistantSearcher: Service resolved: name: Home, type: ._home-assistant._tcp, host: /192.168.0.30, port: 8123, txtRecord: location_name=Home!base_url=http://192.168.1.26:8123
external_url=%internal_url=http://192.168.1.26:8123%uuid=bbe41baa40d447539b286d43e46fab5eversion=2023.1.7requires_api_password=True
01-26 11:36:15.507  1631  1698 D ProfileInstaller: Installing profile for io.homeassistant.companion.android.minimal
01-26 11:36:16.904  1631  1631 I zygote64: Deoptimizing kotlinx.coroutines.internal.LockFreeLinkedListNode kotlinx.coroutines.internal.LockFreeLinkedListNode.correctPrev(kotlinx.coroutines.internal.OpDescriptor) due to JIT inline cache
01-26 11:36:16.950  1631  1681 I HomeAssistantSearcher: Discovery stopped: _home-assistant._tcp
01-26 11:36:16.956  1631  1631 I zygote64: Deoptimizing java.lang.Object androidx.compose.ui.node.NodeCoordinator.getParentData() due to JIT inline cache
01-26 11:36:16.975  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.MutableState androidx.compose.runtime.SnapshotStateKt.mutableStateOf(java.lang.Object, androidx.compose.runtime.SnapshotMutationPolicy) due to JIT inline cache
01-26 11:36:16.977  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.State androidx.compose.runtime.DynamicProvidableCompositionLocal.provided$runtime_release(java.lang.Object, androidx.compose.runtime.Composer, int) due to JIT inline cache
01-26 11:36:17.108  1631  1699 W cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.android.webview, sandboxed = true
01-26 11:36:17.116  1631  1631 I cr_BrowserStartup: Initializing chromium process, singleProcess=false
01-26 11:36:17.340  1631  1631 I android.minimal: type=1400 audit(0.0:1527): avc: denied { read } for name="vmstat" dev="proc" ino=4026531979 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=1
01-26 11:36:17.340  1631  1631 I android.minimal: type=1400 audit(0.0:1528): avc: denied { open } for path="/proc/vmstat" dev="proc" ino=4026531979 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=1
01-26 11:36:17.340  1631  1631 I android.minimal: type=1400 audit(0.0:1529): avc: denied { getattr } for path="/proc/vmstat" dev="proc" ino=4026531979 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=1
01-26 11:36:17.385  1631  1642 I zygote64: Background concurrent copying GC freed 109699(2MB) AllocSpace objects, 6(112KB) LOS objects, 50% free, 7MB/14MB, paused 329us total 288.775ms
01-26 11:36:17.579  1631  1727 W cr_CrashFileManager: /data/user/0/io.homeassistant.companion.android.minimal/cache/WebView/Crash Reports does not exist or is not a directory
01-26 11:36:17.725  1631  1631 I zygote64: Deoptimizing void kotlinx.coroutines.DispatchedTask.run() due to JIT inline cache
01-26 11:36:17.786  1631  1699 I cr_LibraryLoader: Using linker: org.chromium.base.library_loader.ModernLinker
01-26 11:36:17.894  1631  1631 I Choreographer: Skipped 61 frames!  The application may be doing too much work on its main thread.
01-26 11:36:17.897  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.newOverwritableRecord(androidx.compose.runtime.snapshots.StateRecord, androidx.compose.runtime.snapshots.StateObject) due to JIT inline cache
01-26 11:36:17.931  1631  1631 I zygote64: Deoptimizing void androidx.compose.ui.node.LayoutNodeDrawScope.draw-x_KDEd0$ui_release(androidx.compose.ui.graphics.Canvas, long, androidx.compose.ui.node.NodeCoordinator, androidx.compose.ui.node.DrawModifierNode) due to JIT inline cache
01-26 11:36:18.266  1631  1636 I zygote64: Do full code cache collection, code=507KB, data=359KB
01-26 11:36:18.268  1631  1636 I zygote64: After code cache collection, code=374KB, data=217KB
01-26 11:36:18.734  1631  1745 W VideoCapabilities: Unsupported mime video/flv
01-26 11:36:18.780  1631  1745 I VideoCapabilities: Unsupported profile 4 for video/mp4v-es
01-26 11:36:18.788  1631  1745 W cr_MediaCodecUtil: HW encoder for video/avc is not available on this device.
01-26 11:36:21.815  1631  1631 E AuthenticationFragment: onReceivedError: Status Code: -2 Description: net::ERR_ADDRESS_UNREACHABLE
01-26 11:36:22.092  1631  1662 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
01-26 11:36:22.164  1631  1631 I zygote64: Deoptimizing void androidx.compose.foundation.text.BasicTextKt.BasicText-BpD7jsM(java.lang.String, androidx.compose.ui.Modifier, androidx.compose.ui.text.TextStyle, kotlin.jvm.functions.Function1, int, boolean, int, androidx.compose.runtime.Composer, int, int) due to JIT inline cache
01-26 11:36:22.291  1631  1681 D HomeAssistantSearcher: Service discovery started
01-26 11:36:22.296  1631  1681 I HomeAssistantSearcher: Service discovery found HA: name: Home, type: _home-assistant._tcp., host: null, port: 0, txtRecord: 
01-26 11:36:22.298  1631  1681 I HomeAssistantSearcher: Service discovery found HA: name: Home, type: _home-assistant._tcp., host: null, port: 0, txtRecord: 
01-26 11:36:22.306  1631  1681 W HomeAssistantSearcher: Failed to resolve service: name: Home, type: _home-assistant._tcp., host: null, port: 0, txtRecord: , error: 3
01-26 11:36:22.321  1631  1681 I HomeAssistantSearcher: Service resolved: name: Home, type: ._home-assistant._tcp, host: /192.168.0.30, port: 8123, txtRecord: location_name=Home!base_url=http://192.168.1.26:8123
external_url=%internal_url=http://192.168.1.26:8123%uuid=bbe41baa40d447539b286d43e46fab5eversion=2023.1.7requires_api_password=True
01-26 11:36:22.508  1631  1662 I [Gralloc]: Got handle 5 for fd 145
01-26 11:36:22.509  1631  1662 I [Gralloc]: leave, w : 644, h : 254, format : 0x1,internal_format : 0x1, usage : 0xb00. size=666496,pixel_stride=656,byte_stride=2624
01-26 11:36:22.509  1631  1662 I [Gralloc]: leave: prime_fd=145,share_attr_fd=146
01-26 11:36:22.783  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.readable(androidx.compose.runtime.snapshots.StateRecord, androidx.compose.runtime.snapshots.StateObject) due to JIT inline cache
01-26 11:36:22.963  1631  1631 I Choreographer: Skipped 32 frames!  The application may be doing too much work on its main thread.
01-26 11:36:23.026  1631  1662 I [Gralloc]: Got handle 6 for fd 149
01-26 11:36:23.026  1631  1662 I [Gralloc]: leave, w : 644, h : 254, format : 0x1,internal_format : 0x1, usage : 0xb00. size=666496,pixel_stride=656,byte_stride=2624
01-26 11:36:23.026  1631  1662 I [Gralloc]: leave: prime_fd=149,share_attr_fd=150
01-26 11:36:23.360  1631  1636 I zygote64: Do partial code cache collection, code=494KB, data=342KB
01-26 11:36:23.364  1631  1636 I zygote64: After code cache collection, code=469KB, data=328KB
01-26 11:36:23.364  1631  1636 I zygote64: Increasing code cache capacity to 2MB
01-26 11:36:23.640  1631  1662 I [Gralloc]: Got handle 7 for fd 152
01-26 11:36:23.640  1631  1662 I [Gralloc]: leave, w : 644, h : 254, format : 0x1,internal_format : 0x1, usage : 0xb00. size=666496,pixel_stride=656,byte_stride=2624
01-26 11:36:23.640  1631  1662 I [Gralloc]: leave: prime_fd=152,share_attr_fd=153
01-26 11:36:23.670  1631  1662 I [Gralloc]: Got handle 8 for fd 155
01-26 11:36:23.670  1631  1662 I [Gralloc]: leave, w : 644, h : 254, format : 0x1,internal_format : 0x1, usage : 0xb00. size=666496,pixel_stride=656,byte_stride=2624
01-26 11:36:23.670  1631  1662 I [Gralloc]: leave: prime_fd=155,share_attr_fd=156
01-26 11:36:27.841  1631  1662 W libEGL  : EGLNativeWindowType 0x74d4a57010 disconnect failed
01-26 11:36:30.692  1631  1631 I zygote64: Deoptimizing void kotlinx.coroutines.CancellableContinuationImpl.<init>(kotlin.coroutines.Continuation, int) due to JIT inline cache
01-26 11:36:30.693  1631  1631 I zygote64: Deoptimizing boolean kotlinx.coroutines.AbstractCoroutine.isActive() due to JIT inline cache
01-26 11:36:30.704  1631  1631 I zygote64: Deoptimizing boolean kotlinx.coroutines.JobSupport.isActive() due to JIT inline cache
01-26 11:36:30.708  1631  1631 I zygote64: Deoptimizing kotlinx.coroutines.internal.LockFreeLinkedListNode kotlinx.coroutines.internal.LockFreeLinkedListNode.correctPrev(kotlinx.coroutines.internal.OpDescriptor) due to JIT inline cache
01-26 11:36:30.734  1631  1681 I HomeAssistantSearcher: Discovery stopped: _home-assistant._tcp
01-26 11:36:30.740  1631  1631 I zygote64: Deoptimizing java.lang.Object androidx.compose.ui.node.NodeCoordinator.getParentData() due to JIT inline cache
01-26 11:36:30.786  1631  1631 I zygote64: Deoptimizing androidx.compose.ui.Modifier androidx.compose.ui.ComposedModifierKt.composed(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function3) due to JIT inline cache
01-26 11:36:31.194  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.used(androidx.compose.runtime.snapshots.StateObject) due to JIT inline cache
01-26 11:36:31.194  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.snapshots.StateRecord androidx.compose.runtime.snapshots.SnapshotKt.newOverwritableRecord(androidx.compose.runtime.snapshots.StateRecord, androidx.compose.runtime.snapshots.StateObject) due to JIT inline cache
01-26 11:36:31.202  1631  1631 I zygote64: Deoptimizing void androidx.compose.runtime.snapshots.SnapshotStateObserver$applyObserver$1$2.invoke() due to JIT inline cache
01-26 11:36:31.243  1631  1636 I zygote64: Compiler allocated 4MB to compile void androidx.compose.foundation.layout.SpacerKt.Spacer(androidx.compose.ui.Modifier, androidx.compose.runtime.Composer, int)
01-26 11:36:31.269  1631  1631 I Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
01-26 11:36:31.270  1631  1631 I zygote64: Deoptimizing void androidx.compose.runtime.BroadcastFrameClock$FrameAwaiter.resume(long) due to JIT inline cache
01-26 11:36:31.406  1631  1631 I zygote64: Deoptimizing void androidx.compose.ui.node.LayoutNodeLayoutDelegate$MeasurePassDelegate.forEachChildAlignmentLinesOwner(kotlin.jvm.functions.Function1) due to JIT inline cache
01-26 11:36:31.500  1631  1631 I zygote64: Deoptimizing void androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.notifyInvalidatedScopes() due to JIT inline cache
01-26 11:36:32.499  1631  1636 I zygote64: Compiler allocated 5MB to compile void androidx.compose.foundation.text.CoreTextFieldKt.CoreTextField(androidx.compose.ui.text.input.TextFieldValue, kotlin.jvm.functions.Function1, androidx.compose.ui.Modifier, androidx.compose.ui.text.TextStyle, androidx.compose.ui.text.input.VisualTransformation, kotlin.jvm.functions.Function1, androidx.compose.foundation.interaction.MutableInteractionSource, androidx.compose.ui.graphics.Brush, boolean, int, androidx.compose.ui.text.input.ImeOptions, androidx.compose.foundation.text.KeyboardActions, boolean, boolean, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int, int)
01-26 11:36:32.683  1631  1636 I zygote64: Compiler allocated 5MB to compile void androidx.compose.material.TextFieldKt.TextFieldLayout(androidx.compose.ui.Modifier, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function3, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function2, boolean, float, androidx.compose.foundation.layout.PaddingValues, androidx.compose.runtime.Composer, int)
01-26 11:36:32.842  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:32.852  1631  1631 I zygote64: Deoptimizing java.lang.Object kotlinx.coroutines.channels.AbstractSendChannel.offerInternal(java.lang.Object) due to JIT inline cache
01-26 11:36:33.038  1631  1631 I zygote64: Deoptimizing java.lang.Object androidx.compose.animation.core.InfiniteAnimationPolicyKt.withInfiniteAnimationFrameNanos(kotlin.jvm.functions.Function1, kotlin.coroutines.Continuation) due to JIT inline cache
01-26 11:36:33.160  1631  1631 I zygote64: Deoptimizing androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap.TrieNode androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap.TrieNode.mutablePutAllFromOtherNodeCell(androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap.TrieNode, int, int, androidx.compose.runtime.external.kotlinx.collections.immutable.internal.DeltaCounter, androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap.PersistentHashMapBuilder) due to JIT inline cache
01-26 11:36:33.226  1631  1662 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
01-26 11:36:33.251  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:33.408  1631  1662 I [Gralloc]: Got handle 5 for fd 146
01-26 11:36:33.408  1631  1662 I [Gralloc]: leave, w : 53, h : 57, format : 0x1,internal_format : 0x1, usage : 0xb00. size=14592,pixel_stride=64,byte_stride=256
01-26 11:36:33.408  1631  1662 I [Gralloc]: leave: prime_fd=146,share_attr_fd=147
01-26 11:36:33.474  1631  1662 I [Gralloc]: Got handle 6 for fd 149
01-26 11:36:33.474  1631  1662 I [Gralloc]: leave, w : 53, h : 57, format : 0x1,internal_format : 0x1, usage : 0xb00. size=14592,pixel_stride=64,byte_stride=256
01-26 11:36:33.474  1631  1662 I [Gralloc]: leave: prime_fd=149,share_attr_fd=150
01-26 11:36:33.517  1631  1631 W RecordingIC: requestCursorUpdates is not supported
01-26 11:36:35.097  1631  1631 I zygote64: Deoptimizing void androidx.compose.ui.node.BackwardsCompatNode.updateModifierLocalProvider(androidx.compose.ui.modifier.ModifierLocalProvider) due to JIT inline cache
01-26 11:36:35.195  1631  1662 I [Gralloc]: Got handle 7 for fd 152
01-26 11:36:35.195  1631  1662 I [Gralloc]: leave, w : 53, h : 57, format : 0x1,internal_format : 0x1, usage : 0xb00. size=14592,pixel_stride=64,byte_stride=256
01-26 11:36:35.195  1631  1662 I [Gralloc]: leave: prime_fd=152,share_attr_fd=153
01-26 11:36:35.676  1631  1636 I zygote64: Do full code cache collection, code=1013KB, data=684KB
01-26 11:36:35.679  1631  1636 I zygote64: After code cache collection, code=912KB, data=540KB
01-26 11:36:36.272  1631  1662 I [Gralloc]: Got handle 8 for fd 155
01-26 11:36:36.272  1631  1662 I [Gralloc]: leave, w : 53, h : 57, format : 0x1,internal_format : 0x1, usage : 0xb00. size=14592,pixel_stride=64,byte_stride=256
01-26 11:36:36.272  1631  1662 I [Gralloc]: leave: prime_fd=155,share_attr_fd=156
01-26 11:36:37.094  1631  1631 I zygote64: Deoptimizing boolean kotlinx.coroutines.JobSupport.isActive() due to JIT inline cache
01-26 11:36:38.200  1631  1642 I zygote64: Background concurrent copying GC freed 209140(5MB) AllocSpace objects, 17(796KB) LOS objects, 49% free, 7MB/15MB, paused 128us total 127.598ms
01-26 11:36:38.429  1631  1631 I zygote64: Deoptimizing boolean androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.immutableMap.PersistentHashMap.containsKey(java.lang.Object) due to JIT inline cache
01-26 11:36:38.505  1631  1631 I zygote64: Deoptimizing boolean androidx.compose.ui.node.NodeCoordinator.isAttached() due to JIT inline cache
01-26 11:36:38.521  1631  1662 W libEGL  : EGLNativeWindowType 0x74d4b22010 disconnect failed
01-26 11:36:38.577  1631  1631 I zygote64: Deoptimizing boolean kotlinx.coroutines.AbstractCoroutine.isActive() due to JIT inline cache
01-26 11:36:39.263  1631  1636 I zygote64: Do partial code cache collection, code=1009KB, data=652KB
01-26 11:36:39.264  1631  1636 I zygote64: After code cache collection, code=1008KB, data=652KB
01-26 11:36:39.264  1631  1636 I zygote64: Increasing code cache capacity to 3MB
01-26 11:36:42.358  1631  1685 I zygote64: Deoptimizing void kotlinx.coroutines.DispatchedTask.run() due to JIT inline cache
01-26 11:36:42.358  1631  1685 D WebSockManager: Done listening to Websocket
01-26 11:36:42.359  1631  1685 I zygote64: Deoptimizing java.lang.Object kotlinx.coroutines.JobSupport.finalizeFinishingState(kotlinx.coroutines.JobSupport$Finishing, java.lang.Object) due to JIT inline cache
01-26 11:36:42.366  1631  1646 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=fec4a107-95f4-41a2-85e5-1f045f554581, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
01-26 11:36:42.379  1631  1631 I WM-SystemFgDispatcher: Stopping foreground service
01-26 11:36:42.524  1631  1636 I zygote64: Compiler allocated 4MB to compile void androidx.compose.foundation.text.CoreTextFieldKt$CoreTextField$5$1$1.invoke(androidx.compose.runtime.Composer, int)
01-26 11:36:46.011  1631  1631 I zygote64: Deoptimizing androidx.compose.ui.Modifier androidx.compose.ui.semantics.SemanticsModifierKt.semantics(androidx.compose.ui.Modifier, boolean, kotlin.jvm.functions.Function1) due to JIT inline cache
01-26 11:36:46.041  1631  1631 I zygote64: Deoptimizing kotlin.coroutines.CoroutineContext kotlinx.coroutines.CoroutineContextKt.newCoroutineContext(kotlinx.coroutines.CoroutineScope, kotlin.coroutines.CoroutineContext) due to JIT inline cache
01-26 11:36:46.042  1631  1631 I zygote64: Deoptimizing void kotlinx.coroutines.DispatchedTask.run() due to JIT inline cache
01-26 11:36:46.064  1631  1699 W cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.android.webview, sandboxed = true
01-26 11:36:46.073  1631  1631 I zygote64: Deoptimizing void androidx.compose.ui.node.BackwardsCompatNode.initializeModifier(boolean) due to JIT inline cache
01-26 11:36:46.119  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:46.122  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:46.123  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:46.124  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:46.124  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:46.125  1631  1631 D Compose Focus: Owner FocusChanged(true)
01-26 11:36:46.127  1631  1631 D Compose Focus: Owner FocusChanged(false)
01-26 11:36:46.131  1631  1631 I zygote64: Deoptimizing void androidx.compose.ui.focus.FocusModifier.onModifierLocalsUpdated(androidx.compose.ui.modifier.ModifierLocalReadScope) due to JIT inline cache
01-26 11:36:46.190  1631  1631 I zygote64: Deoptimizing boolean kotlinx.coroutines.CoroutineScopeKt.isActive(kotlinx.coroutines.CoroutineScope) due to JIT inline cache
01-26 11:36:46.593  1631  1631 I chromium: [INFO:CONSOLE(1)] "The key "viewport-fit" is not recognized and ignored.", source: http://192.168.0.30:8123/auth/authorize?response_type=code&client_id=https://home-assistant.io/android&redirect_uri=homeassistant://auth-callback (1)
01-26 11:36:46.633  1631  1631 I chromium: [INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token import", source: http://192.168.0.30:8123/auth/authorize?response_type=code&client_id=https://home-assistant.io/android&redirect_uri=homeassistant://auth-callback (1)
1 Like

your issue is that your device has an incompatible version of webview and it is severely outdated. The most compatible version of webview is the one made by Google updateable in the Play Store. You are about 50 versions behind as well.

Thank very much for your answer.

It seems that even though I update the WebView (by installing it separately as this tablet does not have Play Store), the HA app is still using the system WebView. Is there anyway to force the app to use the newer version (installed) of WebView?

Thanks

You need to set it as the default WebView how you do that varies from device to device and not all devices allow it.

Hi, I’m having the same issue. Were you able to force the usage od the news WebView?

hello.
im looking a dahua vth, and i not sure with buy, android or not android.

Someone can installa the homeassistant app in a dahua terminal?

EDIT:
Im thinking in the VTH android posibility.
Ok, the companion app not works because is to heavy for the VTH.
But…
its posible to active a button in home assistant with a http request? o something similar?.
If its posible, i can create a simple local android app with my buttons, and deploy in the dahua vth

its this a crazy idea?

EDIT2:
i reply with my progress.
The only browser that open the home asistant web interface is “brave browser”.
I download it in apkmirror, and works fine, not fast but works!!!

Hi

Have anyone tested the Full Kiosk Browser in these devices?

https://www.fully-kiosk.com/

I haven’t brought the intercom yet, but I would like to use both Kiosk and Dahua Intercom in just one device

Thanks

Has anyone figured out what is the minimum webview version?
I am currently switching over from Domoticz/Dashticz to Home Assistant/Love Lace.
I bought a cheap 2nd hand tablet, a Lenovo TB-8504F from 2017, running Android 8.1 now.
I had expected to throw the walpanel app on it and configure it quickly. However in both wallpanel and Chrome the HA login screen stays empty except for a small logo in the top. In firefox I can log in OK. I do want to get wallpanel working.

Is there a way/chance to get HA running on this device?

Regards,

Bert

we normally recommend teh latest version and to keep it up to date in the play store

Thanks dshokouhi,

I solved it meanwhile. This was on a tablet I just got today. I was confused by the fact that in developers settings there were two webview options.

  • Chrome
  • Android system webview (disabled for user xxx).

But I discovered I could update Chrome in the playstore. This solved it.

1 Like

thats correct some devices use chrome instead of webview

Solved it too on my Mini Phone T200