Skip to content

Instantly share code, notes, and snippets.

@lzzy12
Last active October 23, 2017 05:50
Show Gist options
  • Save lzzy12/ea52b9a216081ee56ef21dd8e44f2dce to your computer and use it in GitHub Desktop.
Save lzzy12/ea52b9a216081ee56ef21dd8e44f2dce to your computer and use it in GitHub Desktop.
Place this file in root directory of XenonHD sources while building for J23G
#
# OTA XML
#
# See ota_nougat.xml for example
#
# Note:
# * Multiple devices can be added in the xml file
# * You can define any tags that end with 'Url'. These tags will be added in the UI automatically
#
ota_url=https://raw.githubusercontent.com/j23g/xenonhd_ota/j23g/ota_nougat.xml
release_type=Stable
device_name=ro.product.device
#
# VERSION
#
# A version can be a date or a number with characters
# A version source can be a 'property key' from build.prop or a 'uname -r' command line
# If a version is a number, leave the version_format empty. Otherwise, provide the date format
#
# Example with a property key 'ro.modversion' : Parse the date 20150426 from 'SlimSaber-bacon-5.0.2-20150426'
#
# Version source: ro.modversion
# Version delimiter: -
# Version position: 3 (zero based)
# Version format: yyyyMMdd
#
# Example with 'uname -r': Parse the number 239 from '3.4.107~AK.239.OPO.CM12.1'
#
# Version source: uname -r
# Version delimiter: .
# Version position: 3 (zero based)
# Version format:
#
version_source=ro.modversion
version_delimiter=-
version_position=3
version_format=yyyyMMdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment