# Prepare Installation
## 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 .img and .zip files
   1. For the [Fairphone 2](https://download.lineageos.org/FP2)
   1. For the [Fairphone 3](https://download.lineageos.org/FP3)
3. Generate unlockcode
   1. In case of Fairphone 2, it is not necessary
   1. In case of Fairphone 3:
      - Find IMEI number (Settings - About phone)
      - Find serial number (Settings - About phone - Model and Hardware)
      - enter [here](https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/) and get your unlock code.
