Hi
@Chainfire
Before Android L, I was successfully using root permissions thanks to your How to SU guide.
Basically in my app I need to execute an sqlite3 binary from my app data directory /data/data//sqlite3
Now this was working fine by using this simple line of code:
where commands is something like "/data/data//sqlite3 ..."
Now with Android L and selinux things, I'm trying to do something like this:
Code:
Shell.run(Shell.SU.shell(0, "u:r:untrusted_app:s0"), commands.toArray(new String[commands.size()]), null, true);
But if I print the result I get a permission denied from the binary (which I give execute permission as usual with shell, without su).
This still works fine on a Nexus 5 with Android 4.4.4 but not on Android L (both with latest superSU).
Where I wrong? Any tip? Thanks in advance