简体   繁体   中英

How to trace system calls in android with not rooted device?

My plan is to make a mobile application that traces system calls of other mobile application like strace. I read some papers but they uses custom kernel or rooted device(emulator). Also I used frida but it requires root privilege.

I want to trace system calls using my mobile application with not rooted device. Is there any way to do this?

There might be a way, but there is no official way.

Each app in Android is run in a Sandbox which it can't escape. The System has its own Sandbox (sometimes multiple), which you can't access.

This is a security measure.

The only thing you can track are broadcasts. Without root privilegs it is imho impossible to access system calls.

it would be a huge security issue for android systems if applications could do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM