From 1a779d99736d893a3a065792523131fbe1e4ea46 Mon Sep 17 00:00:00 2001 From: Rohit Sekhar Date: Wed, 9 Jul 2025 11:09:10 +0530 Subject: [PATCH] webinstaller: Add support for FP6 on a15 --- app/public/resources/FP6-safe.json | 144 +++++++++++++++++++++++ app/public/resources/FP6.json | 176 +++++++++++++++++++++++++++++ 2 files changed, 320 insertions(+) create mode 100644 app/public/resources/FP6-safe.json create mode 100644 app/public/resources/FP6.json diff --git a/app/public/resources/FP6-safe.json b/app/public/resources/FP6-safe.json new file mode 100644 index 0000000..90145c0 --- /dev/null +++ b/app/public/resources/FP6-safe.json @@ -0,0 +1,144 @@ +{ + "steps": [ + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": ["connect bootloader", "flashing unlock goto_flashing"], + "needUserGesture": true + }, + { + "id": "unlocking-fp4", + "needUserGesture": true + }, + { + "id": "activate-developer-options", + "needUserGesture": true + }, + { + "id": "activate-usb-debugging", + "needUserGesture": true + }, + { + "id": "enable-usb-file-transfer", + "needUserGesture": true + }, + { + "id": "device-detection", + "command": "connect adb", + "needUserGesture": true + }, + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": ["connect bootloader", "flashing unlock_critical"], + "needUserGesture": true + }, + { + "id": "unlocking-fp4", + "needUserGesture": true + }, + { + "id": "activate-developer-options", + "needUserGesture": true + }, + { + "id": "activate-usb-debugging", + "needUserGesture": true + }, + { + "id": "enable-usb-file-transfer", + "needUserGesture": true + }, + { + "id": "device-detection", + "command": "connect adb", + "needUserGesture": true + }, + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": "connect bootloader", + "needUserGesture": true + }, + { + "id": "flashing", + "command": [ + "flash bluetooth_a bluetooth.img", + "flash bluetooth_b bluetooth.img", + "flash devcfg_a devcfg.img", + "flash devcfg_b devcfg.img", + "flash dsp_a dsp.img", + "flash dsp_b dsp.img", + "flash modem_a modem.img", + "flash modem_b modem.img", + "flash xbl_a xbl.img", + "flash xbl_b xbl.img", + "flash tz_a tz.img", + "flash tz_b tz.img", + "flash hyp_a hyp.img", + "flash hyp_b hyp.img", + "flash keymaster_a keymaster.img", + "flash keymaster_b keymaster.img", + "flash abl_a abl.img", + "flash abl_b abl.img", + "flash aop_a aop.img", + "flash aop_b aop.img", + "flash featenabler_a featenabler.img", + "flash featenabler_b featenabler.img", + "flash imagefv_a imagefv.img", + "flash imagefv_b imagefv.img", + "flash multiimgoem_a multiimgoem.img", + "flash multiimgoem_b multiimgoem.img", + "flash qupfw_a qupfw.img", + "flash qupfw_b qupfw.img", + "flash uefisecapp_a uefisecapp.img", + "flash uefisecapp_b uefisecapp.img", + "flash xbl_config_a xbl_config.img", + "flash xbl_config_b xbl_config.img", + "flash aop_config_a aop_config.img", + "flash aop_config_b aop_config.img", + "flash cpucp_dtb_a cpucp_dtb.img", + "flash cpucp_dtb_b cpucp_dtb.img", + "flash uefi_a uefi.img", + "flash uefi_b uefi.img", + "flash vm-bootsys_a vm-bootsys.img", + "flash vm-bootsys_b vm-bootsys.img", + "flash xbl_ramdump_a xbl_ramdump.img", + "flash xbl_ramdump_b xbl_ramdump.img", + "flash cpucp_a cpucp.img", + "flash cpucp_b cpucp.img", + "flash shrm_a shrm.img", + "flash shrm_b shrm.img", + "flash studybk_a studybk.img", + "flash studybk_b studybk.img", + "flash boot boot.img", + "flash dtbo dtbo.img", + "flash vbmeta_system vbmeta_system.img", + "flash vbmeta vbmeta.img", + "flash init_boot init_boot.img", + "flash pvmfw pvmfw.img", + "flash recovery recovery.img", + "flash super super.img", + "flash vendor_boot vendor_boot.img --set-active=a", + "erase misc", + "erase userdata", + "erase metadata", + "reboot" + ] + }, + { + "id": "murena-workspace-account", + "needUserGesture": true + }, + { + "id": "installation-complete" + } + ], + "folder": [ + { + "name": "fp6 installer", + "unzip": true, + "path": "https://images.ecloud.global/official/FP6/IMG-e-latest-a15-official-FP6.zip" + } + ] +} diff --git a/app/public/resources/FP6.json b/app/public/resources/FP6.json new file mode 100644 index 0000000..d9540b0 --- /dev/null +++ b/app/public/resources/FP6.json @@ -0,0 +1,176 @@ +{ + "security_patch_level": "2025-06-05", + "steps": [ + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": ["connect bootloader", "flashing unlock goto_flashing"], + "needUserGesture": true + }, + { + "id": "unlocking-fp4", + "needUserGesture": true + }, + { + "id": "activate-developer-options", + "needUserGesture": true + }, + { + "id": "activate-usb-debugging", + "needUserGesture": true + }, + { + "id": "enable-usb-file-transfer", + "needUserGesture": true + }, + { + "id": "device-detection", + "command": "connect adb", + "needUserGesture": true + }, + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": ["connect bootloader", "flashing unlock_critical"], + "needUserGesture": true + }, + { + "id": "unlocking-fp4", + "needUserGesture": true + }, + { + "id": "activate-developer-options", + "needUserGesture": true + }, + { + "id": "activate-usb-debugging", + "needUserGesture": true + }, + { + "id": "enable-usb-file-transfer", + "needUserGesture": true + }, + { + "id": "device-detection", + "command": "connect adb", + "needUserGesture": true + }, + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": "connect bootloader", + "needUserGesture": true + }, + { + "id": "flashing", + "command": [ + "flash bluetooth_a bluetooth.img", + "flash bluetooth_b bluetooth.img", + "flash devcfg_a devcfg.img", + "flash devcfg_b devcfg.img", + "flash dsp_a dsp.img", + "flash dsp_b dsp.img", + "flash modem_a modem.img", + "flash modem_b modem.img", + "flash xbl_a xbl.img", + "flash xbl_b xbl.img", + "flash tz_a tz.img", + "flash tz_b tz.img", + "flash hyp_a hyp.img", + "flash hyp_b hyp.img", + "flash keymaster_a keymaster.img", + "flash keymaster_b keymaster.img", + "flash abl_a abl.img", + "flash abl_b abl.img", + "flash aop_a aop.img", + "flash aop_b aop.img", + "flash featenabler_a featenabler.img", + "flash featenabler_b featenabler.img", + "flash imagefv_a imagefv.img", + "flash imagefv_b imagefv.img", + "flash multiimgoem_a multiimgoem.img", + "flash multiimgoem_b multiimgoem.img", + "flash qupfw_a qupfw.img", + "flash qupfw_b qupfw.img", + "flash uefisecapp_a uefisecapp.img", + "flash uefisecapp_b uefisecapp.img", + "flash xbl_config_a xbl_config.img", + "flash xbl_config_b xbl_config.img", + "flash aop_config_a aop_config.img", + "flash aop_config_b aop_config.img", + "flash cpucp_dtb_a cpucp_dtb.img", + "flash cpucp_dtb_b cpucp_dtb.img", + "flash uefi_a uefi.img", + "flash uefi_b uefi.img", + "flash vm-bootsys_a vm-bootsys.img", + "flash vm-bootsys_b vm-bootsys.img", + "flash xbl_ramdump_a xbl_ramdump.img", + "flash xbl_ramdump_b xbl_ramdump.img", + "flash cpucp_a cpucp.img", + "flash cpucp_b cpucp.img", + "flash shrm_a shrm.img", + "flash shrm_b shrm.img", + "flash studybk_a studybk.img", + "flash studybk_b studybk.img", + "flash boot boot.img", + "flash dtbo dtbo.img", + "flash vbmeta_system vbmeta_system.img", + "flash vbmeta vbmeta.img", + "flash init_boot init_boot.img", + "flash pvmfw pvmfw.img", + "flash recovery recovery.img", + "flash super super.img", + "flash vendor_boot vendor_boot.img --set-active=a", + "erase misc", + "erase userdata", + "erase metadata", + "flashing lock" + ] + }, + { + "id": "locking-fp4", + "needUserGesture": true + }, + { + "id": "activate-developer-options", + "needUserGesture": true + }, + { + "id": "activate-usb-debugging", + "needUserGesture": true + }, + { + "id": "enable-usb-file-transfer", + "needUserGesture": true + }, + { + "id": "device-detection", + "command": "connect adb", + "needUserGesture": true + }, + { + "mode": "bootloader", + "id": "connect-bootloader", + "command": ["connect bootloader", "flashing lock_critical"], + "needUserGesture": true + }, + { + "id": "locking-fp4", + "needUserGesture": true + }, + { + "id": "murena-workspace-account", + "needUserGesture": true + }, + { + "id": "installation-complete" + } + ], + "folder": [ + { + "name": "fp6 installer", + "unzip": true, + "path": "https://images.ecloud.global/official/FP6/IMG-e-latest-a15-official-FP6.zip" + } + ] +} -- GitLab