Skip to main content

Firmware Update

Overview​

Update the devices to the target firmware before applying the Configuration. An update can be installed from a local OTA package pushed to the device by your MDM, as described on this page, or downloaded automatically by Arrow FOTA.

Firmware and Espresso updates

Espresso, the Datalogic package of device-specific drivers and APIs that runs on top of the Android firmware, is distributed and installed the same way as firmware. Every step on this page applies to both firmware and Espresso OTA packages.

Arrow FOTA

Datalogic Arrow FOTA automatically downloads and installs firmware and Espresso updates on the device, with no OTA package to host or push. It requires a Shield license and can be configured from any MDM through the Firmware Update settings of OEMConfig, including the target firmware version, polling windows, and release date delay.

Firmware packages​

Firmware and Espresso OTA packages are only available from the Datalogic Shield Firmware Website. Sign in, select your device model, and download the package for the target build. Downloading firmware requires an active Datalogic Shield contract.

Monthly security updates

Datalogic releases firmware with the latest Android security patches every month. Unless the devices are updated by Arrow FOTA, plan to download each new release and deploy it through your MDM once a month. To be notified when new firmware is released, subscribe in the Notifications section of your Datalogic developer account.

Each firmware release is available as two types of OTA package:

  • Full: Contains the complete firmware. It can be installed over any earlier build for the same model.
  • Incremental (INCR): Contains only the changes from one specific build to the next. It is much smaller than a full package, but it must match the device model and the build currently installed on the device.

Before you begin​

  • Check the model and build currently installed on the devices in your MDM's device inventory, and download the matching package. Packages are specific to the device variant, such as WLAN (Wi-Fi) vs. WWAN (cellular) and ROW (rest of world) vs. US.
  • Charge the devices or place them on a charger. Updates can be blocked when the battery is low.
  • Make sure the devices have enough free storage for the OTA package, plus room to install it.
  • Test the update on a small pilot group of devices before rolling it out to all devices.

Reset type​

The firmware update can optionally reset the device after the update completes:

Reset typeResult
NoneThe device keeps all its data, apps, and settings. This is the recommended option.
EnterpriseErases all user data and apps, but keeps the enterprise partition.
FactoryErases all data on the device, including the enterprise partition.
Enterprise and factory resets remove MDM enrollment

Both the Enterprise and Factory reset types remove the device's MDM enrollment. Devices registered for zero-touch enrollment re-enroll automatically once connected to the internet after the reset; all other devices must be enrolled again manually.

Procedure​

These steps are based on SOTI's Creating a Package guide and its Datalogic firmware upgrade guide. A SOTI package copies the firmware OTA package to the device, then runs a post-install script that starts the update.

Packages under 2 GB

Most full firmware packages are larger than 2 GB, so a SOTI package is the recommended method. If your OTA package is under 2 GB, such as an incremental (INCR) package, you can use a File Sync policy instead.

Create the package

  1. Sign in to the SOTI MobiControl web console.
  2. Open the main menu and select Packages.
  3. Select New Package.
  4. Select Create.
  5. Select Android as the platform.
  6. Enter a name for the package, such as Datalogic Firmware Update, and a version, such as the firmware build number.
  7. Select Next.
  8. On the Files tab, select Add.
  9. Browse to, or drag in, the firmware OTA ZIP file.
  10. Set File Destination to /sdcard/Download/.
  11. Select Save.

Add the update script

  1. On the Scripts tab, select Add.

  2. Select Post-Install Script.

  3. Enter the following command, replacing ota.zip with the actual firmware filename:

    sendintent -s "intent:#Intent;component=com.datalogic.systemupdate/com.datalogic.systemupdate.SystemUpgradeService;i.action=2;S.path=/sdcard/Download/ota.zip;i.reset=0;i.reboot=1;i.force_update=1;end"
  4. Select Save.

  5. Select Next.

  6. Select Publish.

The script's parameters, from the Datalogic Android SDK:

ParameterValues
action2: Request the firmware update. Required.
pathFull path to the OTA package on the device. Must match where the file was copied.
reset0: None (recommended), 1: Factory, 2: Enterprise. See Reset type.
reboot1: Reboot after the update, 0: Don't reboot.
force_update1: Install even if the same or an older build is installed, 0: Install only a newer build.
wipe_esim_profilesOptional, SDK 1.46 and later. 1: Delete all eSIM profiles after the update, 0: Keep them.

Assign the package with a profile

These steps are based on SOTI's Creating a Profile guide.

  1. Navigate to Policies > Profiles.
  2. Select New Profile.
  3. Select Android Enterprise as the platform.
  4. Enter a name for the profile, such as Datalogic Firmware Update.
  5. Open the Packages tab.
  6. Select Add.
  7. Select the Datalogic Firmware Update package.
  8. Select Add to Profile.
  9. Select Save and Assign.
  10. Select the target devices or device groups.
  11. Select Assign.
  12. Verify that the device completes the update and reports the expected build number.

Alternative: File Sync policy (packages under 2 GB)

These steps are based on SOTI's Using File Sync Policies guide. SOTI File Sync doesn't support files larger than 2 GB.

  1. Navigate to Policies > File Sync.
  2. Select New File Sync Policy.
  3. Select Android as the device family.
  4. Enter a name for the policy, such as Datalogic Firmware Update, and select Next.
  5. On the Configure tab, select Download from Server.
  6. In Server File/Folder Name, select File Manager and upload the firmware OTA ZIP file.
  7. In Device File/Folder Name, enter /sdcard/Download/ota.zip, using the actual firmware filename if different.
  8. Select Next.
  9. On the Scripts tab, turn on Enable Post-Sync Script.
  10. Set Script Type to Custom and enter the same sendintent command as the package above.
  11. Turn on Execute Script Only if Files Transmitted so the update command runs only when files are transferred.
  12. Select Next.
  13. On the Schedule tab, configure the synchronization schedule.
  14. Select Save and Assign.
  15. On the Devices tab, select the target devices or device groups.
  16. Select Assign.
  17. Verify that the firmware file is transferred and the device completes the update.

If the update fails​

If a device doesn't report the new build in your MDM's device inventory after the update:

  • Check that the package matches the device model. For incremental packages, also check that it matches the build installed on the device.
  • Check that the OTA package reached the device, at the expected path, and is not truncated.
  • Check the battery level and free storage on the device.
  • Download the package again from the Shield Firmware Website and retry the update, or use the full package instead of an incremental one.
  • If the update still fails, contact Datalogic support with the device model, serial number, current build, and the package filename.