[Razer Phone 2 Questions & Answers] Hammerfest:
I bought an ATT RP2 long ago, it stalled out on the fubar'd O-RZR-ATT-RLS005 update (that was pulled I guess as it disappeared at the time from the Razer image site) and would never update past and showed no updates available.

So I bought an unlocked one and was happy, but this week I need to get a new phone setup and prepped so I pulled the old ATT version out to update it to the latest then flash over LOS, cue the troubles.

C:\ADB>flash_all

C:\ADB>set BUILD_PREFIX=

C:\ADB>set BUILDNO=

C:\ADB>set fastboot_cmd=fastboot

C:\ADB>fastboot getvar product 2>temp.txt

C:\ADB>set /p device= 0<temp.txt

C:\ADB>for %i in (product: cheryl2) do set device=%i

C:\ADB>set device=product:

C:\ADB>set device=cheryl2

C:\ADB>del "temp.txt"

C:\ADB>if NOT cheryl2 == cheryl2 (
echo Cheryl1 plugged in, please plug in a Cheryl2 and try again.
GOTO :EOF
)

C:\ADB>fastboot flash partition:0 gpt_both0.bin
Warning: skip copying partition:0 image avb footer (partition:0 partition size: 0, partition:0 image size: 45056).
Sending 'partition:0' (44 KB) OKAY [ 0.002s]
Writing 'partition:0' OKAY [ 0.102s]
Finished. Total time: 0.118s

C:\ADB>fastboot flash partition:1 gpt_both1.bin
Warning: skip copying partition:1 image avb footer (partition:1 partition size: 0, partition:1 image size: 45056).
Sending 'partition:1' (44 KB) OKAY [ 0.002s]
Writing 'partition:1' OKAY [ 0.107s]
Finished. Total time: 0.130s

C:\ADB>fastboot flash partition:2 gpt_both2.bin
Warning: skip copying partition:2 image avb footer (partition:2 partition size: 0, partition:2 image size: 45056).
Sending 'partition:2' (44 KB) OKAY [ 0.009s]
Writing 'partition:2' OKAY [ 0.107s]
Finished. Total time: 0.133s

C:\ADB>fastboot flash partition:3 gpt_both3.bin
Warning: skip copying partition:3 image avb footer (partition:3 partition size: 0, partition:3 image size: 45056).
Sending 'partition:3' (44 KB) OKAY [ 0.008s]
Writing 'partition:3' OKAY [ 0.105s]
Finished. Total time: 0.125s

C:\ADB>fastboot flash partition:4 gpt_both4.bin
Warning: skip copying partition:4 image avb footer (partition:4 partition size: 0, partition:4 image size: 45056).
Sending 'partition:4' (44 KB) OKAY [ 0.002s]
Writing 'partition:4' OKAY [ 0.568s]
Finished. Total time: 0.585s

C:\ADB>fastboot flash partition:5 gpt_both5.bin
Warning: skip copying partition:5 image avb footer (partition:5 partition size: 0, partition:5 image size: 45056).
Sending 'partition:5' (44 KB) OKAY [ 0.002s]
Writing 'partition:5' OKAY [ 0.728s]
Finished. Total time: 0.763s

C:\ADB>fastboot flash xbl_a xbl.img
Warning: skip copying xbl_a image avb footer (xbl_a partition size: 0, xbl_a image size: 3358304).
Sending 'xbl_a' (3279 KB) OKAY [ 0.009s]
Writing 'xbl_a' OKAY [ 0.044s]
Finished. Total time: 0.072s

C:\ADB>fastboot flash xbl_b xbl.img
Warning: skip copying xbl_b image avb footer (xbl_b partition size: 0, xbl_b image size: 3358304).
Sending 'xbl_b' (3279 KB) OKAY [ 0.018s]
Writing 'xbl_b' OKAY [ 0.048s]
Finished. Total time: 0.087s

C:\ADB>fastboot flash xbl_config_a xbl_config.img
Warning: skip copying xbl_config_a image avb footer (xbl_config_a partition size: 0, xbl_config_a image size: 98140).
Sending 'xbl_config_a' (95 KB) OKAY [ 0.008s]
Writing 'xbl_config_a' OKAY [ 0.005s]
Finished. Total time: 0.031s

C:\ADB>fastboot flash xbl_config_b xbl_config.img
Warning: skip copying xbl_config_b image avb footer (xbl_config_b partition size: 0, xbl_config_b image size: 98140).
Sending 'xbl_config_b' (95 KB) OKAY [ 0.003s]
Writing 'xbl_config_b' OKAY [ 0.005s]
Finished. Total time: 0.022s

