hero

Shizuku

Let your app use system APIs directly

Get Started →

Use system APIs elegantly

Forget about root shell, you can use APIs directly "as a system app". Also, using Shizuku is significantly faster.

Support adb usage

If your "root required app" only needs adb permission, you can easily expand the audience by using Shizuku.

Save your time

Shizuku has detailed documentation to guide users. Only you have to do is let users install Shizuku.

As Easy as you are a system app

private static final IPackageManager PACKAGE_MANAGER = IPackageManager.Stub.asInterface(
    new ShizukuBinderWrapper(SystemServiceHelper.getSystemService("package")));

public static void grantRuntimePermission(String packageName, String permissionName, int userId) {
    try {
        PACKAGE_MANAGER.grantRuntimePermission(packageName, permissionName, userId);
    } catch (RemoteException tr) {
        throw new RuntimeException(tr.getMessage(), tr);
    }
}

Note

There a few more steps to do, like checking permission or if Shizuku is running.