Android

libcdsprpc.so

<uses-native-library
            android:name="libcdsprpc.so"
            android:required="false"/>

libcdsprpc.so is located in /vendor/lib64 on my Xiaomi 17 Pro.

I have to put libQnnHtpV81Stub.so inside jniLibs/arm64-v8a together with using the above libcdsprpc.so in AndroidManifest.xml to avoid the 14001 error code from deviceCreate.

https://github.com/google-ai-edge/LiteRT/blob/01113f67fba44fb9547496500c804b400a90a571/litert/kotlin/src/main/AndroidManifest.xml#L47 also uses this for QualComm NPU. It also has two lines for MTK NPU.

https://github.com/zhuqingquan/notes/blob/103d806170130164d1f918761d5c7f6f54ddb85b/%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0-%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C-%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD-AI/%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9%E5%A4%87%E5%BF%98.md#%E9%83%A8%E7%BD%B2%E5%88%B0android%E6%89%8B%E6%9C%BA%E4%B8%AD%E8%BF%90%E8%A1%8C has some explanations about libcdsprpc.so.

https://github.com/dengzii/rwkv_dart/ has a dart example about it. See also https://github.com/MollySophia/rwkv-mobile

rwkv-mobile also has examples for coreml using c++!

Read https://github.com/MollySophia/rwkv-qualcomm!

2025-11-20 09:33:13.728 27029-27029 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  ret for LD_LIBRARY_PATH: 0, :/data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr:/data/data/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files:/vendor/dsp/cdsp:/vendor/lib64:/

2025-11-20 09:33:13.728 27029-27029 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  ret for ADSP_LIBRARY_PATH: 0, ;/data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files;/vendor/dsp/cdsp;/vendor/lib/rfsa/adsp;/system/lib/rfsa/adsp;/vendor/dsp/dsp;/vendor/dsp/images;/dsp;/data/local/tmp/mv_dlc;/vendor/lib/rfsa/adsp;/vendor/dsp/cdsp;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp

2025-11-20 09:33:13.742 27029-27029 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:7565: multidsplib_env_init: libcdsprpc.so loaded



2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for ./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for ./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/cdsp/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0xd: apps_std_fopen_fd failed for /vendor/dsp/cdsp/cdsp/./libQnnHtpV81Skel.so (Permission denied)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0xd: apps_std_fopen_fd failed for /vendor/dsp/cdsp/./libQnnHtpV81Skel.so (Permission denied)
2025-11-20 09:33:13.781 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /vendor/lib/rfsa/adsp/cdsp/./libQnnHtpV81Skel.so (No such file or directory)

2025-11-20 09:33:13.789 27029-13805 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1236: Successfully opened file /vendor/lib/rfsa/adsp/./libQnnHtpV81Skel.so
file jniLibs/arm64-v8a/libQnnHtpV81Skel.so

arm64-v8a/libQnnHtpV81Skel.so: ELF 32-bit LSB shared object, QUALCOMM DSP6, version 1 (SYSV), dynamically linked, stripped

Note that it is a .so file for 32-bit operating systems. If we put it in arm64-v8a, then we need to set

// kotlin
val path = context.applicationInfo.nativeLibraryDir

// c++
setenv("ADSP_LIBRARY_PATH", path.c_str(), 1);

Otherwise, the code cannot locate where libQnnHtpV81Skel.so is and will show the following:

2025-11-20 11:35:35.292 17652-26428 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /odm/lib/rfsa/adsp/cdsp/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 11:35:35.292 17652-26428 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /odm/lib/rfsa/adsp/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 11:35:35.292 17652-26428 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /vendor/lib/rfsa/adsp//cdsp/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 11:35:35.293 17652-26429 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:223:Enabled adspmsgd with mask 8
2025-11-20 11:35:35.293 17652-26429 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  W  vendor/qcom/proprietary/adsprpc/src/log_config.c:449:file_watcher_thread: Couldn't find file com.k2fsa.sherpa.onnx.simulate.streaming.asr.farf, errno (No such file or directory) at ;/vendor/lib64/rfs/dsp;/vendor/lib/rfsa/adsp;/vendor/lib/rfsa/dsp;/vendor/dsp;
2025-11-20 11:35:35.300 17652-26428 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  D  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:369: apps_std_fopen_fd done for /vendor/lib/rfsa/adsp//./libQnnHtpV81Skel.so with fsize:8756920       fopen:7us, fstat:1us, read:7264us,       rpc_alloc:436us, mmap:496us fd 0xd9 error_code 0x0
2025-11-20 11:35:35.300 17652-26428 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1236: Successfully opened file /vendor/lib/rfsa/adsp//./libQnnHtpV81Skel.so

In the end, deviceCreate will fail with the error code 1008, which means QNN_COMMON_ERROR_INCOMPATIBLE_BINARIES:

because the required skeleton (skel) libraries are missing or can’t be loaded correctly.

To fix that, we need to set ADSP_LIBRARY_PATH.

