K6nele: Android TV 13: RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO

I’m trying to run K6nele 1.8.14 from F-Droid with LocalTTS rebuilt to include the Polish speech model on my Android TV 13 (Lineage) running on raspberry pi 4. LocalTTS runs fine and recognizes speech, but will not put recognized text in any text input field (out of scope of this issue). This is where K6nele comes in. LocalTTS is recognized in K6nele as Kaldi/Vosk Recognizer and I’m able to select it as the used recognition service. So far so good.

When I use the system voice recognition feature on any text field I get a weird behaviour of the K6nele voice input window - it goes into a some kind of a loop and displays “[ Insufficient permissions ]” while flickering.

Logcat contains:

01-03 19:32:36.222  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.261  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.305  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.316   555  2523 I ActivityTaskManager: START u0 {act=android.intent.action.ASSIST flg=0x13200000 cmp=ee.ioc.phon.android.speak/.activity.SpeechActionActivity (has extras)} from uid 10034
01-03 19:32:36.326   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:36.337   555  2523 V SplashScreenExceptionList: SplashScreen checking exception for package ee.ioc.phon.android.speak (target sdk:32) -> false
01-03 19:32:36.349   555   584 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10087; state: DISABLED
01-03 19:32:36.349   555   584 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10087; state: DISABLED
01-03 19:32:36.349   555   584 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10087; state: DISABLED
01-03 19:32:36.349   555   584 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10087; state: ENABLED
01-03 19:32:36.354   555   591 D CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10087; state: ENABLED
01-03 19:32:36.387   348   348 D Zygote  : Forked child process 6926
01-03 19:32:36.389   555   591 I ActivityManager: Start proc 6926:ee.ioc.phon.android.speak/u0a87 for next-top-activity {ee.ioc.phon.android.speak/ee.ioc.phon.android.speak.activity.SpeechActionActivity}
01-03 19:32:36.414  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.466  6926  6926 I Zygote  : seccomp disabled by setenforce 0
01-03 19:32:36.502  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.522  4372  4380 I adbd    : jdwp connection from 6926
01-03 19:32:36.560  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.586  6926  6926 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10087; state: ENABLED
01-03 19:32:36.585   555   555 I android.ui: type=1400 audit(0.0:1075): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
01-03 19:32:36.640  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.654  6926  6926 V GraphicsEnvironment: ANGLE Developer option for 'ee.ioc.phon.android.speak' set to: 'default'
01-03 19:32:36.654  6926  6926 V GraphicsEnvironment: ANGLE GameManagerService for ee.ioc.phon.android.speak: false
01-03 19:32:36.655  6926  6926 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
01-03 19:32:36.661  6926  6926 D NetworkSecurityConfig: No Network Security Config specified, using platform default
01-03 19:32:36.673  6926  6926 D NetworkSecurityConfig: No Network Security Config specified, using platform default
01-03 19:32:36.691  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.748  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.799  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.806  6926  6926 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10087; state: DISABLED
01-03 19:32:36.806  6926  6926 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10087; state: ENABLED
01-03 19:32:36.850  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.902  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.924   555  2523 D CoreBackPreview: Window{a1a6803 u0 ee.ioc.phon.android.speak/ee.ioc.phon.android.speak.activity.SpeechActionActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@3288db9, mPriority=0}
01-03 19:32:36.965  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:36.989  6926  6943 I DMABUFHEAPS: Using : Non-legacy ION heaps
01-03 19:32:37.001  6926  6943 I MESA    : Using IMapper v4 API
01-03 19:32:37.031  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:37.062   198   198 I hwservicemanager: getTransport: Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device VINTF manifest.
01-03 19:32:37.063  6926  6943 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
01-03 19:32:37.063  6926  6943 E OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS
01-03 19:32:37.063  6926  6943 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
01-03 19:32:37.086   323   414 D SurfaceFlinger: display resolution: 1920x1080, density: 240.000000
01-03 19:32:37.087  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:37.095   197   197 I servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
01-03 19:32:37.096  6926  6948 I Gralloc4: Adding additional valid usage bits: 0x0
01-03 19:32:37.099   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 648x455, stride: 2592, map_stride: 0
01-03 19:32:37.102   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 648x455, stride: 2592, map_stride: 0
01-03 19:32:37.107   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 648x455, stride: 2592, map_stride: 0
01-03 19:32:37.138  3610  3610 E RippleDrawable: The RippleDrawable.STYLE_PATTERNED animation is not supported for a non-hardware accelerated Canvas. Skipping animation.
01-03 19:32:37.200  6926  6943 W Parcel  : Expecting binder but got null!
01-03 19:32:37.217   555   581 I ActivityTaskManager: Displayed ee.ioc.phon.android.speak/.activity.SpeechActionActivity: +888ms
01-03 19:32:37.236   555  2523 W ActivityTaskManager: Finishing task with all activities already finished
01-03 19:32:37.236   555  2523 W ActivityTaskManager: Duplicate finish request for r=ActivityRecord{aa97aa8 u0 android/com.android.internal.app.ResolverActivity} t523 f}}
01-03 19:32:37.268   555   918 W InputManager-JNI: Input channel object '9d402ab android/com.android.internal.app.ResolverActivity (client)' was disposed without first being removed with the input manager!
01-03 19:32:37.282   555  4747 D CompatibilityChangeReporter: Compat change id reported: 214016041; UID 10087; state: DISABLED
01-03 19:32:37.285  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:37.286   555  2612 W WindowManager: Failed looking up window session=Session{a814d64 3610:1000} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5901 com.android.server.wm.Session.setOnBackInvokedCallbackInfo:943 android.view.IWindowSession$Stub.onTransact:1200 
01-03 19:32:37.286   555  2612 E WindowManager: setOnBackInvokedCallback(): No window state for package:android
01-03 19:32:37.291   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8eab0
01-03 19:32:37.292   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc90b50
01-03 19:32:37.294   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc85ff0
01-03 19:32:37.302   555   918 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:37.304   555   918 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:37.331   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8c590
01-03 19:32:37.347   555   918 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8276879)
01-03 19:32:37.418   555  2523 D CoreBackPreview: Window{28c2955 u0 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@2002c5b, mPriority=0}
01-03 19:32:37.471   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:37.473   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:37.474   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:37.498   555   581 I ActivityTaskManager: Displayed com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity: +184ms
01-03 19:32:37.538   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:37.566  6926  6926 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10087; state: ENABLED
01-03 19:32:37.639  6926  6951 D CompatibilityChangeReporter: Compat change id reported: 150939131; UID 10087; state: ENABLED
01-03 19:32:37.667  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:37.685   555  4747 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:37.687   555  4747 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:37.719   555  4747 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8307813)
01-03 19:32:37.834   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:37.880   555  4747 D CoreBackPreview: Window{28c2955 u0 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity}: Setting back callback null
01-03 19:32:37.882   555  2523 W InputManager-JNI: Input channel object '28c2955 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity (client)' was disposed without first being removed with the input manager!
01-03 19:32:37.892   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc84a90
01-03 19:32:37.895   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8bc90
01-03 19:32:37.895   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8bc90
01-03 19:32:37.895   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc89290
01-03 19:32:37.895   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc84a90
01-03 19:32:37.926   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8c4d0
01-03 19:32:37.966   753   775 W System  : A resource failed to call release. 
01-03 19:32:37.967   753   775 W System  : A resource failed to call release. 
01-03 19:32:37.969   753   775 W System  : A resource failed to call release. 
01-03 19:32:37.970   753   775 W System  : A resource failed to call release. 
01-03 19:32:38.004  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:38.011   555   918 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:38.012   555   918 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:38.023   555  1129 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8308187)
01-03 19:32:38.027   323   417 W TransactionTracing: Could not find layer id -1
01-03 19:32:38.103   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:38.147   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8b3f0
01-03 19:32:38.214  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:38.222   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:38.225   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:38.252   555  1129 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8308491)
01-03 19:32:38.338   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:38.382   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8bc90
01-03 19:32:38.455  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:38.470   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:38.475   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:38.510   555  2523 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8308725)
01-03 19:32:38.594   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:38.601   555  1129 I WindowManager: Queue is too deep! Purged item with taskid=524
01-03 19:32:38.610   323   417 W TransactionTracing: Could not find layer id -1
01-03 19:32:38.627   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8bed0
01-03 19:32:38.688  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:38.703   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:38.706   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:38.729   555  2523 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8308982)
01-03 19:32:38.801   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:38.844   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc87d90
01-03 19:32:38.921  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:38.935   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:38.938   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:38.982   555  4747 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8309195)
01-03 19:32:39.079   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:39.088   555  4747 I WindowManager: Queue is too deep! Purged item with taskid=524
01-03 19:32:39.143   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc88e70
01-03 19:32:39.212  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:39.215   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:39.217   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:39.243   555  2523 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8309452)
01-03 19:32:39.304   555   572 I system_server: NativeAlloc concurrent copying GC freed 76933(4764KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 18MB/37MB, paused 411us,631us total 496.310ms
01-03 19:32:39.319   555   574 W System  : A resource failed to call HardwareBuffer.close. 
01-03 19:32:39.324   555   574 W System  : A resource failed to call HardwareBuffer.close. 
01-03 19:32:39.329   555   574 W System  : A resource failed to call HardwareBuffer.close. 
01-03 19:32:39.330   555   574 W System  : A resource failed to call release. 
01-03 19:32:39.330   555   574 W System  : A resource failed to call release. 
01-03 19:32:39.332   555   574 W System  : A resource failed to call HardwareBuffer.close. 
01-03 19:32:39.366   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:39.374   555  1129 I WindowManager: Queue is too deep! Purged item with taskid=524
01-03 19:32:39.410   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8bc90
01-03 19:32:39.450  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:39.467   555  1129 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:39.468   555  1129 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:39.499   555   918 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8309717)
01-03 19:32:39.583   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:39.628   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc89290
01-03 19:32:39.685  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:39.698   555   918 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:39.702   555   918 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:39.746   555   918 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8309966)
01-03 19:32:39.819   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:39.833   555  4747 I WindowManager: Queue is too deep! Purged item with taskid=524
01-03 19:32:39.877   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc854b0
01-03 19:32:39.879   323   417 W TransactionTracing: Could not find layer id -1
01-03 19:32:39.929  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:39.938   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:39.944   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:39.965   323   417 W TransactionTracing: Could not find layer id -1
01-03 19:32:39.972   555  4747 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8310215)
01-03 19:32:40.049   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:40.056   555   918 I WindowManager: Queue is too deep! Purged item with taskid=524
01-03 19:32:40.160  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:40.171   555   918 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:40.173   555   918 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:40.202   555  2612 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8310438)
01-03 19:32:40.224   323   417 W TransactionTracing: Could not find layer handle 0xb400006fcbc8d310
01-03 19:32:40.233   323   417 W TransactionTracing: Could not find layer id -1
01-03 19:32:40.271   555  2612 D CoreBackPreview: Window{194d36c u0 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@36dc5ca, mPriority=0}
01-03 19:32:40.332   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:40.337   307  3976 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:40.342   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1848x1, stride: 7392, map_stride: 0
01-03 19:32:40.384   555   581 I ActivityTaskManager: Displayed com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity: +186ms
01-03 19:32:40.404  5292  5302 I ssioncontroller: Background concurrent copying GC freed 40233(1915KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 4809KB/9618KB, paused 209us,52us total 130.576ms
01-03 19:32:40.431   307   340 V [minigbm:gbm_mesa_internals.cpp(425)]: Allocated: 1920x1080, stride: 7680, map_stride: 7680
01-03 19:32:40.544  2451  2451 I RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO
01-03 19:32:40.555   555  2523 I ActivityTaskManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.permissioncontroller cmp=com.android.permissioncontroller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10087
01-03 19:32:40.563   555  2523 E CellBroadcastUtils: getDefaultCellBroadcastReceiverPackageName: no package found
01-03 19:32:40.584   555  5534 D CoreBackPreview: Window{194d36c u0 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity EXITING}: Setting back callback null
01-03 19:32:40.588   555  1129 W InputManager-JNI: Input channel object '194d36c com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity (client)' was disposed without first being removed with the input manager!
(and so on...)

What cought my attention is the line: RecognitionService: caller doesn't have permission:android.permission.RECORD_AUDIO. I checked both apps (K6nele, LocalTTS) in the Application settings for Mic permissions. I’ve also tried to manually grant the android.permission.RECORD_AUDIO to both packages, but no results. Any tips what to check or try?

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

The newest LocalSTT fork seems to be https://github.com/parolteknologio/AndroidParolRekono

I’ve tested the APK from https://github.com/parolteknologio/AndroidParolRekono/releases/tag/2022_julio and it works via Kõnele as well. 😃

Its Manifest does not export the service either, but it does contain the block:

    <queries>
        <intent>
            <action android:name="android.speech.RecognitionService" />
        </intent>
    </queries>

so perhaps this is enough.