Voice input (AGSA?) from Waze

Copy/paste from Reddit thread: CalyxOS became OS of choice for my elder relative (Pixel 6 pro).

Problem experienced currently is that Speech Recognition from Waze (uses AGSA) fails.

Hopes were that it will work as I've other phone (Jelly2) using MicroG as base though with some Google add-ons and same combination Speech Recognition on Waze works.

Logcat shows:

GoogleAssistantManager: failed to load assistant configuration: Failed to query AGSA value

To overcome this, "Google" and "Google Assistant" have both been installed. Effectively I don't mind adding some more of Google services if required to get Voice Input working (happy to use non-google input if such exist, though Waze is probably calling straight for Google Voice Input/AGSA).

Overall I'm not happy to add back some Google apps, though this is essential hence looking for a solution. Having it working on other phone - I know it is possible, question is how to do it?

Thanks in advance for any hints. (this might be falling also into MicroG specifics, though as it is overall on the OS, hoped to find a good knowledgeable soul here first).

Full logcat around the event:

I native  : I0000 00:00:1679564567.385146    1781 tf_lite_classifier.cc:383] Event stream classified as kNone
W spdlog  : [10:42:47.387 (world_jrzicyxf) (0x0000000) 16232 16109 warning] STAT(buffer#1) MAIN_MENU_CLICK {VAUE=VOICE_SEARCH}{TIMESTAMP_MS=1679564567387}{TIMESTAMP=1679564567}
W spdlog  :  [java:0 ()]
W spdlog  : [10:42:47.387 (world_jrzicyxf) (0x0000000) 16232 16109 warning] STAT(buffer#1) SEARCH_MENU_CLICK {ACTION=VOICE_SEARCH}{TIMESTAMP_MS=1679564567387}{TIMESTAMP=1679564567}
W spdlog  :  [java:0 ()]
I ActivityTaskManager: START u0 {cmp=com.waze/.google_assistant.SpeechRecognizerActivity (has extras)} from uid 10210

W spdlog  : [10:42:47.400 (world_jrzicyxf) (0x0000000) 16232 16109 warning] STAT(buffer#1) START_STATE_BOTTOM_BUBBLE_REMOVED {REASON|TYPE=SCREEN|WAZERS}{TIMESTAMP_MS=1679564567400}{TIMESTAMP=1679564567}
W spdlog  :  [java:0 ()]
W WAZE    : MapView onPause
D WAZE NTV RENDERER: onViewSurfaceDestroyed: [ Main Canvas ]. Event:  UISurfaceEvent. Type: CHANGED. Frame id: 1 
D WAZE NTV RENDERER: Going to run destroy event. Created: true
D WAZE NTV RENDERER: Finished to run destroy event
D WAZE NTV RENDERER: Finished onViewSurfaceDestroyed
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (2867459)
D MeasurementService: bound by: GetServiceRequest{serviceId=MEASUREMENT, gmsVersion=12451000, packageName='com.waze', extras=Bundle[{}]}
W spdlog  : [10:42:47.426 (world_jrzicyxf) (0x0000000) 16232 16109 warning] Package not found: com.google.android.apps.speechservices [:0 ()]
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
D CoreBackPreview: Window{f7a6840 u0 com.waze/com.waze.google_assistant.SpeechRecognizerActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@84758be, mPriority=0}
I ActivityTaskManager: Displayed com.waze/.google_assistant.SpeechRecognizerActivity: +62ms
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
D SafeParcel: Unknown field id 26 in com.google.android.gms.measurement.internal.AppMetadata, skipping.
D SafeParcel: Unknown field id 27 in com.google.android.gms.measurement.internal.AppMetadata, skipping.
D MeasurementService: f1(com.google.android.gms.measurement.internal.EventParcel@3a91b3b) for AppMetadata[com.waze]
D SafeParcel: Unknown field id 26 in com.google.android.gms.measurement.internal.AppMetadata, skipping.
D SafeParcel: Unknown field id 27 in com.google.android.gms.measurement.internal.AppMetadata, skipping.
D MeasurementService: f1(com.google.android.gms.measurement.internal.EventParcel@feec258) for AppMetadata[com.waze]
D MeasurementService: f10(0, null, null, com.waze)
D MeasurementService: f10(-2543787639131567294, null, SpeechRecognizerActivity, com.waze)
D GH.PhoneSysUiClient: Method is not loaded. no op and return null.
I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3302 
I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2152 repeatCheckTimes = 0, unlocked = true
I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1930 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.waze fieldId=-1 fieldName=null extras=null}, false)
I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():4116 ShouldHideHeaderOnInitialState = false
I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2152 repeatCheckTimes = 2, unlocked = true
D AssistantIntegClient: #registerClientActivity()
D AIClientCbStub: #setActivityOptional(): isMorrisVoicePlateOpened = false
D SystemUiManager: #setActivityOptional(): set new activity window = com.android.internal.policy.PhoneWindow@1f078dc
V AssistantIntegClient: #getConnectionState() - connectionState = 0
V AssistantIntegClient: #getConnectionState() - connectionState = 0
V AssistantIntegClient: #getAssistantConfig()
E spdlog  : [10:42:47.559 (world_jrzicyxf) (0x0000000) 16232 16109 error] GoogleAssistantManager: failed to load assistant configuration: Failed to query AGSA value. This is most likely caused by a Google signature check failure. Please make sure both of the AGSA app and the client app are either release or dev builds.
E spdlog  : java.lang.IllegalStateException: Failed to query AGSA value. This is most likely caused by a Google signature check failure. Please make sure both of the AGSA app and the client app are either release or dev builds.
E spdlog  : 	at com.google.android.libraries.assistant.appintegration.AssistantConfig.lambda$getCurrentAssistantConfig$0(WazeSource:11)
E spdlog  : 	at com.google.android.libraries.assistant.appintegration.AssistantConfig$$ExternalSyntheticLambda0.call(Unknown Source:2)
E spdlog  : 	at b7.k$c.call(WazeSource:2)
E spdlog  : 	at com.google.common.util.concurrent.y$a.e(Unknown Source:2)
E spdlog  : 	at com.google.common.util.concurrent.o.run(WazeSource:4)
E spdlog  : 	at com.google.common.util.concurrent.y.run(WazeSource:2)
E spdlog  : 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
E spdlog  : 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
E spdlog  : 	at java.lang.Thread.run(Thread.java:1012)
E spdlog  :  [:0 ()]

W NamedFutures: (REDACTED) Timeout future task has been cancelled: %d milliseconds
I GsaConfigFlagsSyncer: Flag sync cancelled.
W spdlog  : [10:42:47.658 (world_jrzicyxf) (0x0000000) 16232 16109 warning] STAT(buffer#1) START_STATE_BOTTOM_BUBBLE_SHOWN {TYPE=ALERTS}{TIMESTAMP_MS=1679564567658}{TIMESTAMP=1679564567}
W spdlog  :  [java:0 ()]
D ClearcutLoggerService: onBind: Intent { act=com.google.android.gms.clearcut.service.START pkg=com.google.android.gms }
D ClearcutLoggerService: bound by: GetServiceRequest{serviceId=CLEARCUT_LOGGER, gmsVersion=231108000, packageName='com.google.android.googlequicksearchbox', extras=Bundle[{}]}
D SafeParcel: Unknown field id 12 in com.google.android.gms.clearcut.LogEventParcelable, skipping.
D SafeParcel: Unknown field id 13 in com.google.android.gms.clearcut.LogEventParcelable, skipping.
I WifiService: startScan uid=10107
D LocationFuser: Received no location from org.fitchfamily.android.dejavu/.BackendService
I WifiService: startScan uid=10117
I WifiScanRequestProxy: Scan request from org.microg.nlp.backend.ichnaea throttled
E WifiService: Failed to start scan
D LocationFuser: Received no location from org.microg.nlp.backend.ichnaea/.BackendService
D LocationService: Triggered update
D BackendHelper: No change in WiFi networks
W spdlog  : [10:42:47.965 (world_jrzicyxf) (0x0000000) 16232 16109 warning] Refreshing no-login route [navigate_offline_recovery.cc:18 (refresh_route_from_server)]
D ContextHubHal: Got message from nanoapp: ID 0x476f6f676c001022
I CHRE    : @ 25183.924: [ip] Peak detected: magnitude = 0.142073 hpa, duration = 38.999998 ms
I suez-nanoapp-clients: Barometric peak detected: magnitude = 0.142073 hPa (bucket: 3), duration = 39.000000 ms (bucket: 3).
E ContextHubClientManager: Cannot send message to unregistered client (host endpoint ID = -28638)
I suez-nanoapp-clients: Vendor atom [id = 100047] reported.