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
OAI now only boots into TWRP instead of flashing and overwriting the
existing recovery, which can cause problems with the bootloader not
being able to communicate with the recovery.
related to
#98 (comment)
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ If you want to use the tool for a non-supported smartphone, the fastest way is t
191
191
192
192
#### Content of a config file
193
193
194
-
A config file consists of two parts. The first part are some metadata about the device and the second parts are the steps to unlock the bootloader, flash a recovery and install the ROMs.
194
+
A config file consists of two parts. The first part are some metadata about the device and the second parts are the steps to unlock the bootloader, boot a recovery and install the ROMs.
195
195
196
196
##### How to write Metadata
197
197
Every config file should have metadata with the following fields:
@@ -213,7 +213,7 @@ Every step in the config file corresponds to one view in the application. These
213
213
-`call_button_with_input`: Display the content text, an input field and a button that runs a given command. The inputtext, can be used in the command by using the `<inputtext>` placeholder in the command field. After the command is run, a confirm button is displayed to allow the user to move to the next step.
214
214
-`link_button_with_confirm`: Display a button that opens a browser with a given link, confirm afterwards. Link is given in `link`.
215
215
-`content`: str; The content text displayed alongside the action of the step. Used to inform the user about whats going on.
216
-
-`command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `adb_twrp_copy_partitions`, `fastboot_flash_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_get_unlock_data`, `fastboot_reboot`, `heimdall_flash_recovery`.
216
+
-`command`: [ONLY for call_button* steps] str; The command to run. One of `adb_reboot`, `adb_reboot_bootloader`, `adb_reboot_download`, `adb_sideload`, `adb_twrp_wipe_and_install`, `adb_twrp_copy_partitions`, `fastboot_boot_recovery`, `fastboot_unlock_with_code`, `fastboot_unlock`, `fastboot_oem_unlock`, `fastboot_get_unlock_data`, `fastboot_reboot`, `heimdall_flash_recovery`.
217
217
-`img`: [OPTIONAL] Display an image on the left pane of the step view. Images are loaded from `openandroidinstaller/assets/imgs/`.
218
218
-`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.
219
219
-`link`: [OPTIONAL] Link to use for the link button if type is `link_button_with_confirm`.
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/FP3.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,17 @@ steps:
29
29
command: fastboot_reboot
30
30
- type: confirm_button
31
31
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
32
-
flash_recovery:
32
+
boot_recovery:
33
33
- type: confirm_button
34
34
content: >
35
-
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
35
+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
36
36
adapting and repairing of the operating system.
37
37
- type: call_button
38
38
content: Turn on your device. Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
39
39
command: adb_reboot_bootloader
40
40
- type: call_button
41
41
content: Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
42
-
command: fastboot_flash_recovery
42
+
command: fastboot_boot_recovery
43
43
- type: confirm_button
44
44
content: >
45
45
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/FP4.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,17 @@ steps:
29
29
command: fastboot_reboot
30
30
- type: confirm_button
31
31
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
32
-
flash_recovery:
32
+
boot_recovery:
33
33
- type: confirm_button
34
34
content: >
35
-
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
35
+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
36
36
adapting and repairing of the operating system.
37
37
- type: call_button
38
38
content: Turn on your device. Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
39
39
command: adb_reboot_bootloader
40
40
- type: call_button
41
41
content: Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
42
-
command: fastboot_flash_recovery
42
+
command: fastboot_boot_recovery
43
43
- type: confirm_button
44
44
content: >
45
45
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/a5xelte.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ metadata:
4
4
devicecode: a5xelte
5
5
steps:
6
6
unlock_bootloader:
7
-
flash_recovery:
7
+
boot_recovery:
8
8
- type: call_button
9
9
content: >
10
10
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
11
11
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
12
12
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
13
13
command: adb_reboot_download
14
14
- type: call_button
15
-
content: In this step, you need to flash a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
15
+
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/a72q.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ metadata:
4
4
devicecode: a72q
5
5
steps:
6
6
unlock_bootloader:
7
-
flash_recovery:
7
+
boot_recovery:
8
8
- type: call_button
9
9
content: >
10
10
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
11
11
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
12
12
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
13
13
command: adb_reboot_download
14
14
- type: call_button
15
-
content: In this step, you need to flash a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
15
+
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
Copy file name to clipboardExpand all lines: openandroidinstaller/assets/configs/a7xelte.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ metadata:
4
4
devicecode: a7xelte
5
5
steps:
6
6
unlock_bootloader:
7
-
flash_recovery:
7
+
boot_recovery:
8
8
- type: call_button
9
9
content: >
10
10
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
11
11
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
12
12
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
13
13
command: adb_reboot_download
14
14
- type: call_button
15
-
content: In this step, you need to flash a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
15
+
content: In this step, you need to boot a custom recovery on your device. Press 'Confirm and run' to start the process. Confirm afterwards to continue.
0 commit comments