Guide to OTA Update in Android for i.MX platforms

cancel
Showing results for 
Search instead for 
Did you mean: 

Guide to OTA Update in Android for i.MX platforms

Guide to OTA Update in Android for i.MX platforms

This document provides steps to perform the system upgrade/OTA update for Android on i.MX platforms.

  1. Compile the Android images and generate an OTA Package:
    • source build/envsetup.sh
    • lunch sabresd_6dq-userdebug
    • make -j4
    • make otapackage
  2. You can find your OTA package in the below path:
    • ls out/target/product/sabresd_6dq/sabresd_6dq-ota-<xxx>.zip
  3. Copy the above OTA zip package to the device in sdcard using adb push
    • adb push out/target/product/sabresd_6dq/sabresd_6dq-ota-<xxx>.zip /sdcard
  4. Move the package from sdcard to the location: /cache/update.zip
  5. Make the directory and perform the below steps on the device:
    • mkdir -p /cache/recovery
    • touch /cache/recovery/command
    • echo "--update_package=/cache/update.zip" > /cache/recovery/command
    • reboot recovery

The recovery automatically applies the command and installs this update package.

Note: In this document, the setup is for the i.MX6Q SABRESD Board. So, PathName and OTA package name subject to change based on target device compilation.

Version history
Revision #:
1 of 1
Last update:
‎04-01-2019 03:17 AM
Updated by: