diff --git a/Guides/9.UpgradeToLos20.md b/Guides/9.UpgradeToLos20.md new file mode 100644 index 0000000..7341149 --- /dev/null +++ b/Guides/9.UpgradeToLos20.md @@ -0,0 +1,55 @@ +# Prepare Upgrade + +## On your computer + +1. Download and install adb & fastboot + 1. Windows + 1. [Download adb & fastboot](https://developer.android.com/studio/releases/platform-tools) + 2. It may be necessary to install USB-Drivers by windwos update [see](https://forum.fairphone.com/t/gerat-wird-im-fastboot-mode-nicht-erkannt-os-flashen/42920/2) + 1. For Linux do `sudo apt install adb fastboot` +2. Download LineageOS .zip file + 1. For the [Fairphone 3](https://download.lineageos.org/devices/FP3/builds) +3. Check your downloaded LineageOS .zip file + 1. In Windows type `Get-FileHash ` on your computer. + 1. in Linux type `sha256sum ` or alternatively `shasum -a 256 ` on your computer. + +# Upgrade LineageOS on Fairphone + +## 1. Check your prerequisites on your computer + +[ ] adb and fastboot are installed on your computer? +[ ] you downloaded LineageOS (zip)? +[ ] you have an usb cable ready? +[ ] your phone has at least 70% battery? + +## 2. Enable USB Debugging + +1. Navigate to "Settings - About phone" +1. Tap on “Build number” 7 times to enable developer mode +1. Navigate to "Settings - System – Advanced – Developer options" +1. Enable USB Debugging + + +## 3. Connect via usb + +For upgrade your Fairphone, it needs to be connected 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 (for Windows users: open the terminal in the directory containing adb&fastboot.exe and use the `.\` prefix. The resulting command will be: `.\adb devices`). + The result should show something like + ``` + List of devices attached + device + ``` + +## 4. Upgrade LineageOS + +This step is not very dangerous. +You will loose your desktop layout but your data should stay safe. +The LineageOs boot-loader will verify your binaries. + +1. Allow adb to become root: `adb root` +1. Now reboot to recovery image: `adb reboot sideload`. +1. Now upgrade to new LOS version: `adb sideload /path/to/zip` +1. tap on reboot now. diff --git a/Guides/Summary.md b/Guides/Summary.md index 73c30e9..c40ceea 100644 --- a/Guides/Summary.md +++ b/Guides/Summary.md @@ -1,6 +1,9 @@ + 1. [Prepare installation](1.%20PrepareInstallation.md) 2. [Installation LineageOS](2.%20LineageOSInstallation.md) 3. [Degoogle LineageOS](3.%20DegoogleLineageOS.md) 4. [Upgrade LineageOS17 to 18](4.%20LineageOSUpgrade.md) + 1. [Upgrade LineageOS18 to 19](9.UpgradeToLos19.md) + 2. [Upgrade LineageOS19 to 20](9.UpgradeToLos20.md) 5. [Backing LineageOS with Seedvault](5.%20LineageOSBackup.md) 6. [OpenGapps](OpenGapps.md)