-
Notifications
You must be signed in to change notification settings - Fork 9
/
ota_conf
38 lines (37 loc) · 1.09 KB
/
ota_conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# OTA XML
#
# See ota_lollipop.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/Cosmic-OS/OTA_COS/n7.1/OTA.xml
release_type=Stable
device_name=ro.cos.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 20160515 from 'Cosmic-os-OS-OFFICIAL-v1.0-ms013g-20160627.zip'
#
# Version source: ro.modversion
# Version delimiter: -
# Version position: 5 (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.cos.version
version_delimiter= -
version_position= 5
version_format= yyyyMMdd