Skip to content

Permission problem #9

Description

@Lavr18

Hello,
I keep getting the Request permission: failed toast message and then after I select the usb device and press the create button I'm getting:
dev/video*: read modalias failed logs.

This is the system log I'm getting:
10-21 11:33:05.823 9681 9681 W com.hsj.sample: type=1400 audit(0.0:70): avc: denied { read } for name="modalias" dev="sysfs" ino=78816 scontext=u:r:untrusted_app:s0:c150,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.hsj.sample

I'm testing the app on Vysor virtual screen using Android 10.
I install the app via the adb install command.

I've tried using the chmod 666 /dev/video* command but that didn't help.

Could you suggest what can be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions