> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Boot your device

## Introduction

Describes how to access your device after it has been flashed. You can use either of the following two connection methods:

* UART for low-level serial console access
* ADB for standard shell access

## Connect using UART

### Install Minicom

Minicom is a lightweight, terminal-based serial communication program used on Linux systems
to interact with devices over a UART (serial) connection. It allows you to access the device’s
console, view boot logs, and send commands directly to the system at a low level.

Install Minicom on the host system:

```bash theme={null}
sudo apt install minicom
```

### Connect

* To set up the debug UART connection and view the diagnostic messages, connect the micro-USB cable from the micro-USB port on the device to the Linux host.

  <Tabs>
    <Tab title="QCS6490/QCS5430">
      <img src="https://mintcdn.com/qualcomm-prod/yUQ5Z3Vx_Ib3ymoN/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/micro_usb_port.png?fit=max&auto=format&n=yUQ5Z3Vx_Ib3ymoN&q=85&s=33d1ab836689e3ff4a259c77fecde598" alt="micro_usb_port" width="800" height="610" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/micro_usb_port.png" />
    </Tab>

    <Tab title="IQ-9075">
      <Tabs>
        <Tab title="IQ-9 Beta EVK">
          <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_ridesx.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=70aa35c3f9d03346fded1cf35c87696d" alt="uart_ridesx" width="598" height="549" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_ridesx.png" />
        </Tab>

        <Tab title="IQ-9075 EVK">
          <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq9075_evk.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=dab21179562e93eda50da2f2b1da6a2e" alt="uart_iq9075_evk" width="926" height="709" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq9075_evk.png" />
        </Tab>
      </Tabs>
    </Tab>

    <Tab title="IQ-8275">
      <Tabs>
        <Tab title="IQ-8 Beta EVK">
          <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_ridesx.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=70aa35c3f9d03346fded1cf35c87696d" alt="uart_ridesx" width="598" height="549" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_ridesx.png" />
        </Tab>

        <Tab title="IQ-8275 EVK">
          <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq9075_evk.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=dab21179562e93eda50da2f2b1da6a2e" alt="uart_iq9075_evk" width="926" height="709" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq9075_evk.png" />
        </Tab>
      </Tabs>
    </Tab>

    <Tab title="IQ-615">
      <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq_615.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=ca7e2b65e3da31639fb8f1160f3f2c6a" alt="uart_iq615_evk" width="1004" height="864" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iq_615.png" />
    </Tab>

    <Tab title="IQ-X7181/IQ-X5121">
      <img src="https://mintcdn.com/qualcomm-prod/Im5W2pUR5LdqxAI6/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iqx7181.png?fit=max&auto=format&n=Im5W2pUR5LdqxAI6&q=85&s=46025a5f19a67845ecb4085c5a863e2e" alt="uart_iqx7181" width="697" height="674" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/uart_iqx7181.png" />
    </Tab>
  </Tabs>

* Check if the USB port is detected:

  ```bash theme={null}
  ls /dev/ttyUSB*
  ```

  ```text Sample output theme={null}
  /dev/ttyUSB0
  ```

* Open Minicom:
  ```bash theme={null}
  sudo minicom -s
  ```

* Use the Down arrow key to select the **Serial port setup** option. Use the Up and Down arrow keys to navigate through the menu.
  <img src="https://mintcdn.com/qualcomm-prod/yUQ5Z3Vx_Ib3ymoN/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/serial_port_setup.jpg?fit=max&auto=format&n=yUQ5Z3Vx_Ib3ymoN&q=85&s=6a64f7b58bd29ee039a5e4ef2a7e1686" alt="serial_port_setup" width="300" height="228" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/serial_port_setup.jpg" />

* Set up the serial device configuration:
  * Select **A** on your keyboard to set up the serial device name such as `/dev/ttyUSB0`.
  * Select **Enter** to save the changes.
  * Select **E** on your keyboard to set the baud rate and 8N1 configuration:
    * Select the **E** key again if the baud rate isn’t set to **115200**.
    * Select the **Q** key if the configuration isn’t set to **8N1**.
      <img src="https://mintcdn.com/qualcomm-prod/yUQ5Z3Vx_Ib3ymoN/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/option_Q.png?fit=max&auto=format&n=yUQ5Z3Vx_Ib3ymoN&q=85&s=d7fcf06cbd38c36f6cb7aab40e0598db" alt="option_Q" width="514" height="509" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/option_Q.png" />
  * Select **Enter** to save the changes.
  * Select **F** on your keyboard to set the **Hardware Flow Control** to `No`.
    <img src="https://mintcdn.com/qualcomm-prod/yUQ5Z3Vx_Ib3ymoN/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/serial_device_configuration.png?fit=max&auto=format&n=yUQ5Z3Vx_Ib3ymoN&q=85&s=08f13a787b810197528656add5188562" alt="serial_device_configuration" width="524" height="385" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/serial_device_configuration.png" />
  * Select **Enter** to save the changes.

* Select the **Save setup as dfl** option and then select **Enter**.
  <img src="https://mintcdn.com/qualcomm-prod/yUQ5Z3Vx_Ib3ymoN/Key-Documents/Flash-Guide/media/k2c-qli-build-ga/save_setup_as_dfl.png?fit=max&auto=format&n=yUQ5Z3Vx_Ib3ymoN&q=85&s=1209f477fed0709fdf91d54ad8b2c128" alt="save_setup_as_dfl" width="250" height="189" data-path="Key-Documents/Flash-Guide/media/k2c-qli-build-ga/save_setup_as_dfl.png" />

* Select **EXIT** to open the UART console and then select **Enter**.

* Sign in to the UART console:
  * Login: `root`
  * Password: `oelinux123`

<Note>
  If the sign in console doesn't display as expected, verify the USB connection. If the issue persists, disconnect and then reconnect the micro-USB.
</Note>

## Connect using ADB

<Note>
  `adbd` is disabled on the device by default and must be explicitly enabled before use.
</Note>

### Install ADB

ADB is used to communicate with a running device and is required to trigger a reboot
into EDL mode from the operating system. It provides a convenient way to transition
the device into the correct state for flashing without manual intervention.

* Install `adb` on your host system using the system package manager:
  ```bash theme={null}
  sudo apt install android-tools-adb android-tools-fastboot
  ```

* Verify if `adb` is installed on your system:

  ```bash theme={null}
  adb --version
  ```

  ```text Sample output theme={null}
  Android Debug Bridge version 1.0.39
  Version 1:8.1.0+r23-5ubuntu2
  ```

* The `adbd` service is disabled by default. A one-time setup is required to
  enable the service before `adb` can be used.

  * Connect to the device by following the
    [Connect via UART](/Key-Documents/Flash-Guide/boot-up#connect-via-uart) guide.

  * Create the file `/etc/usb-debugging-enabled` to enable `adbd`.

    ```bash theme={null}
    touch /etc/usb-debugging-enabled
    ```

  * Configure the `adbd` service to start automatically.

  ```bash theme={null}
  systemctl enable --now android-tools-adbd
  ```

### Connect

* Connect the device using the USB Type-C cable to the host computer.

* Ensure that the device is recognized as a device by `adb`:

  ```bash theme={null}
  adb devices
  ```

  ```text Sample output theme={null}
  List of devices attached
  68f592a device
  ```

* Connect to an `adb` shell:
  ```bash theme={null}
  adb shell
  ```
