[ASUS ZenFone 8] nasch007:
Well I went ahead and bit the bullet, can't get much worse now anyways can it? Any of the fastboot commands i tried came back with can't do it on locked device. So not sure if that would have worked or not.

I went ahead and edited the flashall.cmd and update_image scripts and just commented out anything regarding wiping userdata. Here's the log:

C:\platform-tools_r34.0.4-windows\OPEN-ZS590KS-32.0501.0403.4-BSP-2206-user-20220705>flashall_AFT.cmd
fastboot cmd : fastboot
Project ZS590KS matching success
"Start erase misc"
Erasing 'misc' OKAY [ 0.000s]
Finished. Total time: 0.007s
misc flash succeed
"Start Flash abl_a"
Sending 'abl_a' (588 KB) OKAY [ 0.031s]
Writing 'abl_a' OKAY [ 0.000s]
Finished. Total time: 0.169s
abl_a flash succeed
"Start Flash abl_b"
Sending 'abl_b' (588 KB) OKAY [ 0.021s]
Writing 'abl_b' OKAY [ 0.001s]
Finished. Total time: 0.053s
abl_b flash succeed
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.001s
"Start Flash multiimgoem_a"
Sending 'multiimgoem_a' (13 KB) OKAY [ 0.016s]
Writing 'multiimgoem_a' OKAY [ 0.000s]
Finished. Total time: 0.038s
multiimgoem_a flash succeed
"Start Flash multiimgoem_b"
Sending 'multiimgoem_b' (13 KB) OKAY [ 0.000s]
Writing 'multiimgoem_b' OKAY [ 0.016s]
Finished. Total time: 0.031s
multiimgoem_b flash succeed
Sending 'partition:0' (44 KB) OKAY [ 0.016s]
Writing 'partition:0' OKAY [ 0.185s]
Finished. Total time: 0.217s
partition0 flash succeed
Sending 'partition:1' (44 KB) OKAY [ 0.016s]
Writing 'partition:1' OKAY [ 0.206s]
Finished. Total time: 0.237s
partition1 flash succeed
Sending 'partition:2' (44 KB) OKAY [ 0.000s]
Writing 'partition:2' OKAY [ 0.253s]
Finished. Total time: 0.285s
partition2 flash succeed
Sending 'partition:3' (44 KB) OKAY [ 0.016s]
Writing 'partition:3' OKAY [ 0.269s]
Finished. Total time: 0.316s
partition3 flash succeed
Sending 'partition:4' (44 KB) OKAY [ 0.016s]
Writing 'partition:4' OKAY [ 0.332s]
Finished. Total time: 0.363s
partition4 flash succeed
Sending 'partition:5' (44 KB) OKAY [ 0.016s]
Writing 'partition:5' OKAY [ 0.364s]
Finished. Total time: 0.401s
partition5 flash succeed
Sending 'partition:6' (44 KB) OKAY [ 0.000s]
Writing 'partition:6' OKAY [ 0.406s]
Finished. Total time: 0.437s
partition6 flash succeed
"Start Flash multiimgoem_a"
Sending 'multiimgoem_a' (13 KB) OKAY [ 0.017s]
Writing 'multiimgoem_a' OKAY [ 0.000s]
Finished. Total time: 0.033s
multiimgoem_a flash succeed
"Start Flash multiimgoem_b"
Sending 'multiimgoem_b' (13 KB) OKAY [ 0.022s]
Writing 'multiimgoem_b' OKAY [ 0.002s]
Finished. Total time: 0.028s
multiimgoem_b flash succeed
"Start Flash xbl_a"
Sending 'xbl_a' (3582 KB) OKAY [ 0.085s]
Writing 'xbl_a' OKAY [ 0.031s]
Finished. Total time: 0.179s
xbl_a flash succeed
"Start Flash xbl_config_a"
Sending 'xbl_config_a' (213 KB) OKAY [ 0.022s]
Writing 'xbl_config_a' OKAY [ 0.016s]
Finished. Total time: 0.038s
xbl_config_a flash succeed
"Start Flash xbl_b"
Sending 'xbl_b' (3582 KB) OKAY [ 0.085s]
Writing 'xbl_b' OKAY [ 0.031s]
Finished. Total time: 0.132s
xbl_b flash succeed
"Start Flash xbl_config_b"
Sending 'xbl_config_b' (213 KB) OKAY [ 0.016s]
Writing 'xbl_config_b' OKAY [ 0.000s]
Finished. Total time: 0.031s
xbl_config_b flash succeed
"Start Flash shrm_a"
Sending 'shrm_a' (44 KB) OKAY [ 0.016s]
Writing 'shrm_a' OKAY [ 0.000s]
Finished. Total time: 0.053s
shrm_a flash succeed
"Start Flash shrm_b"
Sending 'shrm_b' (44 KB) OKAY [ 0.016s]
Writing 'shrm_b' OKAY [ 0.000s]
Finished. Total time: 0.031s
shrm_b flash succeed
"Start Flash abl_a"
Sending 'abl_a' (588 KB) OKAY [ 0.016s]
Writing 'abl_a' OKAY [ 0.000s]
Finished. Total time: 0.047s
abl_a flash succeed
"Start Flash abl_b"
Sending 'abl_b' (588 KB) OKAY [ 0.022s]
Writing 'abl_b' OKAY [ 0.000s]
Finished. Total time: 0.038s
abl_b flash succeed
"Start Flash aop_a"
Sending 'aop_a' (237 KB) OKAY [ 0.016s]
Writing 'aop_a' OKAY [ 0.000s]
Finished. Total time: 0.078s
aop_a flash succeed
"Start Flash aop_b"
Sending 'aop_b' (237 KB) OKAY [ 0.007s]
Writing 'aop_b' OKAY [ 0.000s]
Finished. Total time: 0.022s
aop_b flash succeed
"Start Flash tz_a"
Sending 'tz_a' (3665 KB) OKAY [ 0.101s]
Writing 'tz_a' OKAY [ 0.016s]
Finished. Total time: 0.170s
tz_a flash succeed
"Start Flash tz_b"
Sending 'tz_b' (3665 KB) OKAY [ 0.088s]
Writing 'tz_b' OKAY [ 0.013s]
Finished. Total time: 0.137s
tz_b flash succeed
"Start Flash hyp_a"
Sending 'hyp_a' (3614 KB) OKAY [ 0.083s]
Writing 'hyp_a' OKAY [ 0.017s]
Finished. Total time: 0.117s
hyp_a flash succeed
"Start Flash hyp_b"
Sending 'hyp_b' (3614 KB) OKAY [ 0.082s]
Writing 'hyp_b' OKAY [ 0.016s]
Finished. Total time: 0.098s
hyp_b flash succeed
"Start Flash modem_a"
Sending 'modem_a' (175116 KB) OKAY [ 3.940s]
Writing 'modem_a' OKAY [ 0.556s]
Finished. Total time: 4.528s
modem_a flash succeed
"Start Flash modem_b"
Sending 'modem_b' (175116 KB) OKAY [ 3.943s]
Writing 'modem_b' OKAY [ 0.534s]
Finished. Total time: 4.492s
modem_b flash succeed
"Start Flash bluetooth_a"
Sending 'bluetooth_a' (1116 KB) OKAY [ 0.033s]
Writing 'bluetooth_a' OKAY [ 0.016s]
Finished. Total time: 0.067s
bluetooth_a flash succeed
"Start Flash bluetooth_b"
Sending 'bluetooth_b' (1116 KB) OKAY [ 0.033s]
Writing 'bluetooth_b' OKAY [ 0.000s]
Finished. Total time: 0.038s
bluetooth_b flash succeed
"Start Flash dsp_a"
Sending 'dsp_a' (65536 KB) OKAY [ 1.449s]
Writing 'dsp_a' OKAY [ 0.085s]
Finished. Total time: 1.565s
dsp_a flash succeed
"Start Flash dsp_b"
Sending 'dsp_b' (65536 KB) OKAY [ 1.456s]
Writing 'dsp_b' OKAY [ 0.116s]
Finished. Total time: 1.587s
dsp_b flash succeed
"Start Flash keymaster_a"
Sending 'keymaster_a' (277 KB) OKAY [ 0.016s]
Writing 'keymaster_a' OKAY [ 0.000s]
Finished. Total time: 0.064s
keymaster_a flash succeed
"Start Flash keymaster_b"
Sending 'keymaster_b' (277 KB) OKAY [ 0.016s]
Writing 'keymaster_b' OKAY [ 0.000s]
Finished. Total time: 0.031s
keymaster_b flash succeed
"Start Flash rtice"
Sending 'rtice' (261 KB) OKAY [ 0.016s]
Writing 'rtice' OKAY [ 0.000s]
Finished. Total time: 0.069s
rtice flash succeed
"Start Flash storsec"
Sending 'storsec' (20 KB) OKAY [ 0.016s]
Writing 'storsec' OKAY [ 0.000s]
Finished. Total time: 0.063s
storsec flash succeed
"Start erase misc"
Erasing 'misc' OKAY [ 0.000s]
Finished. Total time: 0.016s
misc flash succeed
"Start Flash spunvm"
Sending 'spunvm' (348 KB) OKAY [ 0.006s]
Writing 'spunvm' OKAY [ 0.000s]
Finished. Total time: 0.022s
spunvm flash succeed
"Start Flash qweslicstore_a"
Sending 'qweslicstore_a' (256 KB) OKAY [ 0.016s]
Writing 'qweslicstore_a' OKAY [ 0.000s]
Finished. Total time: 0.031s
qweslicstore_a flash succeed
"Start Flash qweslicstore_b"
Sending 'qweslicstore_b' (256 KB) OKAY [ 0.009s]
Writing 'qweslicstore_b' OKAY [ 0.000s]
Finished. Total time: 0.034s
qweslicstore_b flash succeed
"Start Flash devcfg_a"
Sending 'devcfg_a' (47 KB) OKAY [ 0.016s]
Writing 'devcfg_a' OKAY [ 0.000s]
Finished. Total time: 0.053s
devcfg_a flash succeed
"Start Flash devcfg_b"
Sending 'devcfg_b' (47 KB) OKAY [ 0.016s]
Writing 'devcfg_b' OKAY [ 0.016s]
Finished. Total time: 0.031s
devcfg_b flash succeed
"Start Flash qupfw_a"
Sending 'qupfw_a' (55 KB) OKAY [ 0.000s]
Writing 'qupfw_a' OKAY [ 0.016s]
Finished. Total time: 0.038s
qupfw_a flash succeed
"Start Flash qupfw_b"
Sending 'qupfw_b' (55 KB) OKAY [ 0.000s]
Writing 'qupfw_b' OKAY [ 0.016s]
Finished. Total time: 0.031s
qupfw_b flash succeed
"Start Flash cpucp_a"
Sending 'cpucp_a' (101 KB) OKAY [ 0.000s]
Writing 'cpucp_a' OKAY [ 0.000s]
Finished. Total time: 0.062s
cpucp_a flash succeed
"Start Flash cpucp_b"
Sending 'cpucp_b' (101 KB) OKAY [ 0.007s]
Writing 'cpucp_b' OKAY [ 0.000s]
Finished. Total time: 0.022s
cpucp_b flash succeed
"Start Flash logfs"
Sending 'logfs' (16 KB) OKAY [ 0.000s]
Writing 'logfs' OKAY [ 0.000s]
Finished. Total time: 0.016s
logfs flash succeed
"Start Flash uefisecapp_a"
Sending 'uefisecapp_a' (121 KB) OKAY [ 0.015s]
Writing 'uefisecapp_a' OKAY [ 0.000s]
Finished. Total time: 0.078s
uefisecapp_a flash succeed
"Start Flash uefisecapp_b"
Sending 'uefisecapp_b' (121 KB) OKAY [ 0.016s]
Writing 'uefisecapp_b' OKAY [ 0.000s]
Finished. Total time: 0.038s
uefisecapp_b flash succeed
"Start Flash featenabler_a"
Sending 'featenabler_a' (84 KB) OKAY [ 0.000s]
Writing 'featenabler_a' OKAY [ 0.000s]
Finished. Total time: 0.047s
featenabler_a flash succeed
"Start Flash featenabler_b"
Sending 'featenabler_b' (84 KB) OKAY [ 0.016s]
Writing 'featenabler_b' OKAY [ 0.000s]
Finished. Total time: 0.038s
featenabler_b flash succeed
"Start Flash imagefv_a"
Sending 'imagefv_a' (20 KB) OKAY [ 0.007s]
Writing 'imagefv_a' OKAY [ 0.000s]
Finished. Total time: 0.201s
imagefv_a flash succeed
"Start Flash imagefv_b"
Sending 'imagefv_b' (20 KB) OKAY [ 0.000s]
Writing 'imagefv_b' OKAY [ 0.000s]
Finished. Total time: 0.031s
imagefv_b flash succeed
"Start Flash ADF"
Sending 'ADF' (32768 KB) OKAY [ 0.720s]
Writing 'ADF' OKAY [ 0.154s]
Finished. Total time: 0.891s
ADF flash succeed
"Start Flash vbmeta_a"
Sending 'vbmeta_a' (8 KB) OKAY [ 0.016s]
Writing 'vbmeta_a' OKAY [ 0.000s]
Finished. Total time: 0.031s
vbmeta_a flash succeed
"Start Flash vbmeta_b"
Sending 'vbmeta_b' (8 KB) OKAY [ 0.000s]
Writing 'vbmeta_b' OKAY [ 0.016s]
Finished. Total time: 0.031s
vbmeta_b flash succeed
"Start Flash vbmeta_system_a"
Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.016s]
Writing 'vbmeta_system_a' OKAY [ 0.000s]
Finished. Total time: 0.031s
vbmeta_system_a flash succeed
"Start Flash vbmeta_system_b"
Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.016s]
Writing 'vbmeta_system_b' OKAY [ 0.000s]
Finished. Total time: 0.031s
vbmeta_system_b flash succeed
"Start Flash boot_a"
Sending 'boot_a' (98304 KB) OKAY [ 2.194s]
Writing 'boot_a' OKAY [ 0.370s]
Finished. Total time: 2.580s
boot_a flash succeed
"Start Flash boot_b"
Sending 'boot_b' (98304 KB) OKAY [ 2.207s]
Writing 'boot_b' OKAY [ 0.297s]
Finished. Total time: 2.520s
boot_b flash succeed
"Start Flash vendor_boot_a"
Sending 'vendor_boot_a' (98304 KB) OKAY [ 2.156s]
Writing 'vendor_boot_a' OKAY [ 0.379s]
Finished. Total time: 2.551s
vendor_boot_a flash succeed
"Start Flash vendor_boot_b"
Sending 'vendor_boot_b' (98304 KB) OKAY [ 2.159s]
Writing 'vendor_boot_b' OKAY [ 0.200s]
Finished. Total time: 2.375s
vendor_boot_b flash succeed
"Start Flash dtbo_a"
Sending 'dtbo_a' (8192 KB) OKAY [ 0.185s]
Writing 'dtbo_a' OKAY [ 0.062s]
Finished. Total time: 0.262s
dtbo_a flash succeed
"Start Flash dtbo_b"
Sending 'dtbo_b' (8192 KB) OKAY [ 0.185s]
Writing 'dtbo_b' OKAY [ 0.069s]
Finished. Total time: 0.270s
dtbo_b flash succeed
"Start erase asdf"
******** Did you mean to fastboot format this ext4 partition?
Erasing 'asdf' OKAY [ 0.000s]
Finished. Total time: 0.016s
asdf flash succeed
"Start Flash asdf"
Sending 'asdf' (8336 KB) OKAY [ 0.185s]
Writing 'asdf' OKAY [ 0.161s]
Finished. Total time: 0.361s
asdf flash succeed
"Start Flash xrom_a"
Sending 'xrom_a' (10452 KB) OKAY [ 0.242s]
Writing 'xrom_a' OKAY [ 0.237s]
Finished. Total time: 0.504s
xrom_a flash succeed
"Start Flash xrom_b"
Sending 'xrom_b' (10452 KB) OKAY [ 0.238s]
Writing 'xrom_b' OKAY [ 0.301s]
Finished. Total time: 0.555s
xrom_b flash succeed
"Start erase super"
Erasing 'super' OKAY [ 0.047s]
Finished. Total time: 0.047s
super flash succeed
"Start Flash super"
Sending sparse 'super' 1/17 (307196 KB) OKAY [ 7.145s]
Writing 'super' OKAY [ 5.142s]
Sending sparse 'super' 2/17 (283992 KB) OKAY [ 6.582s]
Writing 'super' OKAY [ 4.128s]
Sending sparse 'super' 3/17 (307196 KB) OKAY [ 7.107s]
Writing 'super' OKAY [ 4.853s]
Sending sparse 'super' 4/17 (282584 KB) OKAY [ 6.619s]
Writing 'super' OKAY [ 3.171s]
Sending sparse 'super' 5/17 (307196 KB) OKAY [ 7.117s]
Writing 'super' OKAY [ 4.851s]
Sending sparse 'super' 6/17 (282588 KB) OKAY [ 6.546s]
Writing 'super' OKAY [ 4.541s]
Sending sparse 'super' 7/17 (301364 KB) OKAY [ 7.006s]
Writing 'super' OKAY [ 4.784s]
Sending sparse 'super' 8/17 (307196 KB) OKAY [ 7.169s]
Writing 'super' OKAY [ 4.060s]
Sending sparse 'super' 9/17 (291528 KB) OKAY [ 6.835s]
Writing 'super' OKAY [ 3.683s]
Sending sparse 'super' 10/17 (301144 KB) OKAY [ 7.033s]
Writing 'super' OKAY [ 4.666s]
Sending sparse 'super' 11/17 (285476 KB) OKAY [ 6.614s]
Writing 'super' OKAY [ 3.325s]
Sending sparse 'super' 12/17 (280100 KB) OKAY [ 6.470s]
Writing 'super' OKAY [ 5.640s]
Sending sparse 'super' 13/17 (299412 KB) OKAY [ 7.007s]
Writing 'super' OKAY [ 4.592s]
Sending sparse 'super' 14/17 (282912 KB) OKAY [ 6.563s]
Writing 'super' OKAY [ 3.561s]
Sending sparse 'super' 15/17 (307196 KB) OKAY [ 7.160s]
Writing 'super' OKAY [ 6.546s]
Sending sparse 'super' 16/17 (282696 KB) OKAY [ 6.615s]
Writing 'super' OKAY [ 2.319s]
Sending sparse 'super' 17/17 (53420 KB) OKAY [ 1.239s]
Writing 'super' OKAY [ 1.417s]
Finished. Total time: 190.724s
super flash succeed
Crc32 General Check Partitions...
multiimgoem_a crc32 check succeed
multiimgoem_b crc32 check succeed
xbl_a crc32 check succeed
xbl_config_a crc32 check succeed
xbl_b crc32 check succeed
xbl_config_b crc32 check succeed
abl_a crc32 check succeed
abl_b crc32 check succeed
aop_a crc32 check succeed
aop_b crc32 check succeed
tz_a crc32 check succeed
tz_b crc32 check succeed
hyp_a crc32 check succeed
hyp_b crc32 check succeed
modem_a crc32 check succeed
modem_b crc32 check succeed
bluetooth_a crc32 check succeed
bluetooth_b crc32 check succeed
dsp_a crc32 check succeed
dsp_b crc32 check succeed
keymaster_a crc32 check succeed
keymaster_b crc32 check succeed
rtice crc32 check succeed
storsec crc32 check succeed
shrm_a crc32 check succeed
shrm_b crc32 check succeed
asdf crc32 check succeed
devcfg_a crc32 check succeed
devcfg_b crc32 check succeed
qupfw_a crc32 check succeed
qupfw_b crc32 check succeed
cpucp_a crc32 check succeed
cpucp_b crc32 check succeed
logfs crc32 check succeed
uefisecapp_a crc32 check succeed
uefisecapp_b crc32 check succeed
featenabler_a crc32 check succeed
featenabler_b crc32 check succeed
spunvm crc32 check succeed
qweslicstore_a crc32 check succeed
qweslicstore_b crc32 check succeed
imagefv_a crc32 check succeed
imagefv_b crc32 check succeed
ADF crc32 check succeed
vbmeta_a crc32 check succeed
vbmeta_b crc32 check succeed
vbmeta_system_a crc32 check succeed
vbmeta_system_b crc32 check succeed
boot_a crc32 check succeed
boot_b crc32 check succeed
vendor_boot_a crc32 check succeed
vendor_boot_b crc32 check succeed
dtbo_a crc32 check succeed
dtbo_b crc32 check succeed
super crc32 check succeed
Crc32Check General Partitions Pass
"don't erase userdate"
=======================
"Download_PASS"
=======================

C:\platform-tools_r34.0.4-windows\OPEN-ZS590KS-32.0501.0403.4-BSP-2206-user-20220705>fastboot reboot recovery
Rebooting into recovery OKAY [ 0.007s]
Finished. Total time: 0.007s

I thought it worked, until I went to reboot system. I get a recovery screen that says looks like your system is corrupt and do you want to wipe data. I realized I may have flashed android 12 or the 13 beta... i'm going to try again with a full update to Android 13. Otherwise I'm not sure. I did see in one of the many many YouTube videos a guy restoring an Asus Rog phone using MiFlash and EDL. It looked like there were some options in that program "erase all userdata or keep userdata". That was the hope. In any case, worse comes to worse I have a working bootloader and recovery I'm not bricked. I may have to just wipe it. If I do I'm sending it in for an OOW repair as I can't be sure it wasn't hardware that caused this in the first place.