[ ] adb and fastboot are installed on your computer?
[ ] adb and fastboot are installed on the computer?
[ ] you downloaded the bootimage (img) and LineageOS (zip)?
[ ] you have the unlock code (in case of Fairphone 3)?
[ ] you have an usb cable ready?
@ -25,9 +25,9 @@ Unlocking will allow us to overwrite the boot-loader.
## 3. Connect via usb
For overwriting the boot-loader of your Fairphone, it needs to be connected to your pc.
1. Connect your computer &Fairphone via usb
1. Connect your Fairphone to the computer 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`).
1. Type `adb devices` on your terminal (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
@ -39,15 +39,15 @@ For overwriting the boot-loader of your Fairphone, it needs to be connected to y
The next step is critical. If something goes wrong here your Fairphone may remain broken. Time to do some checks:
1. Make sure your phone has at least 70% battery.
1. Reboot your Fairphone to bootloader mode: Type `adb reboot bootloader` on your computer.
1. Reboot your Fairphone to bootloader mode: Type `adb reboot bootloader` on the terminal.
1. Your Fairphone should show the bootloader screen.
1. Type `fastboot devices` on your computer. The result should show something like
1. Type `fastboot devices` on the terminal. The result should show something like
```
<SerialNumberOfYourPhone> fastboot
```
1. Check your downloaded recovery image
1. In Windows type `Get-FileHash <image_filename.img>` on your computer.
1. in Linux type `sha256sum <image_filename.img>` or alternatively `shasum -a 256 <image_filename.img>` on your computer.
1. In Windows type `Get-FileHash <image_filename.img>` on the terminal.
1. in Linux type `sha256sum <image_filename.img>` or alternatively `shasum -a 256 <image_filename.img>` on the terminal.
@ -63,12 +63,12 @@ All checks passed? Then lets continues:
1. If your Fairphone reboots, you might have to do the steps 2.1-2.4 again to re-enable USB debugging. Then `adb reboot bootloader` will bring you back.
2. For Fairphone2
1. On your computer type `fastboot flashing unlock`.
2. Install fastboot image & reboot to recovery by typing on your computer`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. On the terminal type `fastboot flashing unlock`.
2. Install fastboot image & reboot to recovery by typing on the terminal`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
3. Reboot to Recovery without starting your original rom: With the device powered off, hold Power + Volume Up. Release when boot logo appears.
3. For Fairphone3
1. On your computer type `fastboot flashing unlock`.
2. Install fastboot image & reboot to recovery by typing on your computer`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
1. On the terminal type `fastboot flashing unlock`.
2. Install fastboot image & reboot to recovery by typing on the terminal`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
- If you see something like "boot partition is smaller than boot image" you might find the solution [here](https://gitlab.com/domaindrivenarchitecture/lineageos-Fairphone/-/blob/main/Guides/InstallationFAQ.md).
3. On the phone you should not see any difference and it should remain in the bootloader screen. Then hold Volume Up + Power. Release when boot logo appears.
4. Reboot to Recovery without starting your original rom:
@ -76,11 +76,11 @@ All checks passed? Then lets continues:
2. Or use the button method, hold Volume Up + Power. Release when boot logo appears.
4. For Fairphone4
1. On your computer type `fastboot flashing unlock`.
1. On the terminal type `fastboot flashing unlock`.
2. Do the steps 2.1-2.4 again to re-enable USB debugging. Then `adb reboot bootloader`
3. On your computer type `fastboot flashing unlock_critical`
3. On the terminal type `fastboot flashing unlock_critical`
4. Do the steps 2.1-2.4 again to re-enable USB debugging. Then `adb reboot bootloader`
5. Install fastboot image & reboot to recovery by typing on your computer`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
5. Install fastboot image & reboot to recovery by typing on the terminal`fastboot flash recovery <image_filename.img>` (<image_filename.img> is the img-file you have downloaded in 1.).
Please take care not to boot in to your old Android / FairphoneOS. If you missed the proper reboot into recovery by buttons you've to step back to step 1. because your old os reinstall its own recovery over the one just installed.
@ -95,7 +95,7 @@ If you are already in the recovery mode you can go to step 6.3.