[Moto G5 Plus Questions & Answers] ADJment:
I have spent the last 12 hours trying to fix this. I am tech savvy but have never flashed a cellphone before, hence I dunno if I am doing something wrong. And apologies if my terms aren't correct. please correct me when I am wrong.

Phone is a moto G5 plus XT1681 (according to imei), one day it powered to fastboot (see image 1) and what ever I try to press, I get an error. (see image 2)

I followed and tried many guides. but especially this one

https://xdaforums.com/t/guide-moto-...-firmware-rooting-2021.4205293/#post-84140653

when I try to run the first line of the script I get the following error.

C:\Users\ADj\Desktop\moto g\Tiny ADB and Fastboot>fastboot oem fb_mode_set

FAILED (remote: '')

fastboot: error: Command failed

If I keep advancing in the code I get the same error than this guy

https://xdaforums.com/t/bricked-moto-g5-xt1676-stucked-at-fastboot-menu.3920488/post-79342812

the phone is detectable with command "fastboot devices"

Despite running this, the phone still stays "oem_locked" like in the images

C:\Users\ADj\Desktop\moto g\Tiny ADB and Fastboot>fastboot oem unlock

(bootloader) feature disabled

OKAY [ 0.017s]

Finished. Total time: 0.018s

I tried also installing TWRP and I get this error (because maybe that bypasses a locked bootloader?)

"(bootloader) Preflash validation failed

FAILED (remote failure)¨

And here is the log for what I learned that you always ask for

C:\Users\ADj\Desktop\moto g\Tiny ADB and Fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: moto-msm8953-C0.92(*)

(bootloader) product: potter

(bootloader) board: potter

(bootloader) secure: yes

(bootloader) hwrev: P3B

(bootloader) radio: 2

(bootloader) storage-type: emmc

(bootloader) emmc: 32GB SAMSUNG QX13MB RV=08 PV=07 FV=0000000000000007

(bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=1F

(bootloader) cpu: MSM8953

(bootloader) serialno: ca31f0ad

(bootloader) cid: 0xDEAD

(bootloader) channelid: 0x00

(bootloader) uid: 423FF92E00000000000000000000

(bootloader) securestate: oem_locked

(bootloader) iswarrantyvoid: n/a

(bootloader) max-download-size: 534773760

(bootloader) reason: Last time flashing failed

(bootloader) imei: 000000000000000

(bootloader) meid:

(bootloader) date: 01-01-1970

(bootloader) sku: 000000000000000

(bootloader) carrier_sku:

(bootloader) battid:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time:

(bootloader) ro.build.fingerprint:

(bootloader) poweroffalarm: 0

(bootloader) ro.build.version.full:

(bootloader) ro.build.version.qcom:

(bootloader) version-baseband:

(bootloader) kernel.version:

(bootloader) sbl1.git: sbl1.git

(bootloader) rpm.git: rpm.git

(bootloader) tz.git: tz.git

(bootloader) devcfg.git: devcfg.git

(bootloader) keymaster.git: keymaster.git

(bootloader) cmnlib.git: cmnlib.git

(bootloader) cmnlib64.git: cmnlib64.git

(bootloader) prov.git: prov.git

(bootloader) aboot.git: git=MBM-NG-VC0.92-0-g3ea8df0

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

(bootloader) ro.carrier:

(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: 0.175s

QUESTIONS

Am I just confusing rom because of firmware or country?

is all of this because my bootloader seems locked?

do I just need to get to recovery mode first?

I just want the phone to work, don't care for the data inside.

Other people that seem to be stuck with the same problem

https://xdaforums.com/t/help-thread...-question-noob-friendly.3963645/post-85232253

THANKS IN ADVANCE AND SORRY FOR THE LONG POST I WANTED TO GIVE ALL MY INFORMATION AND RESEARCH