[Moto X4 Questions & Answers] redwoodie:
Flash to -2 failed again

Another fail. Flashed -2 on the stuck phone again with SIM installed and no mobile, wifi cuts out. Erased modems t1/t2 and that didn't fix. The other phone that is on -6 and has been working also started having wifi cutouts again (with the SIM removed), but erasing modems restored wifi.

I ran a Getvar All on the -2:

fastboot getvar all
(bootloader) kernel: uefi
(bootloader) version-bootloader: MBM-3.0-payton_fi-eca8056-191031
(bootloader) product: payton
(bootloader) board: payton
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: NA
(bootloader) storage-type: eMMC
(bootloader) emmc: 64GB SKHYNIX HCG8a4 RV=08 PV=A2 FV=00000000000000A2
(bootloader) ufs: N/A
(bootloader) ram: 4GB SKHYNIX LP4x DIE=16Gb M5=06 M6=04 M7=00 M8=11
(bootloader) cpu: SDM630 1.0 (2)
(bootloader) serialno: ZY********
(bootloader) cid: 0x0032
(bootloader) channelid: 0x8d
(bootloader) uid: EA86D5BF
(bootloader) securestate: flashing_unlocked
(bootloader) verity-state: disabled (0)
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 356484083488722
(bootloader) meid:
(bootloader) date: 12-09-2018
(bootloader) sku: XT1900-1
(bootloader) carrier_sku: XT1900-1
(bootloader) battid: SNN5994A
(bootloader) battery-voltage: 3900
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) ro.build.fingerprint[0]: motorola/payton_fi/payton_sprout:9
(bootloader) ro.build.fingerprint[1]: /PPWS29.69-39-6-2/d2226:user/relea
(bootloader) ro.build.fingerprint[2]: se-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.29.461.4.payton_fi.g
(bootloader) ro.build.version.full[1]: oogle_fi.en.US
(bootloader) ro.build.version.qcom: LA.UM.7.2.r1-04900-sdm660.0
(bootloader) version-baseband: M660_7045.36.01.100R PAYTON_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.4.153-perf-g496fe5a (hud
(bootloader) kernel.version[1]: soncm@ilclbld158) (gcc version 4.9.x 201
(bootloader) kernel.version[2]: 50123 (prerelease) (GCC) ) #1 SMP PREEMP
(bootloader) kernel.version[3]: T Thu Oct 31 06:15:29 CDT 2019
(bootloader) git:abl: MBM-3.0-payton_fi-eca8056-191031
(bootloader) git:xbl: MBM-3.0-payton_fi-dec7b7c-191031
(bootloader) git:pmic: MBM-3.0-payton_fi-dec7b7c-191031
(bootloader) git:rpm: MBM-3.0-payton_fi-b0c6622-191031
(bootloader) git:tz: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:hyp: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:devcfg: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:cmnlib: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:cmnlib64: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:keymaster: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:prov: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) git:storsec: MBM-3.0-payton_fi-fa205ea-dirty-191031
(bootloader) frp-state: no protection (409)
(bootloader) ro.carrier: retus
(bootloader) current-slot: a
(bootloader) running-bl-slot: _a/_a
(bootloader) running-boot-lun: 0
(bootloader) slot-count: 2
(bootloader) slot-successful:_a: yes
(bootloader) slot-successful:_b: no
(bootloader) slot-unbootable:_a: no
(bootloader) slot-unbootable:_b: yes
(bootloader) slot-retry-count:_a: 6
(bootloader) slot-retry-count:_b: 0
all: listed above

The lines toward the bottom with "dirty" have me wondering--something buggered that's not getting fixed with the system flash? And I also see that whatever system is in slot B is bad and unbootable. The -2 ROM flashed in A is the exact same set of files I flashed successfully on the other phone now updated and running on -6.

I did some digging on A/B slot devices and came up with these links. Thinking about swapping slots and trying to flash -2 on the B slot.

https://android.stackexchange.com/questions/219173/a-b-partitioning-which-slot-is-really-flashed

https://source.android.com/devices/tech/ota/ab/ab_implement#build-variables

TWRP also has a provision to switch active slots.