---------------------------- PROCESS STARTED (23241) for package com.k2fsa.sherpa.onnx.simulate.streaming.asr ----------------------------
2025-11-20 12:16:30.269 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  Using CollectorTypeCC GC.
2025-11-20 12:16:30.279 23241-23241 nativeloader            com...a.onnx.simulate.streaming.asr  D  Load libframework-connectivity-tiramisu-jni.so using APEX ns com_android_tethering for caller /apex/com.android.tethering/javalib/framework-connectivity-t.jar: ok
2025-11-20 12:16:30.289 23241-27603 MiuiDownscaleImpl       com...a.onnx.simulate.streaming.asr  D  set override inverted scale : 1.0
2025-11-20 12:16:30.292 23241-23241 RENDER_TURBO            com...a.onnx.simulate.streaming.asr  I  onActivityThreadCreate not in white list, pkg=com.k2fsa.sherpa.onnx.simulate.streaming.asr, type=pandora
2025-11-20 12:16:30.292 23241-23241 CompatChangeReporter    com...a.onnx.simulate.streaming.asr  D  Compat change id reported: 242716250; UID 10462; state: ENABLED
2025-11-20 12:16:30.295 23241-27603 AppScoutStateMachine    com...a.onnx.simulate.streaming.asr  D  23241-ScoutStateMachinecreated
2025-11-20 12:16:30.305 23241-23241 ActivityThread          com...a.onnx.simulate.streaming.asr  D  setEmbeddedParam packageName=com.k2fsa.sherpa.onnx.simulate.streaming.asr processName=com.k2fsa.sherpa.onnx.simulate.streaming.asr isEmbedded=false isIsolated=false
2025-11-20 12:16:30.405 23241-23241 nativeloader            com...a.onnx.simulate.streaming.asr  D  Configuring clns-10 for other apk /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/base.apk. target_sdk_version=34, uses_libraries=libcdsprpc.so, library_path=/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64:/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr
2025-11-20 12:16:30.407 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  AssetManager2(0xb400007554411bf8) locale list changing from [] to [zh-CN]
2025-11-20 12:16:30.407 23241-23241 MiuiMonitorThread       com...a.onnx.simulate.streaming.asr  D  Shared singleton Thread for stability monitor start
2025-11-20 12:16:30.408 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag vulkan_enhance_pipeline_cache enabled
2025-11-20 12:16:30.408 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] EnhanceVkPipelineCache is enabled
2025-11-20 12:16:30.408 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag ddre enabled
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V  Currently set values for:
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V    angle_gl_driver_selection_pkgs=[]
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V    angle_gl_driver_selection_values=[]
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V  com.k2fsa.sherpa.onnx.simulate.streaming.asr is not listed in per-application setting
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V  ANGLE allowlist from config: com.dreamgames.royalmatch com.dts.freefiremax com.dxx.firenow com.gramgames.mergedragons com.ludo.king com.mojang.minecraftpe com.my.defense com.nintendo.zaka com.os.airforce com.playrix.fishdomdd.gplay io.teslatech.callbreak jp.konami.prospia net.peakgames.toonblast
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V  com.k2fsa.sherpa.onnx.simulate.streaming.asr is not listed in ANGLE allowlist or settings, returning default
2025-11-20 12:16:30.408 23241-23241 GraphicsEnvironment     com...a.onnx.simulate.streaming.asr  V  Updatable production driver is not supported on the device.
2025-11-20 12:16:30.409 23241-27747 ashmem                  com...a.onnx.simulate.streaming.asr  E  Pinning is deprecated since Android Q. Please use trim or other methods.
2025-11-20 12:16:30.410 23241-23241 ResMonitorStub          com...a.onnx.simulate.streaming.asr  D  The current process type is: third_party_app, process name is: com.k2fsa.sherpa.onnx.simulate.streaming.asr
2025-11-20 12:16:30.410 23241-27619 Perf                    com...a.onnx.simulate.streaming.asr  I  Connecting to perf service.
2025-11-20 12:16:30.410 23241-23241 MiuiAppAda...ubsControl com...a.onnx.simulate.streaming.asr  I  Feature Flag of ThirdAppOpt is turned off
2025-11-20 12:16:30.411 23241-27619 ActivityThread          com...a.onnx.simulate.streaming.asr  I  TrafficStats init done
2025-11-20 12:16:30.411 23241-27619 ForceDarkHelperStubImpl com...a.onnx.simulate.streaming.asr  I  initialize for com.k2fsa.sherpa.onnx.simulate.streaming.asr , ForceDarkOrigin
2025-11-20 12:16:30.412 23241-27619 nativeloader            com...a.onnx.simulate.streaming.asr  D  Load libforcedarkimpl.so using system ns (caller=/system_ext/framework/miui-framework.jar): ok
2025-11-20 12:16:30.412 23241-27619 HWUI                    com...a.onnx.simulate.streaming.asr  D  JNI_OnLoad success
2025-11-20 12:16:30.412 23241-27619 MiuiForceDarkConfig     com...a.onnx.simulate.streaming.asr  I  setConfig density:3.250000, mainRule:0, secondaryRule:0, tertiaryRule:0
2025-11-20 12:16:30.414 23241-27619 ActivityThread          com...a.onnx.simulate.streaming.asr  I  Miui Feature Init done
2025-11-20 12:16:30.418 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag vulkan_enhance_pipeline_cache enabled
2025-11-20 12:16:30.418 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] EnhanceVkPipelineCache is enabled
2025-11-20 12:16:30.418 23241-23241 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag ddre enabled
2025-11-20 12:16:30.418 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  D  blurUtils, initBackgroundBlurMinInterval processName(com.k2fsa.sherpa.onnx.simulate.streaming.asr), inWhiteLists(0)
2025-11-20 12:16:30.418 23241-27619 ActivityThread          com...a.onnx.simulate.streaming.asr  I  HardwareRenderer preload  done
2025-11-20 12:16:30.418 23241-27762 DisplayManager          com...a.onnx.simulate.streaming.asr  I  Choreographer implicitly registered for the refresh rate.
2025-11-20 12:16:30.421 23241-23241 MIUIAutoUIImpl          com...a.onnx.simulate.streaming.asr  D  MIUIAutoUIImpl has been initialized !!
2025-11-20 12:16:30.422 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  AssetManager2(0xb400007554424b18) locale list changing from [] to [zh-CN]
2025-11-20 12:16:30.423 23241-27762 libc                    com...a.onnx.simulate.streaming.asr  W  Access denied finding property "vendor.mivk.log.debug"
2025-11-20 12:16:30.423 23241-27762 libMiVK                 com...a.onnx.simulate.streaming.asr  D  MiVkSettings::InitDataInfo()
2025-11-20 12:16:30.423 23241-27762 vulkan                  com...a.onnx.simulate.streaming.asr  D  searching for layers in '/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64'
2025-11-20 12:16:30.423 23241-27762 vulkan                  com...a.onnx.simulate.streaming.asr  D  searching for layers in '/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/base.apk!/lib/arm64-v8a'
2025-11-20 12:16:30.428 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  ===== BEGIN DUMP OF OVERRIDDEN SETTINGS =====
2025-11-20 12:16:30.428 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  ===== END DUMP OF OVERRIDDEN SETTINGS =====
2025-11-20 12:16:30.430 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  ===== BEGIN DUMP OF OVERRIDDEN SETTINGS =====
2025-11-20 12:16:30.430 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  ===== END DUMP OF OVERRIDDEN SETTINGS =====
2025-11-20 12:16:30.432 23241-27762 qdgralloc               com...a.onnx.simulate.streaming.asr  D  Fetching IMapper5 from QtiMapper5
2025-11-20 12:16:30.435 23241-27772 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  AssetManager2(0xb400007554420fb8) locale list changing from [] to [zh-CN]
2025-11-20 12:16:30.437 23241-27762 SnapAlloc               com...a.onnx.simulate.streaming.asr  I  Graphics lib is available
2025-11-20 12:16:30.438 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  Configuring clns-11 for other apk /system_ext/app/miuisystem/miuisystem.apk. target_sdk_version=35, uses_libraries=ALL, library_path=/product/app/ContentCatcherOS3/lib/arm64:/product/app/ContentCatcherOS3/ContentCatcherOS3.apk!/lib/arm64-v8a:/system_ext/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk!/lib/arm64-v8a:/system_ext/app/miuisystem/miuisystem.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2025-11-20 12:16:30.438 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libmisys_jni.xiaomi.so:libpag.hyperos.so:libffavc.hyperos.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libmodemsmartengine_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libdiag_system.qti.so:libqape.qti.so:libqesdk_ndk_platform.qti.so:liblistenjni.qti.so:libautoui_image.xiaomi.so
2025-11-20 12:16:30.439 23241-23241 DesktopModeFlags        com...a.onnx.simulate.streaming.asr  D  Toggle override initialized to: OVERRIDE_UNSET
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  QUALCOMM build          : 008a698cf0, I622757abef
                                                                                                    Build Date              : 09/12/25
                                                                                                    Shader Compiler Version : E031.50.19.06
                                                                                                    Local Branch            : 
                                                                                                    Remote Branch           : refs/tags/AU_LINUX_ANDROID_LA.VENDOR.16.2.0.11.00.00.1195.421
                                                                                                    Remote Branch           : NONE
                                                                                                    Reconstruct Branch      : NOTHING
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  Build Config            : C P 20.0.0 AArch64
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  Driver Path             : /vendor/lib64/hw/vulkan.adreno.so
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  Driver Version          : 0842.8
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  PFP                     : 0x01510090
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  ME                      : 0x01510025
2025-11-20 12:16:30.439 23241-27762 AdrenoVK-0              com...a.onnx.simulate.streaming.asr  I  Application Name    : android framework
                                                                                                    Process Name        : com.k2fsa.sherpa.onnx.simulate.streaming.asr
                                                                                                    Application Version : 0x00000000
                                                                                                    Engine Name         : android framework
                                                                                                    Engine Version      : 0x00000000
                                                                                                    Api Version         : 0x00401000
