Skip to content

Commit

Permalink
Merge branch 'openandroidinstaller-dev:main' into readme-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicLike committed Apr 3, 2023
2 parents 1cf0603 + 2132de7 commit ebc0b3b
Show file tree
Hide file tree
Showing 79 changed files with 310 additions and 226 deletions.
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows 10]
- Version [e.g. 0.4.2]

**Smartphone (please complete the following information):**
- Device: [e.g. Samsung Galaxy S10]
- OS: [e.g. LineageOS]
- Version [e.g. 0.4.2]

**Additional context**
Add any other context about the problem here.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/device-support-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Device support request
about: Request support for a new device
title: ''
labels: ''
assignees: ''

---

**Device name**
Please enter the name of the device you would like to request support for.
If you know the device code, please also add it here.

**Device images**
Please provide links to any available images of the device, such as official stock firmware or custom ROMs you would like to install.

**Do you own the device and would be willing to test the installer?**
- [ ]

**Additional context**
Please provide any additional context or information that may be helpful in adding support for this device.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L

## Officially supported devices

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


Support for these devices is provided as best effort, but things might still go wrong.
Expand Down Expand Up @@ -200,6 +200,7 @@ A config file consists of two parts. The first part are some metadata about the
Every config file should have metadata with the following fields:
- `maintainer`: str; Maintainer and author of the config file.
- `device_name`: str; Name of the device.
- `is_ab_device`: bool; A boolean to determine if the device is a/b-partitioned or not.
- `device_code`: str; The official device code.
- `supported_device_codes`: List[str]; A list of supported device codes for the config. The config will be loaded based on this field.
- `twrp-link`: [OPTIONAL] str; name of the corresponding twrp page.
Expand Down
1 change: 0 additions & 1 deletion openandroidinstaller/app_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def __init__(
self.config = None
self.image_path = None
self.recovery_path = None
self.is_ab = None

# store views
self.default_views: List = []
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/FP2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Fairphone 2
is_ab_device: false
device_code: FP2
supported_device_codes:
- FP2
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/FP3.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Fairphone 3
is_ab_device: true
device_code: FP3
supported_device_codes:
- FP3
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/FP4.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Fairphone 4
is_ab_device: true
device_code: FP4
supported_device_codes:
- FP4
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/a3y17lte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A3 (2017)
is_ab_device: false
device_code: a3y17lte
supported_device_codes:
- a3y17lte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/a5xelte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A5 (2016)
is_ab_device: false
device_code: a5xelte
supported_device_codes:
- a5xelte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/a72q.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A72
is_ab_device: false
device_code: a72q
supported_device_codes:
- a72q
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/a7xelte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy A7 (2016)
is_ab_device: false
device_code: a7xelte
supported_device_codes:
- a7xelte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/akari.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Sony Xperia XZ2
is_ab_device: true
device_code: akari
supported_device_codes:
- akari
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/akatsuki.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Sony Xperia XZ3
is_ab_device: true
device_code: akatsuki
supported_device_codes:
- akatsuki
Expand Down
24 changes: 11 additions & 13 deletions openandroidinstaller/assets/configs/avicii.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: OnePlus Nord
is_ab_device: true
device_code: avicii
supported_device_codes:
- avicii
Expand All @@ -16,17 +17,13 @@ steps:
Press 'Confirm and run' to reboot into the bootloader.
command: adb_reboot_bootloader
- type: call_button
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
command: fastboot_oem_unlock
- type: confirm_button
content: >
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
Please take whatever actions the device asks you to to proceed.
- type: call_button
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
command: fastboot_reboot
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
Once it's done, press continue here.
command: fastboot_oem_unlock
- type: confirm_button
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
content: >
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
boot_recovery:
- type: call_button
content: >
Expand All @@ -35,14 +32,15 @@ steps:
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
- type: call_button
command: adb_twrp_copy_partitions
content: >
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
command: adb_twrp_copy_partitions
- type: call_button
command: fastboot_boot_recovery
content: >
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
command: fastboot_boot_recovery
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/bacon.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: MagicLike
device_name: OnePlus One
is_ab_device: false
device_code: bacon
supported_device_codes:
- bacon
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/barbet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Pixel 5a
is_ab_device: true
device_code: barbet
supported_device_codes:
- barbet
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/beyond0lte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy S10e
is_ab_device: false
device_code: beyond0lte
supported_device_codes:
- beyond0lte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/beyond1lte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy S10
is_ab_device: false
device_code: beyond1lte
supported_device_codes:
- beyond1lte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/beyond2lte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy S10+
is_ab_device: false
device_code: beyond2lte
supported_device_codes:
- beyond2lte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/blueline.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Google Pixel 3
is_ab_device: true
device_code: blueline
supported_device_codes:
- blueline
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/bonito.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Google Pixel 3a XL
is_ab_device: true
device_code: bonito
supported_device_codes:
- bonito
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/cedric.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Motorola Moto G5
is_ab_device: false
device_code: cedric
supported_device_codes:
- cedric
Expand Down
18 changes: 8 additions & 10 deletions openandroidinstaller/assets/configs/cheeseburger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: SirRGB
device_name: OnePlus 5
is_ab_device: false
device_code: cheeseburger
supported_device_codes:
- cheeseburger
Expand All @@ -15,17 +16,13 @@ steps:
Press 'Confirm and run' to reboot into the bootloader.
command: adb_reboot_bootloader
- type: call_button
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
command: fastboot_oem_unlock
- type: confirm_button
content: >
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
Please take whatever actions the device asks you to to proceed.
- type: call_button
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
command: fastboot_reboot
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
Once it's done, press continue here.
command: fastboot_oem_unlock
- type: confirm_button
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
content: >
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
boot_recovery:
- type: call_button
content: >
Expand All @@ -34,5 +31,6 @@ steps:
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
command: adb_reboot_bootloader
- type: call_button
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
content: >
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
command: fastboot_boot_recovery
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/coral.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Google Pixel 4 XL
is_ab_device: true
device_code: coral
supported_device_codes:
- coral
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/crosshatch.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Google Pixel 3 XL
is_ab_device: true
device_code: crosshatch
supported_device_codes:
- crosshatch
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/crownlte.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy Note 9
is_ab_device: false
device_code: crownlte
supported_device_codes:
- crownlte
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/d1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy Note 10
is_ab_device: false
device_code: d1
supported_device_codes:
- d1
Expand Down
1 change: 1 addition & 0 deletions openandroidinstaller/assets/configs/d2s.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
maintainer: Tobias Sterbak (tsterbak)
device_name: Samsung Galaxy Note 10+
is_ab_device: false
device_code: d2s
supported_device_codes:
- d2s
Expand Down

0 comments on commit ebc0b3b

Please sign in to comment.