# Flash system with fastboot

Source: [https://docs.qualcomm.com/doc/80-88500-5/topic/flash_with_fastboot_hlos_and_non-hlos.html](https://docs.qualcomm.com/doc/80-88500-5/topic/flash_with_fastboot_hlos_and_non-hlos.html)

## About this task

The following procedure provides information on how to download complete system software on to the device using fastboot script.

Note: If the device does not enter the fastboot mode, follow the procedure in [Using PCAT tool](https://docs.qualcomm.com/doc/80-88500-5/topic/using_pcat_tool.html#Ref130471992).

The fastboot script is downloaded along with the software release package from the Qualcomm [ChipCode™](https://chipcode.qti.qualcomm.com) portal.

## Procedure

1. To check if device is connected to the host through USB, run the following command on the host:
        
adb devicesCopy to clipboard

**Sample output:**

          <samp class="ph systemoutput">List of devices attached 84ba9b5f device</samp>
          
To flash the device in the fastboot mode, use one of the following options:

    - Option 1: If the device is detected in the adb mode, run the `adb reboot
                bootloader` command to place the device into the fastboot mode.
    - Option 2: If adb does not detect the device or if the device fails to boot, place
              the device into the fastboot mode using the following steps:
        1. With USB and power not plugged in, hold down the **VOL-** key.
        2. Connect the device to the host system through the USB Type-C port.
        3. Plug in the +12-V wall power supply.
        4. Release the **VOL-** key.
2. To verify if the device has entered the fastboot mode, run the following command:
        
fastboot devicesCopy to clipboard

          **Sample output:**
          <samp class="ph systemoutput">84ba9b5f fastboot</samp>
3. When the device is in the fastboot mode, run the following script to flash the full system
        software: 
<base_build_root>/QRB5165.UBUN.2.0/common/build/fastboot_complete.pyCopy to clipboard

Note:
    - The `<base_build_root>` is the local workspace path where the
              build is located.
    - To run the `fastboot_complete.py` script, you must use the Python
              version 2.7.

**Parent Topic:** [Flash RB5 software](https://docs.qualcomm.com/doc/80-88500-5/topic/prepare_rb5_kit_for_flashing.html)

Last Published: Nov 25, 2025

[Previous Topic
Flash system with PCAT](https://docs.qualcomm.com/bundle/publicresource/80-88500-5/topics/using_pcat_tool.md) [Next Topic
Flash Linux with fastboot](https://docs.qualcomm.com/bundle/publicresource/80-88500-5/topics/flash_only_hlos_image.md)