# Generate a full-OTA package

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

To generate a full-OTA package, perform the following steps:
      
1. Download the source code and compile the following files created in the image location:
    - target-files-ext4.zip: &lt;src&gt;/build-qti-distro-Ubuntu-debug/tmp-glibc/deploy/images/qrb5165
    - Qualcomm debs: &lt;src&gt;/build-qti-distro-Ubuntu-debug/tmp-glibc/deploy/images/qrb5165/qrb5165-qti-deb/QTI
2. If necessary, upgrade the non-HLOS part using the following steps. If not, skip this step.
    1. Create the folder "RADIO" in the previous image location.

            mkdir RADIOCopy to clipboard
    2. Copy the following `filesmap` to RADIO: &lt;src&gt;/poky/meta-qti-bsp/recipes-bsp/conf/machine/kona-filesmap.
    3. Rename from `kona-filesmap` to `filesmap`.
    4. Copy non-HLOS binaries to RADIO.
              
        Non-HLOS binaries: Fetch from each non-HLOS SI image location.
    5. Package the RADIO folder into target-files-ext4.zip.

            zip -m target-files-ext4.zip RADIO/*Copy to clipboard
3. Copy target-files-ext4.zip and QTI folder into the following release tool location: &lt;src&gt;/build-qti-distro-Ubuntu-debug/tmp-glibc/work/qrb5165\_rb5-oe-linux/qti-Ubuntu-robotics-image/1.0-r0/recipe-sysroot-native/usr/bin/releasetools
4. To generate the update\_ext4.zip package, run the following code:

        ./full_ota.sh target-files-ext4.zip <src>/build-qti-distro-Ubuntu-debug/tmp-glibc/work/qrb5165_rb5-oe-linux/qti-Ubuntu-robotics-image/1.0-r0/rootfs ext4 --block --ubuntu --system_path /Copy to clipboard
5. To package the Qualcomm debs into the update\_ext4.zip file, run the following code:

        zip -m update_ext4.zip ./QTI/*Copy to clipboard

        zip -m update_ext4.zip ./OSS/*Copy to clipboard
6. Generate the full-OTA package in the update\_ext4.zip file.

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

Last Published: Aug 18, 2023

[Previous Topic
Over-the-air (OTA) (Linux Ubuntu)](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/45_Over_the_air__OTA_.md) [Next Topic
Upgrade OTA](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/47_Upgrade_OTA.md)