[Moto G6 Questions & Answers] siliconpi:
Hi all,

I have a Motorola Moto G6 XT1925-13 (bought in India). It was updated to the latest Android (9.0, I think). I tried unlocking it in an effort to install LineageOS 17 on it following the instructions at: getdroidtips.com/lineage-os-17-moto-g6/

However, I could not get beyond the installation of TWRP - the next steps were not possible.

I tried various things in-between, the end result being that I was able to erase TWRP, but not make any headway in installing LineageOS.

After weeks of this, I've now given up trying to install it and want to restore my phone to its stock ROM. I'm now unable to do that, because every ROM I try gives the following:

fastboot.exe flash partition gpt.bin

(bootloader) is-logical:partition: not found

Sending 'partition' (45 KB) OKAY [ 0.153s]

Writing 'partition' (bootloader) Validating 'gpt.default.xml'

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

(bootloader) Cancelling 'gpt.default.xml'

FAILED (remote: '')

fastboot: error: Command failed

I simply cannot seem to locate the right ROM for my smartphone. I want to restore it back to stock now.

Here is what the bootloader displays (I've hidden only the serial number):

AP Fastboot Flash Mode (Secure)

BL: MBM-2.1-ali_retail-32ffece-200210

Baseband: M450_21.29.10.88R ALI_INDIADSDS_CUST

Product/Variant: ali XT1925-13 64GB PVT2

Serial Number: [removed]

CPU: SDM450

eMMC: 64GB SAMSUNG RH64AB RV=08 PV=05 FV=0000000000000005

DRAM: 4GB SAMSUNG LP3 DIE:8Gb M5=01 M6=06 M7=00 M8=5F

Console [NULL]: null

Tools Mode Config: DISABLED

Battery OK

flashing_unlocked

Connect USB Data Cable

The output of "fastboot.exe getvar all" is as follows (some items hidden):

(bootloader) version: 0.5

(bootloader) version-bootloader: MBM-2.1-ali_retail-32ffece-200210

(bootloader) product: ali

(bootloader) board: ali

(bootloader) secure: yes

(bootloader) hwrev: PVT2

(bootloader) radio: 5

(bootloader) storage-type: emmc

(bootloader) emmc: 64GB SAMSUNG RH64AB RV=08 PV=05 FV=0000000000000005

(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=06 M7=00 M8=5F

(bootloader) cpu: SDM450

(bootloader) serialno: [removed]

(bootloader) cid: 0x0032

(bootloader) channelid: 0xc0

(bootloader) uid: [removed]

(bootloader) securestate: flashing_unlocked

(bootloader) iswarrantyvoid: yes

(bootloader) max-download-size: 534773760

(bootloader) reason: Last time flashing failed

(bootloader) imei: [removed]

(bootloader) meid:

(bootloader) date: 06-03-2018

(bootloader) sku: XT1925-13

(bootloader) carrier_sku: XT1925-13

(bootloader) battid: SB18C18509

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Wed Apr 29 15: 7:17 UTC 2020"

(bootloader) ro.build.fingerprint[0]: motorola/ali/ali:9/PPSS29.55-37-7-

(bootloader) ro.build.fingerprint[1]: 6/16c5a7:user/release-keys

(bootloader) poweroffalarm: 0

(bootloader) ro.build.version.full[0]: Blur_Version.29.311.8.ali.retail.

(bootloader) ro.build.version.full[1]: en.US

(bootloader) ro.build.version.qcom: LA.UM.7.6.r1-03700-89xx.0

(bootloader) version-baseband: M450_21.29.10.88R ALI_INDIADSDS_CUST

(bootloader) kernel.version[0]: Linux version 3.18.120-perf-g43d23ce (hu

(bootloader) kernel.version[1]: dsoncm@ilclbld66) (gcc version 4.9.x 201

(bootloader) kernel.version[2]: 50123 (prerelease) (GCC) ) #1 SMP PREEMP

(bootloader) kernel.version[3]: T Mon Feb 10 13:52:31 CST 2020

(bootloader) sbl1.git: MBM-2.1-ali_retail-0d2031d-200210

(bootloader) rpm.git: MBM-2.1-ali_retail-576a4d4-200210

(bootloader) tz.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) devcfg.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) keymaster.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) cmnlib.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) cmnlib64.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) prov.git: MBM-2.1-ali_retail-c6e47bd-200210

(bootloader) aboot.git: MBM-2.1-ali_retail-32ffece-200210

(bootloader) frp-state: no protection (77)

(bootloader) ro.carrier: retin

(bootloader) current-slot:

(bootloader) slot-suffixes: _a

(bootloader) slot-count: 1

(bootloader) slot-successful:_a: INVALID

(bootloader) slot-successful:_b: INVALID

(bootloader) slot-bootable:_a: INVALID

(bootloader) slot-bootable:_b: INVALID

(bootloader) slot-retry-count:_a: unknown

(bootloader) slot-retry-count:_b: unknown

all: listed above

Finished. Total time: 1.085s