Skip to content

Commit bbab2b1

Browse files
committed
Adapt config for TWRP recovery for FairPhones
1 parent 011109f commit bbab2b1

File tree

2 files changed

+12
-28
lines changed

2 files changed

+12
-28
lines changed

openandroidinstaller/assets/configs/FP2.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,10 @@ steps:
2020
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
2121
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears.
2222
install_os:
23-
- type: confirm_button
23+
- type: call_button
2424
content: >
25-
Now tap Factory Reset, then Format data / Factory reset on your phone screen and continue with the formatting process.
26-
This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
27-
- type: confirm_button
28-
content: >
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
32-
content: >
33-
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
34-
This might take a while. Confirm after it's done.
35-
command: adb_sideload
36-
- type: confirm_button
37-
content: Flashing finished. Now press 'back' (arrow) and then 'Reboot system now' on the phone screen to finish the installation.
25+
In the next steps, you finally flash the selected OS image.
26+
Wait until the TWRP screen appears. Then run the command.
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. This might take a while. At the end your phone will boot into the new OS.
29+
command: adb_twrp_wipe_and_install

openandroidinstaller/assets/configs/FP3.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,10 @@ steps:
4545
Now reboot into recovery to verify the installation. Do not reboot into the existing OS, since it will overwrite the recovery you just installed!
4646
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears.
4747
install_os:
48-
- type: confirm_button
49-
content: >
50-
Now tap 'Factory Reset', then 'Format data / Factory reset' on your phone screen and continue with the formatting process.
51-
This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
52-
- type: confirm_button
48+
- type: call_button
5349
content: >
54-
Return to the main menu on the phone by pressing the back button.
55-
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload. Then confirm here.
56-
- type: call_button
57-
content: >
58-
Now it's time to flash the LineageOS image. Don't remove the USB-Cable and press 'Confirm and run' to start!
59-
This might take a while. Confirm after it's done.
60-
command: adb_sideload
61-
- type: confirm_button
62-
content: Flashing finished. Now press 'back' (arrow) and then 'Reboot system now' on the phone screen to finish the installation. Then confirm here.
50+
In the next steps, you finally flash the selected OS image.
51+
Wait until the TWRP screen appears. Then run the command.
52+
This step will format your phone and wipe all the data. It will also remove encryption and delete all files stored
53+
in the internal storage. Then the OS image will be installed. This might take a while. At the end your phone will boot into the new OS.
54+
command: adb_twrp_wipe_and_install

0 commit comments

Comments
 (0)