Skip to content

Commit aab4785

Browse files
committed
Merge branch 'dev' into dev-flash-additional
2 parents ed77d85 + 5e31e38 commit aab4785

File tree

10 files changed

+54
-23
lines changed

10 files changed

+54
-23
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ patreon: # Replace with a single Patreon username
66
ko_fi: # Replace with a single Ko-fi username
77
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
88
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
9+
liberapay: OpenAndroidInstaller
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
1212
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry

.github/workflows/build-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: ['ubuntu-20.04', 'ubuntu-latest']
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: actions/setup-python@v4
1919
with:
2020
python-version: 3.9
@@ -32,7 +32,7 @@ jobs:
3232
matrix:
3333
os: ['ubuntu-20.04', 'ubuntu-latest', 'macos-latest']
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
- uses: actions/setup-python@v4
3737
with:
3838
python-version: 3.9
@@ -48,7 +48,7 @@ jobs:
4848
needs: ci
4949
runs-on: 'windows-latest'
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
- uses: actions/setup-python@v4
5353
with:
5454
python-version: 3.9
@@ -66,7 +66,7 @@ jobs:
6666
- build-windows
6767
runs-on: 'ubuntu-latest'
6868
steps:
69-
- uses: actions/checkout@v3
69+
- uses: actions/checkout@v4
7070
- name: Download artifact
7171
uses: actions/download-artifact@v3
7272
- name: Display structure of downloaded files

.github/workflows/manual-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
os: ['ubuntu-20.04', 'ubuntu-latest', 'macos-latest', 'windows-latest']
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: actions/setup-python@v4
1818
with:
1919
python-version: 3.9

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,21 @@
2727
</p>
2828
</div>
2929

30-
> **Warning**: This application is currently in beta state, so use at your own risk! While many people tested the application so far and we heard of no bricked devices, things might still go wrong.
31-
32-
> **Note**: Unlocking the bootloader will erase all data on your device!
33-
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.
34-
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.
35-
If you wish to backup the TA partition first, you can find tutorials related to your device on the internet.
30+
> [!WARNING]
31+
> This application is currently in beta state, so use at your own risk! While many people tested the application so far and we heard of no bricked devices, things might still go wrong.
3632
33+
> [!IMPORTANT]
34+
> Unlocking the bootloader will erase all data on your device!
35+
> 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.
36+
> 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.
37+
> If you wish to backup the TA partition first, you can find tutorials related to your device on the internet.
3738
3839
## Usage
3940

4041
Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 LTS). Windows and MacOS are also supported but you might experience more issues. So far there is no support for ARM-based systems.
4142

