3.1 KiB
3.1 KiB
Install LineageOS on Fairphone
1. Check your prerequisites on your computer
[ ] adb and fastboot are installed?
[ ] you have downloaded bootimage (img) and LineageOS (zip)?
[ ] you have the unlock code (in case of Fairphone 3)?
2. Unlock your fairphone
- Navigate to "Settings - About phone"
- Press 7 times “Build number” to enable Developer mode
- Navigate to "Settings - System – Advanced – Developer options"
- Enable OEM unlocking with unlock your code
- Navigate to "Settings - System – Advanced – Developer options"
- Enable USB Debugging
3. Connect via usb
- Connect your computer & fairphone via usb
- On your fairphone allow the usb connection
- Type
adb devices
on your computer. The result should show something likeList of devices attached <SerialNumberOfYourPhone> device
4. Install LinegaeOS recovery image
- Reboot your fairphone to bootloader mode: Type
adb reboot bootloader
on your computer. - Fairphone should show the bootloader screen.
- Type
fastboot devices
on your computer. The result should show something like<SerialNumberOfYourPhone> fastboot
- Type on your computer
fastboot oem unlock
. - 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.). - Type on your computer
fastboot oem lock
.
5. Install LineageOS
-
Reboot your fairphone again to bootloader mode: Type
adb reboot bootloader
on your computer. -
Your fairphone now boots to the new LineageOS recovery image. Then start the recovery mode.
-
Return to main menu
-
Type
adb sideload <lineagos.zip>
on your computer (<lineagos.zip> is the zip-file you have downloaded in 1.).
5.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
- Download the favored version from here.
- Install the gapps the same way, you installed LineageOs:
adb sideload <gapps.zip>
6. Start LineageOS
- Return to main menu
- Choose apply update, then your phone should start with the new LineageOS.
- Walk through the initial LineageOS setup.
7. Download the F-Droid App-Store
- Use the browser on your Fairphone to download F-Droid: https://www.f-droid.org/
- Visit the download-folder and install F-Droid (accept the warning).
- Now you can install Apps like DeltaChat, NextCloud, Fennec, Tusky, k9 (...) through the F-Droid Store.
- Open Fennec and install privacy badger as add-on.