2025-11-20 12:16:30.440 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  Configuring clns-12 for other apk /system_ext/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk. target_sdk_version=35, uses_libraries=ALL, library_path=/product/app/ContentCatcherOS3/lib/arm64:/product/app/ContentCatcherOS3/ContentCatcherOS3.apk!/lib/arm64-v8a:/system_ext/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk!/lib/arm64-v8a:/system_ext/app/miuisystem/miuisystem.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2025-11-20 12:16:30.440 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  Extending system_exposed_libraries: libbinauralrenderer_wrapper.qti.so:libhoaeffects.qti.so:libmisys_jni.xiaomi.so:libpag.hyperos.so:libffavc.hyperos.so:libxiaomi_modemdumpsdx55_jni.modem.so:libxiaomi_modemdump_jni.modem.so:libmodemsmartengine_jni.modem.so:libupdateprof.qti.so:libthermalclient.qti.so:libdiag_system.qti.so:libqape.qti.so:libqesdk_ndk_platform.qti.so:liblistenjni.qti.so:libautoui_image.xiaomi.so
2025-11-20 12:16:30.440 23241-23241 DecorView               com...a.onnx.simulate.streaming.asr  D  updateFreeformOutlineFromActivity, inFreeform=false,inFreeformWindowMode=false
2025-11-20 12:16:30.441 23241-27772 ApplicationLoaders      com...a.onnx.simulate.streaming.asr  D  Returning zygote-cached class loader: /system/framework/org.apache.http.legacy.jar
2025-11-20 12:16:30.441 23241-27772 ApplicationLoaders      com...a.onnx.simulate.streaming.asr  D  Returning zygote-cached class loader: /system_ext/framework/androidx.window.extensions.jar
2025-11-20 12:16:30.441 23241-27772 ApplicationLoaders      com...a.onnx.simulate.streaming.asr  D  Returning zygote-cached class loader: /system_ext/framework/androidx.window.sidecar.jar
2025-11-20 12:16:30.442 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  E  Archi_PipelineCache, LoadPipelineInfoFile /data/user_de/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/cache/com.android.vulkan.pipelineinfo failed
2025-11-20 12:16:30.442 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag vulkan_enhance_pipeline_cache enabled
2025-11-20 12:16:30.442 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] EnhanceVkPipelineCache is enabled
2025-11-20 12:16:30.442 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag ddre enabled
2025-11-20 12:16:30.442 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  D  [Skia] Flag vulkan_enhance_pipeline_cache enabled
2025-11-20 12:16:30.442 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  D  [Skia] EnhanceVkPipelineCache is true
2025-11-20 12:16:30.448 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  InitLlndkLibrariesProduct: libEGL.so:libGLESv1_CM.so:libGLESv2.so:libGLESv3.so:libRS.so:libandroid_net.so:libapexsupport.so:libavf.so:libbinder_ndk.so:libc.so:libcgrouprc.so:libclang_rt.asan-aarch64-android.so:libclang_rt.asan-arm-android.so:libclang_rt.hwasan-aarch64-android.so:libcom.android.tethering.connectivity_native.so:libdl.so:libft2.so:liblog.so:libm.so:libmediandk.so:libnativewindow.so:libneuralnetworks.so:libselinux.so:libsync.so:libvendorsupport.so:libvndksupport.so:libvulkan.so
2025-11-20 12:16:30.448 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  Configuring product-clns-13 for unbundled product apk /product/app/ContentCatcherOS3/ContentCatcherOS3.apk. target_sdk_version=35, uses_libraries=, library_path=/product/app/ContentCatcherOS3/lib/arm64:/product/app/ContentCatcherOS3/ContentCatcherOS3.apk!/lib/arm64-v8a:/system_ext/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk!/lib/arm64-v8a:/system_ext/app/miuisystem/miuisystem.apk!/lib/arm64-v8a:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
2025-11-20 12:16:30.449 23241-27772 nativeloader            com...a.onnx.simulate.streaming.asr  D  InitVndkspLibrariesProduct: VNDK is deprecated with product
2025-11-20 12:16:30.454 23241-23241 Activity                com...a.onnx.simulate.streaming.asr  D  Activity = ActivityInfo{61b6811 com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity}, Resume onConfigurationChanged = {1.1 460mcc1mnc [zh_CN] ldltr sw375dp w375dp h755dp 520dpi nrml long hdr widecg port uimode=14 finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1220, 2656) mAppBounds=Rect(0, 150 - 1220, 2604) mMaxBounds=Rect(0, 0 - 1220, 2656) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mInSplitScreen=false letterBoxed=false foScaled=false isSpecificEmbedded=false} s.2 fontWeightAdjustment=0/d/o themeChanged=0 themeChangedFlags=0 display=0 extraData = Bundle[{}] screenType=0/o}
2025-11-20 12:16:30.457 23241-23241 SecurityManager         com...a.onnx.simulate.streaming.asr  D  checkAccessControl flag0
2025-11-20 12:16:30.460 23241-23241 RenderLite              com...a.onnx.simulate.streaming.asr  D  trim renderNode enable: false
2025-11-20 12:16:30.462 23241-23241 FramePredict            com...a.onnx.simulate.streaming.asr  D  FramePredict init: false
2025-11-20 12:16:30.462 23241-23241 FramePredict            com...a.onnx.simulate.streaming.asr  D  init success
2025-11-20 12:16:30.463 23241-23241 MiuiCamera...redManager com...a.onnx.simulate.streaming.asr  D  java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.provider.MiuiSettings$SettingsCloudData$CloudData.getString(java.lang.String, java.lang.String)' on a null object reference
2025-11-20 12:16:30.463 23241-23241 libc                    com...a.onnx.simulate.streaming.asr  W  Access denied finding property "vendor.boostfwk.frameprefetcher"
2025-11-20 12:16:30.463 23241-23241 MI-PreRender            com...a.onnx.simulate.streaming.asr  E  init cloud whiteList failed
2025-11-20 12:16:30.464 23241-27786 FramePredict            com...a.onnx.simulate.streaming.asr  E  registerContentObserver fail
2025-11-20 12:16:30.466 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  D  MiuiProcessManagerServiceStub setSchedFifo
2025-11-20 12:16:30.466 23241-23241 MiuiProcessManagerImpl  com...a.onnx.simulate.streaming.asr  I  setSchedFifo pid:23241, mode:3
2025-11-20 12:16:30.469 23241-23241 FirstFrameSpeedUp       com...a.onnx.simulate.streaming.asr  D  bls: [com.xcj.hm.kangfuyixue]
2025-11-20 12:16:30.469 23241-23241 ViewRootImpl            com...a.onnx.simulate.streaming.asr  I  com.k2fsa.sherpa.onnx.simulate.streaming.asr/com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity use first frame acceleration
2025-11-20 12:16:30.472 23241-23241 Choreographer           com...a.onnx.simulate.streaming.asr  I  first vsync insert message into MessageQueue Head
2025-11-20 12:16:30.473 23241-23241 ComputilityLevel        com...a.onnx.simulate.streaming.asr  I  getComputilityLevel(): 6
2025-11-20 12:16:30.473 23241-23241 DecorViewImmersiveImpl  com...a.onnx.simulate.streaming.asr  D  getWindowType: 1 title:com.k2fsa.sherpa.onnx.simulate.streaming.asr/com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:30.473 23241-23241 MiuiNBIManagerImpl      com...a.onnx.simulate.streaming.asr  D  init success, pkgName=com.k2fsa.sherpa.onnx.simulate.streaming.asr mIsNBIEnable=false mDisableVersionCode=-1 mActivityRulesSize=0
2025-11-20 12:16:30.473 23241-23241 DecorViewImmersiveImpl  com...a.onnx.simulate.streaming.asr  D  isNBIEnable=false
2025-11-20 12:16:30.506 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  initViewContentFetcherClass
2025-11-20 12:16:30.506 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  getInterceptorPackageInfo
2025-11-20 12:16:30.507 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  getInitialApplication took 1ms
2025-11-20 12:16:30.507 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  packageInfo.packageName: com.miui.contentcatcher
2025-11-20 12:16:30.507 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  initViewContentFetcherClass took 1ms
2025-11-20 12:16:30.507 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  ViewContentFetcher : ViewContentFetcher
2025-11-20 12:16:30.507 23241-27772 ViewContentFactory      com...a.onnx.simulate.streaming.asr  D  createInterceptor took 1ms
2025-11-20 12:16:30.510 23241-27772 ContentCatcherManager   com...a.onnx.simulate.streaming.asr  E  failed to get ContentCatcherService.
2025-11-20 12:16:30.516 23241-27772 ContentCatcherManager   com...a.onnx.simulate.streaming.asr  E  failed to get ContentCatcherService.
2025-11-20 12:16:30.536 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : register screen QA status observer com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:30.537 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : register global collect status observer com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:30.537 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : registerUIAgentListener com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity, uid:10462
2025-11-20 12:16:30.588 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  W  Method boolean androidx.compose.runtime.snapshots.SnapshotStateList.conditionalUpdate(boolean, kotlin.jvm.functions.Function1) failed lock verification and will run slower.
                                                                                                    Common causes for lock verification issues are non-optimized dex code
                                                                                                    and incorrect proguard optimizations.
