$HOME/vega/sdk/vega-sdk/main/{SDK version}/bin/tools/vda.
To set up your Fire TV Stick with VDA, see Set Up Your Fire TV Stick. VDA works with the Vega Virtual Device (simulator) without additional setup.
VDA global options
To install, test, and debug your Vega app, use these VDA global options, local commands, and shell commands.Serial override
To direct commands to your device or emulator with a specific serial number or qualifier, use-s. This option overrides the VEGA_SERIAL environment variable.
Device (USB)
Device (TCP/IP)
When a device is connected through TCP/IP, use the identifier shown in thevega exec vda devices output:
Vega Virtual Device
VDA local commands
To manage device connections, transfer files, and control the VDA server, run these commands from your development machine.Devices
To list all connected devices, usedevices. Add -l to list the device qualifiers.
Get serial number
To print the DSN, useget-serialno. For network-connected devices, this command returns the actual DSN rather than the identifier.
TCP/IP mode
To switch a USB-connected device to TCP/IP mode, usetcpip with a port number. The device restarts its VDA daemon to listen on the specified port. Use port 5555 or any port greater than 1024.
connect to establish a wireless connection. For the full setup workflow, see Configure VDA Over TCP/IP.
USB mode
Before you run this command, reconnect the USB cable.Connect
To connect to a device through TCP/IP, useconnect. Configure the device for TCP/IP mode first (see Configure VDA Over TCP/IP).
Disconnect
To disconnect from a TCP/IP-connected device, usedisconnect. If you run this command without arguments, VDA disconnects from all TCP/IP devices.
Help
To view the help text, usevega exec vda --help.
Kill server
To stop the server, usekill-server.
Start server
To start the server, usestart-server.
Push
To copy a file or directory to your device, usepush. Add -p to display the transfer progress.
Pull
To copy a file or directory from your device, usepull. Add -p to display the transfer progress and -a to display timestamp and mode.
Version
To view your VDA version, useversion.
Wait for device
To pause a script until the device is ready to accept commands, usewait-for-device.
Reboot
To reboot your device, usereboot.
VDA shell commands
These commands run on the device through the VDA shell.Invoke the shell
Thevega exec vda shell command runs a remote shell interactively and supports several options.
Other shell commands
App management and communication tools
You can access these tools through the VDA shell:vpm, vlcm, and vmsgr commands.
Launch component shell
Each app launches one or more components. To get a list of components:application column as the <component-id> argument in the following commands.
To run a component interactively, use:
High-level memory
To find the high-level memory footprint of all processes in the system, useace_memusage.
Capture a screenshot
To capture and save screenshots in PNG format, usegwsi-tool-screenshooter.
Device logs
To print device logs to the screen, useloggingctl log:

