Closed LVerneyPEReN closed 1 year ago
Hi,
https://github.com/PiRogueToolSuite/pirogue-cli/blob/main/pirogue_cli/android/device.py#L36-L44 fails whenever the adb root command exits with a non-zero exit code.
adb root
However, when using a production build without adb root support, it transparently fails:
pi@raspberrypi:~ $ adb root adbd cannot run as root in production builds pi@raspberrypi:~ $ echo $? 0
In this case, the adb shell subcommand to run fridaxx-server should be
adb shell
$ adb shell phone:/ $ su -c /data/local/tmp/frydaxx-server
Hi,
https://github.com/PiRogueToolSuite/pirogue-cli/blob/main/pirogue_cli/android/device.py#L36-L44 fails whenever the
adb root
command exits with a non-zero exit code.However, when using a production build without
adb root
support, it transparently fails:In this case, the
adb shell
subcommand to run fridaxx-server should be