$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
Use these VDA global options, and local and shell commands to install, test, and debug your Vega app.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
Devices
To list all connected devices, usedevices. Add -l to list the device qualifiers.
Get serial number
To print the Device Serial Number (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
To return a device to USB mode, useusb. Reconnect the USB cable before running this command.
Connect
To connect to a device through TCP/IP, useconnect. The device must already be configured for TCP/IP mode (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 file, 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, use thepush command. 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, usevda version.
Wait for device
To block activity until your device comes online, usewait-for-device. This helps when scripting.
Reboot
To reboot your device, usereboot.
VDA shell commands
Invoke the shell
Thevega exec vda shell command runs a remote shell interactively, and has a number of options available.
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 commands below.
To run a component interactively, use:
High level memory
To find the high-level memory footprint of all processes in the system, useace-memusage.
gwsi-tool-screenshooter
To capture and save screenshots in PNG format, use:Device logs
To print device logs to the screen, useloggingctl log:
Related topics
- Configure VDA Over TCP/IP
- Use Loggingctl to Manage System Logs
- App Management and Communication Tools

