Get desktop application:
View/edit binary Protocol Buffers messages
PortForwarder service runs a port forwarding session via waterfall. It allows start and stop forwarding connections when the waterfall client is unable to mantains any state (e.g. the waterfall adb binary).
Echo exists solely for test purposes.
Exec executes cmd in the device and forward stdout and stderr to client Exec expects a single initial CmdProgress message if stdin is not being redirected. Otherwise Exec will read std from the stream.
Command to execute. Only valid for the initial message of the stream.
the exit code of the command. Only populated when the gRPC stream is done. I.e. the last message before the EOF.
Forward forwards the stream payload to the requested socket
Kind of connection to start (tcp|udp|unix)
Address to open and redirect payload to.
Data to be pushed to connection established on addr.
Whether or not to rebind the port.
Pull file/dir from device to host.
Push file/dir from host to device.
Version gets the version of the server.
Used in:
Path to the binary to execute. Path should be absolute. Otherwise behavior is not specified. use /system/bin/sh -c to run in a shell. Interactive shell is not supported.
Args to pass to the command
Directory to execute the command
Whether to pipe stdin to the command
Environment to use
Used in:
Used in:
Used in: ,
Used as request type in: PortForwarder.ForwardPort, PortForwarder.Stop
Keep this as lean as possible. We only care about the payload during most of the duration of the session. All other fields are only useful during the beginning/end of the transfer
Used as request type in: Waterfall.Pull, Waterfall.Push
Used as response type in: Waterfall.Pull, Waterfall.Push
Remote path to for push/pull. Remote path lives in the server fs. There is no need to send local path, since client has this info.
A stream of bytes. Encoded as a tarball.
status fields.