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.
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.
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.