name: "Fairphone 3" codename: "FP3" formfactor: "phone" aliases: ["Fairphone 3+, FP3+"] doppelgangers: [] user_actions: confirm_model: title: "Confirm your model" description: "Please check that your device is a Fairphone 3 (FP3) or Fairphone 3+ (FP3+)." confirm_os: title: "Confirm OS version" description: "Your device must be running Android 10 before installing Ubuntu Touch. If it is already running the previous Halium 9 version of Ubuntu Touch and you want to upgrade to the Halium 10 (recommended), you can download and flash the Android 10 stock rom from the link below (More...), which leaves your userdata partition untouched. Afterwards run this installer again." link: "https://androidfilehost.com/?fid=7161016148664787652" unlock_bootloader: title: "Unlock your phone" description: 'Your device must be "unlocked" in order to be able to flash it. Unlocking the bootloader will delete your personal data! Please check the link below (More...) and follow the instructions. If your bootloader is already unlocked, you can skip the step.' link: "https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3" bootloader: title: "Reboot to Bootloader" description: "With the device powered off, press and hold the VOLUME DOWN and POWER buttons at the same time until the phone vibrates. After some seconds you'll see the fastboot mode. Or just reboot and press and hold VOLUME DOWN BUTTON while rebooting." image: "phone_power_down" button: true recovery: title: "Reboot to Recovery" description: "With the device still at the \"Fastboot Mode\" (green), use the Volume buttons to switch to \"Recovery Mode\" (red) and push the power button to confirm your selection." image: "phone_power_up" button: true unlock: - "confirm_model" - "confirm_os" - "unlock_bootloader" handlers: bootloader_locked: actions: - fastboot:oem_unlock: operating_systems: - name: "Ubuntu Touch" options: - var: "channel" name: "Channel" tooltip: "The release channel" link: "https://docs.ubports.com/en/latest/about/process/release-schedule.html" type: "select" remote_values: systemimage:channels: - var: "wipe" name: "Wipe Userdata" tooltip: "Wipe personal data" type: "checkbox" - var: "bootstrap" name: "Bootstrap" tooltip: "Flash system partitions using fastboot" type: "checkbox" value: true prerequisites: [] steps: - actions: - core:download: group: "firmware" files: - url: "https://gitlab.com/fairphone-3/fp3-assets/-/raw/main/boot.img" checksum: sum: "3fe15b9da2bc0550318a027f133516114f3a3fb202162fba177f1d608e5f347a" algorithm: "sha256" condition: var: "bootstrap" value: true - actions: - adb:reboot: to_state: "bootloader" fallback: - core:user_action: action: "bootloader" condition: var: "bootstrap" value: true - actions: - fastboot:flash: partitions: - partition: "boot" file: "boot.img" group: "firmware" raw: true condition: var: "bootstrap" value: true - actions: - fastboot:format: partition: "userdata" type: "ext4" condition: var: "wipe" value: true - actions: - core:user_action: action: "recovery" condition: var: "bootstrap" value: true - actions: - adb:reboot: to_state: "recovery" fallback: - core:user_action: action: "recovery" condition: var: "bootstrap" value: false - actions: - systemimage:install: - actions: - adb:reboot: to_state: "recovery" fallback: - core:user_action: action: "recovery" slideshow: []