lineageos-fairphone/installation_guide.md

78 lines
3.2 KiB
Markdown
Raw Normal View History

2021-06-05 14:41:35 +00:00
Ungoogle Fairphone
2021-06-04 14:26:02 +00:00
=========
2021-08-12 07:53:54 +00:00
Created friday 05 june 2021
2021-06-05 13:35:59 +00:00
2021-06-05 14:41:35 +00:00
Install LineageOS on Fairphone
2021-06-14 10:25:14 +00:00
------------------------------
2021-06-09 11:26:11 +00:00
1.1. Save you Data and Unlock Bootloader (on Your Fairphone)
2021-08-16 10:19:33 +00:00
- Save all relevant data from you smartphone on your computer.
2021-06-05 14:41:35 +00:00
- Find IMEI number (Settings - About phone)
- Find serial number (Settings - About phone - Model and Hardware)
- enter them [here][bootloader] and get your unlock code.
- enable Developer mode (press 7 times “Build number” (Settings - About phone))
2021-08-16 10:19:33 +00:00
- enable OEM unlocking with unlock code (Settings - System Advanced Developer options)
- enable USB Debugging (Settings - System Advanced Developer options)
2021-06-05 13:35:59 +00:00
2021-08-16 10:19:33 +00:00
1.2. Download and install dependencies (on Your Computer)
2021-06-05 14:41:35 +00:00
- install fastboot and adb (sudo apt install adb fastboot)
- Download LineageOS .img and .zip files [here][LineageOS]
- connect Fairphone via USB with computer
- Reboot bootloader (adb reboot bootloader)
2021-06-05 13:35:59 +00:00
2021-08-16 10:19:33 +00:00
1.2.1. Optional installation of GooglePlay Store
2021-06-25 11:16:58 +00:00
- If you can't abstain from the Play Store there exist a minimum Google installation, (pico) Open GApps.
- Download the favored version from [here][GApps].
2021-06-09 11:26:11 +00:00
1.3. Prepare Phone (on Your Fairphone)
2021-06-14 10:25:14 +00:00
- start phone in Recovery Mode
2021-06-05 14:41:35 +00:00
- choose Factory Reset - Format Data/Factory Reset
- apply update - Apply from ADB
2021-06-05 13:35:59 +00:00
2021-06-09 11:26:11 +00:00
1.4. Install LineageOS (on Your Computer)
2021-06-05 14:41:35 +00:00
- adb sideload <lineagos.zip>
2021-06-25 11:16:58 +00:00
- optional: adb sideload <gapps.zip>
2021-06-05 13:35:59 +00:00
2021-06-09 11:26:11 +00:00
1.5. Apply LineageOS (on Your Fairphone)
2021-06-05 14:41:35 +00:00
- apply update
2021-06-05 13:35:59 +00:00
2021-06-27 12:30:30 +00:00
1.6. Lock the Bootloader again (on Your Computer)
- adb reboot bootloader
- fastboot flashing lock
2021-06-04 14:26:02 +00:00
2021-06-05 14:41:35 +00:00
Install Apps
2021-06-04 14:26:02 +00:00
------------
2021-06-05 14:41:35 +00:00
2.1. [Here][apkpure] you can download Apps which you can install via the computer on your phone (adb install example.apk).
2021-06-06 23:12:54 +00:00
2.2. Download F-Droid Store [here][Fdroid].
2021-08-16 10:19:33 +00:00
2.3. Now you can install Apps like DeltaChat, NextCloud, Fennec, Tusky (...) through the F-Droid Store.
2021-06-06 23:12:54 +00:00
2021-08-12 07:53:17 +00:00
2.4. Dont forget to check again the predefined settings (additional install a privacy badger).
2021-06-05 14:41:35 +00:00
Remove Google-dependencies
2021-06-14 10:25:14 +00:00
--------------------------
2021-08-16 10:19:33 +00:00
3.1. enter new DNS: dns2.digitalcourage.de (Settings - Network and Internet - Advanced - Private DNS).
2021-06-05 14:41:35 +00:00
2021-06-09 11:38:38 +00:00
3.2. Check Privacy Settings and GPS (especially browser-settings from Fennec).
2021-06-05 14:41:35 +00:00
2021-08-16 10:19:33 +00:00
3.3. Switch off Print Service (Settings - Connected devices - Connection preferences - Printing).
2021-06-05 14:41:35 +00:00
2021-08-16 10:19:33 +00:00
3.4. Replace Google captive portal check with [Kuketz][kuketz]. Therefore, connect your Fairphone with your computer and execute following adb commands:
2021-06-09 11:38:38 +00:00
- 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"'
2021-08-12 07:53:17 +00:00
In order to test the settings, if they were correctly adopted, you can type in:
2021-06-09 11:38:38 +00:00
- adb shell 'settings get global captive_portal_https_url'
2021-06-04 14:25:42 +00:00
2021-06-14 10:25:14 +00:00
2021-06-05 13:35:59 +00:00
[bootloader]: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
2021-06-05 14:41:35 +00:00
[LineageOS]: https://download.lineageos.org/FP3
[apkpure]: https://apkpure.com
2021-06-06 23:12:54 +00:00
[Fdroid]: https://www.f-droid.org/
2021-06-09 11:38:38 +00:00
[kuketz]: https://www.kuketz-blog.de/android-captive-portal-check-204-http-antwort-von-captiveportal-kuketz-de/
2021-06-14 10:25:14 +00:00
[GApps]: https://opengapps.org/