Hexagon_rpc_open failed

I met a very similar problem, almost every step same to [Hexagon] Error opening FastRPC channel - #9 by lvsss, while set -DTVM_LOG_CUSTOMIZE=1 in hexagon_launcher/cmake/hexagon/CMakeLists.txt can’t solve the problem. Using last commit with id 7767de9c39a724df6ca4f2bf028630d99f3ee746, hardware snapdragon 870 without root permission.

Could you give some advice? Here’s the adb log.

 06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023663): avc: denied { search } for name="nativetest" dev="dm-42" ino=9 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023664): avc: denied { search } for name="nativetest64" dev="dm-42" ino=10 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023665): avc: denied { search } for name="nativetest" dev="dm-42" ino=9 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023666): avc: denied { search } for name="nativetest64" dev="dm-42" ino=10 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023667): avc: denied { search } for name="nativetest" dev="dm-42" ino=9 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.666 12530 12530 W launcher_androi: type=1400 audit(0.0:5023668): avc: denied { search } for name="nativetest64" dev="dm-42" ino=10 scontext=u:r:shell:s0 tcontext=u:object_r:nativetest_data_file:s0 tclass=dir permissive=0
    06-16 20:32:10.692 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/rpcmem_android.c:159: rpcmem_init_internal: opened ION device fd 3, configured heap IDs: system (0x2000000), contig (0x400000), secure (0x200), secure flags (0x80080000)
    06-16 20:32:10.692 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:3061: fastrpc_apps_user_init done with default domain:3 and &fastrpc_trace:0x755358cfa0
    06-16 20:32:10.693 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2015: remote_session_control DSP info request for domain 3, thread priority -1, stack size 131072
    06-16 20:32:10.693 12530 12530 E launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2631: Error 0xd: open_shell failed for domain 3 search paths used are /dsp/, /vendor/dsp/, /vendor/dsp/xdsp/ (errno Permission denied)
    06-16 20:32:10.693 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_config.c:200: Reading configuration file: launcher_android.debugconfig
    06-16 20:32:10.686 12530 12530 W launcher_androi: type=1400 audit(0.0:5023669): avc: denied { read } for name="adsprpc-smd-secure" dev="tmpfs" ino=11370 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_xdsp_device:s0 tclass=chr_file permissive=0
    06-16 20:32:10.686 12530 12530 W launcher_androi: type=1400 audit(0.0:5023670): avc: denied { search } for name="/" dev="sde10" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0
    06-16 20:32:10.686 12530 12530 W launcher_androi: type=1400 audit(0.0:5023671): avc: denied { search } for name="/" dev="sde10" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0
    06-16 20:32:10.696  1787  1800 I cdsprpcd: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:848: Successfully opened file /vendor/dsp/cdsp/fastrpc_shell_unsigned_3
    06-16 20:32:10.719 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2819: Created user PD on domain 3 (attrs 0x8, debug_trace 0x0)
    06-16 20:32:10.721 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:475: Successfully set remote user thread priority to 192 and stack size to 131072 for domain 3
    06-16 20:32:10.722 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/listener_android.c:111: listener thread starting
    06-16 20:32:10.722 12530 12530 I launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_perf.c:273: fastrpc_perf_init: enabled systrace 0x0 and RPC traces (kernel 0, dsp 0) with frequency 1000
    06-16 20:32:10.722 12530 12533 I launcher_android: vendor/qcom/proprietary/adsprpc/src/log_config.c:345: file_watcher_thread starting for domain 3
    06-16 20:32:10.723 12530 12533 E launcher_android: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /data/local/tmp/dsp/launcher_android.farf. (No such file or directory)
    06-16 20:32:10.723 12530 12533 E launcher_android: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/lib/rfsa/adsp/launcher_android.farf. (No such file or directory)
    06-16 20:32:10.724 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/mod_table.c:687: open_mod_table_open_from_static: reverse module apps_std opened with handle 0x5358f9e8 (idx 0)
    06-16 20:32:10.724 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:868: Successfully opened file /data/local/tmp/dsp/liblauncher_rpc_skel.so
    06-16 20:32:10.725 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/mod_table.c:687: open_mod_table_open_from_static: reverse module apps_mem opened with handle 0x5358fae8 (idx 1)
    06-16 20:32:10.743 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:868: Successfully opened file /data/local/tmp/dsp/libc++.so.1
    06-16 20:32:10.754 12530 12532 I launcher_android: vendor/qcom/proprietary/adsprpc/src/apps_std_imp.c:868: Successfully opened file /data/local/tmp/dsp/libc++abi.so.1
    06-16 20:32:10.756 26960 27362 I SmartThreadExecutor: handleMessage: start check 0
    06-16 20:32:10.756 26960 27362 I SmartThreadExecutor: handleMessage: check end 0 -135 false
    06-16 20:32:10.774 12530 12530 E launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1316: Error 0x80000406: remote_handle_open_domain: dynamic loading failed for file:///liblauncher_rpc_skel.so?launcher_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp on domain 3 (dlerror RX VA 0xFFF00000 outside ELF segment) (errno Success)
    06-16 20:32:10.774 12530 12530 E launcher_android: vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1380: Error 0x80000406: remote_handle64_open failed for file:///liblauncher_rpc_skel.so?launcher_rpc_skel_handle_invoke&_modver=1.0&_dom=cdsp (errno Success)