2025-11-20 12:16:30.588 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  W  Method boolean androidx.compose.runtime.snapshots.SnapshotStateList.conditionalUpdate$default(androidx.compose.runtime.snapshots.SnapshotStateList, boolean, kotlin.jvm.functions.Function1, int, java.lang.Object) failed lock verification and will run slower.
2025-11-20 12:16:30.588 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  W  Method java.lang.Object androidx.compose.runtime.snapshots.SnapshotStateList.mutate(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
2025-11-20 12:16:30.588 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  W  Method void androidx.compose.runtime.snapshots.SnapshotStateList.update(boolean, kotlin.jvm.functions.Function1) failed lock verification and will run slower.
2025-11-20 12:16:30.588 23241-23241 e.streaming.asr         com...a.onnx.simulate.streaming.asr  W  Method void androidx.compose.runtime.snapshots.SnapshotStateList.update$default(androidx.compose.runtime.snapshots.SnapshotStateList, boolean, kotlin.jvm.functions.Function1, int, java.lang.Object) failed lock verification and will run slower.
2025-11-20 12:16:30.619 23241-23241 VRI[MainActivity]       com...a.onnx.simulate.streaming.asr  D  vri.reportNextDraw 0 Rect(0, 0 - 1220, 2656) android.view.ViewRootImpl.performTraversals:5487 android.view.ViewRootImpl.doTraversal:4040 android.view.ViewRootImpl$TraversalRunnable.run:12416 android.view.Choreographer$CallbackRecord.run:2022 android.view.Choreographer$CallbackRecord.run:2031 
2025-11-20 12:16:30.619 23241-23241 VRI[MainActivity]       com...a.onnx.simulate.streaming.asr  D  vri.Setup new sync=wmsSync-VRI[MainActivity]#0
2025-11-20 12:16:30.625 23241-27762 AdrenoUtils             com...a.onnx.simulate.streaming.asr  I  <ReadGpuID:1333>: Reading chip ID through GSL
2025-11-20 12:16:30.626 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  I  get: no pipeline info entry found for key of size 92
2025-11-20 12:16:30.627 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline shader cache missed.
2025-11-20 12:16:30.654 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline pipeline cache missed. elpased time: 26.22 ms.
2025-11-20 12:16:30.654 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  I  get: no pipeline info entry found for key of size 112
2025-11-20 12:16:30.654 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline shader cache missed.
2025-11-20 12:16:30.657 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline pipeline cache missed. elpased time: 3.11 ms.
2025-11-20 12:16:30.657 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  I  get: no pipeline info entry found for key of size 212
2025-11-20 12:16:30.657 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline shader cache missed.
2025-11-20 12:16:30.661 23241-27762 SKIA                    com...a.onnx.simulate.streaming.asr  W  CreateGraphicsPipeline pipeline cache missed. elpased time: 3.45 ms.
2025-11-20 12:16:30.663 23241-23241 VRI[MainActivity]       com...a.onnx.simulate.streaming.asr  D  vri.reportDrawFinished 0 0 Rect(0, 0 - 1220, 2656)
2025-11-20 12:16:30.663 23241-23241 NativeTurboSchedManager com...a.onnx.simulate.streaming.asr  I  Load libmiui_runtime
2025-11-20 12:16:30.669 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : unregister status observer com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:30.669 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : unregisterUIAgentListener com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity, uid:10462
2025-11-20 12:16:30.674 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag vulkan_enhance_pipeline_cache enabled
2025-11-20 12:16:30.674 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] EnhanceVkPipelineCache is enabled
2025-11-20 12:16:30.674 23241-27762 HWUI                    com...a.onnx.simulate.streaming.asr  D  [HWUI] Flag ddre enabled
2025-11-20 12:16:30.679 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Initializing sherpa-onnx offline recognizer
2025-11-20 12:16:30.680 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Select model type 9000 for ASR
2025-11-20 12:16:30.681 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  nativelibdir: /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64
2025-11-20 12:16:30.687 23241-27819 nativeloader            com...a.onnx.simulate.streaming.asr  D  Load /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64/libsherpa-onnx-jni.so using class loader ns clns-10 (caller=/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/base.apk!classes4.dex): ok
2025-11-20 12:16:30.687 23241-27819 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  /Users/fangjun/open-source/sherpa-onnx/sherpa-onnx/jni/common.cc:PrependAdspLibraryPath:34
2025-11-20 12:16:30.687 23241-27819 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  Successfully set ADSP_LIBRARY_PATH to '/data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64;/odm/lib/rfsa/adsp;/vendor/lib/rfsa/adsp/;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp'
2025-11-20 12:16:30.690 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Copied sherpa-onnx-qnn-10-seconds-sense-voice-zh-en-ja-ko-yue-2024-07-17-int8-android-aarch64/tokens.txt to /data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/sherpa-onnx-qnn-10-seconds-sense-voice-zh-en-ja-ko-yue-2024-07-17-int8-android-aarch64/tokens.txt
2025-11-20 12:16:30.690 23241-23241 HandWritingStubImpl     com...a.onnx.simulate.streaming.asr  I  refreshLastKeyboardType: 1
2025-11-20 12:16:30.691 23241-23241 HandWritingStubImpl     com...a.onnx.simulate.streaming.asr  I  getCurrentKeyboardType: 1
2025-11-20 12:16:30.693 23241-23241 InsetsController        com...a.onnx.simulate.streaming.asr  D  hide(ime(), fromIme=false)
2025-11-20 12:16:30.693 23241-23241 ImeTracker              com...a.onnx.simulate.streaming.asr  I  com.k2fsa.sherpa.onnx.simulate.streaming.asr:bc76b777: onCancelled at PHASE_CLIENT_ALREADY_HIDDEN
2025-11-20 12:16:30.703 23241-23241 HandWritingStubImpl     com...a.onnx.simulate.streaming.asr  I  getCurrentKeyboardType: 1
2025-11-20 12:16:30.820 23241-27586 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  Compiler allocated 6363KB to compile void android.view.ViewRootImpl.performTraversals()
2025-11-20 12:16:30.827 23241-27810 libEGL                  com...a.onnx.simulate.streaming.asr  D  Post task 1
2025-11-20 12:16:30.828 23241-27848 libEGL                  com...a.onnx.simulate.streaming.asr  D  Worker thread start 497964516352
2025-11-20 12:16:30.828 23241-27848 libEGL                  com...a.onnx.simulate.streaming.asr  D  Run task 1
2025-11-20 12:16:31.726 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Copied sherpa-onnx-qnn-10-seconds-sense-voice-zh-en-ja-ko-yue-2024-07-17-int8-android-aarch64/libmodel.so to /data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/sherpa-onnx-qnn-10-seconds-sense-voice-zh-en-ja-ko-yue-2024-07-17-int8-android-aarch64/libmodel.so
2025-11-20 12:16:31.730 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  model.bin does not exist, return /data/user/0/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/model.bin
2025-11-20 12:16:31.746 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_context.c:370: fastrpc_context_table_init done
2025-11-20 12:16:31.746 23241-27819 DMABUFHEAPS             com...a.onnx.simulate.streaming.asr  I  Using DMA-BUF heap named: system
2025-11-20 12:16:31.746 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:210: set up allocator 0xb4000075744356d0 for DMA buf heap system, ION heap system, heap mask 0x2000000, flags 0x1, legacy flags 0x1
2025-11-20 12:16:31.746 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:437: Reading configuration file: com.k2fsa.sherpa.onnx.simulate.streaming.asr.debugconfig
2025-11-20 12:16:31.748 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:468: fastrpc_config_init: Couldn't find file com.k2fsa.sherpa.onnx.simulate.streaming.asr.debugconfig, errno (No such file or directory) at /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64, /o
2025-11-20 12:16:31.748 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:7431: fastrpc_apps_user_init done  with default domain:3 and &fastrpc_trace:0x73e83f87bc
2025-11-20 12:16:31.748 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:7565: multidsplib_env_init: libcdsprpc.so loaded
2025-11-20 12:16:31.748 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  W  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4285:Warning: remote_handle_control: Non-domain usage of FastRPC will be deprecated, use domains to offload to DSP using FastRPC
2025-11-20 12:16:31.748 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5842: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0)
2025-11-20 12:16:31.748 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (57): DspClient: AIDL HAL found, using AIDL interface
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (179): openSession: dup-ing of device fd 181 success, Permission denied
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (227): open_hal_session: opened device fd 181 for domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5906: close_device_node: close device 181 thru HAL on domain 3
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (244): close_hal_session: closed device fd 181 on domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4773: remote_session_control Unsigned PD enable 1 request for domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4748: remote_session_control DSP info request for domain 3, thread priority -1, stack size 17408
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5842: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0)
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (179): openSession: dup-ing of device fd 181 success, Permission denied
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (227): open_hal_session: opened device fd 181 for domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5906: close_device_node: close device 181 thru HAL on domain 3
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (244): close_hal_session: closed device fd 181 on domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3302: WARNING: get_handle_priority_from_uri: libQnnHtpV81Skel.so lib opened handle without priority token
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5842: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0)
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (179): openSession: dup-ing of device fd 181 success, Permission denied
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (227): open_hal_session: opened device fd 181 for domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5906: close_device_node: close device 181 thru HAL on domain 3
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (244): close_hal_session: closed device fd 181 on domain 3
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:5842: open_device_node: no access to default device of domain 3, open thru HAL, (sess_id 0)
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (179): openSession: dup-ing of device fd 181 success, Permission denied
2025-11-20 12:16:31.750 23241-27819 dsp-client              com...a.onnx.simulate.streaming.asr  I  DspClient.cpp (227): open_hal_session: opened device fd 181 for domain 3
2025-11-20 12:16:31.750 23241-27819 libc                    com...a.onnx.simulate.streaming.asr  W  Access denied finding property "persist.vendor.fastrpc.process.attrs"
2025-11-20 12:16:31.750 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:6102: Error 0xd: open_shell failed for domain 3 search paths used are /usr/lib/dsp/, /vendor/dsp/, /vendor/dsp/xdsp/ (errno Permission denied)
2025-11-20 12:16:31.750 23241-27819 libc                    com...a.onnx.simulate.streaming.asr  W  Access denied finding property "persist.vendor.fastrpc.process.clockvote"
2025-11-20 12:16:31.788 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:6194: Created user PD on domain 3, dbg_trace 0x0, enabled attr=> RPC timeout:0, Dbg Mode:N, CRC:N, Unsigned:Y, Signed:N, Adapt QOS:N, PD dump: (Config:N, Dbg:N), Perf: (Kernel:N, DSP:N), Iregion:N, QTF:N, UAF:N userPD initmem len:0x500000, Log pkt: N
2025-11-20 12:16:31.789 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1905: Successfully set remote user thread priority to 192 and stack size to 17408 for domain 3
2025-11-20 12:16:31.789 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/listener_android.c:121: listener thread starting
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64 : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /odm/lib/rfsa/adsp : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /vendor/lib/rfsa/adsp/ : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /system/vendor/lib/rfsa/adsp : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /vendor/lib64/rfs/dsp : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:687:Error : Unable to add watcher for folder /vendor/lib/rfsa/adsp : errno is Permission denied
2025-11-20 12:16:31.789 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_perf.c:292: fastrpc_perf_init: enabled systrace 0x0 and RPC traces (kernel 0, dsp 0) with frequency 1000
2025-11-20 12:16:31.789 23241-27857 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/log_config.c:429: file_watcher_thread starting for domain 3
2025-11-20 12:16:31.792 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_mem opened with handle 0xe83fa0a0 (idx 0)
2025-11-20 12:16:31.792 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/mod_table.c:701: open_mod_table_open_from_static: reverse module apps_std opened with handle 0xe83fa1a0 (idx 1)
2025-11-20 12:16:31.793 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:377: Error 0x2: apps_std_fopen_fd failed for /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64/cdsp/./libQnnHtpV81Skel.so (No such file or directory)
2025-11-20 12:16:31.794 23241-27857 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  E  vendor/qcom/proprietary/adsprpc/src/log_config.c:223:Enabled adspmsgd with mask 8
2025-11-20 12:16:31.794 23241-27857 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  W  vendor/qcom/proprietary/adsprpc/src/log_config.c:449:file_watcher_thread: Couldn't find file com.k2fsa.sherpa.onnx.simulate.streaming.asr.farf, errno (No such file or directory) at ;/vendor/lib64/rfs/dsp;/vendor/lib/rfsa/adsp;/vendor/lib/rfsa/dsp;/vendor/dsp;
2025-11-20 12:16:31.805 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  D  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:369: apps_std_fopen_fd done for /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64/./libQnnHtpV81Skel.so with fsize:10561352       fopen:12us, fstat:2us, read:10143us,       rpc_alloc:713us, mma
2025-11-20 12:16:31.805 23241-27856 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:1236: Successfully opened file /data/app/~~bk9ySgbqPnPpweRxVu6yAA==/com.k2fsa.sherpa.onnx.simulate.streaming.asr-9QKRdHQkTPP0khuRQKZhrQ==/lib/arm64/./libQnnHtpV81Skel.so
2025-11-20 12:16:31.839 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3395: remote_handle64_open: opened handle 0xb4000075444dcb30 (remote 0x2ce780) for file:///libQnnHtpV81Skel.so?qnn_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (spawn time 38765 us, load time 50043 us), refs 1
2025-11-20 12:16:31.847 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3302: WARNING: get_handle_priority_from_uri: libdspqueue_rpc_skel.so lib opened handle without priority token
2025-11-20 12:16:31.848 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3395: remote_handle64_open: opened handle 0xb4000075444dc4f0 (remote 0x2cf3d0) for file:///libdspqueue_rpc_skel.so?dspqueue_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp&_session=0 on domain 3 (spawn time 0 us, load time 298 us), refs 2
2025-11-20 12:16:31.848 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_notif.c:136: fastrpc_notif_domain_init: FastRPC notification worker thread launched
2025-11-20 12:16:31.848 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4975: remote_session_control Register PD status notification request for domain 3
2025-11-20 12:16:31.848 23241-27859 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3851: get_remote_notif_response: received status notification 0 for domain 3, session 0 (effec dom 3)
2025-11-20 12:16:31.850 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/dspqueue/dspqueue_cpu.c:682: dspqueue is using version: -399038475, flags: 2, driver signalling: 3, wait count: 1
2025-11-20 12:16:31.850 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  I  vendor/qcom/proprietary/adsprpc/src/dspqueue/dspqueue_cpu.c:714: dspqueue_create: created Queue 0, 0xb40000766443c0c0, DSP 0x00000000 for domain 3
2025-11-20 12:16:31.850 23241-23241 DefaultDispatch         com...a.onnx.simulate.streaming.asr  W  type=1400 audit(0.0:3017556): avc:  granted  { execute } for  path="/data/data/com.k2fsa.sherpa.onnx.simulate.streaming.asr/files/sherpa-onnx-qnn-10-seconds-sense-voice-zh-en-ja-ko-yue-2024-07-17-int8-android-aarch64/libmodel.so" dev="dm-56" ino=867470 scontext=u:r:untrusted_app:s0:c206,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c206,c257,c512,c768 tclass=file app=com.k2fsa.sherpa.onnx.simulate.streaming.asr
2025-11-20 12:16:32.532 23241-23241 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Audio record is permitted
2025-11-20 12:16:32.533 23241-23241 Activity                com...a.onnx.simulate.streaming.asr  D  Activity = ActivityInfo{61b6811 com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity}, Resume onConfigurationChanged = {1.1 460mcc1mnc [zh_CN] ldltr sw375dp w375dp h755dp 520dpi nrml long hdr widecg port uimode=14 finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1220, 2656) mAppBounds=Rect(0, 150 - 1220, 2604) mMaxBounds=Rect(0, 0 - 1220, 2656) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0 mInSplitScreen=false letterBoxed=false foScaled=false isSpecificEmbedded=false} s.2 fontWeightAdjustment=0/d/o themeChanged=0 themeChangedFlags=0 display=0 extraData = Bundle[{}] screenType=0/o}
2025-11-20 12:16:32.535 23241-23241 SecurityManager         com...a.onnx.simulate.streaming.asr  D  checkAccessControl flag0
2025-11-20 12:16:32.535 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : register screen QA status observer com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:32.535 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : register global collect status observer com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity
2025-11-20 12:16:32.536 23241-27772 ContentCatcher          com...a.onnx.simulate.streaming.asr  I  SettingTrigger : registerUIAgentListener com.k2fsa.sherpa.onnx.simulate.streaming.asr.MainActivity, uid:10462
2025-11-20 12:16:32.547 23241-23241 HandWritingStubImpl     com...a.onnx.simulate.streaming.asr  I  refreshLastKeyboardType: 1
2025-11-20 12:16:32.547 23241-23241 HandWritingStubImpl     com...a.onnx.simulate.streaming.asr  I  getCurrentKeyboardType: 1
2025-11-20 12:16:32.549 23241-23241 InsetsController        com...a.onnx.simulate.streaming.asr  D  hide(ime(), fromIme=false)
2025-11-20 12:16:32.549 23241-23241 ImeTracker              com...a.onnx.simulate.streaming.asr  I  com.k2fsa.sherpa.onnx.simulate.streaming.asr:794f86da: onCancelled at PHASE_CLIENT_ALREADY_HIDDEN
2025-11-20 12:16:36.217 23241-27908 ProfileInstaller        com...a.onnx.simulate.streaming.asr  D  Installing profile for com.k2fsa.sherpa.onnx.simulate.streaming.asr
2025-11-20 12:16:37.549 26457-26457 ActivityThread          com...a.onnx.simulate.streaming.asr  I  Removing dead content provider:android.content.ContentProviderProxy@1704154
2025-11-20 12:16:40.438 23241-27617 e.streaming.asr         com...a.onnx.simulate.streaming.asr  I  ProcessProfilingInfo new_methods=23 is saved saved_to_disk=1
2025-11-20 12:16:40.469 23241-27819 com.k2fsa....eaming.asr com...a.onnx.simulate.streaming.asr  W  vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:4285:Warning: remote_handle_control: Non-domain usage of FastRPC will be deprecated, use domains to offload to DSP using FastRPC
2025-11-20 12:16:41.600 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  sherpa-onnx offline recognizer initialized
2025-11-20 12:16:41.600 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  Select VAD model type 0
2025-11-20 12:16:41.602 23241-27819 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  /Users/fangjun/open-source/sherpa-onnx/sherpa-onnx/jni/voice-activity-detector.cc:Java_com_k2fsa_sherpa_onnx_Vad_newFromAsset:101
2025-11-20 12:16:41.602 23241-27819 sherpa-onnx             com...a.onnx.simulate.streaming.asr  W  config:
                                                                                                    VadModelConfig(silero_vad=SileroVadModelConfig(model="silero_vad.onnx", threshold=0.5, min_silence_duration=0.25, min_speech_duration=0.25, max_speech_duration=5, window_size=512), ten_vad=TenVadModelConfig(model="", threshold=0.5, min_silence_duration=0.25, min_speech_duration=0.25, max_speech_duration=5, window_size=256), sample_rate=16000, num_threads=1, provider="cpu", debug=False)
2025-11-20 12:16:41.654 23241-27819 libc                    com...a.onnx.simulate.streaming.asr  W  Access denied finding property "ro.hardware.chipname"
2025-11-20 12:16:41.738 23241-27819 sherpa-onnx-sim-asr     com...a.onnx.simulate.streaming.asr  I  sherpa-onnx vad initialized
2025-11-20 12:16:41.786 23241-27762 e.streaming.asr         com...a.onnx.simulate.streaming.asr  E  FrameInsert open fail: No such file or directory