[Moto G4 Plus Questions & Answers] ricardomilena:
I was using Resurrection Remix 7.1.1 Then I decided to install ElementalX.

I noticed that the unit was heating up.

Today when I woke up the device did not start anymore, it stayed on a black screen.

I decided to find a solution here in the forum.

I found this tip:

Https://xdaforums.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016

The device is back on again.

But I can not revert to stock rom.

When I try to upload GPT.bin it returns this error:

(Bootloader) Security version downgrade

(Bootloader) Image primary_gpt failed validation

(Bootloader) Preflash validation failed

FAILED (remote failure)

Finished. Total time: 0.05s

Same thing with bootloader.img

E: \ cel \ motog4> fastboot flash bootloader bootloader.img

Target reported max download size of 536870912 bytes

Sending 'bootloader' (3651 KB) ...

OKAY [0.119s]

Writing 'bootloader' ...

(Bootloader) validating: bootloader.default.xml ...

(Bootloader) Invalid partition name aboot

(Bootloader) will fail: flash: aboot

FAILED (remote failure)

Finished. Total time: 0.213s

I spent the whole dawn trying a solution, downloaded all the stocks I found on the internet and had no solution.

Same thing with recovery.

E: \ cel \ motog4> fastboot flash recovery recovery.img

Target reported max download size of 536870912 bytes

Sending 'recovery' (16484 KB) ...

OKAY [0.522s]

Writing 'recovery' ...

(Bootloader) Invalid partition name recovery

FAILED (remote failure)

Finished. Total time: 0.530s

I've tried all these ROMs

My device is an XT1640

According to the getvar the information is these.

E: \ cel \ motog4> fastboot getvar all

<Waiting for device>

(Bootloader) version: 0.5

(Bootloader) version-bootloader: moto-msm8952-B1.03 (*)

(Bootloader) product: athene_16mp

(Bootloader) board: athene_16mp

(Bootloader) secure: yes

(Bootloader) hwrev: P2A

(Bootloader) radio: 6

(Bootloader) storage-type: emmc

(Bootloader) emmc: 32GB SKHYNIX HBG4a2 RV = 08 PV = E4 FV = 00000000000000E4

(Bootloader) ram: 2GB SKHYNIX LP3 DIE = 8Gb M5 = 06 M6 = 03 M7 = 00 M8 = 1F

(Bootloader) cpu: MSM8952

(Bootloader) serialno: xxxxxxx

(Bootloader) cid: 0x0032

(Bootloader) channelid: 0x19

(Bootloader) uid:

(Bootloader) securestate: oem_locked

(Bootloader) iswarrantyvoid: yes

(Bootloader) max-download-size: 536870912

(Bootloader) reason: Failed to initialize partition table

(Bootloader) imei: 000000000000000

(Bootloader) meid:

(Bootloader) date: 01-01-1970

Bootloader sku: 000000000000000

(Bootloader) battid:

(Bootloader) iccid:

(Bootloader) cust_md5:

(Bootloader) max-sparse-size: 268435456

(Bootloader) current-time:

(Bootloader) ro.build.fingerprint:

(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) hyp.git: hyp.git

(Bootloader) keymaster.git: keymaster.git

(Bootloader) cmnlib.git: cmnlib.git

(Bootloader) aboot.git: git = MBM-NG-VB1.03-0-gb44c0ee

(Bootloader) qe:

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

(Bootloader) ro.carrier:

All: listed above

Finished. Total time: 0.106s