Skip to content

Commit f927280

Browse files
authored
Fix extra reboot step for OnePlus configs (#120)
closes #115
2 parents 916386e + 69f73dd commit f927280

File tree

10 files changed

+82
-112
lines changed

10 files changed

+82
-112
lines changed

openandroidinstaller/assets/configs/avicii.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,14 +31,15 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery
4037
- type: call_button
41-
command: adb_twrp_copy_partitions
4238
content: >
4339
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
4440
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
41+
command: adb_twrp_copy_partitions
4542
- type: call_button
46-
command: fastboot_boot_recovery
4743
content: >
48-
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
44+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
45+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/cheeseburger.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ steps:
1515
Press 'Confirm and run' to reboot into the bootloader.
1616
command: adb_reboot_bootloader
1717
- type: call_button
18-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
19-
command: fastboot_oem_unlock
20-
- type: confirm_button
2118
content: >
22-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
23-
Please take whatever actions the device asks you to to proceed.
24-
- type: call_button
25-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
26-
command: fastboot_reboot
19+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
20+
Once it's done, press continue here.
21+
command: fastboot_oem_unlock
2722
- type: confirm_button
28-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
23+
content: >
24+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
2925
boot_recovery:
3026
- type: call_button
3127
content: >
@@ -34,5 +30,6 @@ steps:
3430
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3531
command: adb_reboot_bootloader
3632
- type: call_button
37-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
33+
content: >
34+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3835
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/dre.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,14 +31,15 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery
4037
- type: call_button
41-
command: adb_twrp_copy_partitions
4238
content: >
4339
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
4440
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
41+
command: adb_twrp_copy_partitions
4542
- type: call_button
46-
command: fastboot_boot_recovery
4743
content: >
48-
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
44+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
45+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/dumpling.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@ steps:
1515
Press 'Confirm and run' to reboot into the bootloader.
1616
command: adb_reboot_bootloader
1717
- type: call_button
18-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
19-
command: fastboot_oem_unlock
20-
- type: confirm_button
2118
content: >
22-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
23-
Please take whatever actions the device asks you to to proceed.
24-
- type: call_button
25-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
26-
command: fastboot_reboot
19+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
20+
Once it's done, press continue here.
21+
command: fastboot_oem_unlock
2722
- type: confirm_button
28-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
23+
content: >
24+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
2925
boot_recovery:
3026
- type: call_button
3127
content: >
@@ -34,5 +30,6 @@ steps:
3430
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3531
command: adb_reboot_bootloader
3632
- type: call_button
37-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
33+
content: >
34+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3835
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/enchilada.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,14 +31,15 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery
4037
- type: call_button
41-
command: adb_twrp_copy_partitions
4238
content: >
4339
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
4440
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
41+
command: adb_twrp_copy_partitions
4542
- type: call_button
46-
command: fastboot_boot_recovery
4743
content: >
48-
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
44+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
45+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/fajita.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,14 +31,15 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery
4037
- type: call_button
41-
command: adb_twrp_copy_partitions
4238
content: >
4339
In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick.
4440
We can ensure none of that will happen by copying the contents of the active slot to the inactive slot. Press 'confirm and run' to to this. Once you are in the bootloader again, continue.
41+
command: adb_twrp_copy_partitions
4542
- type: call_button
46-
command: fastboot_boot_recovery
4743
content: >
48-
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
44+
Now we need to boot into recovery again. Press run and when you see the TWRP screen you can continue.
45+
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/guacamole.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,5 +31,6 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery

openandroidinstaller/assets/configs/guacamoleb.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ steps:
1616
Press 'Confirm and run' to reboot into the bootloader.
1717
command: adb_reboot_bootloader
1818
- type: call_button
19-
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
20-
command: fastboot_oem_unlock
21-
- type: confirm_button
2219
content: >
23-
At this point the device may display on-screen prompts which will require interaction to continue the process of unlocking the bootloader.
24-
Please take whatever actions the device asks you to to proceed.
25-
- type: call_button
26-
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
27-
command: fastboot_reboot
20+
In this step you actually unlock the bootloader. Just press 'Confirm and run' here. The phone will automatically reboot and reformat.
21+
Once it's done, press continue here.
22+
command: fastboot_oem_unlock
2823
- type: confirm_button
29-
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
24+
content: >
25+
The bootloader is now unlocked. Since the device resets completely, you will need to re-enable Developer Options and USB debugging to continue.
3026
boot_recovery:
3127
- type: call_button
3228
content: >
@@ -35,5 +31,6 @@ steps:
3531
Make sure your device is turned on. You need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
3632
command: adb_reboot_bootloader
3733
- type: call_button
38-
content: Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
34+
content: >
35+
Boot a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
3936
command: fastboot_boot_recovery

0 commit comments

Comments
 (0)