> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sparkblogs.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Shizuku

> Learn how to activate and use Shizuku

## Install Shizuku

<Steps>
  <Step title="Download">
    Go to [Github Releases](https://github.com/RikkaApps/Shizuku/releases) to download the shizuku-xxx-release.apk file from the latest release.
  </Step>

  <Step title="Install">
    Open the file in your browser or phone's file manager, ignore the security prompt from the system installer to install the app, or turn off the network to install the app.
  </Step>
</Steps>

## Start Shizuku via Wireless Debugging

<Note>
  Devices running Android 11 and below do not support wireless debugging.
</Note>

<Steps>
  <Step title="Preparation">
    Open Settings, go to About Phone/Device Info, find the system version number (software version, not Android version), and tap it 7 times continuously until you see the prompt "You are now in developer mode". Make sure your phone is connected to WLAN and not using mobile data.
  </Step>

  <Step title="Pairing">
    Open Shizuku, tap the "Pair" button in the "Start via Wireless Debugging" section, grant the app notification permission, then go back and tap the "Developer options" button to jump to developer options. In developer options, tap "Wireless debugging", turn on the switch at the top, then select "Pair device with pairing code". Remember the pairing code in the pop-up window, then pull down the notification center and tap "Enter pairing code" on the Shizuku notification to enter the pairing code, then tap the button on the right to confirm.
  </Step>

  <Step title="Start">
    Return to the Shizuku app and tap the "Start" button in the "Start via Wireless Debugging" section.
  </Step>
</Steps>

## Start Shizuku via Root

<Steps>
  <Step title="Preparation">
    In your root manager such as Magisk, KernelSU, or SukiSU Ultra, grant Shizuku root permissions.
  </Step>

  <Step title="Start">
    Open Shizuku and tap the "Start" button in the "Start (for rooted devices)" section.
  </Step>
</Steps>

## Start Shizuku via Connecting to a Computer

<Info>
  Using Windows 11 as an example.
</Info>

<Steps>
  <Step title="Install adb">
    [Download](https://dl.google.com/android/repository/platform-tools-latest-windows.zip) the "SDK Platform Tools" provided by Google and extract them to any folder.
  </Step>

  <Step title="Start">
    Open File Explorer, navigate to the extracted directory, right-click on an empty space and select "Open in Terminal", then enter the following command to start:

    ```shellscript theme={null}
    adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh
    ```
  </Step>

  <Step title="Follow-up Steps">
    For easier future use of the adb command-line tool, you can add the adb directory to the system environment variables. Open Settings - System - System Info, click "Advanced system settings" under "Related links". In the pop-up window, click "Environment Variables", find the Path variable in the System variables section, double-click it, click New on the right, enter the adb directory, and press Enter to save.
  </Step>
</Steps>

After starting Shizuku, you need to tap the "x apps authorized" button to authorize the corresponding toolbox, or enter the toolbox to authorize it.
