From 8fc101ccb16307034b97908ef9ca0b7a8269571e Mon Sep 17 00:00:00 2001 From: Hasan Okarvi Date: Wed, 13 Jun 2018 23:59:28 +0500 Subject: [PATCH] Create ota_conf --- ota_conf | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ota_conf diff --git a/ota_conf b/ota_conf new file mode 100644 index 0000000..8c88447 --- /dev/null +++ b/ota_conf @@ -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/frazerecho/RR_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