diff --git a/flash/FP6/config.mk b/flash/FP6/config.mk new file mode 100644 index 0000000000000000000000000000000000000000..dd15dbc813d710ef537732ccd91f2a70de96693f --- /dev/null +++ b/flash/FP6/config.mk @@ -0,0 +1,9 @@ +HLOS_IMAGES_TARGET := boot.img \ + dtbo.img \ + init_boot.img \ + pvmfw.img \ + recovery.img \ + super.img \ + vbmeta.img \ + vbmeta_system.img \ + vendor_boot.img diff --git a/flash/FP6/flash_FP6_factory.sh b/flash/FP6/flash_FP6_factory.sh new file mode 100755 index 0000000000000000000000000000000000000000..1150f16408401e4352bbfd7d594e1ae1cfe2dc0a --- /dev/null +++ b/flash/FP6/flash_FP6_factory.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# Target device info +PRODUCT="Fairphone 6" +PRODUCT_ID="FP6" + +# Target Flashing Images info +FLASH_AB_FW_IMGS="bluetooth devcfg dsp modem xbl tz hyp keymaster abl aop featenabler imagefv multiimgoem qupfw uefisecapp xbl_config aop_config cpucp_dtb uefi vm-bootsys xbl_ramdump cpucp shrm studybk" +FLASH_AB_IMGS="boot dtbo vbmeta_system vbmeta init_boot pvmfw recovery vendor_boot" +FLASH_A_IMGS="super" +ERASE_IMGS="misc userdata metadata" + +# Target flash process behavior +CLEAN_FLASH=true +VIRTUAL_AB=true + +source factory.common + +# Common flashing function +flash_factory