Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3660b92
init move adb section
karlsoderby Oct 29, 2025
0673eef
first draft
karlsoderby Oct 31, 2025
8b208af
update cli tutorial
karlsoderby Oct 31, 2025
7f99101
Update apps-lab-cli.md
karlsoderby Oct 31, 2025
edf4580
Update adb.md
karlsoderby Oct 31, 2025
dc9b1f4
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 17, 2025
4e12622
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
bd8d702
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
a0153b7
Update content/hardware/02.uno/boards/uno-q/tutorials/06.adb/adb.md
91volt Nov 20, 2025
fa152ee
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
d5faacf
Update content/hardware/02.uno/boards/uno-q/tutorials/06.adb/adb.md
91volt Nov 20, 2025
ffd73ef
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
9901614
Update content/hardware/02.uno/boards/uno-q/tutorials/06.adb/adb.md
91volt Nov 20, 2025
1562cc8
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
272ad3f
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
9da997d
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
bbf9bb8
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
26f9c70
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
f58a1ee
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
ebe8220
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
00ed026
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
3866791
Update content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
91volt Nov 20, 2025
fbeafaa
update from sh to bash code snippets
91volt Nov 20, 2025
5f230b5
add link to first setup
91volt Nov 20, 2025
bf106bb
move set board name content within System config and updates section
91volt Nov 20, 2025
ae56e2b
fixed first setup link in app-lab-cli tutorial
91volt Nov 20, 2025
71e86d9
getting start link fix v2
91volt Nov 20, 2025
9b757f8
Fix getting starter app-lab link - def
91volt Nov 20, 2025
da8b018
add anchor to first setup link
91volt Nov 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions content/hardware/02.uno/boards/uno-q/tutorials/06.adb/adb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: Connect to UNO Q via ADB
description: Learn how to connect to the UNO Q's shell via ADB.
author: Karl Söderby
tags: [UNO Q, ADB, Linux]
---