C:\ADB>fastboot flash tz_a tz.img
Warning: skip copying tz_a image avb footer (tz_a partition size: 0, tz_a image size: 2056192).
Sending 'tz_a' (2008 KB) OKAY [ 0.007s]
Writing 'tz_a' OKAY [ 0.016s]
Finished. Total time: 0.039s

C:\ADB>fastboot flash tz_b tz.img
Warning: skip copying tz_b image avb footer (tz_b partition size: 0, tz_b image size: 2056192).
Sending 'tz_b' (2008 KB) OKAY [ 0.006s]
Writing 'tz_b' OKAY [ 0.015s]
Finished. Total time: 0.032s

C:\ADB>fastboot flash hyp_a hyp.img
Warning: skip copying hyp_a image avb footer (hyp_a partition size: 0, hyp_a image size: 385872).
Sending 'hyp_a' (376 KB) OKAY [ 0.009s]
Writing 'hyp_a' OKAY [ 0.002s]
Finished. Total time: 0.029s

C:\ADB>fastboot flash hyp_b hyp.img
Warning: skip copying hyp_b image avb footer (hyp_b partition size: 0, hyp_b image size: 385872).
Sending 'hyp_b' (376 KB) OKAY [ 0.010s]
Writing 'hyp_b' OKAY [ 0.005s]
Finished. Total time: 0.024s

C:\ADB>fastboot flash aop_a aop.img
Warning: skip copying aop_a image avb footer (aop_a partition size: 0, aop_a image size: 184364).
Sending 'aop_a' (180 KB) OKAY [ 0.012s]
Writing 'aop_a' OKAY [ 0.002s]
Finished. Total time: 0.028s

C:\ADB>fastboot flash aop_b aop.img
Warning: skip copying aop_b image avb footer (aop_b partition size: 0, aop_b image size: 184364).
Sending 'aop_b' (180 KB) OKAY [ 0.005s]
Writing 'aop_b' OKAY [ 0.003s]
Finished. Total time: 0.022s

C:\ADB>fastboot flash keymaster_a keymaster.img
Warning: skip copying keymaster_a image avb footer (keymaster_a partition size: 0, keymaster_a image size: 232947).
Sending 'keymaster_a' (227 KB) OKAY [ 0.007s]
Writing 'keymaster_a' OKAY [ 0.003s]
Finished. Total time: 0.033s

C:\ADB>fastboot flash keymaster_b keymaster.img
Warning: skip copying keymaster_b image avb footer (keymaster_b partition size: 0, keymaster_b image size: 232947).
Sending 'keymaster_b' (227 KB) OKAY [ 0.013s]
Writing 'keymaster_b' OKAY [ 0.005s]
Finished. Total time: 0.034s

C:\ADB>fastboot flash cmnlib_a cmnlib.img
Warning: skip copying cmnlib_a image avb footer (cmnlib_a partition size: 0, cmnlib_a image size: 376516).
Sending 'cmnlib_a' (367 KB) OKAY [ 0.011s]
Writing 'cmnlib_a' OKAY [ 0.004s]
Finished. Total time: 0.031s

C:\ADB>fastboot flash cmnlib_b cmnlib.img
Warning: skip copying cmnlib_b image avb footer (cmnlib_b partition size: 0, cmnlib_b image size: 376516).
Sending 'cmnlib_b' (367 KB) OKAY [ 0.006s]
Writing 'cmnlib_b' OKAY [ 0.003s]
Finished. Total time: 0.019s

C:\ADB>fastboot flash cmnlib64_a cmnlib64.img
Warning: skip copying cmnlib64_a image avb footer (cmnlib64_a partition size: 0, cmnlib64_a image size: 496406).
Sending 'cmnlib64_a' (484 KB) OKAY [ 0.009s]
Writing 'cmnlib64_a' OKAY [ 0.004s]
Finished. Total time: 0.031s

C:\ADB>fastboot flash cmnlib64_b cmnlib64.img
Warning: skip copying cmnlib64_b image avb footer (cmnlib64_b partition size: 0, cmnlib64_b image size: 496406).
Sending 'cmnlib64_b' (484 KB) OKAY [ 0.012s]
Writing 'cmnlib64_b' OKAY [ 0.005s]
Finished. Total time: 0.034s

C:\ADB>fastboot flash devcfg_a devcfg.img
Warning: skip copying devcfg_a image avb footer (devcfg_a partition size: 0, devcfg_a image size: 39964).
Sending 'devcfg_a' (39 KB) OKAY [ 0.009s]
Writing 'devcfg_a' OKAY [ 0.001s]
Finished. Total time: 0.028s

C:\ADB>fastboot flash devcfg_b devcfg.img
Warning: skip copying devcfg_b image avb footer (devcfg_b partition size: 0, devcfg_b image size: 39964).
Sending 'devcfg_b' (39 KB) OKAY [ 0.002s]
Writing 'devcfg_b' OKAY [ 0.001s]
Finished. Total time: 0.019s

