** Fairphone OS 19.02.1 Manual Flashing Script **

The scripts contained in this archive allow you to manually flash a Fairphone 2
and update it to Fairphone OS 19.02.1.
The next section describes how to use this tool based on the operating system
running on your computer.


* How to use *

Turn the Fairphone 2 off, hold the volume-down button and then press the power
button until the Fairphone logo appears. The device is now in fastboot mode,
plug it to your computer.

On Microsoft Windows 7 and later:
  1. Windows can install the USB driver automatically, let the system handle the
    driver installation if the device is not recognised.
  2. Double click on the script called "flash-for-windows.bat".
  3. A command prompt will appear and guide you through the procedure.

On Apple Mac OS X 10.10 and later:
  1. Double click on the script called "flash-for-mac.command".
  2. A command prompt will appear and guide you through the procedure.

On any up-to-date GNU/Linux distribution:
  1. Either sha256sum or md5sum, and a recent version of fastboot are
    needed. Note that fastboot must be installed via the distribution
    package management system, or temporarily given superuser
    privileges by prefixing the command below with "sudo".
  2. In a terminal emulator, navigate to the extracted archive directory.
  3. Execute the flashing script by typing "sh flash-for-unix.sh".


* How it works *

All of the previously mentioned scripts follow the same common procedure:
  1. The integrity of the images to be copied to the phone is verified.
    - If this fails, please download the manual archive one more time and try
      again.
  2. The script requires a Fairphone 2 to be detected by your computer.
    - If no phone is detected, you will be asked if you want to retry the
      detection.
    - Make sure there is a Fairphone 2 in fastboot mode connected to the
      computer.
    - Press Enter.
  3. If a Fairphone 2 is detected in fastboot mode, the flashing process begins.
  4. At the end of the process, you will have to press Enter to reboot the phone
    and exit the flashing script.
