As a follow up to an earlier question (Android ioctl - root permissions and usage), is it possible to create a separate native executable and package it in an APK?
The a
You can put it into assets and copy it to the app's private directory on first run. After you set the executable bit, you should be able to run it.