C:\ADB>fastboot flash ImageFv_a ImageFv.img
Warning: skip copying ImageFv_a image avb footer (ImageFv_a partition size: 0, ImageFv_a image size: 20480).
Sending 'ImageFv_a' (20 KB) OKAY [ 0.006s]
Writing 'ImageFv_a' OKAY [ 0.001s]
Finished. Total time: 0.036s

C:\ADB>fastboot flash ImageFv_b ImageFv.img
Warning: skip copying ImageFv_b image avb footer (ImageFv_b partition size: 0, ImageFv_b image size: 20480).
Sending 'ImageFv_b' (20 KB) OKAY [ 0.010s]
Writing 'ImageFv_b' OKAY [ 0.001s]
Finished. Total time: 0.037s

C:\ADB>fastboot flash qupfw_a qupfw.img
Warning: skip copying qupfw_a image avb footer (qupfw_a partition size: 0, qupfw_a image size: 65487).
Sending 'qupfw_a' (63 KB) OKAY [ 0.010s]
Writing 'qupfw_a' OKAY [ 0.001s]
Finished. Total time: 0.037s

C:\ADB>fastboot flash qupfw_b qupfw.img
Warning: skip copying qupfw_b image avb footer (qupfw_b partition size: 0, qupfw_b image size: 65487).
Sending 'qupfw_b' (63 KB) OKAY [ 0.008s]
Writing 'qupfw_b' OKAY [ 0.002s]
Finished. Total time: 0.018s

C:\ADB>fastboot flash abl_a abl.img
Warning: skip copying abl_a image avb footer (abl_a partition size: 0, abl_a image size: 1048576).
Sending 'abl_a' (1024 KB) OKAY [ 0.009s]
Writing 'abl_a' OKAY [ 0.010s]
Finished. Total time: 0.041s

C:\ADB>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.001s

C:\ADB>timeout /t 10

Waiting for 0 seconds, press a key to continue ...

C:\ADB>fastboot oem simconfig set SS
< waiting for any device >
OKAY [ 0.001s]
Finished. Total time: 0.001s

C:\ADB>fastboot flash avb_custom_key pkmd.bin
fastboot: error: cannot load 'pkmd.bin': No such file or directory

C:\ADB>fastboot flash abl_b abl.img
Sending 'abl_b' (1024 KB) OKAY [ 0.007s]
Writing 'abl_b' OKAY [ 0.009s]
Finished. Total time: 0.027s

C:\ADB>fastboot erase ddr
Erasing 'ddr' OKAY [ 0.010s]
Finished. Total time: 0.014s

C:\ADB>fastboot flash persist persist.img
Sending 'persist' (32768 KB) OKAY [ 0.090s]
Writing 'persist' OKAY [ 0.239s]
Finished. Total time: 0.346s

C:\ADB>fastboot flash modem_a modem.img
Sending 'modem_a' (116380 KB) OKAY [ 0.290s]
Writing 'modem_a' OKAY [ 0.869s]
Finished. Total time: 1.253s

C:\ADB>fastboot flash modem_b modem.img
Sending 'modem_b' (116380 KB) OKAY [ 0.289s]
Writing 'modem_b' OKAY [ 0.861s]
Finished. Total time: 1.240s

C:\ADB>fastboot flash dsp_a dsp.img
Sending 'dsp_a' (32768 KB) OKAY [ 0.085s]
Writing 'dsp_a' OKAY [ 0.226s]
Finished. Total time: 0.327s

C:\ADB>fastboot flash dsp_b dsp.img
Sending 'dsp_b' (32768 KB) OKAY [ 0.085s]
Writing 'dsp_b' OKAY [ 0.238s]
Finished. Total time: 0.333s

C:\ADB>fastboot flash boot_a boot.img
Sending 'boot_a' (65536 KB) OKAY [ 0.165s]
Writing 'boot_a' OKAY [ 0.455s]
Finished. Total time: 0.638s

C:\ADB>fastboot flash boot_b boot.img
Sending 'boot_b' (65536 KB) OKAY [ 0.163s]
Writing 'boot_b' OKAY [ 0.480s]
Finished. Total time: 0.654s

C:\ADB>fastboot flash dtbo_a dtbo.img
Sending 'dtbo_a' (8192 KB) OKAY [ 0.025s]
Writing 'dtbo_a' OKAY [ 0.044s]
Finished. Total time: 0.085s

C:\ADB>fastboot flash dtbo_b dtbo.img
Sending 'dtbo_b' (8192 KB) OKAY [ 0.022s]
Writing 'dtbo_b' OKAY [ 0.045s]
Finished. Total time: 0.079s

