[Moto G6 Plus ROMs, Kernels, Recoveries, & Other De] P-Chan80:
So I seem to be stuck in an odd semi-bricked state. I think it has to do with A/B somehow. I first unlocked the phone via the unlock code from the motorola website. I then did a fastboot boot twrp-3.2.3-0-evert.img (I probably should have just flashed, but I wanted to leave recovery alone for now) - I then did a full backup of all the partitions (including EFS) and copied them out via adb pull. I now have a folder with the following files:

boot.emmc.win
boot.emmc.win.sha2
bt_firmware.ext4.win
bt_firmware.ext4.win.sha2
bt_firmware.info
data.ext4.win
data.ext4.win.sha2
data.info
dsp.ext4.win
dsp.ext4.win.sha2
dsp.info
efs1.emmc.win
efs1.emmc.win.sha2
efs2.emmc.win
firmware.ext4.win
firmware.ext4.win.sha2
firmware.info
fsg.emmc.win
fsg.emmc.win.sha2
logo.emmc.win
logo.emmc.win.sha2
oem.ext4.win
oem.ext4.win.sha2
oem.info
persist.ext4.win
persist.ext4.win.sha2
persist.info
recovery.log
system_image.emmc.win
system_image.emmc.win.sha2
vendor_image.emmc.win
vendor_image.emmc.win.sha2

I also did a different backup that I did (I had to do a few, I kept running out of room on local storage) that has a file backup.ab (which I don't see present in the one above that I thought was complete).

I then ran the copy-partitions-AB.zip utility, then did a sideload install of lineage-15.1-20180811-UNOFFICIAL-evert.zip and rebooted into the bootloader. There was an error when doing this (lots of red text, not the normal fastboot screen), so I rebooted again manually to get back to the bootloader. This time, I see oem_locked and my phone won't boot twrp and it won't boot into an OS (required to set oem unlocking - which was done once, but maybe this is related to slot A/B?) - I tried the fastboot --set-active, but only 1 slot "a" is listed as available. I tried flashing back to stock and I get an error:

(bootloader) Validating 'bootloader.default.xml'
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'

At some point I got back into TWRP (it decided to show as unlocked again...) so I tried re applying via sideload but I did NOT do the copy-partitions (I figured that might be a mistake to do that again afterward, but maybe that's what I should have done?). Anyways, now I'm having issues getting it back to boot with oem_unlocked...

Any thoughts? Thanks.

Update:

Somehow during a reboot, I was able to get it back to "flashing_unlocked" status. I then followed the intructions to return to stock (with fb_mode_set instead of lock to keep unlocked) and got all different partitions flashed, except recovery (for some reason this image archive didn't contain a recovery image, but I tried anyways). I get an error:

fastboot flash recovery ../twrp-3.2.3-0-evert.img
target reported max download size of 536870912 bytes
sending 'recovery' (29352 KB)...
OKAY [ 0.833s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.834s

On the plus side set-active A/B works now. (the image had system and system_b in it).

Any ideas what happened? I'm a bit hesitant to try again until someone has some ideas. I don't want to actually brick my device (is it possible to to recover these via Qualcomm flash mode? - I do have the efs backup, although it's a .win file from twrp).