Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/proc/tty/drivers: open failed: EACCES #30

Open
lh414035210 opened this issue Mar 3, 2021 · 6 comments
Open

/proc/tty/drivers: open failed: EACCES #30

lh414035210 opened this issue Mar 3, 2021 · 6 comments

Comments

@lh414035210
Copy link

我是用华为mate 手机进行调试串口的, android 10.0 , 报了以上错误,该怎么解决呀!
求教!!!!

@lh414035210
Copy link
Author

是手机需要root 么
Uploading image.png…

@yonglf
Copy link

yonglf commented Sep 9, 2021

你好 请问这个问题你解决了吗 我也遇到同样的问题

@Amoour
Copy link

Amoour commented Oct 27, 2021

你好 请问这个问题你解决了吗 我也遇到同样的问题

您好,请问你这边调通了吗?

@yonglf
Copy link

yonglf commented Oct 27, 2021

你好 请问这个问题你解决了吗 我也遇到同样的问题

您好,请问你这边调通了吗?

我没用这个库,我还是用的谷歌的,只是把so文件重新生成了一下

@yonglf
Copy link

yonglf commented Oct 27, 2021

你好 请问这个问题你解决了吗 我也遇到同样的问题

您好,请问你这边调通了吗?

谷歌的so文件没有适配现在的安卓版本,所以要重新生成so

@Mr-Jiang
Copy link

Mr-Jiang commented Jul 7, 2023

avc: denied { read } for name="drivers" dev="proc" ino=4026531852 scontext=u:r:untrusted_app_29:s0:c191,c258,c512,c768 tcontext=u:object_r:proc_tty_drivers:s0 tclass=file permissive=0
SE-Linux权限问题,如果是自己的方案或平台的话可以修改对应的.te文件,具体看什么平台,每个平台对应的文件都不一样因为都是被产商修改Google原生源码而来的,只能给你提供这些思路

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants