Skip to content

Commit bcad346

Browse files
committed
Update configs to new conventions
1 parent 3dbf9a3 commit bcad346

File tree

8 files changed

+113
-200
lines changed

8 files changed

+113
-200
lines changed

openandroidinstaller/assets/configs/FP2.yaml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,33 @@ metadata:
55
steps:
66
unlock_bootloader:
77
flash_recovery:
8-
- title: "Flash a custom recovery"
9-
type: confirm_button
8+
- type: confirm_button
109
content: >
1110
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
1211
adapting and repairing of the operating system.
13-
- title: "Flash a custom recovery"
14-
type: call_button
12+
- type: call_button
1513
content: Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
16-
command: "adb reboot bootloader"
17-
- title: "Flash a custom recovery"
18-
type: call_button
14+
command: adb_reboot_bootloader
15+
- type: call_button
1916
content: Flash a custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
20-
command: "fastboot flash recovery <recovery>"
21-
- title: "Flash temporary recovery"
22-
type: confirm_button
17+
command: fastboot_flash_recovery
18+
- type: confirm_button
2319
content: >
2420
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
2521
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears.
2622
install_os:
27-
- title: "Flash LineageOS"
28-
type: confirm_button
23+
- type: confirm_button
2924
content: >
3025
Now tap Factory Reset, then Format data / Factory reset on your phone screen and continue with the formatting process.
3126
This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
32-
- title: "Flash LineageOS"
33-
type: confirm_button
27+
- type: confirm_button
3428
content: >
35-
Return to the main menu on the phone by pressing the back button on the screen.
36-
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here.
37-
- title: "Flash LineageOS"
38-
type: call_button
29+
Return to the main menu on the phone by pressing the back button on the screen.
30+
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here.
31+
- type: call_button
3932
content: >
4033
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
4134
This might take a while. Confirm after it's done.
42-
command: "adb sideload <image>"
43-
- title: "Flash LineageOS"
44-
type: confirm_button
35+
command: adb_sideload
36+
- type: confirm_button
4537
content: Flashing finished. Now press 'back' (arrow) and then 'Reboot system now' on the phone screen to finish the installation.

openandroidinstaller/assets/configs/FP3.yaml

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,45 +7,57 @@ steps:
77
- title: "Unlock the bootloader"
88
type: link_button_with_confirm
99
content: >
10+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
11+
how to start and run an operating system (like Android). Your device should be turned on.
1012
Click on the button to open the instructions on the Fairphone Support official unlocking website to generate an unlock code for your device.
11-
Once you done that, continue.
13+
Once you've done that, continue.
1214
link: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
15+
- type: call_button
16+
content: Press 'Confirm and run' to reboot into the bootloader.
17+
command: adb_reboot_bootloader
18+
- type: confirm_button
19+
content: >
20+
Select 'Restart bootloader' on your smartphone screen by pressing the volume button and the confirm by pushing the power button.
21+
Then press 'Confirm and continue' here.
22+
- type: call_button
23+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
24+
command: fastboot_oem_unlock
25+
- type: confirm_button
26+
content: >
27+
Follow the instructions on the Fairphone screen. This command will wipe all the personal data on your phone.
28+
- type: call_button
29+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
30+
command: fastboot_reboot
31+
- type: confirm_button
32+
content: The bootloader is now unlocked. Since the device resets completely, you will need to re-enable USB debugging to continue.
1333
flash_recovery:
14-
- title: "Flash a custom recovery"
15-
type: confirm_button
34+
- type: confirm_button
1635
content: >
1736
Now you need to flash a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
1837
adapting and repairing of the operating system.
19-
- title: "Flash a custom recovery"
20-
type: call_button
38+
- type: call_button
2139
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.
22-
command: "adb reboot bootloader"
23-
- title: "Flash a custom recovery"
24-
type: call_button
40+
command: adb_reboot_bootloader
41+
- type: call_button
2542
content: Once the device is in fastboot mode, flash the custom recovery (temporarily) by pressing 'Confirm and run'. Once it's done continue.
26-
command: "fastboot flash boot <recovery>"
27-
- title: "Flash temporary recovery"
28-
type: confirm_button
43+
command: fastboot_flash_recovery
44+
- type: confirm_button
2945
content: >
3046
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
3147
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears.
3248
install_os:
33-
- title: "Flash LineageOS"
34-
type: confirm_button
49+
- type: confirm_button
3550
content: >
3651
Now tap 'Factory Reset', then 'Format data / Factory reset' on your phone screen and continue with the formatting process.
3752
This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
38-
- title: "Flash LineageOS"
39-
type: confirm_button
53+
- type: confirm_button
4054
content: >
41-
Return to the main menu on the phone by pressing the back button.
42-
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here.
43-
- title: "Flash LineageOS"
44-
type: call_button
55+
Return to the main menu on the phone by pressing the back button.
56+
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here.
57+
- type: call_button
4558
content: >
4659
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
4760
This might take a while. Confirm after it's done.
48-
command: "adb sideload <image>"
49-
- title: "Flash LineageOS"
50-
type: confirm_button
61+
command: adb_sideload
62+
- type: confirm_button
5163
content: Flashing finished. Now press 'back' (arrow) and then 'Reboot system now' on the phone screen to finish the installation. Then confirm here.

openandroidinstaller/assets/configs/a5xelte.yaml

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,26 @@ metadata:
55
steps:
66
unlock_bootloader:
77
flash_recovery:
8-
- title: "Boot into bootloader"
9-
type: call_button
8+
- type: call_button
109
content: >
1110
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
1211
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
1312
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
14-
command: "adb reboot download"
15-
- title: "Flash custom recovery"
16-
type: call_button
13+
command: adb_reboot_download
14+
- type: call_button
1715
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.
18-
command: "heimdall flash --no-reboot --RECOVERY <recovery>"
19-
- title: "Boot into recovery"
20-
type: confirm_button
16+
command: heimdall_flash_recovery
17+
- type: confirm_button
2118
img: samsung-buttons.png
2219
content: >
2320
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
2421
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
2522
hold *Volume Up* + *Home* + *Power button*.
2623
install_os:
27-
- title: "Flash LineageOS"
28-
type: confirm_button
24+
- type: call_button
2925
content: >
30-
Now swipe right to allow modifications then tap 'Wipe' on your phone.
31-
Next tap 'Format Data' and follow the instructions on your phone to continue with the formatting process.
32-
This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done.
33-
- title: "Flash LineageOS"
34-
type: confirm_button
35-
content: >
36-
Return to the previous menu on your phone by going back two times.
37-
Them tap 'Advanced Wipe', and select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'.
38-
Confirm to continue once you are done.
39-
- title: "Flash LineageOS"
40-
type: confirm_button
41-
content: >
42-
Now connect the phone to the computer again with the USB-cable. On the device, go back three times and select “Advanced”,
43-
then “ADB Sideload”. Select 'Wipe cache' and 'Wipe dalvik cache', then swipe to begin sideload. Then confirm here.
44-
- title: "Flash LineageOS"
45-
type: call_button
46-
content: >
47-
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
48-
This might take a while. Confirm after it's done.
49-
command: "adb sideload <image>"
50-
- title: "Reboot into LineageOS"
51-
type: call_button
52-
content: As a final step, reboot into LineageOS to finish the installation by pressing the button.
53-
command: "adb reboot"
26+
In the next steps, you finally flash the selected OS image.
27+
Connect your device with your computer with the USB-Cable.
28+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
29+
in the internal storage. Then the OS image will be installed. Confirm to run. This might take a while. At the end your phone will boot into the new OS.
30+
command: adb_twrp_wipe_and_install

openandroidinstaller/assets/configs/herolte.yaml

