How can I get root permissions through the Android SDK?

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Brooke56
Posts: 1
Joined: Wed Mar 27, 2019 11:10 am

How can I get root permissions through the Android SDK?

Postby Brooke56 » Wed Mar 27, 2019 11:12 am

I'm learning Android programming, and I want to make an application which has to run as root. The logical thing would be to add a root permission in the Android Manifest mybkexperience.

I saw this link in the documentation, and especially noted the FACTORY_TEST permission:

public static final String FACTORY_TEST

Since: API Level 1

Run as a manufacturer test application, running as the root user. Only available when the device is running in manufacturer test mode. Constant Value: "android.permission.FACTORY_TEST"

Is that the best way?

If it's not possible using the SDK, how can I make a "root" application work?

Return to “Requests”