Skip to content

Commit e379b27

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 349c017 + 0ecefc3 commit e379b27

22 files changed

+107
-105
lines changed

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,3 @@ at [https://www.contributor-covenant.org/translations][translations].
131131
[Mozilla CoC]: https://github.com/mozilla/diversity
132132
[FAQ]: https://www.contributor-covenant.org/faq
133133
[translations]: https://www.contributor-covenant.org/translations
134-

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
> [!IMPORTANT]
3333
> Unlocking the bootloader will erase all data on your device!
3434
> This also includes your DRM keys, which are stored in the Trim Area partition (also called TA) in case your device is fairly recent and supports DRM L1. Those devices will be downgraded to DRM L3. Devices on DRM L3 by default will not be affected.
35+
> Depending on your device you might be able to back up the TA partition using exploits and gaining temporary root access. On Sony Xperia 1/5 series phones DRM L1 will return once the bootloader is relocked.
3536
> Before proceeding, ensure the data you would like to retain is backed up to your PC and/or your Google account, or equivalent. Please note that OEM backup solutions like Samsung and Motorola backup may not be accessible from LineageOS once installed.
36-
> If you wish to backup the TA partition first, you can find tutorials related to your device on the internet.
3737
3838
## Usage
3939

@@ -130,7 +130,7 @@ Sony | Xperia 10 Plus | [mermaid](https://wiki.lineageos.org/devices/mermaid) |
130130
Sony | Xperia XA2 | [pioneer](https://wiki.lineageos.org/devices/pioneer) | | tested
131131
Sony | Xperia XZ2 | [akari](https://wiki.lineageos.org/devices/akari) | | tested
132132
Sony | Xperia XZ3 | [akatsuki](https://wiki.lineageos.org/devices/akatsuki) | | tested
133-
Sony | Xperia ZX | kagura | | planned
133+
Sony | Xperia XZ | kagura | | planned
134134

135135
</details>
136136

@@ -148,12 +148,12 @@ 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
151152
Motorola | moto g5 | [cedric](https://wiki.lineageos.org/devices/cedric) | | tested
152153
Motorola | moto g6 plus | [evert](https://wiki.lineageos.org/devices/evert) | | tested
153154
Motorola | moto g7 power | [ocean](https://wiki.lineageos.org/devices/ocean) | | tested
154155
Motorola | moto g 5G plus / one 5G | [nairo](https://wiki.lineageos.org/devices/nairo) | | tested
155156
Motorola | moto g 5G / one 5G ace | [kiev](https://wiki.lineageos.org/devices/kiev) | | tested
156-
Motorola | edge | [racer](https://wiki.lineageos.org/devices/racer) | | tested
157157
Motorola | moto z | [griffin](https://wiki.lineageos.org/devices/griffin) | | tested
158158

159159
</details>
@@ -203,13 +203,13 @@ And more to come!
203203
## Contributing
204204

205205
All kinds of contributions are welcome. These include:
206-
- Fix and improve texts in configs and in the application.
207-
- Test the tool for a supported device.
208-
- Create a config for a new device.
209-
- Test the application on your computer and/or device.
210-
- Contribute an application build for a new platform.
211-
- Add features and/or improve the code base.
212-
- Report bugs.
206+
- Fixes and improvements to the texts in configs and in the application.
207+
- Testing the tool for a supported device.
208+
- Creating a config for a new device.
209+
- Testing the application on your computer and/or device.
210+
- Contributing an application build for a new platform.
211+
- Adding features and/or improve the code base.
212+
- Reporting bugs.
213213

214214
[How to contribute your own installation configurations](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/how_to_contribute_your_own_installation_configurations.md)
215215

docs/building_the_application_for_your_platform.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ If you build the application for your platform and want to contribute the build,
66

77
## Run OpenAndroidInstaller for development
88

9-
Currently development is only supported on Ubuntu Linux. MacOS and Windows should also work fine. You might need to install additional USB-drivers on Windows.
9+
Currently development is only supported on Ubuntu Linux. MacOS, Windows as well as other Linux distributions supporting flatpak should also work fine. You might need to install additional USB-drivers on Windows.
1010

1111
1. Clone the main branch of this repository
1212
2. Run `make poetry` and `make install` to install poetry to manage python and install the required dependencies like adb, fastboot and heimdall.
1313
3. Run `make app` to start the desktop app from the source.
14-

docs/how_to_contribute_your_own_installation_configurations.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ Every step in the config file corresponds to one view in the application. These
4040
- `allow_skip`: [OPTIONAL] boolean; If a skip button should be displayed to allow skipping this step. Can be useful when the bootloader is already unlocked.
4141

4242
**Please try to retain this order of these fields in your config to ensure consistency.**
43-

docs/unlocking_the_bootloader.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ For some devices, it is necessary to unlock the bootloader manually. You usually
1010
Other phone manufacturers no longer allow you to unlock the bootloader. Nothing can be done if you have not unlocked your device in time. These manufacturers include *Huawei, Honor, LG and ASUS*. Support for these manufacturers will always be very limited.
1111

1212
## Here is a brief overview of the bootloader policies of some of the most popular brands (may be incomplete/inaccurate)
13+
## Note: Some oems on the list may offer carrier locked or region specific models, which also affect the unlock ability (Sony, Google, Motorola, etc.)
1314

1415
| Brand | Flashing tool | Unlocking Method | Loss of guarantee\* | Supported models |
1516
|---|---|---|---|---|

openandroidinstaller/assets/configs/Mi439.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ steps:
2828
- type: link_button_with_confirm
2929
content: >
3030
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
31-
31+
3232
- Add a phone number to your Mi account, insert a SIM into your phone.
33-
33+
3434
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
35-
35+
3636
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
37-
37+
3838
- Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
39-
39+
4040
- After device and Mi account are successfully verified, the bootloader should be unlocked.
41-
41+
4242
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
4343
link: https://en.miui.com/unlock/download_en.html
4444
boot_recovery:
4545
- type: call_button
4646
content: >
4747
Now you need to install a custom recovery system on the phone. A recovery is a small subsystem on your phone,
4848
that manages updating, adapting and repairing of the operating system.
49-
49+
5050
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
5151
command: adb_reboot_bootloader
5252
- type: call_button
@@ -59,4 +59,4 @@ steps:
5959
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
6060
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
6161
Once it's done continue.
62-
command: fastboot_reboot_recovery
62+
command: fastboot_reboot_recovery

openandroidinstaller/assets/configs/a7y17lte.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
supported_device_codes:
77
- a7y17lte
88
- a7y17ltexx
9+
untested: true
910
steps:
1011
unlock_bootloader:
1112
boot_recovery:

openandroidinstaller/assets/configs/begonia.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ steps:
2121
- type: link_button_with_confirm
2222
content: >
2323
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
24-
24+
2525
- Add a phone number to your Mi account, insert a SIM into your phone.
26-
26+
2727
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
28-
28+
2929
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
30-
30+
3131
- Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
32-
32+
3333
- After device and Mi account are successfully verified, the bootloader should be unlocked.
34-
34+
3535
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
3636
link: https://en.miui.com/unlock/download_en.html
3737
boot_recovery:
@@ -53,4 +53,4 @@ steps:
5353
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
5454
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
5555
Once it's done continue.
56-
command: fastboot_reboot_recovery
56+
command: fastboot_reboot_recovery

openandroidinstaller/assets/configs/cheeseburger.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ metadata:
77
- cheeseburger
88
- OnePlus5
99
twrp-link: cheeseburger_dumpling
10+
requirements:
11+
android: 10
1012
steps:
1113
unlock_bootloader:
1214
- type: call_button
@@ -21,7 +23,7 @@ steps:
2123
Once it's done, press continue here.
2224
command: fastboot_oem_unlock
2325
- type: confirm_button
24-
content: >
26+
content: >
2527
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
2628
boot_recovery:
2729
- type: call_button
@@ -34,4 +36,4 @@ steps:
3436
img: twrp-start.jpeg
3537
content: >
3638
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
37-
command: fastboot_boot_recovery
39+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/cupid.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ steps:
2222
- type: link_button_with_confirm
2323
content: >
2424
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
25-
25+
2626
- Add a phone number to your Mi account, insert a SIM into your phone.
27-
27+
2828
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
29-
29+
3030
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
31-
31+
3232
- Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
33-
33+
3434
- After device and Mi account are successfully verified, the bootloader should be unlocked.
35-
35+
3636
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
3737
link: https://en.miui.com/unlock/download_en.html
3838
boot_recovery:
3939
- type: call_button
4040
content: >
4141
Now you need to install a custom recovery system on the phone. A recovery is a small subsystem on your phone,
4242
that manages updating, adapting and repairing of the operating system.
43-
43+
4444
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
4545
command: adb_reboot_bootloader
4646
- type: call_button

0 commit comments

Comments
 (0)