3.3 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 sth likeList of devices attached A209VYM20201 device
4. Install LinegaeOS
- Reboot your fairphone to recovery mode: Type
adb reboot bootloader
on your computer.
bootloader ()
1.2.1. Optional installation of GooglePlay Store
- If you can't abstain from the Play Store there exist a minimum Google installation, (pico) Open GApps.
- Download the favored version from here.
1.3. Prepare Phone (on Your Fairphone)
- start phone in Recovery Mode
- choose Factory Reset - Format Data/Factory Reset
- apply update - Apply from ADB
1.4. Install LineageOS (on Your Computer)
- adb sideload <lineagos.zip>
- optional: adb sideload <gapps.zip>
1.5. Apply LineageOS (on Your Fairphone)
- apply update
1.6. Lock the Bootloader again (on Your Computer)
- adb reboot bootloader
- fastboot flashing lock
Install Apps
2.1. Here you can download Apps which you can install via the computer on your phone (adb install example.apk).
2.2. Download F-Droid Store here.
2.3. Now you can install Apps like DeltaChat, NextCloud, Fennec, Tusky (...) through the F-Droid Store.
2.4. Dont forget to check again the predefined settings (additional install a privacy badger).
Remove Google-dependencies
3.1. enter new DNS: dns2.digitalcourage.de (Settings - Network and Internet - Advanced - Private DNS).
3.2. Check Privacy Settings and GPS (especially browser-settings from Fennec).
3.3. Switch off Print Service (Settings - Connected devices - Connection preferences - Printing).
3.4. Replace Google captive portal check with Kuketz. Therefore, connect your Fairphone with your computer and execute following adb commands:
- adb shell 'settings put global captive_portal_http_url "http://captiveportal.kuketz.de"'
- adb shell 'settings put global captive_portal_https_url "https://captiveportal.kuketz.de"'
- adb shell 'settings put global captive_portal_fallback_url "http://captiveportal.kuketz.de"'
- adb shell 'settings put global captive_portal_other_fallback_urls "http://captiveportal.kuketz.de"'
In order to test the settings, if they were correctly adopted, you can type in:
- adb shell 'settings get global captive_portal_https_url'