1. Install fastboot image by typing `fastboot flash recovery <image_filename.img>` on your computer (<image_filename.img> is the img-file you have downloaded in 1.).
1. Type on your computer `fastboot oem lock`.
OEM unlocking / locking will erase all data, so we should ensure to do the lock again.
OEM unlocking / locking will erase all data, so we should ensure to do the lock again now.
## 5. Install LineageOS
## 6. Install LineageOS
This step is no more dangerous. You can retry as often you want to. The LineageOs boot-loader will verify your binaries.
1. Reboot your fairphone again to bootloader mode: Type `adb reboot bootloader` on your computer.
1. Your fairphone now boots to the new LineageOS recovery image. Then start the recovery mode.
2. Your fairphone now boots to the new LineageOS recovery image. Then start the recovery mode.
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>`
## 6. Start LineageOS
## 7. 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.
## 7. Download the F-Droid App-Store
## 8. 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/)