Mi-4C动态调试so库

调试环境:IDA6.8
手机:小米4C
系统版本:android 7.0

小米4C稳定版刷成开发版后,开启安全中心->应用管理->授权->开启root权限,ida远程attach要调试的程序,出现:
The debugger could not attach to the selected process.
This can perhaps indicate the process was just terminated,or that you don’t have the necessary privileges.

解决办法:

1
2
getenforce #查看selinux状态
setenforce 0 #临时关闭selinux