C:\ADB>fastboot flash bluetooth_a bluetooth.img
Sending 'bluetooth_a' (748 KB) OKAY [ 0.008s]
Writing 'bluetooth_a' OKAY [ 0.004s]
Finished. Total time: 0.028s

C:\ADB>fastboot flash bluetooth_b bluetooth.img
Sending 'bluetooth_b' (748 KB) OKAY [ 0.006s]
Writing 'bluetooth_b' OKAY [ 0.011s]
Finished. Total time: 0.031s

C:\ADB>fastboot flash logfs logfs_ufs_8mb.bin
Sending 'logfs' (16 KB) OKAY [ 0.008s]
Writing 'logfs' OKAY [ 0.000s]
Finished. Total time: 0.022s

C:\ADB>fastboot flash system_a system.img
Sending sparse 'system_a' 1/6 (515460 KB) OKAY [ 1.285s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 2/6 (514448 KB) OKAY [ 4.517s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 3/6 (515328 KB) OKAY [ 4.443s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 4/6 (516208 KB) OKAY [ 4.889s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 5/6 (516208 KB) OKAY [ 5.158s]
Writing 'system_a' OKAY [ 0.001s]
Sending sparse 'system_a' 6/6 (364768 KB) OKAY [ 4.758s]
Writing 'system_a' OKAY [ 0.000s]
Finished. Total time: 25.097s

C:\ADB>fastboot flash system_b system_other.img
Sending 'system_b' (0 KB) FAILED (File is too large to download)
fastboot: error: Command failed

C:\ADB>fastboot flash vendor_a vendor.img
Sending 'vendor_a' (1048576 KB) FAILED (remote: 'Requested download size is more than max allowed
')
fastboot: error: Command failed

C:\ADB>fastboot flash vendor_b vendor.img
Sending 'vendor_b' (1048576 KB) FAILED (remote: 'Requested download size is more than max allowed
')
fastboot: error: Command failed

C:\ADB>fastboot flash vbmeta_a vbmeta.img
Sending 'vbmeta_a' (4 KB) OKAY [ 0.007s]
Writing 'vbmeta_a' OKAY [ 0.001s]
Finished. Total time: 0.020s

C:\ADB>fastboot flash vbmeta_b vbmeta.img
Sending 'vbmeta_b' (4 KB) OKAY [ 0.006s]
Writing 'vbmeta_b' OKAY [ 0.001s]
Finished. Total time: 0.023s

C:\ADB>fastboot flash systeminfo_a systeminfo.img
fastboot: error: cannot load 'systeminfo.img': No such file or directory

C:\ADB>fastboot flash systeminfo_b systeminfo.img
fastboot: error: cannot load 'systeminfo.img': No such file or directory

C:\ADB>fastboot flash nvdef_a nvdef.img
Sending 'nvdef_a' (1380 KB) OKAY [ 0.011s]
Writing 'nvdef_a' OKAY [ 0.020s]
Finished. Total time: 0.052s

C:\ADB>fastboot flash nvdef_b nvdef.img
Sending 'nvdef_b' (1380 KB) OKAY [ 0.011s]
Writing 'nvdef_b' OKAY [ 0.011s]
Finished. Total time: 0.038s

C:\ADB>fastboot erase userdata
******** Did you mean to fastboot format this ext4 partition?
Erasing 'userdata' OKAY [ 0.392s]
Finished. Total time: 0.400s

C:\ADB>fastboot erase box
Erasing 'box' OKAY [ 0.062s]
Finished. Total time: 0.068s

C:\ADB>fastboot flash splash splash.img
Sending 'splash' (10816 KB) OKAY [ 0.033s]
Writing 'splash' OKAY [ 0.077s]
Finished. Total time: 0.134s

C:\ADB>fastboot flash storsec storsec.mbn
Sending 'storsec' (20 KB) OKAY [ 0.005s]
Writing 'storsec' OKAY [ 0.001s]
Finished. Total time: 0.022s

C:\ADB>fastboot reboot
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.001s

These stick out:

C:\ADB>fastboot flash system_b system_other.img

Sending 'system_b' (0 KB) FAILED (File is too large to download)

fastboot: error: Command failed

C:\ADB>fastboot flash vendor_a vendor.img

Sending 'vendor_a' (1048576 KB) FAILED (remote: 'Requested download size is more than max allowed

')

fastboot: error: Command failed

C:\ADB>fastboot flash vendor_b vendor.img

Sending 'vendor_b' (1048576 KB) FAILED (remote: 'Requested download size is more than max allowed

')

fastboot: error: Command failed

This was trying the latest from Razer's site for the ATT variant, I also tried the Generic Unlocked one and I get a the same error.

In the end the phone boots to corrupt message and wont boot at all.

Any thoughts?

I tried redownloading the files and extracting again with no change.