Skip to content

Instantly share code, notes, and snippets.

@shriduttkothari
Last active December 21, 2015 12:39
Show Gist options
  • Save shriduttkothari/6307393 to your computer and use it in GitHub Desktop.
Save shriduttkothari/6307393 to your computer and use it in GitHub Desktop.
If the new update package is having older “build date time” than we should comment the following line from file: /build/tools/releasetools/ota_from_target_files As the mentioned line creates the assert in the updater script for older build and aborts the installation if the update file is having older “build date time”.
def WriteFullOTAPackage(input_zip, output_zip):
# comment the following line:
script.AssertOlderBuild(ts);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment