-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Global hook for customized AOSP #1139
Comments
by errorlog, frida-gadget is injected into zygote, so it use this sepolicy: this happened when frida-gadget try to read somefile at storage_file, which not allowed by zygote.te. as reference, there may be two way to solve:
|
@tacesrever Very intuitive. Thanks so much! |
hello, I have the same problem. use script-directory, set path to where can work? frida-gadget: type=1400 audit(0.0:11): avc: denied { read } for name="primary" dev="tmpfs" ino=30102 scontext=u:r:mediaprovider_app:s0:c100,c256,c512,c768 tcontext=u:object_r:mnt_pass_through_file:s0 tclass=lnk_file permissive=0 app=com.android.providers.media.module |
It would be fantastic if the Android rom customizer can make frida a build-in feature, so that one can inject frida into every apk laterly installed without repacking them.
I tried following steps without luck:
related log: frida-gadget: type=1400 audit(0.0:8): avc: denied { read } for name="primary" dev="tmpfs" ino=19137 scontext=u:r:zygote:s0 tcontext=u:object_r:storage_file:s0 tclass=lnk_file permissive=0
The text was updated successfully, but these errors were encountered: