Skip to content

Commit 6d5b178

Browse files
authored
Merge branch 'main' into jamsine
2 parents f8fa9e8 + e0bccd0 commit 6d5b178

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

+1561
-1365
lines changed

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
.phoney: install export format lint typing test app test-app build-app clean-build
2+
3+
help:
4+
@echo "install - install dependencies"
5+
@echo "export - export dependencies to requirements.txt"
6+
@echo "format - format code with black"
7+
@echo "lint - lint code with ruff"
8+
@echo "typing - type check code with mypy"
9+
@echo "test - run tests"
10+
@echo "app - run app"
11+
@echo "test-app - run app in test mode with test config for sargo"
12+
@echo "build-app - build app"
13+
@echo "clean-build - clean build"
14+
115
poetry:
216
curl -sSL https://install.python-poetry.org | python3 -
317

README.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L
5757
- [MicroG](https://microg.org)
5858
- The recommended way to install MicroG is to use the zip file provided here: [https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases](https://github.com/FriendlyNeighborhoodShane/MinMicroG-abuse-CI/releases).
5959
- [F-Droid App-Store](https://f-droid.org/en/packages/org.fdroid.fdroid.privileged.ota).
60-
- or you can just search the web or the [xda-developers forum](https://xdaforums.com) for an appropriate version for your device.
60+
- or you can just search the web or the [xdaforums](https://xdaforums.com) for an appropriate version for your device.
6161
3. Start the desktop app and follow the instructions.
6262

6363
## Officially supported devices
6464

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

6767
Support for these devices is provided as best effort, but things might still go wrong.
6868
Help to improve the tool by reporting any issues you might face.
@@ -111,9 +111,9 @@ Google | Pixel 3 | [blueline](https://wiki.lineageos.org/devices/blueline) | blu
111111
Google | Pixel 3 XL | [crosshatch](https://wiki.lineageos.org/devices/crosshatch) | crosshatch | tested
112112
Google | Pixel 3a | [sargo](https://wiki.lineageos.org/devices/sargo) | sargo | tested
113113
Google | Pixel 3a XL | [bonito](https://wiki.lineageos.org/devices/bonito) | bonito | tested
114-
Google | Pixel 4 | [flame](https://wiki.lineageos.org/devices/flame) | flame | tested
115-
Google | Pixel 4 XL | [coral](https://wiki.lineageos.org/devices/coral) | coral | tested
116-
Google | Pixel 4a | [sunfish](https://wiki.lineageos.org/devices/sunfish) | sunfish | tested
114+
Google | Pixel 4 | [flame](https://wiki.lineageos.org/devices/flame) | flame | tested
115+
Google | Pixel 4 XL | [coral](https://wiki.lineageos.org/devices/coral) | coral | tested
116+
Google | Pixel 4a | [sunfish](https://wiki.lineageos.org/devices/sunfish) | sunfish | tested
117117
Google | Pixel 5 | [redfin](https://wiki.lineageos.org/devices/redfin) | redfin | tested
118118
Google | Pixel 5a | [barbet](https://wiki.lineageos.org/devices/barbet) | barbet | tested
119119

@@ -148,13 +148,13 @@ Fairphone | Fairphone 4 | [FP4](https://wiki.lineageos.org/devices/FP4) | | test
148148

149149
Vendor | Device Name | CodeName | Models | Status
150150
---|---|---|---|---
151-
Motorola | edge | [racer](https://wiki.lineageos.org/devices/racer) | | tested
152-
Motorola | moto g5 | [cedric](https://wiki.lineageos.org/devices/cedric) | | tested
153-
Motorola | moto g6 plus | [evert](https://wiki.lineageos.org/devices/evert) | | tested
154-
Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean) | | tested
155-
Motorola | moto g 5G plus / one 5G | [nairo](https://wiki.lineageos.org/devices/nairo) | | tested
156-
Motorola | moto g 5G / one 5G ace | [kiev](https://wiki.lineageos.org/devices/kiev) | | tested
157-
Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin) | | tested
151+
Motorola | edge | [racer](https://wiki.lineageos.org/devices/racer) | XT2063-2, XT2063-3 | tested
152+
Motorola | moto g5 | [cedric](https://wiki.lineageos.org/devices/cedric) | XT1670, XT1671, XT1672, XT1675, XT1676, XT1677 | tested
153+
Motorola | moto g6 plus | [evert](https://wiki.lineageos.org/devices/evert) | XT1926-2, XT1926-3, XT1926-5, XT1926-6, XT1926-7, XT1926-8, XT1926-9 | tested
154+
Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean) | XT1955-1, XT1955-2, XT1955-4, XT1955-5, XT1955-7 | tested
155+
Motorola | moto g 5G plus / one 5G | [nairo](https://wiki.lineageos.org/devices/nairo) | XT2075-3, XT2075-5 | tested
156+
Motorola | moto g 5G / one 5G ace | [kiev](https://wiki.lineageos.org/devices/kiev) | XT2113-2, XT2113-3 | tested
157+
Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin) | XT1650-3, XT1650-05 | tested
158158

159159
</details>
160160

@@ -163,26 +163,27 @@ Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin) | | te
163163
Vendor | Device Name | CodeName | Models | Status
164164
---|---|---|---|---
165165
OnePlus | One | [bacon](https://wiki.lineageos.org/devices/bacon) | A0001 | tested
166-
OnePlus | 5 | [cheeseburger](https://wiki.lineageos.org/devices/cheeseburger) | | tested
167-
OnePlus | 5T | [dumpling](https://wiki.lineageos.org/devices/dumpling) | | tested
168-
OnePlus | 6 | [enchilada](https://wiki.lineageos.org/devices/enchilada) | | tested
169-
OnePlus | 6T | [fajita](https://wiki.lineageos.org/devices/fajita) | | tested
170-
OnePlus | 7 | [guacamoleb](https://wiki.lineageos.org/devices/guacamoleb) | | tested
171-
OnePlus | 7 Pro | [guacamole](https://wiki.lineageos.org/devices/guacamole) | | tested
172-
OnePlus | 7T | [hotdogb](https://wiki.lineageos.org/devices/hotdogb) | | tested
173-
OnePlus | 7T Pro | [hotdog](https://wiki.lineageos.org/devices/hotdog) | | tested
174-
OnePlus | Nord | [avicii](https://wiki.lineageos.org/devices/avicii) | | tested
175-
OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre) | | tested
176-
OnePlus | 9 | lemonade | | under development
166+
OnePlus | 3/3T | [oneplus3](https://wiki.lineageos.org/devices/oneplus3) | A3003, A3000, A3010 | untested
167+
OnePlus | 5 | [cheeseburger](https://wiki.lineageos.org/devices/cheeseburger) | A5000 | tested
168+
OnePlus | 5T | [dumpling](https://wiki.lineageos.org/devices/dumpling) | A5010 | tested
169+
OnePlus | 6 | [enchilada](https://wiki.lineageos.org/devices/enchilada) | A6000, A6003 | tested
170+
OnePlus | 6T | [fajita](https://wiki.lineageos.org/devices/fajita) | A6010, A6013 | tested
171+
OnePlus | 7 | [guacamoleb](https://wiki.lineageos.org/devices/guacamoleb) | GM1900, GM1901, GM1903, GM1905 | tested
172+
OnePlus | 7 Pro | [guacamole](https://wiki.lineageos.org/devices/guacamole) | GM1910, GM1911, GM1913, GM1917 | tested
173+
OnePlus | 7T | [hotdogb](https://wiki.lineageos.org/devices/hotdogb) | HD1900, HD1901, HD1903, HD1905 | tested
174+
OnePlus | 7T Pro | [hotdog](https://wiki.lineageos.org/devices/hotdog) | HD1910, HD1911, HD1913, HD1917 | tested
175+
OnePlus | Nord | [avicii](https://wiki.lineageos.org/devices/avicii) | AC2001, AC2003 | tested
176+
OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre) | DE2117 | tested
177+
OnePlus | 9 | lemonade | LE2110, LE2111, LE2113, LE2115 | under development
177178

178179
</details>
179-
180180
<details><summary><b>Xiaomi & Poco</b></summary>
181181

182182
Vendor | Device Name | CodeName | Models | Status
183183
---|---|---|---|---
184184
Xiaomi | Redmi 7A / 8 / 8A / 8A Dual | [Mi439](https://wiki.lineageos.org/devices/Mi439) : pine / olive / olivelite / olivewood | | tested
185185
Xiaomi | Redmi 9A / 9C / 9AT / 9i / 9A Sport / 10A / 10A Sport | garden / dandelion / blossom / angelican | | tested
186+
Xiaomi | Redmi 9 / Poco M2 | [lancelot](https://wiki.lineageos.org/devices/lancelot) / galahad / shivan | | untested
186187
Xiaomi | Redmi Note 7 | [lavender](https://wiki.lineageos.org/devices/lavender) | | tested
187188
Xiaomi | Redmi Note 8 / 8T | [ginkgo](https://wiki.lineageos.org/devices/ginkgo) / willow | | untested
188189
Xiaomi | Redmi Note 8 Pro | begonia | | untested
@@ -192,7 +193,7 @@ Xiaomi | Mi A2 / Mi 6X | jasmine_sprout | | untested
192193
Xiaomi | Mi 8 | [dipper](https://wiki.lineageos.org/devices/dipper) | | untested
193194
Xiaomi | Mi 9T / Redmi K20 | [davinci](https://wiki.lineageos.org/devices/davinci) / davinciin | | untested
194195
Xiaomi | Redmi K20 Pro / Mi 9T Pro | raphael / raphaelin | | untested
195-
Xiaomi | Redmi K40 / Mi 11X / Poco F3 | [alioth](https://wiki.lineageos.org/devices/alioth) / aliothin | | untested
196+
Xiaomi | Redmi K40 / Mi 11X / Poco F3 | [alioth](https://wiki.lineageos.org/devices/alioth) / aliothin | | untested
196197
Xiaomi | Poco X3 / X3 NFC | [surya](https://wiki.lineageos.org/devices/surya) / karna | | untested
197198
Xiaomi | Poco X3 Pro | [vayu](https://wiki.lineageos.org/devices/vayu) | | tested
198199
Xiaomi | 12 | cupid | | untested
@@ -225,7 +226,7 @@ A detailed list can be found [here](https://openandroidinstaller.org/#contribute
225226

226227
## Tools
227228

228-
- The [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools) (such as adb and fastboot) are [Apache](https://android.googlesource.com/platform/system/adb/+/refs/heads/master/NOTICE)-licensed universal Android utilities
229+
- The [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools) (such as adb and fastboot) are [Apache](https://android.googlesource.com/platform/system/adb/+/refs/heads/master/NOTICE)-licensed universal Android utilities.
229230
- [Heimdall](https://gitlab.com/BenjaminDobell/Heimdall) is an [MIT](https://gitlab.com/BenjaminDobell/Heimdall/-/blob/master/LICENSE)-licensed replacement for the leaked ODIN tool to flash Samsung devices.
230231
- [libusb-1.0](https://github.com/libusb/libusb) is a [LGPL-2.1](https://github.com/libusb/libusb/blob/master/COPYING)-licensed library for USB device access from Linux, macOS, Windows and others.
231232
- [copy-partitions-20220613-signed.zip](https://mirrorbits.lineageos.org/tools/copy-partitions-20220613-signed.zip) The copy-partitions script was created by LineageOS developer erfanoabdi and filipepferraz and released under LGPL. It is used when the partitions need to be copied before flashing.

openandroidinstaller/assets/configs/FP2.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ steps:
1010
boot_recovery:
1111
- type: call_button
1212
content: >
13-
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
13+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
1414
adapting and repairing of the operating system.
15-
15+
1616
Make sure your device is turned on and connected to the computer. Boot into the bootloader by pressing 'Confirm and run' here. Then continue.
1717
command: adb_reboot_bootloader
1818
- type: call_button
1919
img: twrp-start.jpeg
2020
content: >
2121
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
22-
command: fastboot_boot_recovery
22+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/FP3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ steps:
4545
content: >
4646
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
4747
boot_recovery:
48-
- type: confirm_button
48+
- type: confirm_button
4949
content: >
5050
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
5151
adapting and repairing of the operating system.
@@ -57,4 +57,4 @@ steps:
5757
img: twrp-start.jpeg
5858
content: >
5959
Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
60-
command: fastboot_boot_recovery
60+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/FP4.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ steps:
4545
content: >
4646
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
4747
boot_recovery:
48-
- type: confirm_button
48+
- type: confirm_button
4949
content: >
5050
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
5151
adapting and repairing of the operating system.
@@ -57,4 +57,4 @@ steps:
5757
img: twrp-start.jpeg
5858
content: >
5959
Once the device is in fastboot mode, boot the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
60-
command: fastboot_boot_recovery
60+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/Mi439.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ metadata:
1515
- olive
1616
- olivelite
1717
- olivewood
18-
notes:
19-
- Be careful when choosing OrangeFox version, Android 12 & 13 ROM needs OrangeFox version code with `A12`, for example `R11.1_5_A12`. Android 10 & 11 ROM needs OrangeFox version code without `A12` (bellow on the page)
18+
- olives
19+
twrp-link: mi439
2020
requirements:
2121
firmware: MiUI 12.5 (Q)
2222
steps:

openandroidinstaller/assets/configs/a3y17lte.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A3 (2017)
4-
is_ab_device: false
4+
is_ab_device: false
55
device_code: a3y17lte
66
supported_device_codes:
77
- a3y17lte
8+
- a3y17ltexc
9+
- a3y17ltexx
10+
- a3y17ltelk
811
steps:
912
unlock_bootloader:
1013
boot_recovery:
@@ -22,6 +25,6 @@ steps:
2225
- type: confirm_button
2326
img: samsung-buttons.png
2427
content: >
25-
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for
26-
8~10 seconds until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
27-
hold *Volume Up* + *Home* + *Power*. Confirm when the recovery screen appears.
28+
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for
29+
8~10 seconds until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
30+
hold *Volume Up* + *Home* + *Power*. Confirm when the recovery screen appears.
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A5 (2016)
4-
is_ab_device: false
4+
is_ab_device: false
55
device_code: a5xelte
66
supported_device_codes:
77
- a5xelte
8+
- a5xeltexx
9+
- a5xelteub
10+
- a5xeltedo
811
steps:
912
unlock_bootloader:
1013
boot_recovery:
1114
- type: call_button
1215
content: >
13-
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
14-
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
16+
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
17+
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
1518
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
1619
command: adb_reboot_download
1720
- type: call_button
@@ -22,6 +25,6 @@ steps:
2225
- type: confirm_button
2326
img: samsung-buttons.png
2427
content: >
25-
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
26-
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
27-
hold *Volume Up* + *Home* + *Power button*.
28+
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
29+
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
30+
hold *Volume Up* + *Home* + *Power button*.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
33
device_name: Samsung Galaxy A72
4-
is_ab_device: false
5-
device_code: a72q
4+
is_ab_device: false
5+
device_code: a72q
66
supported_device_codes:
7-
- a72q
7+
- a72q
88
steps:
99
unlock_bootloader:
1010
boot_recovery:
1111
- type: call_button
1212
content: >
13-
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
14-
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
13+
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
14+
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
1515
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
1616
command: adb_reboot_download
1717
- type: call_button
@@ -22,6 +22,6 @@ steps:
2222
- type: confirm_button
2323
img: samsung-buttons.png
2424
content: >
25-
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power* for 8~10 seconds
26-
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
27-
hold *Volume Up* + *Power button*.
25+
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power* for 8~10 seconds
26+
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
27+
hold *Volume Up* + *Power button*.
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
metadata:
22
maintainer: Tobias Sterbak (tsterbak)
3-
device_name: Samsung Galaxy A7 (2016)
4-
is_ab_device: false
3+
device_name: Samsung Galaxy A7 (2016)
4+
is_ab_device: false
55
device_code: a7xelte
66
supported_device_codes:
77
- a7xelte
8+
- a7xeltexx
9+
- a7xelteub
10+
- a7xeltedo
811
steps:
912
unlock_bootloader:
1013
boot_recovery:
1114
- type: call_button
1215
content: >
13-
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
14-
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
16+
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
17+
that tells your phone how to start and run an operating system (like Android). Your device should be turned on.
1518
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
1619
command: adb_reboot_download
1720
- type: call_button
@@ -22,6 +25,6 @@ steps:
2225
- type: confirm_button
2326
img: samsung-buttons.png
2427
content: >
25-
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
26-
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
27-
hold *Volume Up* + *Home* + *Power button*.
28+
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
29+
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
30+
hold *Volume Up* + *Home* + *Power button*.

0 commit comments

Comments
 (0)