From a6ff3c7574cc75f73c815c1dc24df308c4b539b3 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 17 Sep 2021 11:16:51 +0200 Subject: [PATCH] add some rational to the guide --- Guides/LineageOsInstallation.md | 29 +++++++++++++++++++++++------ Guides/PrepareInstallation.md | 4 +++- {doc => Guides/img}/apply.jpg | Bin {doc => Guides/img}/done.jpg | Bin {doc => Guides/img}/fairphone.jpg | Bin {doc => Guides/img}/format.jpg | Bin {doc => Guides/img}/format2.jpg | Bin {doc => Guides/img}/reboot.jpg | Bin {doc => Guides/img}/recovery.jpg | Bin {doc => Guides/img}/reset.jpg | Bin {doc => Guides/img}/sideload.jpg | Bin {doc => Guides/img}/start.jpg | Bin 12 files changed, 26 insertions(+), 7 deletions(-) rename {doc => Guides/img}/apply.jpg (100%) rename {doc => Guides/img}/done.jpg (100%) rename {doc => Guides/img}/fairphone.jpg (100%) rename {doc => Guides/img}/format.jpg (100%) rename {doc => Guides/img}/format2.jpg (100%) rename {doc => Guides/img}/reboot.jpg (100%) rename {doc => Guides/img}/recovery.jpg (100%) rename {doc => Guides/img}/reset.jpg (100%) rename {doc => Guides/img}/sideload.jpg (100%) rename {doc => Guides/img}/start.jpg (100%) diff --git a/Guides/LineageOsInstallation.md b/Guides/LineageOsInstallation.md index d1f1282..1f81042 100644 --- a/Guides/LineageOsInstallation.md +++ b/Guides/LineageOsInstallation.md @@ -4,8 +4,12 @@ [ ] adb and fastboot are installed? [ ] you have downloaded bootimage (img) and LineageOS (zip)? [ ] you have the unlock code (in case of Fairphone 3)? +[ ] you have a usb cable prepared? +[ ] you are prepared to erase all the data on your fairphone? ## 2. Unlock your fairphone + +Unlocking will allow us to overwrite the boot-loader. 1. Navigate to "Settings - About phone" 1. Press 7 times “Build number” to enable Developer mode 1. Navigate to "Settings - System – Advanced – Developer options" @@ -14,6 +18,8 @@ 1. Enable USB Debugging ## 3. Connect via usb + +For overwriting your fairphones boot-loader we will need connection to your pc. 1. Connect your computer & fairphone via usb 1. On your fairphone allow the usb connection 1. Type `adb devices` on your computer. The result should show something like @@ -23,6 +29,8 @@ ``` ## 4. Install LinegaeOS recovery image + +If this step goes wrong your fairphone may remain broken. So be shure, your phone has at least 50% battery. 1. Reboot your fairphone to bootloader mode: Type `adb reboot bootloader` on your computer. 1. Fairphone should show the bootloader screen. 1. Type `fastboot devices` on your computer. The result should show something like @@ -33,31 +41,40 @@ 1. Install fastboot image by typing `fastboot flash recovery ` on your computer ( 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. + ## 5. 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. -[](/doc/start.jpg)[](/doc/recovery.jpg) +[](img/start.jpg)[](img/recovery.jpg) 1. Choose Factory Reset - Format Data/Factory Reset -[](/doc/reset.jpg)[](/doc/format.jpg) +[](img/reset.jpg)[](img/format.jpg) 1. Return to main menu 1. Apply update - Apply from ADB -[](/doc/apply.jpg)[](/doc/sideload.jpg) +[](img/apply.jpg)[](img/sideload.jpg) 1. Type `adb sideload ` on your computer ( is the zip-file you have downloaded in 1.). -[](/doc/done.jpg) +[](img/done.jpg) ### 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 + +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 ` ## 6. 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 -1. Use the browser on your Fairphone to download F-Droid: https://www.f-droid.org/ + +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/) 1. Visit the download-folder and install F-Droid (accept the warning). 1. Now you can install Apps like DeltaChat, NextCloud, Fennec, Tusky, k9 (...) through the F-Droid Store. 1. Open Fennec and install privacy badger as add-on. diff --git a/Guides/PrepareInstallation.md b/Guides/PrepareInstallation.md index 750a72f..7303855 100644 --- a/Guides/PrepareInstallation.md +++ b/Guides/PrepareInstallation.md @@ -2,7 +2,9 @@ ## On your computer 1. Download and install adb & fastboot - 1. In case of [Windows](https://developer.android.com/studio/releases/platform-tools) + 1. In case of Windows + 1. [Download adb & fastboot](https://developer.android.com/studio/releases/platform-tools) + 2. Maybe it is necessary to install USB-Driver by windwos update [see](https://forum.fairphone.com/t/gerat-wird-im-fastboot-mode-nicht-erkannt-os-flashen/42920/2) 1. In case of Linux `sudo apt install adb fastboot` 2. Download LineageOS .img and .zip files 1. In case of [Fairphone 2](https://download.lineageos.org/FP2) diff --git a/doc/apply.jpg b/Guides/img/apply.jpg similarity index 100% rename from doc/apply.jpg rename to Guides/img/apply.jpg diff --git a/doc/done.jpg b/Guides/img/done.jpg similarity index 100% rename from doc/done.jpg rename to Guides/img/done.jpg diff --git a/doc/fairphone.jpg b/Guides/img/fairphone.jpg similarity index 100% rename from doc/fairphone.jpg rename to Guides/img/fairphone.jpg diff --git a/doc/format.jpg b/Guides/img/format.jpg similarity index 100% rename from doc/format.jpg rename to Guides/img/format.jpg diff --git a/doc/format2.jpg b/Guides/img/format2.jpg similarity index 100% rename from doc/format2.jpg rename to Guides/img/format2.jpg diff --git a/doc/reboot.jpg b/Guides/img/reboot.jpg similarity index 100% rename from doc/reboot.jpg rename to Guides/img/reboot.jpg diff --git a/doc/recovery.jpg b/Guides/img/recovery.jpg similarity index 100% rename from doc/recovery.jpg rename to Guides/img/recovery.jpg diff --git a/doc/reset.jpg b/Guides/img/reset.jpg similarity index 100% rename from doc/reset.jpg rename to Guides/img/reset.jpg diff --git a/doc/sideload.jpg b/Guides/img/sideload.jpg similarity index 100% rename from doc/sideload.jpg rename to Guides/img/sideload.jpg diff --git a/doc/start.jpg b/Guides/img/start.jpg similarity index 100% rename from doc/start.jpg rename to Guides/img/start.jpg