Open stm32repo opened 6 years ago
shell@ASUST00K:/ $ /system/bin/run-as uid /system/bin/run-as 2000 uid 0 0 u:r:runas:s0 context 0 u:r:shell:s0 shell@ASUST00K:/ # id uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcardrw),1028(sdcardr),3001(netbtadmin),3002(netbt),3003(inet),3006(netbwstats) context=u:r:shell:s0 shell@ASUST00K:/ # ls /data/ opendir failed, Permission denied
Weird. This looks like an SELinux issue, but I thought 4.4.2 did not have SELinux enabled/enforcing. What does adb logcat | grep avc say? I suspect you'll need to find a way to disable selinux.
adb logcat | grep avc
Android 4.4.2
shell@ASUST00K:/ $ /system/bin/run-as uid /system/bin/run-as 2000 uid 0 0 u:r:runas:s0 context 0 u:r:shell:s0 shell@ASUST00K:/ # id uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcardrw),1028(sdcardr),3001(netbtadmin),3002(netbt),3003(inet),3006(netbwstats) context=u:r:shell:s0 shell@ASUST00K:/ # ls /data/ opendir failed, Permission denied