Skip to content

LegendaryStreamerShizuku is an utility class for android java / kotlin application to communicate with shizuku for executing shell commands or adb command in the device. Also we can get access to restricted folder access without any extra permissions which is not an official way to access storage on android 11 and above.

Notifications You must be signed in to change notification settings

Harshshah6/ShizukuLegendaryStreamer

Repository files navigation

ShizukuLegendaryStreamer

LegendaryStreamerShizuku is an utility class for android java / kotlin application to communicate with shizuku for executing shell commands or adb command in the device. Also we can get access to restricted folder access without any extra permissions which is not an official way to access storage on android 11 and above.

GitHub repo size

screentshot

Getting Started

Instructions on how to get the module in your project.

Configure

Maven

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
	   ...
	   maven { url 'https://jitpack.io' }
  }
}

Step 2. Add the dependency:

dependencies {
   ...
   implementation 'com.github.Harshshah6:ShizukuLegendaryStreamer:1.0'
}

Usage

private LegendaryStreamerShizuku legendaryStreamerShizuku;
private final ExecutionProcessListener executionProcessListener = new ExecutionProcessListener() {
 	@Override
	public void onPreExecute() { }
        @Override
        public void onPostExecute(ArrayList<String> successMessages, ArrayList<String> errorMessages) { }
};
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        legendaryStreamerShizuku = new LegendaryStreamerShizuku(this);
	legendaryStreamerShizuku.autoReqPermission(); //Automatically request shizuku runtime permision to connect with shizuku

	legendaryStreamerShizuku.runCustomCommand("echo 'Hello World'",executionProcessListener); //Running an custom adb command
}

Checkout the available methods here

Contributing

If you'd like to contribute to Project Title, here are some guidelines:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes.
  4. Run the script to ensure they works.
  5. Commit your changes.
  6. Push your changes to your forked repository.
  7. Submit a pull request.

Authors & Acknowledgments

ShizukuLegendaryStreamer was created by LEGENDARY STREAMER.

Changelog

  • 1.0: Initial release (latest)

Contact

If you have any questions or comments about InstaMedia, please contact LEGENDARY STREAMER.

About

LegendaryStreamerShizuku is an utility class for android java / kotlin application to communicate with shizuku for executing shell commands or adb command in the device. Also we can get access to restricted folder access without any extra permissions which is not an official way to access storage on android 11 and above.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages