yashsingh1/xdaforums huggingface dataset:
[Moto Z Guides, News, & Discussion] lollyjay:
Flashing firmware one command at a time using fastboot is tedious and there are many chances of error. If you are interested, I have a windows batch file that does it all. Let me know if you are interested
[Moto Z Guides, News, & Discussion] crackes.kp:
What am i doing wrong

What am i doing wrong

[ 0.000] Opening device: \\.\COM5
[ 0.004] Detecting device
[ 0.008] ...cpu.id = 2375 (0x947)
[ 0.008] ...cpu.sn = 1037539333 (0x3dd79805)
[ 0.008] Opening singleimage
[ 0.010] Loading package
[ 0.014] ...filename = singleimage.pkg.xml
[ 0.016] Loading programmer
[ 0.017] ...filename = programmer.elf
[ 0.017] Sending programmer
[ 0.098] Handling things over to programmer
[ 0.099] Identifying storage type
[ 0.103] Waiting for firehose to get ready
[ 3.153] ...UFS
[ 3.154] Identifying CPU version
[ 3.161] ...MSM8996 3.1
[ 3.161] Determining target secure state
[ 3.164] ...secure = yes
[ 3.235] Configuring device...
[ 3.256] Skipping UFS provsioning as target is secure
[ 3.257] Configuring device...
[ 3.358] ERROR: do_package()->do_recipe()->do_configure()->bad response
[ 3.359] Check qboot_log.txt for more details
[ 3.359] Total time: 3.362s
[ 3.360]
[ 3.360] qboot version 3.37
[ 3.360]
[ 3.360] DEVICE {
[ 3.360] name = "\\.\COM5",
[ 3.360] flags = "0x144",
[ 3.360] addr = "0x61FE5C",
[ 3.360] sahara.current_mode = "0",
[ 3.360] api.buffer = "0x1274020",
[ 3.360] cpu.serial = "1037539333",
[ 3.360] cpu.id = "2375",
[ 3.360] cpu.sv_sbl = "0",
[ 3.360] cpu.name = "MSM8996",
[ 3.360] sahara.programmer = "programmer.elf",
[ 3.360] module.firehose = "0xE21B48",
[ 3.360] api.firehose = "0xF2D4C8",
[ 3.360] storage.type = "UFS",
[ 3.360] cpu.ver = "769",
[ 3.360] cpu.vername = "3.1",
[ 3.360] fh.max_packet_sz = "1048576",
[ 3.360] }
[ 3.360]
[Moto Z Guides, News, & Discussion] evilcat7:
im using a mac, how to unbrick my phone :(
[Moto Z Guides, News, & Discussion] evilcat7:
So i brick my moto z again, this time, my windows pc doesn't recognize the device, so what is my options :(
[Moto Z Guides, News, & Discussion] VarunKanwadia:
can i use these blankflash files for moto g turbo ( xt1557)
[Moto Z Guides, News, & Discussion] Manish54:
I'm facing the same problem, i bricked it while flashing the stock rom, i believe i ran some unwanted codes and eMMC is dead now. The only way is to replace or repair the eMMC.

No!
[Moto Z Guides, News, & Discussion] crackes.kp:
I still hope, help me

Hi!, thanks for the follow up you gave to the bike hardbrick z xt1650-03, I still hope :laugh:

I tried all the bankflash, and only with the bankflash_griffin I get this error:

ERROR: do_package()->do_recipe()->do_configure()->bad response

Had AT&T Mexico firmware with Android 7.1

[ -0.000] Opening device: \\.\COM12
[ 0.007] Detecting device
[ 0.019] ...cpu.id = 2375 (0x947)
[ 0.019] ...cpu.sn = 1037539333 (0x3dd79805)
[ 0.019] Opening singleimage
[ 0.022] Loading package
[ 0.032] ...filename = singleimage.pkg.xml
[ 0.041] Loading programmer
[ 0.044] ...filename = programmer.elf
[ 0.044] Sending programmer
[ 0.144] Handling things over to programmer
[ 0.144] Identifying storage type
[ 0.149] Waiting for firehose to get ready
[ 3.197] ...UFS
[ 3.197] Identifying CPU version
[ 3.207] ...MSM8996 3.1
[ 3.208] Determining target secure state
[ 3.212] ...secure = yes
[ 3.363] Configuring device...
[ 3.395] Skipping UFS provsioning as target is secure
[ 3.396] Configuring device...
[ 3.494] [B]ERROR: do_package()->do_recipe()->do_configure()->bad response[/B]
[ 3.494] Check qboot_log.txt for more details
[ 3.494] Total time: 3.498s
[ 3.494]
[ 3.494] qboot version 3.37
[ 3.494]
[ 3.494] DEVICE {
[ 3.494] name = "\\.\COM12",
[ 3.494] flags = "0x144",
[ 3.494] addr = "0x22FE6C",
[ 3.494] sahara.current_mode = "0",
[ 3.494] api.buffer = "0x16D0020",
[ 3.494] cpu.serial = "1037539333",
[ 3.494] cpu.id = "2375",
[ 3.494] cpu.sv_sbl = "0",
[ 3.495] cpu.name = "MSM8996",
[ 3.495] sahara.programmer = "programmer.elf",
[ 3.495] module.firehose = "0x6C48C0",
[ 3.495] api.firehose = "0x7FDEA8",
[ 3.495] storage.type = "UFS",
[ 3.495] cpu.ver = "769",
[ 3.495] cpu.vername = "3.1",
[ 3.495] fh.max_packet_sz = "1048576",
[ 3.495] }

What am I doing wrong?

Could you give me an idea of ​​what happens?
[Moto Z Guides, News, & Discussion] Manish54:
Copy the file to a different location and and run it again while running the original file.
[Moto Z Guides, News, & Discussion] crackes.kp:
the original file gives the same error, while the other file gives the following error

:(

**** Log buffer [000001] 2017-10-13_03:41:47 ****

[ 0.000] Opening device: \\.\COM12
[ 0.000] ERROR: device_open()->error opening device
[ 0.000] Check qboot_log.txt for more details
[ 0.000] Total time: 0.002s
[ 0.000]
[ 0.000] qboot version 3.37
[ 0.000]
[ 0.000] DEVICE {
[ 0.001] name = "\\.\COM12",
[ 0.001] flags = "0x60",
[ 0.001] addr = "0x22FE6C",
[ 0.001] api.bnr = "0x862C10",
[ 0.001] }
[ 0.001]
[ 0.001]
[ 0.001] Backup & Restore {
[ 0.001] num_entries = 0,
[ 0.001] restoring = "false",
[ 0.001] backup_error = "not started",
[ 0.001] restore_error = "not started",
[ 0.001] }
[ 0.001]
[Moto Z Guides, News, & Discussion] Manish54:
I hope you were not on nougat before getting bricked, if you were then there's another blankflash file on the thread for that.
[Moto Z Guides, News, & Discussion] Obaydok:
hello there. thank you a lot for making this possible

the only thing is that i don't know how to install the drivers on windows 7??

thanks in advnace
[Moto Z Guides, News, & Discussion] rodrigofvl:
My moto z (xt1650-05) is in bootloop and with OEM lock, how can I recover it?

More on this link https://xdaforums.com/moto-z/help/failure-to-install-rom-moto-z-xt1650-05-t3695286

---------- Post added at 01:33 PM ---------- Previous post was at 12:43 PM ----------

Could you solve this error? I'm with the problem https://xdaforums.com/moto-z/help/failure-to-install-rom-moto-z-xt1650-05-t3695286
[Moto Z Guides, News, & Discussion] evgenius503:
I flashed the latest (at that time) full stock firmware 7.1.1, when it's appear via bootloader. And successfully unbricked my device, and even I had lock OEM
[Moto Z Guides, News, & Discussion] rodrigofvl:
Thank you, try this.
[Moto Z Guides, News, & Discussion] rodrigofvl:
sorted out

https://xdaforums.com/showpost.php?p=74498676&postcount=10
[Moto Z Guides, News, & Discussion] Manish54:
Its just a softbrick, flash the stock rom with rsd lite.
[Moto Z Guides, News, & Discussion] rodrigofvl:
it was not working in rsd lite, but could correct the error by installing an update in the recovery> update ADB
[Moto Z Guides, News, & Discussion] Manish54:
Are you asking or telling?

If you're asking then i would suggest flashing the stock manually if rsd is not working.
[Moto Z Guides, News, & Discussion] aditya.addi:
Hey manish!

May you please guide us how to build same blank flash file for moto X force?

We hope you guide us... thank in advance bro
[Moto Z Guides, News, & Discussion] leandrohartmann:
I think my situation is the same as yours, the most current flashblanks in v91.07 do not work. The same mistake happens to me.

ERROR: do_package () -> do_recipe () -> do_configure () -> buffer_read () -> device_read () -> IO error

My bootloader should also be v91.08
[Moto Z Guides, News, & Discussion] sn4zzy:
i tested any blankflash posted on the topic, but nothing :(

Motorola qboot utility version 3.40

[ 0.000] Opening device: \\.\COM3

[ 0.001] Detecting device

[ 4.010] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error

[ 4.010] Check qboot_log.txt for more details

[ 4.010] Total time: 4.012s

FAILED: qb_flash_singleimage()->sahara_greet_device()->change_mode()->do_hello()->IO error

Somebody can help me?
[Moto Z Guides, News, & Discussion] Raphael VR6:
Same problem (Moto Z)

i tried other mode to unbrick but same
[Moto Z Guides, News, & Discussion] Deepzin:
Same Problem here, need help please.
[Moto Z Guides, News, & Discussion] angourakis:
Hey guys,

Could someone find Flashblank for bootloader 91.08?

Thanks!

---------- Post added at 11:01 AM ---------- Previous post was at 10:26 AM ----------

This seems like a problem with connection. Try to hold the power button + volume down for a few seconds until you hear the drivers sound in your PC.

Then try to the procedure again....

Just be aware that if you were running the latest version + security patch, you will have to find a blankflash for bootloader 91.08.

Good luck!
[Moto Z Guides, News, & Discussion] angourakis:
Hey guys,

Thanks to [MENTION=6298645]erfanoabdi[/MENTION] who provided the up-to-date blankflash

and [MENTION=6298645]erfanoabdi[/MENTION] [MENTION=4724631]Loader009[/MENTION] and [MENTION=1926425]trojanbarbosa[/MENTION] for their support, I could finally boot into bootloader mode again.

I'm attaching the zip here for the 91.08 bootloader version.

I'm still in the process of recovering the phone, though. But, that's a good start =)

Enjoy!
[Moto Z Guides, News, & Discussion] tjgibri:
Thanks, now i can boot in fastboot mode, but when i try flash gpt.bin is showing this error:

C:\Users\gabriel.albuquerque\Downloads\XT1650>fastboot flash partiton gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partiton: not found
target reported max download size of 536870912 bytes
sending 'partiton' (142 KB)...
OKAY [ 0.041s]
writing 'partiton'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.219s

Same for bootloader:

C:\Users\gabriel.albuquerque\Downloads\XT1650>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (7792 KB)...
OKAY [ 0.201s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image rpm failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image pmic failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.501s
[Moto Z Guides, News, & Discussion] angourakis:
That's because you had a more up-to-date version of GPT and Bootloader before. Do you remember what version was installed on your phone?
[Moto Z Guides, News, & Discussion] jhonatanstv:
Hello my MZP presents the same messages. I'm stuck here too.

Best regards from Brazil also.
[Moto Z Guides, News, & Discussion] HugoP_:
Which blankflash i should use?(Im at 25.86.30).

My moto z died in the january but was being updated to february security patch, I was doing a clean instalation, it hard bricked when the instalation was completed

EDIT 1: So guys, I started windows in test mode and using blankflash ver 3.37, its running but now it's showing "Waiting for firehorse to get ready", i don't know if it's stuck or a normal thing

EDIT 2: Nah, this blankflash didn't worked.
[Moto Z Guides, News, & Discussion] tjgibri:
I can change files in singleimage.bin to my lastest rom update (except programmer.elf, index.xml, singleimage.pkg.xml and singleimage.default.xml), but my device not boot bootloader/fastboot, only in blankflash mode.

I think I need a new programmer.elf but I don't know where I can find one.
[Moto Z Guides, News, & Discussion] Deepzin:
I got into fastboot after days trying, but now I have another problem, I do not know why but my bootloader has been locked, so I can not flash any ROM or recovery, does anyone have a solution?
[Moto Z Guides, News, & Discussion] tjgibri:
Same problem here.
[Moto Z Guides, News, & Discussion] Deepzin:
Which Stock ROM did you use to get the device started? Please share
[Moto Z Guides, News, & Discussion] angourakis:
Unfortunately, I could not get it to boot.

I did flash everything using this ROM: https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

But it enters to the bootloader using the flashblank, and after flashing everything, the device will refuse to boot saying it's not signed or something similar.

[MENTION=7419775]HugoP_[/MENTION] try the zips from page 6: https://xdaforums.com/moto-z/how-to/guide-how-to-unbrick-moto-z-hardbricked-t3590133/page6 (first post)
[Moto Z Guides, News, & Discussion] Deepzin:
I do not know why but when I try to download the ROM as soon as it arrives at 24% the download stop, then this ROM has this problem, can you tell me why? I've tried it on several computers and it always gives error
[Moto Z Guides, News, & Discussion] Theelichtje:
i'm having this problem with the software, it sometimes seems to detect the phone, but then it gives an error: "Failed identify board. Wrong package?"

My phone is a XT1635-02.

[ -0.000] Opening device: \\.\COM5

[ 0.009] Detecting device

[ 0.014] ...cpu.id = 70 (0x46)

[ 0.015] ...cpu.sn = 1617757452 (0x606d050c)

[ 0.015] Opening singleimage

[ 0.015] Loading package

[ 0.027] Failed identify board. Wrong package?

[ 0.027] ERROR: error loading package

[ 0.027] Check qboot_log.txt for more details

[ 0.027] Total time: 0.028s

[ 0.027]

[ 0.027] qboot version 3.40

[ 0.027]

[ 0.027] DEVICE {

[ 0.027] name = "\\.\COM5",

[ 0.027] flags = "0x64",

[ 0.027] addr = "0x61FE5C",

[ 0.027] sahara.current_mode = "3",

[ 0.027] api.buffer = "0x1153020",

[ 0.027] cpu.serial = "1617757452",

[ 0.027] cpu.id = "70",

[ 0.027] cpu.sv_sbl = "0",

[ 0.027] api.bnr = "0x1093FF0",

[ 0.027] }

[ 0.027]

[ 0.027]

[ 0.027] Backup & Restore {

[ 0.027] num_entries = 0,

[ 0.027] restoring = "false",

[ 0.027] backup_error = "not started",

[ 0.027] restore_error = "not started",

[ 0.027] }

[ 0.027]

EDIT: i found this thread: https://xdaforums.com/moto-z-play/how-to/guide-unbrick-moto-z-play-t3618492/page19

With that blackflash it works, but it gets stuck at "waiting for firehose", any idea's?
[Moto Z Guides, News, & Discussion] Deepzin:
This is for XT1650-03, search the blankflash for XT1650-02
[Moto Z Guides, News, & Discussion] Theelichtje:
Seems like i ninja'd you ;) check my post edit :)
[Moto Z Guides, News, & Discussion] Deepzin:
Put your windows in Test Mode

in your cmd:

bcdedit -set TESTSIGNING ON

restart to apply then bcdedit -set TESTSIGNING OFF to turn off
[Moto Z Guides, News, & Discussion] Theelichtje:
Thanks! Didn't need it tho, it suddenly just worked after probably the 150th time of trying :) now to flash my rom!
[Moto Z Guides, News, & Discussion] angourakis:
I really don't.

It's the latest 7.1.1 November patch directly from Motorola.

I have uploaded it to Mega: https://mega.nz/#!8Z0kzTpL!GWe4gDy1E2t4lAQyNec-lFyrYrm1Q1zx-gMQJ9jQ2c8
[Moto Z Guides, News, & Discussion] tjgibri:
With some files that I found him this thread, I can boot in bootloader/fastboot and can flash some files, but some important no:

I tried to flash this ROM:

https://rsdsecure-cloud.motorola.com/download/GRIFFIN_NPLS26.118-20-5-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

My device always on this screen (yes, my display is broken :D):

Anyone know if is possible to recover this?
[Moto Z Guides, News, & Discussion] MrBr1ckfy:
I got this error some time ago.

Flash TWRP, Wipe everything, flash ErfanROM 7.1, then, rollback (if u want) to Stock.

EDIT: MUST be a Flashable .zip when u get this problem. After u can flash stock with fastboot.
[Moto Z Guides, News, & Discussion] tjgibri:
Thanks MrBr1ckfy, but when I try flash TWRP (https://dl.twrp.me/griffin) I got this same error:
[Moto Z Guides, News, & Discussion] MrBr1ckfy:
Use this guide: http://motozbrasil.blogspot.com.br/2016/10/recovery-moto-z-twrp-recovery-oficial.html?m=1

Is the only those works with me
[Moto Z Guides, News, & Discussion] tjgibri:
Not working too:
[Moto Z Guides, News, & Discussion] bullfinch110:
You've flashed twrp successfully. It shows OKAY. Don't get irritated by the following lines. Just boot into recovery and you'll have twrp installed.
[Moto Z Guides, News, & Discussion] MrBr1ckfy:
That's true

Now, flash any zip ROM and be happy
[Moto Z Guides, News, & Discussion] leandrohartmann:
Finally! WORK PERFECT! THANKS!
[Moto Z Guides, News, & Discussion] tjgibri:
Nope , recovery not boot too
[Moto Z Guides, News, & Discussion] Jonas_erik:
same error OEM_locked

Got the Same error here, after Phone go Alive, I´m stuck on the same screen, tried to oem unlock with my unlock code, but when I send te command it asks for enable oem unlockl on development menu, but without operation system it´s impossible.

Can anyone help with that? it wasn´t possible to flash neither boot to TWRP, o even issue te command fastboot fb_mode_set.

Also tried to flash the partition file, but with no luck.

Tried to flash boot.img, no luck either.

Tried to download the last firmware compatible with my brazilian phone, but no luck either.

Anyone can help to unlock this bootloader again to flash things without access to the operation system?
[Moto Z Guides, News, & Discussion] Lif3mau5:
Same problem after unlock bootloader - I get Bad Key in Bootloader and the last Fastboot Image was XT1650-03_GRIFFIN_RETBR_NPL25.86-30_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip ... Phone works and I did an OTA Update, after this the phone get bricked and I flash blankflash-mbm-ci ... Now I have no real Serial Number and Product ID - only: sheridan 000000000000 32GB P3B

Update: I find out I have wiped the System ... reason: Failed to initialize partition table - Dead Device- only a replace of circuit board or repair by motorola (repair it for free or not)
[Moto Z Guides, News, & Discussion] frank7910:
That such friends excuse the translation I use google, just to tell you that after a long time I found the blank flash indicated for my moto z, unfortunately I have the same problem as stutgart, if someone has been able to solve it and can help us it is appreciated a lot, I am new here and it will not let me publish links if somebody needs the blankflash for moto z xt 1650-03 7.1.1 they can send me a message and I'll be happy with them.

:crying::crying::crying::crying::crying::crying::crying:
[Moto Z Guides, News, & Discussion] ivke:
Here`s what I did.

I have a Moto Z reteu model and I was trying some other roms and then wanted to get back to stock rom mainly because of battery drain. The first thing I did, was download a RETBR firmware and flashed it. And then, there was an update but, since the battery is sh*tty on this phone, it somehow drained during an 10minute update and I got a hard bricked phone. After some reading I found blankflash and tried couple of versions but the last one worked it was BL: 91.08 - pictures are attached.

I tried almost every firmware from lolinet(https://mirrors.lolinet.com/firmware/moto/griffin/) via fastboot and I had no luck. Then I remembered I read somwhere on XDA forum some guy did it with a chinese firmware - I had nothing to loose so I tried this one trough fastboot: XT1650-05_GRIFFIN_RETCN_7.1.1_NCCS26.118-31-1-6_cid11_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip (link: https://mirrors.lolinet.com/firmware/moto/griffin_cn/official/RETCN/)

AND IT WORKED! I now have working phone again, but with a chinese firmware(it has english:p) but at least bootloader is fixed and i have a recovery. I`m gonna try tomorow and flash retbr again with all the updates.

I hope this helps. Sorry for my bad english.
[Moto Z Guides, News, & Discussion] Lif3mau5:
You use this Fastboot Commands:

fastboot oem fb_mode_set

fastboot flash bootloader bootloader.img

fastboot flash partition gpt.bin

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase modemst1

fastboot erase modemst2

fastboot flash bluetooth BTFM.bin

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash oem oem.img

fastboot flash userdata userdata.img

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot erase ddr

fastboot oem fb_mode_clear

fastboot reboot :confused:

... I have no luck with sick Bootloader Version 92.02 ... I must wait for Oreo Fastboot Image (Retail/Reteu) or for my money next day's (repair service)^^ I test griffin_oem_userdebug_8.0.0_OPL27.78_1978_intcfg-test-keys_oem with no luck to upgrade my phone with this.
[Moto Z Guides, News, & Discussion] ivke:
Yeap, I created a batch file with this commands:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system system.img_sparsechunk.10

fastboot flash system system.img_sparsechunk.11

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

fastboot reboot

And since you are on a newer bootloader, you should wait for Oreo firmware.
[Moto Z Guides, News, & Discussion] Jonas_erik:
Men, do you know whitch Firmware [MENTION=6298645]erfanoabdi[/MENTION] used to create this blankflash, I already tried almos every stock room to flash the partitionn (gpt.bin), but every rom I tried says that I´m triyng to downgrade it. Help us please.
[Moto Z Guides, News, & Discussion] angourakis:
The blankflash was created by Motorola. Erfan just shared one from Verizon that worked.

The question is: what version were you running before the brick? When you use this blankflash, could you enter to bootloader mode?
[Moto Z Guides, News, & Discussion] Jonas_erik:
Thanks for your reply,

I was on 7.1.1 Sec. Update December 2017, I rooted the phone, after that Re-Flashed 7.1.1 Sec. Update November 2017 to rollback the root. Untill here everything was ok, but I received an OTA update, during the update I got a HardBrick.

Using this blankflash I'm able to boot to bootloader, but I tried every rom from "https://firmware.center/firmware/Motorola/Moto%20Z/Stock/" with no luck.

Everytime I try any rom there, it says that I'm trying to Downgrade the gpt.bin.

Also tried the oreo soak test rom, with no lucky, on oreo soak test it not says that I'm trying to downgrade the GPT.BIN, but it says that can not validate the index.xml.

My phone is a RETBR one.

Thanks again for your reply.