-
Notifications
You must be signed in to change notification settings - Fork 366
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
Permission denial on Android 7.1- #123
Comments
The kernel restriction is applied when launching executable from |
I believe launching stuff from |
Interesting. Do you have a reference for this? I thought symlink would be resolved first when checking the executable binary. |
I think it is possible to launch from /proc. |
Hi I am not using this library but I have a similar solution that I wrote based on your code and Chainfire's: https://github.com/Mygod/VPNHotspot/tree/master/mobile/src/main/java/be/mygod/librootkotlinx
From my testing on some Android 5-7.1 devices if the
app_process
is launched directly without being copied to/dev/
, likely due to some vendor's kernel patches. (I am seeing mostly Samsung, but also from MTS SMART Sprint 4G, OPPO and LGE.) For example, on some devicesfork
thenexec
will fail (Chainfire/librootjava#19), on others it succeeds but the resulting process is very restricted:Any thoughts?
The text was updated successfully, but these errors were encountered: