From cfbe7792662ed6d61e0a673710365370a9ea1150 Mon Sep 17 00:00:00 2001 From: AngeloGioacchino Del Regno Date: Fri, 3 Jul 2020 19:40:51 +0200 Subject: [PATCH 1/3] J92XX: Always flash on A+B slots This is important in order to stop getting incompatibility issues in custom ROMs (mostly Open Devices) where changing the slots boots the device with old firmwares or renders it unbootable due to bootloader bugs. --- J92XX/J9210.fsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/J92XX/J9210.fsc b/J92XX/J9210.fsc index a7a331b..35470f1 100644 --- a/J92XX/J9210.fsc +++ b/J92XX/J9210.fsc @@ -81,16 +81,21 @@ Get-gpt-info:2 Write-TA:2:2127 Write-TA:2:2301 flash:bootloader_a:bootloader_X_BOOT_SM8150_LA1_0_P_42_X-FLASH-ALL-A2CD.sin +flash:bootloader_b:bootloader_X_BOOT_SM8150_LA1_0_P_42_X-FLASH-ALL-A2CD.sin flash:boot_a:boot_X-FLASH-ALL-A2CD.sin flash:modem_a:modem_X-FLASH-ALL-A2CD.sin +flash:modem_b:modem_X-FLASH-ALL-A2CD.sin flash:rdimage_a:rdimage_X-FLASH-ALL-A2CD.sin +flash:rdimage_b:rdimage_X-FLASH-ALL-A2CD.sin flash:vendor_a:vendor_X-FLASH-ALL-A2CD.sin flash:userdata:userdata_X-FLASH-CUST-A2CD.sin flash:dtbo_a:dtbo_X-FLASH-ALL-A2CD.sin flash:bluetooth_a:bluetooth_X-FLASH-ALL-A2CD.sin +flash:bluetooth_b:bluetooth_X-FLASH-ALL-A2CD.sin flash:appslog:appslog_X-FLASH-ALL-A2CD.sin flash:diag:diag_X-FLASH-ALL-A2CD.sin flash:dsp_a:dsp_X-FLASH-ALL-A2CD.sin +flash:dsp_b:dsp_X-FLASH-ALL-A2CD.sin flash:fsg:fsg_X-FLASH-ALL-A2CD.sin flash:misc:misc_X-FLASH-ALL-A2CD.sin flash:modemst1:modemst1_X-FLASH-ALL-A2CD.sin From e37327d2c5b4cbe4ab8b72840619887775a9f464 Mon Sep 17 00:00:00 2001 From: AngeloGioacchino Del Regno Date: Fri, 3 Jul 2020 19:43:12 +0200 Subject: [PATCH 2/3] J91XX: Always flash on A+B slots This is important in order to stop getting incompatibility issues in custom ROMs (mostly Open Devices) where changing the slots boots the device with old firmwares or renders it unbootable due to bootloader bugs. --- J91XX/55.fsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/J91XX/55.fsc b/J91XX/55.fsc index 18990e5..73dbb0b 100644 --- a/J91XX/55.fsc +++ b/J91XX/55.fsc @@ -79,18 +79,23 @@ Get-gpt-info:0 Get-gpt-info:1 Get-gpt-info:2 flash:bootloader_a:bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD.sin +flash:bootloader_b:bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD.sin Write-TA:2:2127 Write-TA:2:2301 flash:boot_a:boot_X-FLASH-ALL-A2CD.sin flash:modem_a:modem_X-FLASH-ALL-A2CD.sin +flash:modem_b:modem_X-FLASH-ALL-A2CD.sin flash:rdimage_a:rdimage_X-FLASH-ALL-A2CD.sin +flash:rdimage_b:rdimage_X-FLASH-ALL-A2CD.sin flash:vendor_a:vendor_X-FLASH-ALL-A2CD.sin flash:userdata:userdata_X-FLASH-CUST-A2CD.sin flash:dtbo_a:dtbo_X-FLASH-ALL-A2CD.sin flash:bluetooth_a:bluetooth_X-FLASH-ALL-A2CD.sin +flash:bluetooth_b:bluetooth_X-FLASH-ALL-A2CD.sin flash:appslog:appslog_X-FLASH-ALL-A2CD.sin flash:diag:diag_X-FLASH-ALL-A2CD.sin flash:dsp_a:dsp_X-FLASH-ALL-A2CD.sin +flash:dsp_b:dsp_X-FLASH-ALL-A2CD.sin flash:fsg:fsg_X-FLASH-ALL-A2CD.sin flash:misc:misc_X-FLASH-ALL-A2CD.sin flash:modemst1:modemst1_X-FLASH-ALL-A2CD.sin From 37428d11aed694a9c78700b7b367eee93e420062 Mon Sep 17 00:00:00 2001 From: AngeloGioacchino Del Regno Date: Fri, 3 Jul 2020 19:45:03 +0200 Subject: [PATCH 3/3] J81XX: Always flash on A+B slots This is important in order to stop getting incompatibility issues in custom ROMs (mostly Open Devices) where changing the slots boots the device with old firmwares or renders it unbootable due to bootloader bugs. --- J81XX/55.fsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/J81XX/55.fsc b/J81XX/55.fsc index 18990e5..73dbb0b 100644 --- a/J81XX/55.fsc +++ b/J81XX/55.fsc @@ -79,18 +79,23 @@ Get-gpt-info:0 Get-gpt-info:1 Get-gpt-info:2 flash:bootloader_a:bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD.sin +flash:bootloader_b:bootloader_X_BOOT_SM8150_LA1_0_P_39_X-FLASH-ALL-A2CD.sin Write-TA:2:2127 Write-TA:2:2301 flash:boot_a:boot_X-FLASH-ALL-A2CD.sin flash:modem_a:modem_X-FLASH-ALL-A2CD.sin +flash:modem_b:modem_X-FLASH-ALL-A2CD.sin flash:rdimage_a:rdimage_X-FLASH-ALL-A2CD.sin +flash:rdimage_b:rdimage_X-FLASH-ALL-A2CD.sin flash:vendor_a:vendor_X-FLASH-ALL-A2CD.sin flash:userdata:userdata_X-FLASH-CUST-A2CD.sin flash:dtbo_a:dtbo_X-FLASH-ALL-A2CD.sin flash:bluetooth_a:bluetooth_X-FLASH-ALL-A2CD.sin +flash:bluetooth_b:bluetooth_X-FLASH-ALL-A2CD.sin flash:appslog:appslog_X-FLASH-ALL-A2CD.sin flash:diag:diag_X-FLASH-ALL-A2CD.sin flash:dsp_a:dsp_X-FLASH-ALL-A2CD.sin +flash:dsp_b:dsp_X-FLASH-ALL-A2CD.sin flash:fsg:fsg_X-FLASH-ALL-A2CD.sin flash:misc:misc_X-FLASH-ALL-A2CD.sin flash:modemst1:modemst1_X-FLASH-ALL-A2CD.sin