1

I am using Python for Android and SL4A to write an Android app. My question is: can you get root access from Python for Android? And, if so, how?

kirbyfan64sos
  • 10,377
  • 6
  • 54
  • 75
  • You may want to check out [this other question and the comments/answers therein contained](http://stackoverflow.com/questions/4905743/android-how-to-gain-root-access-in-an-android-application). – summea Apr 14 '13 at 00:07

1 Answers1

2

I solved my own question. I ended up finding https://code.google.com/p/android-scripting/issues/detail?id=184 and using the suu and sush binaries given in the answers. Worked perfectly!

EDIT: Timeskip update, here's the new issue link since SL4A moved to GitHub. Not sure how well this works with Magisk, since I personally haven't used SL4A in quite a while.

kirbyfan64sos
  • 10,377
  • 6
  • 54
  • 75