You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release adds:
- Allow flashing of the vendor_boot partition
- Add --disable-verity --disable-verification to flash vbmeta command
New devices:
- support for begonia (Xiaomi Redmi Note 8 Pro) (thanks to @anon1892)
- support for on7xelte (Samsung Galaxy J7 Prime) (thanks to @MagicLike)
- support for a7y17lte (Samsung Galaxy A7 2017) (thanks to @SirRGB)
- support for jfltexx (Samsung Galaxy S4) (thanks to @MagicLike)
- support for dipper (Xiaomi Mi 8) (thanks to @anon1892)
- support for surya/karna (Poco X3 - X3 NFC) (thanks to @anon1892)
- support for alioth (Redmi K40 / Mi 11X / Poco F3) (thanks to
@anon1892)
- new device code variant to `j7elte` & added TWRP link (thanks to
@MagicLike)
Other improvements:
- updates for some OnePlus and Pixel configs with make use of the
flashing of additional partitions if needed for Android 13
- a requirement checkbox to encourage booting stock OS at least once
- migrate xda developers link to a new url
- misc docs and minor config corrections/additions (thanks to @SirRGB)
Copy file name to clipboardExpand all lines: README.md
+20-13Lines changed: 20 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@
32
32
> [!IMPORTANT]
33
33
> Unlocking the bootloader will erase all data on your device!
34
34
> 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.
35
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.
36
-
> If you wish to backup the TA partition first, you can find tutorials related to your device on the internet.
37
37
38
38
## Usage
39
39
@@ -57,12 +57,12 @@ Linux is currently the best supported platform (tested with Ubuntu 20.04/22.04 L
57
57
-[MicroG](https://microg.org)
58
58
- 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).
Xiaomi | Poco X3 Pro | [vayu](https://wiki.lineageos.org/devices/vayu) | | tested
190
197
Xiaomi | 12 | cupid | | untested
191
198
</details>
@@ -196,13 +203,13 @@ And more to come!
196
203
## Contributing
197
204
198
205
All kinds of contributions are welcome. These include:
199
-
-Fix and improve texts in configs and in the application.
200
-
-Test the tool for a supported device.
201
-
-Create a config for a new device.
202
-
-Test the application on your computer and/or device.
203
-
-Contribute an application build for a new platform.
204
-
-Add features and/or improve the code base.
205
-
-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.
206
213
207
214
[How to contribute your own installation configurations](https://github.com/openandroidinstaller-dev/openandroidinstaller/blob/main/docs/how_to_contribute_your_own_installation_configurations.md)
Copy file name to clipboardExpand all lines: docs/building_the_application_for_your_platform.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,8 @@ If you build the application for your platform and want to contribute the build,
6
6
7
7
## Run OpenAndroidInstaller for development
8
8
9
-
Currently development is only supported on Ubuntu Linux. MacOS and Windowsshould also work fine. You might need to install additional USB-drivers on Windows.
9
+
Currently development is mainly done on Ubuntu Linux. MacOS, Windows, as well as other Linux distributions like Fedora should also work well. You might need to install additional USB-drivers on Windows.
10
10
11
11
1. Clone the main branch of this repository
12
12
2. Run `make poetry` and `make install` to install poetry to manage python and install the required dependencies like adb, fastboot and heimdall.
13
13
3. Run `make app` to start the desktop app from the source.
Copy file name to clipboardExpand all lines: docs/how_to_contribute_your_own_installation_configurations.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,4 +40,3 @@ Every step in the config file corresponds to one view in the application. These
40
40
-`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.
41
41
42
42
**Please try to retain this order of these fields in your config to ensure consistency.**
Copy file name to clipboardExpand all lines: docs/unlocking_the_bootloader.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ For some devices, it is necessary to unlock the bootloader manually. You usually
10
10
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.
11
11
12
12
## 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.)
13
14
14
15
| Brand | Flashing tool | Unlocking Method | Loss of guarantee\*| Supported models |
15
16
|---|---|---|---|---|
@@ -25,6 +26,6 @@ Other phone manufacturers no longer allow you to unlock the bootloader. Nothing
25
26
| LG | Fastboot | Impossible since December 2021 |**Yes**||
26
27
| ASUS | Fastboot | Impossible since May 2023 (ASUS unlocking App) |**Yes**||
27
28
28
-
**\*** 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/))
29
+
**\*** 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://xdaforums.com/t/info-eu-rooting-and-flashing-dont-void-the-warranty.1998801))
29
30
30
31
You can find more information about the brands and their bootloader policies [here](https://wikilibriste.fr/fr/tutoriels-android/bootloader-unlock) (in French).
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/Mi439.yaml
+9-15Lines changed: 9 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -28,41 +28,35 @@ steps:
28
28
- type: link_button_with_confirm
29
29
content: >
30
30
- 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
+
32
32
- Add a phone number to your Mi account, insert a SIM into your phone.
33
-
33
+
34
34
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
35
-
35
+
36
36
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
37
-
37
+
38
38
- 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
+
40
40
- After device and Mi account are successfully verified, the bootloader should be unlocked.
41
-
41
+
42
42
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
43
43
link: https://en.miui.com/unlock/download_en.html
44
44
boot_recovery:
45
45
- type: call_button
46
46
content: >
47
47
Now you need to install a custom recovery system on the phone. A recovery is a small subsystem on your phone,
48
48
that manages updating, adapting and repairing of the operating system.
49
-
49
+
50
50
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
51
51
command: adb_reboot_bootloader
52
-
- type: call_button
53
-
content: >
54
-
Install additional partitions selected before by pressing 'Confirm and run'. Once it's done continue.
55
-
56
-
Note : If you have not selected this partition, it will do nothing.
57
-
command: fastboot_flash_additional_partitions
58
52
- type: call_button
59
53
content: >
60
54
Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue.
61
55
command: fastboot_flash_recovery
62
56
- type: call_button
63
-
img: ofox.png
57
+
img: twrp-start.jpeg
64
58
content: >
65
59
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
66
60
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
- 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)
15
+
steps:
16
+
unlock_bootloader:
17
+
- type: confirm_button
18
+
content: >
19
+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
20
+
how to start and run an operating system (like Android). Your device should be turned on. This will reset your phone.
21
+
- type: link_button_with_confirm
22
+
content: >
23
+
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
24
+
25
+
- Add a phone number to your Mi account, insert a SIM into your phone.
26
+
27
+
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
28
+
29
+
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
30
+
31
+
- 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
+
33
+
- After device and Mi account are successfully verified, the bootloader should be unlocked.
34
+
35
+
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
36
+
link: https://en.miui.com/unlock/download_en.html
37
+
boot_recovery:
38
+
- type: call_button
39
+
content: >
40
+
Now you need to install a custom recovery system on the phone. A recovery is a small subsystem on your phone,
41
+
that manages updating, adapting and repairing of the operating system.
42
+
43
+
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
44
+
command: adb_reboot_bootloader
45
+
- type: call_button
46
+
content: >
47
+
Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue.
48
+
command: fastboot_flash_recovery
49
+
- type: call_button
50
+
img: twrp-start.jpeg
51
+
content: >
52
+
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
53
+
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
0 commit comments