# Flash images for registered users Source: [https://docs.qualcomm.com/doc/80-70014-254/topic/flash_images.html](https://docs.qualcomm.com/doc/80-70014-254/topic/flash_images.html) Registered users must flash the software using the following steps: 1. Install PCAT and QUD tools on host machine (one-time prerequisite). 2. Update `udev` rules (one-time prerequisite). 3. Move the device to EDL mode. 4. Flash the software using QDL, PCAT, or QSC Launcher. ### Install PCAT and QUD To detect connected devices and flash software builds, ensure that the Qualcomm PCAT and QUD tools are installed on the host machine. Run the following commands to use `qpm-cli` to install PCAT and QUD: qpm-cli --login qpm-cli --install pcat --activate-default-license qpm-cli --install qud --activate-default-licenseCopy to clipboard Note: For Ubuntu 22.04, you may encounter an issue while installing QUD, where you might be asked to enroll the public key on your Linux host for a successful QUD installation. For additional details, follow the steps provided in the README file available in the `/opt/QUIC/sign/signReadme.txt` directory. ### Update `udev` rules See [Update udev rules](https://docs.qualcomm.com/doc/80-70014-254/topic/flash_images_unregistered.html#flash_images_unregistered__section_wxy_mty_v1c). ### Move to EDL mode See [Move to EDL mode](https://docs.qualcomm.com/doc/80-70014-254/topic/flash_images_unregistered.html#flash_images_unregistered__section_vgg_mly_v1c). ### Flash software using QDL See [Flash software using QDL](https://docs.qualcomm.com/doc/80-70014-254/topic/flash_images_unregistered.html#flash_images_unregistered__section_byn_pdj_x1c). ### Flash software using PCAT 1. Check if `QTI_HS-USB_QDLoader` driver is available in the installed directory: ls –la /dev/Q*Copy to clipboard **Sample output** crw-rw-rw- 1 root 242 0 Dec 10 10:51 /dev/QTI_HS-USB_QDLoader_9008_3-8:1.0Copy to clipboard 2. Verify whether the device has entered the QDL mode: lsusbCopy to clipboard **Sample output** Bus 002 Device 014: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)Copy to clipboard 3. Check if the device is recognized by PCAT: pcat -devicesCopy to clipboard **Sample output** Searching devices in Device Manager, please wait for a moment… ID | DEVICE TYPE | DEVICE STATE | SERIAL NUMBER | ADB SERIAL NUMBER | DESCRIPTION NA | NA | EDL | BE116704 | be116704 | Qualcomm USB Composite Device:QUSB_BULK_CID:042F_SN:BE116704 Copy to clipboard 4. Download the build: PCAT –PLUGIN SD -DEVICE -BUILD “” -MEMORYTYPE UFS -FLAVOR asic # Example PCAT -PLUGIN SD -DEVICE be116704 -BUILD "/build-qcom-wayland/tmp-glibc/deploy/images/qcm6490/qcom-multimedia-image" -MEMORYTYPE UFS -FLAVOR asicCopy to clipboard Flashing is successful if you see the following message: xxxx INFO] [ FIRMWARE DOWNLOAD LOG ] Process Finished xxxx INFO] Status - TRUE xxxx INFO] Response - Downloading software images completed on the device Qualcomm USB Composite Device:QUSB_BULK_CID:042F_SN:BE116704Copy to clipboard After a successful flashing operation, run `lsusb` command to see the device information on the terminal window as shown in line 4 of the following message: ThinkPad-T490s:/build-qcom-wayland/tmp-glibc/deploy/images/qcm6490/qcom-multimedia-image$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 006: ID 05c6:901d Qualcomm, Inc. QCM6490_fd2913cf Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubCopy to clipboard Note: - To connect to the device, see [How to SSH](https://docs.qualcomm.com/doc/80-70014-254/topic/how_to.html#howto_setup__section_hmw_vsh_p1c_vinayjk_03-01-24-1110-45-279). - The device reboots on successful completion of the flashing procedure. To verify the updated software version, see [Check software version](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-253/ubuntu_host.html#sub$check_sw_version_uart). ### Flash software using QSC Launcher See [Flash using QSC Launcher](https://docs.qualcomm.com/doc/80-70014-254/topic/build_from_source_qsc_gui_intro.html#concept_n2t_tjn_w1c__section_cmp_qbj_x1c). Note: The device reboots on successful completion of the flashing procedure. To verify the updated software version, see [Check software version](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-253/ubuntu_host.html#sub$check_sw_version_uart). Last Published: Aug 07, 2024 [Previous Topic Flash images for unregistered users](https://docs.qualcomm.com/bundle/publicresource/80-70014-254/topics/flash_images_unregistered.md) [Next Topic Troubleshooting](https://docs.qualcomm.com/bundle/publicresource/80-70014-254/topics/troubleshoot_sync_build_and_flash.md)