diff --git a/OTA.xml b/OTA.xml new file mode 100644 index 00000000..b56407b7 --- /dev/null +++ b/OTA.xml @@ -0,0 +1,39 @@ +# +# ota_conf +# +# 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 +# * Chances are you only need to change the ota_url in this file +# +ota_url=https://raw.githubusercontent.com/vagedis/OTA/master/OTA.xml +release_type=Stable +device_name=ro.rr.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.rr.version' : Parse the date 20150426 from 'ResurrectionRemix-M-v5.x.x-20150426-bacon' +# +# Version source: ro.rr.version +# 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: +# +# uname -r will only be needed if using the app for kernels, not required here + +version_source=ro.rr.version +version_delimiter=- +version_position=3 +version_format=yyyyMMdd