Skip to content

Repository files navigation

Porter API

The Android SDK for Porter, a minimal, maintained Shizuku fork that gives apps ADB access, with optional root support.

This repository contains the client SDK and the shared API source used by the Porter app. It builds on Shizuku-API, preserving the Shizuku Java API and Binder protocol. Apps can support Porter directly without requiring Porter Compatibility, and can retain support for Shizuku.

Add to your app

Requires Android 7.0 (API 24) or newer. Add JitPack in settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven("https://jitpack.io") {
            content { includeGroup("com.github.d4rken-org.porter-api") }
        }
    }
}

Then add:

implementation("com.github.d4rken-org.porter-api:sdk:0.2.0")

The SDK speaks Porter's own protocol and contains only eu.darken.porter.* classes. It does not include or conflict with the upstream dev.rikka.shizuku SDK, which an app can keep alongside it for original Shizuku support.

Follow the integration guide to request access from your app. Adding the dependency alone does not connect your app to Porter.

License

Upstream API code is MIT with RikkaW attribution. The Porter SDK (protocol, sdk) is Apache 2.0, with portions of sdk derived from the MIT code.

About

Android SDK for Porter, with compatible Shizuku APIs and direct Porter support.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages