by Daniel
Version 1 (January 23, 2026)
Download (4 downloads)
This flow is a specialized workaround for Samsung Galaxy users on Android 16. While the standard ADB block works on Pixel devices, Galaxy's One UI restricts certificate selection. This version uses a direct shell ignition, a strategic delay, and Shizuku-powered cleanup to bypass the 'Network Monitoring' warning automatically.
Usual operation: Start "Watchdogs"
When needed: Start "Start Shizuku server"
To run commands: use a flow start block in your flow and call the "Run command" block and pass the command via the payload.
Helpers:
"Command dialog" for running adb commands.
"Common commands" for a set of useful operations.
-------------------------
Things to set up:
1a. Setup shizuku using "Start via Wireless debugging".
1b. Then export the files in Shizuku through the "Use Shizuku in terminal apps" to sdcard/Shizuku folder.
1c. Battery Optimization: Set Shizuku to "Unrestricted" in Android battery settings to prevent the system from killing the process during boot.
2. Save the following lines into "rish-automate" in sdcard/Shizuku folder.
###begin of script###
#!/system/bin/sh
BASEDIR=$(dirname "$0")
DEX="$BASEDIR"/rish_shizuku.dex
if [ ! -f "$DEX" ]; then
echo "Cannot find $DEX, please check the tutorial in Shizuku app"
exit 1
fi
# Replace "PKG" with the application id of your terminal app
[ -z "$RISH_APPLICATION_ID" ] && export RISH_APPLICATION_ID="com.llamalab.automate"
/system/bin/app_process -Djava.class.path="$DEX" /system/bin --nice-name=rish rikka.shizuku.shell.ShizukuShellLoader "$@"
###end of script###
3. Grant automate WRITE_SECURE_SETTINGS permission the "command dialog" block or via adb on usb. This only needs to be done once.
"pm grant com.llamalab.automate android.permission.WRITE_SECURE_SETTINGS"
4. Then start "Watchdogs" and shizuku should run as each time the phone restarts.
-------------------------
Troubleshooting
Q1. Shizuku doesn't start after rebooting.
A1. Run "Start Shizuku server" then toggle the Wi-Fi connection from off to on. You can leave Wi-Fi in whatever state after Shizuku starts.
Q2. I don't know how to pair Shizuku/ADB.
A3. You got to read the instructions from the relevant parts. I won't replicate the steps here cuz they are very lengthy.