Forums - DSP Fail (SElinux problem)

2 posts / 0 new
Last post
DSP Fail (SElinux problem)
zmdsjtu
Join Date: 15 Jun 20
Posts: 2
Posted: Wed, 2021-08-04 23:00
I update my phone  OnePlus8Pro  to Android 11, DSP Fail as logcat shows.
On root pyhone, adb root adb setenforece 0, DSP success.
How to run on user phone without root?
Another failed phone is Oppo FindX 2 pro 
Most other phone success,  including Oppo findx3/findx2/onePlus 9/MI 11/...
My SNPE version is 1.52
 
====================================
2021-08-05 14:03:52.986 628-628/? E/SELinux: avc:  denied  { find } for interface=vendor.qti.hardware.dsp::IDspService sid=u:r:untrusted_app:s0:c208,c256,c512,c768 pid=29089 scontext=u:r:untrusted_app:s0:c208,c256,c512,c768 tcontext=u:object_r:vendor_hal_dspmanager_hwservice:s0 tclass=hwservice_manager permissive=0
2021-08-05 14:03:52.987 29089-32520/? E/dsp-client: DspClient.cpp (42): Error: DspClient: unable to acquire dspservice instance
2021-08-05 14:03:52.987 29089-32520/? E/dsp-client: DspClient.cpp (82): Error: openSession: IDspManager session is NULL
2021-08-05 14:03:52.987 29089-32520/? E/dsp-client: DspClient.cpp (131): Error: open_hal_session: failed to open session, error -1
2021-08-05 14:03:52.987 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1988: Error 13: open_device_node failed for domain 3 (errno Permission denied)
2021-08-05 14:03:52.987 29089-32520/? W/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1237:Warning 0x3b: remote_get_info failed to get attribute 1 for domain 3 (errno Permission denied)
2021-08-05 14:03:52.987 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1410: Error 0x3b: remote_handle_control_domain failed for request ID 2 on domain 3
2021-08-05 14:03:52.987 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1420: Error 0x3b: remote_handle_control failed for request ID 2
2021-08-05 14:03:52.988 29089-32520/? I/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1971: open_device_node: no access to default device of domain 3, open thru HAL
2021-08-05 14:03:52.988 29089-32520/? E/dsp-client: DspClient.cpp (82): Error: openSession: IDspManager session is NULL
2021-08-05 14:03:52.988 29089-32520/? E/dsp-client: DspClient.cpp (131): Error: open_hal_session: failed to open session, error -1
2021-08-05 14:03:52.988 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1988: Error 13: open_device_node failed for domain 3 (errno Permission denied)
2021-08-05 14:03:52.988 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2342: Error 0x57: apps_dev_init failed for domain 3, errno Permission denied
2021-08-05 14:03:52.988 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2438: Error 0x57: open_dev (-1) failed for domain 3 (errno Permission denied)
2021-08-05 14:03:52.988 29089-32520/? E/com.ezxr.testnr160: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1059: Error 0x57: remote_handle64_open failed for file:///libsnpe_dsp_v66_domains_v2_skel.so?snpe_dsp_domains_v2_skel_handle_invoke&_modver=1.0&_dom=cdsp
 
  • Up0
  • Down0
pablog
Join Date: 28 Feb 21
Posts: 11
Posted: Wed, 2022-01-19 02:28
After update Android (Samsung Galaxy S21 ) this morning I got the same problem..... I guess that some manufacturer are blocking the DSP. I wonder why buy a phone if I can not use the hardware...
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.