1. Be aware, in the next step all data will be erased on your fairphone!
## 5. Install LinegaeOS recovery image
All checks passed? Then lets do the work:
All checks passed? Then lets continues:
1. Type on your computer `fastboot oem unlock`.
1. If your fairphone reboots, a `adb reboot bootloader` will bring you back.
1. Install fastboot image
1. in case of Fairphone2 by typing on your computer `fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. in case of Fairphone3 by typing on your computer `fastboot flash boot <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. Type on your computer `fastboot oem lock`.
1. Install fastboot image & reboot to recovery
1. in case of Fairphone2
1. by typing on your computer `fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. With the device powered off, hold Volume Up + Power. Release when boot logo appears.
1. in case of Fairphone3
1. by typing on your computer `fastboot flash boot <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. With the device powered off, hold Volume Up + Power. Release when boot logo appears.
Please take care not to boot in to your old Android / FairphoneOS. If you missed the proper reboot into recovery by buttons you've to step back to step 1. because your old os reinstall its own recovery over the one you installed.
OEM unlocking / locking will erase all data, so we should ensure to do the lock again now.
## 6. Install LineageOS
@ -80,20 +88,34 @@ This step is no more dangerous. You can retry as often you want to. The LineageO
7. Check whether you see the `Step 2/2` on the bottom of your fairphone.
### 6.1 Optional installation of Google Apps
If you can't abstain from the Google Apps or the Google Play Store there exist packages with various scopes, you will find a package comparison here: [https://github.com/opengapps/opengapps/wiki/Package-Comparison](https://github.com/opengapps/opengapps/wiki/Package-Comparison). You have to install Google Aps in front of first the first start wizzard.
1. Download the favored version from [here](https://opengapps.org/).
1. Install the gapps the same way, you installed LineageOs: `adb sideload <gapps.zip>`
## 7. Start LineageOS
## 7. OEM Lock
OEM unlocking / locking will erase all data, so we should ensure to do the lock again now.
1. Type `fastboot devices` on your computer. The result should show something like
```
<SerialNumberOfYourPhone> fastboot
```
1. Type on your computer `fastboot oem lock`.
## 8. Start LineageOS
First start of your new LineageOS - hurray.
1. Return to main menu
1. Choose Reboot system, then your phone should start with the new LineageOS.
1. Walk through the initial LineageOS setup.
## 8. Download the F-Droid App-Store
## 9. Download the F-Droid App-Store
For installing more software we recommend F-Droid
1. Use the browser on your Fairphone to download F-Droid: [https://www.f-droid.org/](https://www.f-droid.org/)