# Generate full-OTA package

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

If you only want to update HLOS (system and boot), the package is autogenerated after the
            compilation/build finishes.

If non-HLOS images (modem, tz, sbl, abl.elf) must be updated, then the update-package
            must be generated explicitly after including these images.

To upgrade non-HLOS images, perform the following steps: 
1. Compile full image at unzip -qo
                        build-qti-distro-rb-debug/tmp-glibc/deploy/images/qrb5165-rb5/qti-robotics-image/target-files-ext4.zip
                        -d full\_target.
2. Pack the non-HLOS images that you want to upgrade into the RADIO folder and zip
                    the folder `cd full_target; zip -qry target-files-ext4.zip *`.
3. Ensure that the filenames of the images should be matching with the filenames
                    mentioned in RADIO/filesmap in target-files-ext4.zip.
4. To generate the package, run the following
                    commands:

        cd build-qti-distro-rb-debug/tmp-glibc/deploy/images/qrb5165-rb5/ota-scripts/Copy to clipboard

        ./full_ota.sh target-files-ext4.zip <path/to/workspace>/build-qti-distro-rb-debug/tmp-glibc/work/qrb5165_rb5-oe-linux/qti-robotics-image/1.0-r0/rootfs ext4 --block --system_path /Copy to clipboard

The update package is generated in
                build-qti-distro-rb-debug/tmp-glibc/deploy/images/qrb5165-rb5/ota-scripts/update\_ext4.zip
            directory.

**Parent Topic:** [Over-the-air (OTA) (Linux Embedded)](https://docs.qualcomm.com/doc/80-88500-2/topic/over_the_air_ota_linux_embedded.html)

Last Published: Aug 18, 2023

[Previous Topic
Over-the-air (OTA) (Linux Embedded)](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/over_the_air_ota_linux_embedded.md) [Next Topic
Generate incremental OTA upgrade package](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/generate_incremental_ota_upgrade_package.md)