Lines changed: 10 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,26 @@ metadata:
55
steps:
66
unlock_bootloader:
77
flash_recovery:
8-
- title: "Boot into bootloader"
9-
type: call_button
8+
- type: call_button
109
content: >
1110
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
1211
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
1312
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
1413
command: "adb reboot download"
15-
- title: "Flash custom recovery"
16-
type: call_button
14+
- type: call_button
1715
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.
18-
command: "heimdall flash --no-reboot --RECOVERY <recovery>"
19-
- title: "Boot into recovery"
20-
type: confirm_button
16+
command: heimdall_flash_recovery
17+
- type: confirm_button
2118
img: samsung-buttons.png
2219
content: >
2320
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the *Volume Down* + *Power buttons* for 8~10 seconds
2421
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
2522
hold *Volume Up* + *Home* + *Power button*.
2623
install_os:
27-
- title: "Flash LineageOS"
28-
type: confirm_button
24+
- type: call_button
2925
content: >
30-
Now swipe right to allow modifications then tap 'Wipe' on your phone.
31-
Next tap 'Format Data' and follow the instructions on your phone to continue with the formatting process.
32-
This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done.
33-
- title: "Flash LineageOS"
34-
type: confirm_button
35-
content: >
36-
Return to the previous menu on your phone by going back two times.
37-
Them tap 'Advanced Wipe', and select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'.
38-
Confirm to continue once you are done.
39-
- title: "Flash LineageOS"
40-
type: confirm_button
41-
content: >
42-
Now connect the phone to the computer again with the USB-cable. On the device, go back three times and select “Advanced”,
43-
then “ADB Sideload”. Select 'Wipe cache' and 'Wipe dalvik cache', then swipe to begin sideload. Then confirm here.
44-
- title: "Flash LineageOS"
45-
type: call_button
46-
content: >
47-
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
48-
This might take a while. Confirm after it's done.
49-
command: "adb sideload <image>"
50-
- title: "Reboot into LineageOS"
51-
type: call_button
52-
content: As a final step, reboot into LineageOS to finish the installation by pressing the button.
53-
command: "adb reboot"
26+
In the next steps, you finally flash the selected OS image.
27+
Connect your device with your computer with the USB-Cable.
28+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
29+
in the internal storage. Then the OS image will be installed. Confirm to run. This might take a while. At the end your phone will boot into the new OS.
30+
command: adb_twrp_wipe_and_install

openandroidinstaller/assets/configs/starlte.yaml

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,48 +5,25 @@ metadata:
55
steps:
66
unlock_bootloader:
77
flash_recovery:
8-
- title: "Boot into bootloader"
9-
type: call_button
8+
- type: call_button
109
content: >
1110
As a first step, you need to boot into the bootloader. A bootloader is the piece of software,
1211
that tells your phone who to start and run an operating system (like Android). Your device should be turned on.
1312
Then press 'Confirm and run' to reboot into the bootloader. Continue once it's done.
14-
command: "adb reboot download"
15-
- title: "Flash custom recovery"
16-
type: call_button
13+
command: adb_reboot_download
14+
- type: call_button
1715
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.
18-
command: "heimdall flash --no-reboot --RECOVERY <recovery>"
19-
- title: "Boot into recovery"
20-
type: confirm_button
16+
command: heimdall_flash_recovery
17+
- type: confirm_button
2118
content: >
2219
Unplug the USB cable from your device. Then manually reboot into recovery by pressing the Volume Down + Power buttons for 8~10 seconds
2320
until the screen turns black & release the buttons immediately when it does, then boot to recovery with the device powered off,
2421
hold Volume Up + Bixby + Power.
2522
install_os:
26-
- title: "Flash LineageOS"
27-
type: confirm_button
23+
- type: call_button
2824
content: >
29-
Now swipe right to allow modifications then tap 'Wipe' on your phone.
30-
Next tap 'Format Data' and follow the instructions on your phone to continue with the formatting process.
31-
This will remove encryption and delete all files stored in the internal storage. Confirm to continue once you are done.
32-
- title: "Flash LineageOS"
33-
type: confirm_button
34-
content: >
35-
Return to the previous menu on your phone by going back two times.
36-
Them tap 'Advanced Wipe', and select the 'Cache' and 'System' partitions and then 'Swipe to Wipe'.
37-
Confirm to continue once you are done.
38-
- title: "Flash LineageOS"
39-
type: confirm_button
40-
content: >
41-
Now connect the phone to the computer again with the USB-cable. On the device, go back three times and select “Advanced”,
42-
then “ADB Sideload”. Select 'Wipe cache' and 'Wipe dalvik cache', then swipe to begin sideload. Then confirm here.
43-
- title: "Flash LineageOS"
44-
type: call_button
45-
content: >
46-
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
47-
This might take a while. Confirm after it's done.
48-
command: "adb sideload <image>"
49-
- title: "Reboot into LineageOS"
50-
type: call_button
51-
content: As a final step, reboot into LineageOS to finish the installation by pressing the button.
52-
command: "adb reboot"
25+
In the next steps, you finally flash the selected OS image.
26+
Connect your device with your computer with the USB-Cable.
27+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
28+
in the internal storage. Then the OS image will be installed. Confirm to run. This might take a while. At the end your phone will boot into the new OS.
29+
command: adb_twrp_wipe_and_install

0 commit comments

Comments
 (0)