Skip to content

Commit fcfe2a5

Browse files
committed
Add and fix the metadata
1 parent 7a456fe commit fcfe2a5

File tree

8 files changed

+10
-1
lines changed

8 files changed

+10
-1
lines changed

openandroidinstaller/assets/configs/cupid.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ metadata:
33
brand: xiaomi
44
device_name: Xiaomi 12
55
is_ab_device: false
6-
device_code: cupid
76
additional_steps:
87
- dtbo
98
- vbmeta
109
- super_empty
10+
device_code: cupid
1111
supported_device_codes:
1212
- cupid
13+
untested: true
1314
requirements:
1415
android: 13
1516
steps:

openandroidinstaller/assets/configs/davinci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
supported_device_codes:
88
- davinci
99
- davinciin
10+
untested: true
1011
steps:
1112
unlock_bootloader:
1213
- type: confirm_button

openandroidinstaller/assets/configs/ginkgo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
supported_device_codes:
88
- ginkgo
99
- willow
10+
untested: true
1011
notes:
1112
- You should install Android 10 or newer ROM.
1213
requirements:

openandroidinstaller/assets/configs/miatoll.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
- curtana
1111
- excalibur
1212
- joyeuse
13+
untested: true
1314
requirements:
1415
android: 12
1516
steps:

openandroidinstaller/assets/configs/raphael.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
supported_device_codes:
1010
- raphael
1111
- raphaelin
12+
untested: true
1213
steps:
1314
unlock_bootloader:
1415
- type: confirm_button

openandroidinstaller/assets/configs/rosemary.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
- secret
1010
- maltose
1111
- rosemary_p
12+
untested: true
1213
notes:
1314
- Please respect the requested by the ROM developers version for MIUI and Android.
1415
steps:

openandroidinstaller/assets/configs/vayu.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
supported_device_codes:
88
- vayu
99
- bhima
10+
untested: true
1011
requirements:
1112
android: 12 (S)
1213
steps:

openandroidinstaller/installer_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def __init__(
6666
self.additional_steps = metadata.get("additional_steps", [])
6767
self.supported_device_codes = metadata.get("supported_device_codes")
6868
self.twrp_link = metadata.get("twrp-link")
69+
self.untested = metadata.get("untested", False)
6970

7071
@classmethod
7172
def from_file(cls, path) -> Self:
@@ -166,6 +167,7 @@ def validate_config(config: str) -> bool:
166167
"maintainer": str,
167168
"device_name": str,
168169
"is_ab_device": bool,
170+
schema.Optional("untested"): bool,
169171
"device_code": str,
170172
"supported_device_codes": [str],
171173
schema.Optional("twrp-link"): str,

0 commit comments

Comments
 (0)