Error message: Failed to spawn: unable to access process with pid 413 due to system restrictions; try `sudo sysctl kernel.yama.ptrace_scope=0`, or run Frida as root

Android 8.0 

在frida中使用 -f 参数报错,

Error message: Failed to spawn: unable to access process with pid 413 due to system restrictions; try `sudo sysctl kernel.yama.ptrace_scope=0`, or run Frida as root

通过ps -A  413 查看进程,发现为zygote64,冲突的原因是Magisk  开启了Magisk Hide选项

解决方法:Magisk   -->设置-->Magisk下 去掉勾选Magisk Hide 

 

posted @ 2019-07-14 18:59  DirWangK  阅读(5430)  评论(0编辑  收藏  举报