Skip to content

Commit ab4130d

Browse files
authored
Merge branch 'dev' into config-formatting
2 parents b100366 + e27100e commit ab4130d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+217
-214
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L
6262

6363
## Officially supported devices
6464

65-
Currently, the **we support 56 devices** by various vendors and working on adding more soon!
65+
Currently, the **we support 57 devices** by various vendors and working on adding more soon!
6666

6767

6868
Support for these devices is provided as best effort, but things might still go wrong.
@@ -198,6 +198,7 @@ A config file consists of two parts. The first part are some metadata about the
198198
Every config file should have `metadata` with the following fields:
199199
- `maintainer`: str; Maintainer and author of the config file.
200200
- `device_name`: str; Name of the device.
201+
- `is_ab_device`: bool; A boolean to determine if the device is a/b-partitioned or not.
201202
- `device_code`: str; The official device code.
202203
- `supported_device_codes`: List[str]; A list of supported device codes for the config. The config will be loaded based on this field.
203204
- `twrp-link`: [OPTIONAL] str; name of the corresponding twrp page.

openandroidinstaller/app_state.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def __init__(
4343
self.config = None
4444
self.image_path = None
4545
self.recovery_path = None
46-
self.is_ab = None
4746

4847
# store views
4948
self.default_views: List = []

openandroidinstaller/assets/configs/FP2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Fairphone 2
4+
is_ab_device: false
45
device_code: FP2
56
supported_device_codes:
67
- FP2

openandroidinstaller/assets/configs/FP3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Fairphone 3
4+
is_ab_device: true
45
device_code: FP3
56
supported_device_codes:
67
- FP3

openandroidinstaller/assets/configs/FP4.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Fairphone 4
4+
is_ab_device: true
45
device_code: FP4
56
supported_device_codes:
67
- FP4

openandroidinstaller/assets/configs/a3y17lte.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A3 (2017)
4+
is_ab_device: false
45
device_code: a3y17lte
56
supported_device_codes:
67
- a3y17lte

openandroidinstaller/assets/configs/a5xelte.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A5 (2016)
4+
is_ab_device: false
45
device_code: a5xelte
56
supported_device_codes:
67
- a5xelte

openandroidinstaller/assets/configs/a72q.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A72
4+
is_ab_device: false
45
device_code: a72q
56
supported_device_codes:
67
- a72q

openandroidinstaller/assets/configs/a7xelte.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A7 (2016)
4+
is_ab_device: false
45
device_code: a7xelte
56
supported_device_codes:
67
- a7xelte

openandroidinstaller/assets/configs/akari.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Sony Xperia XZ2
4+
is_ab_device: true
45
device_code: akari
56
supported_device_codes:
67
- akari

0 commit comments

Comments
 (0)