Skip to content

Commit ff7ec2d

Browse files
committed
Config for Fairphone 4
1 parent 207c313 commit ff7ec2d

2 files changed

Lines changed: 55 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Vendor | Device Name | CodeName | Models | Status
100100
---|---|---|---|---
101101
Fairphone | Fairphone 2 | [FP2](https://wiki.lineageos.org/devices/FP2/) | | tested
102102
Fairphone | Fairphone 3 | [FP3](https://wiki.lineageos.org/devices/FP3/) | | tested
103+
Fairphone | Fairphone 4 | [FP4](https://wiki.lineageos.org/devices/FP4/) | | tested
103104
</details>
104105

105106
<details><summary><b>Motorola</b></summary>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
maintainer: Tobias Sterbak (tsterbak)
3+
devicename: Fairphone 4
4+
devicecode: FP4
5+
steps:
6+
unlock_bootloader:
7+
- type: link_button_with_confirm
8+
content: >
9+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
10+
how to start and run an operating system (like Android). Your device should be turned on.
11+
Click on the button to open the instructions on the Fairphone Support official unlocking website to generate an unlock code for your device.
12+
Once you've done that, continue.
13+
link: https://support.fairphone.com/hc/en-us/articles/4405858258961-FP4-Manage-the-bootloader
14+
- type: call_button
15+
content: Press 'Confirm and run' to reboot into the bootloader.
16+
command: adb_reboot_bootloader
17+
- type: confirm_button
18+
content: >
19+
Select 'Restart bootloader' on your smartphone screen by pressing the volume button and the confirm by pushing the power button.
20+
Then press 'Confirm and continue' here.
21+
- type: call_button
22+
content: In this step you actually unlock the bootloader. Just press 'Confirm and run' here. Once it's done, press continue here.
23+
command: fastboot_unlock
24+
- type: confirm_button
25+
content: >
26+
Follow the instructions on the Fairphone screen. This command will wipe all the personal data on your phone.
27+
- type: call_button
28+
content: To finish the unlocking, the phone needs to reboot. Just press 'Confirm and run' here to reboot. Then continue.
29+
command: fastboot_reboot
30+
- type: confirm_button
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:
33+
- type: confirm_button
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,
36+
adapting and repairing of the operating system.
37+
- type: call_button
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+
command: adb_reboot_bootloader
40+
- type: call_button
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
43+
- type: confirm_button
44+
content: >
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!
46+
With the device powered off, hold 'Volume Up + Power'. Release when boot logo appears.
47+
install_os:
48+
- type: call_button
49+
content: >
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)