4243
1. Download the [.exe or appropriate executable file for your OS](https://github.com/openandroidinstaller-dev/openandroidinstaller/releases) from the releases or get the [official flatpak from flathub](https://flathub.org/apps/org.openandroidinstaller.OpenAndroidInstaller). You might need to change permissions to run the executable.
43-
- On Windows also [install the Universal USB Drivers](https://adb.clockworkmod.com/) and other potentially drivers needed for your device.
44+
- On Windows also [install the Universal USB Drivers](https://adb.clockworkmod.com) and other potentially drivers needed for your device.
4445
2. Download the custom ROM image and the TWRP recovery image for your device and optionally some addons. A source for files can be found on the following websites:
4546
- some custom ROMs:
4647
- [LineageOS](https://wiki.lineageos.org/devices)
@@ -191,11 +192,11 @@ All kinds of contributions are welcome. These include:
191192
- Add features and/or improve the code base.
192193
- Report bugs.
193194

194-
[How to contribute your own installation configurations](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/doc/how_to_contribute_your_own_installation_configurations.md)
195+
[How to contribute your own installation configurations](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/how_to_contribute_your_own_installation_configurations.md)
195196

196-
[How to build the application for your platform](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/doc/building_the_application_for_your_platform.md)
197+
[How to build the application for your platform](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/building_the_application_for_your_platform.md)
197198

198-
[On unlocking the bootloader](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/doc/unlocking_the_bootloader.md)
199+
[On unlocking the bootloader](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/unlocking_the_bootloader.md)
199200

200201
More details on how to contribute can be found [here](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/CONTRIBUTING.md).
201202
Please have a look before opening an issue or starting to contribute.

doc/unlocking_the_bootloader.md

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

doc/how_to_contribute_your_own_installation_configurations.md renamed to docs/how_to_contribute_your_own_installation_configurations.md

File renamed without changes.

docs/unlocking_the_bootloader.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#### On unlocking the bootloader
2+
3+
First of all, this tool will not help you bypass any vender locked bootloaders in non-official ways.
4+
5+
Devices by *Samsung, Google, OnePlus, Fairphone* and others make it relatively easy to unlock the bootloader and get good support in the installer.
6+
7+
For some devices, it is necessary to unlock the bootloader manually. You usually need to create an account on the manufacturer's website, wait for a certain time and obtain a code from there. OpenAndroidInstaller will try to guide you as far as possible. These vendors include *Sony, Motorola and Xiaomi* amongst others.
8+
9+
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.
10+
11+
<details>
12+
<summary>
13+
<b>Here is a brief overview of the bootloader policies of some of the most popular brands (may be incomplete/inaccurate)</b>
14+
</summary>
15+
16+
| Brand | Flashing tool | Unlocking Method | Loss of guarantee\* | Supported models |
17+
|---|---|---|---|---|
18+
| Google | Fastboot | OEM/Flashing unlock | No | Pixel and Nexus |
19+
| Samsung | ODIN or Heimdall | Download mode | **Yes** | Galaxy S and A series<br>(Increasing complexity **on and after S10**) |
20+
| OnePlus | Fastboot | OEM/Flashing unlock | No | All |
21+
| Fairphone | Fastboot | [Code from manufacturer](https://support.fairphone.com/hc/en-us/articles/10492476238865-Manage-the-Bootloader)<br>(**Already unlocked until FP2**) | No | All |
22+
| Xiaomi | Fastboot | [Mi Unlock Tool](https://new.c.mi.com/global/post/101245) | **Yes** | Mi 4c, Redmi Note 3, Mi Note Pro, Redmi 3, Mi 4S, Mi 5 and all devices from 2016 onwards |
23+
| Motorola | Fastboot | [Code from manufacturer](https://en-us.support.motorola.com/app/standalone/bootloader/unlock-your-device-a) | **Yes** | Almost all **except** carrier specific models (e.g. Verizon, AT&T, Tracfone) and certain other models |
24+
| Sony | Fastboot | [Code from manufacturer](https://developer.sony.com/open-source/aosp-on-xperia-open-devices/get-started/unlock-bootloader) | **Yes** | All **except** XQ-CT62 (1Ⅳ US) & XQ-CQ62 (5Ⅳ US) |
25+
| Huawei | Fastboot | No official codes since 2017/2018<br>(**Unofficial methods available**) | **Yes** | Mate 9/9Pro, P10/P10Plus |
26+
| Honor | Fastboot | No official codes since 2017/2018<br>(**Unofficial methods available**) | **Yes** | Honor 8 |
27+
| LG | Fastboot | Impossible since December 2021 | **Yes** | |
28+
| ASUS | Fastboot | Impossible since May 2023 (ASUS unlocking App) | **Yes** | |
29+
30+
**\*** In the EU you won't loose your standard 2 years of the warranty when you unlock your bootloader, flash your device or root it. ([source](https://forum.xda-developers.com/t/info-eu-rooting-and-flashing-dont-void-the-warranty.1998801/))
31+
32+
</details>
33+
<br>
34+
35+
You can find more information about the brands and their bootloader policies [here](https://wikilibriste.fr/fr/tutoriels-android/bootloader-unlock) (in French).

openandroidinstaller/assets/configs/a5y17lte.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
device_code: a5y17lte
66
supported_device_codes:
77
- a5y17lte
8+
- a5y17ltecan
89
steps:
910
unlock_bootloader:
1011
boot_recovery:

openandroidinstaller/views/start_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def search_devices_clicked(self, e):
276276
f"Device with code '{device_code}' is not supported yet."
277277
)
278278
# add request support for device button
279-
request_url = f"https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/new?labels=device&template=device-support-request.yaml&title=Add support for {device_code}"
279+
request_url = f"https://github.com/openandroidinstaller-dev/openandroidinstaller/issues/new?labels=device&template=device-support-request.yaml&title=Add support for `{device_code}`"
280280
self.device_request_row.controls.append(
281281
ElevatedButton(
282282
"Request support for this device",

0 commit comments

Comments
 (0)