The Linux OS running on the [Arduino UNO Q](https://store.arduino.cc/products/uno-q) can be accessed over USB, using a tool called Android Debug Bridge (ADB).

ADB is a tool that you install on your computer, where you can access the board's shell and run operations on the system.

## Requirements

The following hardware is required:
- [Arduino UNO Q](https://store.arduino.cc/products/uno-q)
- [USB-C® type cable](https://store.arduino.cc/products/usb-cable2in1-type-c)

You will also need to have the following software installed on your OS:
- [Android Debug Bridge](https://developer.android.com/tools/releases/platform-tools)

## Installing ADB (Host Computer)

The ADB command line tool is supported on MacOS, Windows & Linux. For more specific instructions for your OS, see the sections below.

***You can find more information and download the latest version for the tool for all operating systems directly from the [Android SDK Platform Tools](https://developer.android.com/tools/releases/platform-tools#downloads) page.***

### MacOS

To install the ADB tools on **MacOS**, we can use `homebrew`. Open the terminal and run the following command:

```bash
brew install android-platform-tools
```

To verify the tool is installed, run `adb version`.

### Windows

To install the ADB tools on **Windows**, we can use `winget`, supported on Windows 11 and on some earlier Windows 10 versions.

Open a terminal and run the following:

```bash
winget install Google.PlatformTools
```

To verify the tool is installed, run `adb version`.

### Linux

To install ADB tools on a **Debian/Ubuntu Linux distribution**, open a terminal and run the following command:

```bash
sudo apt-get install android-sdk-platform-tools
```

To verify the tool is installed, run `adb version`.

## Connect via ADB

1. Connect the UNO Q board to your computer via USB-C®.
2. Run `adb devices` in the terminal. This should list the connected devices.

![Connected devices](assets/connected-devices.png)

>Note that it may take up to a minute for the device to appear after connecting it.

3. Run `adb shell`. If you have not set up your board prior to this via the Arduino App Lab, you may be required to provide a password, which is `arduino`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the board doesn't have a default password. The first time you try to do sudo or some other command that require the user password, you will be prompted to add a new one.

Suggested change
3. Run `adb shell`. If you have not set up your board prior to this via the Arduino App Lab, you may be required to provide a password, which is `arduino`.
3. Run `adb shell`.

4. You should now be inside your board's terminal.

![Terminal on the board.](assets/board-terminal.png)

5. You are now able to run commands via the terminal on your board! To exit from the terminal, simply type `exit`.

## Summary

Connecting via ADB is an easy way to gain access to your board's shell, allowing you to perform actions such as installing packages, editing files and running scripts.

The `arduino-app-cli` can also be used directly via the shell, allowing you to launch Apps directly from the command line. You can read more about that in the link below:
- [Arduino App CLI: Manage Apps from the Command Line](/software/app-lab/tutorials/cli/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 12 additions & 50 deletions content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,51 +15,15 @@ The following hardware is required:
- [Arduino UNO Q](https://store.arduino.cc/products/uno-q)
- [USB-C® type cable](https://store.arduino.cc/products/usb-cable2in1-type-c)

You will also need to have the following software installed:
To access the board via `adb` (over USB), you will also need to have the following software installed:
- [Android Debug Bridge](https://developer.android.com/tools/releases/platform-tools)

## Installing ADB (Host Computer)

***Note: if you are using the board as a Single Board Computer (SBC Mode (Preview) without a host computer), you do not need to install ADB. You can run `arduino-app-cli` directly from the terminal.***

The ADB command line tool is supported on MacOS, Windows & Linux. For more specific instructions for your OS, see the sections below.

***You can find more information and download the latest version for the tool for all operating systems directly from the [Android SDK Platform Tools](https://developer.android.com/tools/releases/platform-tools#downloads) page.***

### MacOS

To install the ADB tools on **MacOS**, we can use `homebrew`. Open the terminal and run the following command:

```sh
brew install android-platform-tools
```

To verify the tool is installed, run `adb version`.

### Windows

To install the ADB tools on **Windows**, we can use `winget`, supported on Windows 11 and on some earlier Windows 10 versions.

Open a terminal and run the following:

```sh
winget install Google.PlatformTools
```

To verify the tool is installed, run `adb version`.

### Linux

To install ADB tools on a **Debian/Ubuntu Linux distribution**, open a terminal and run the following command:

```sh
sudo apt-get install android-sdk-platform-tools
```

To verify the tool is installed, run `adb version`.
You can also access the board via SSH, which is typically installed on your system by default.

## Connect via ADB

***To learn more about setting up `adb`, check out the [Connect to UNO Q via ADB](/tutorials/uno-q/adb/) tutorial. This guide will walk you through the installation steps.***

1. Connect the UNO Q board to your computer via USB-C.
2. Run `adb devices` in the terminal. This should list the connected devices.

Expand All @@ -76,7 +40,7 @@ To verify the tool is installed, run `adb version`.

## Connect via SSH

***Note: to use SSH, the [first setup]() needs to be completed. This is done by connecting your board via USB, open the Arduino App Lab, and select the USB option. Here you will need to give your board a name, a new password as well as providing Wi-Fi® credentials. SSH will be automatically configured during this setup.***
***Note: to use SSH, the [first setup](/software/app-lab/tutorials/getting-started#install--set-up-arduino-app-lab) needs to be completed. This is done by connecting your board via USB, open the Arduino App Lab, and select the USB option. Here you will need to give your board a name, a new password as well as providing Wi-Fi® credentials. SSH will be automatically configured during this setup.***

1. Open a terminal on your machine.
2. Run `ssh arduino@<boardname>.local`
Expand Down Expand Up @@ -183,15 +147,6 @@ This will list all available Apps (including examples), and their status:

![List Apps.](assets/list-apps.png)

## Set Board Name

To set a board name using the `arduino-app-cli`, we can use the `set-name` command.

```sh
arduino-app-cli board set-name "my-board"
```

This will change the name of the board, which will take effect after resetting the board.

## System Configuration and Updates

Expand All @@ -204,6 +159,13 @@ arduino-app-cli system update
```
This will prompt you to install any available updates.

To set the board name, use:

```sh
arduino-app-cli system set-name "my-board"
```
This will change the name of the board, which will take effect after resetting the board.

To enable or disable the network mode, use:

```sh
Expand Down
Loading