Skip to main content
adbd is disabled on the device by default and must be explicitly enabled before use.

Introduction

Describes an alternative procedure to switch devices into EDL mode using ADB. This procedure is only applicable if the device has a preloaded image. At a high level, the workflow includes the following:
  • Set up the host system with required tools (QUD, ADB)
  • Connect device to ADB
  • Switch device to EDL mode

Install required packages

QUD is required to ensure the host system can properly detect and communicate with the Qualcomm device over USB in Emergency Download (EDL) mode.
  • Clone the qud GitHub repository:
  • Ensure the install script is executable:
  • Install the QUD driver:
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:
  • Verify if adb is installed on your system:
    Sample output
  • 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 guide.
    • Create the file /etc/usb-debugging-enabled to enable adbd.
    • Configure the adbd service to start automatically.

Connect to ADB

  • Connect the device using the USB Type-C cable to the host computer.
  • Ensure that the device is recognized as a device by adb:
    Sample output
  • Connect to an adb shell:

Switch device to EDL mode

  • In the adb shell, switch the device to EDL mode:
  • Verify if the device is in EDL mode:
    Sample output