added upgrade to LOS20

This commit is contained in:
Michael Jerger 2023-03-28 13:15:51 +02:00
parent b2b5c7a884
commit 9669b9d325
2 changed files with 58 additions and 0 deletions

View file

@ -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 <lineage_os_filename.zip>` on your computer.
1. in Linux type `sha256sum <image_filename.img>` or alternatively `shasum -a 256 <lineage_os_filename.zip>` 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
<SerialNumberOfYourPhone> 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.

View file

@ -1,6 +1,9 @@
1. [Prepare installation](1.%20PrepareInstallation.md) 1. [Prepare installation](1.%20PrepareInstallation.md)
2. [Installation LineageOS](2.%20LineageOSInstallation.md) 2. [Installation LineageOS](2.%20LineageOSInstallation.md)
3. [Degoogle LineageOS](3.%20DegoogleLineageOS.md) 3. [Degoogle LineageOS](3.%20DegoogleLineageOS.md)
4. [Upgrade LineageOS17 to 18](4.%20LineageOSUpgrade.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) 5. [Backing LineageOS with Seedvault](5.%20LineageOSBackup.md)
6. [OpenGapps](OpenGapps.md) 6. [OpenGapps](OpenGapps.md)