# Flash Linux with fastboot

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

## About this task

If you intend to modify only application processor software, then do the following to flash
        only high-level operating system (HLOS) binaries on to the device:

**Linux Ubuntu**

1. Navigate to the application processor build software location, for example,
              `<base_build_root>/lu.um.3.3.1/apps_proc/build-qti-distro-ubuntu-fullstack-debug/tmp-glibc/deploy/images/qrb5165-rb5`
2. To flash in the fastboot mode, run the following commands on the
            host:

        adb reboot bootloaderCopy to clipboard

        fastboot flash boot_a <qti-ubuntu-robotics-image-qrb5165-rb5-boot.img>Copy to clipboard

        fastboot flash boot_b <qti-ubuntu-robotics-image-qrb5165-rb5-boot.img>Copy to clipboard

        fastboot flash abl_a abl.elfCopy to clipboard

        fastboot flash abl_b abl.elfCopy to clipboard

        fastboot flash system <qti-ubuntu-robotics-image-qrb5165-rb5-sysfs.ext4>Copy to clipboard

        fastboot rebootCopy to clipboard

**Linux Embedded**

1. Navigate to the application processor build software location, for
              example,

`<base_build_root>/apps_proc/build-qti-distro-fullstack-debug/tmpglibc/deploy/images/qrb5165-rb5/qti-robotics-image`
2. To flash in the fastboot mode, run the following commands on the
            host:

        adb reboot bootloaderCopy to clipboard

        fastboot flash abl_a abl.elfCopy to clipboard

        fastboot flash boot_a boot.imgCopy to clipboard

        fastboot flash boot_b boot.imgCopy to clipboard

        fastboot flash system_a system.imgCopy to clipboard

        fastboot flash system_b system.imgCopy to clipboard

        fastboot flash persist persist.imgCopy to clipboard

        fastboot flash userdata userdata.imgCopy to clipboard

        fastboot rebootCopy to clipboard

**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 fastboot](https://docs.qualcomm.com/bundle/publicresource/80-88500-5/topics/flash_with_fastboot_hlos_and_non-hlos.md) [Next Topic
Set up the device](https://docs.qualcomm.com/bundle/publicresource/80-88500-5/topics/set_up_the_device.md)