Skip to main content
All CollectionsFAQs & Troubleshooting GuidesFAQs
How to Use ADB Commands in SideQuest
How to Use ADB Commands in SideQuest

Steps to on how to use ADB commands in the Sidequest app.

Anthony Gallardo avatar
Written by Anthony Gallardo
Updated over a week ago

Overview

ADB (Android Debug Bridge) commands are useful for various tasks, such as installing apps, accessing device files, and debugging Android devices. This guide will walk you through the steps to use ADB commands for your Android-based VR (virtual reality) and AR (augmented reality) devices as well as Android phones and tablets in SideQuest, a popular tool for managing VR content.

⚠️ WARNING: Exercise caution when using ADB commands, as some commands can have significant effects on your device.

Prerequisites

  • Install Sidequest (Advanced Installer is recommended, and ADB comes installed with Sidequest).

  • Android's USB Debugging is enabled (included under Developer Mode, for devices like Meta Quest). Refer to the device manufacturer's documentation for instructions or see our USB Debugging Collection for help enabling Developer Mode/USB Debugging.


Using ADB Commands in SideQuest

  1. With SideQuest installed, launch it on your computer and connect your VR device via USB. Once your device is connected, you should see a green circle and your device type in the upper-left corner, like so:

    Sidequest Top Menu - Device Model.jpg

  2. Next, click the Run ADB Command button in the upper-right.

    Sidequest Top Menu - Run ADB Commands.png

  3. Click Custom Command.

    Sidequest Top Menu - Custom Command.png

  4. Type the desired ADB command in the text box and click Run Command to execute it. For example, you can use the command adb devices to list all devices connected the computer at the time the command is run:

Sidequest - Run ADB Command - adb devices.png

💡 NOTE: Sidequest comes with a few commands preloaded (e.g. - List Devices, Reboot Headset, etc), and provides the means to add custom commands as well for repeated use. You can find these under the Custom Command option under the Run ADB Commands mentioned above in Step 2. If you have any questions or need help with running a specific ADB command, contact ArborXR Support.

Useful ADB Commands

As ADB is an expansive tool that allows you to perform a variety of functions on your USB Debugging-enabled devices, we won’t go into depth with all of the commands available for ADB. To learn all the available commands for ADB, in the Run ADB Command screen from Step 4 above, type in adb help then click the Run Command button. See Android’s ADB documentation as well to learn more. Below are some of the more commonly used ones that you might find useful!

adb devices

  • Lists all Android-based devices with USB Debugging enabled that are currently connected to your computer via USB.


adb shell pm list packages

  • Gathers a list of all APKs installed on devices connected to your computer. This is particularly useful when gathering Package Names for installed applications for our Unmanaged Apps feature.

  • Alternatively, you can use flags -3 and -s to filter specific types of applications:

    • Third-party applications (apps downloaded from your device’s respective app store:

      • adb shell pm list packages -3

    • System applications:

      • adb shell pm list packages -s


adb logcat > logcat.log

  • A useful troubleshooting tool for developers. Once run, it will capture most device activity occurring on the device and send the data to a text file. You’ll typically only need this when working with ArborXR Support and they request a logcat for troubleshooting/debugging purposes. To learn more about using this command in the context of ArborXR, see our article Gather Local Device Logs!


By following this guide, you can effectively use ADB commands in SideQuest to manage and interact with your Android device!

Did this answer your question?