Open BurntBrunch opened 9 years ago
Can you reproduce after b230619?
I get this off of master:
$ fb-adb -r shell echo 'hello'
fb-adb shell: trouble re-execing adb stub as root: fb-adb stub: execvpe("su"): Invalid argument
$ fb-adb -r shell
fb-adb shell: trouble re-execing adb stub as root: fb-adb stub: execvpe("su"): Invalid argument
I restored the function from https://github.com/facebook/fb-adb/blob/1.4.4/cmd_stub.c and it seems to be working for both shell
and ctar
ping @BurntBrunch @jbeich
Cyanogen running on m7:
: fb-adb shell -r fb-adb shell: trouble re-execing adb stub as root: Unknown id: stub
shell@m7:/ $ su whoami Unknown id: whoami 1|shell@m7:/ $ su -c whoami root