Scrcpy use adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server ...
to start the server with shell privileges.
adb shell am start
starts the application normally (user privileges).
You can try shizuku use system APIs directly.